dendrite/setup/config
S7evinK 002429c9e2
Implement server notices (#2180)
* Add server_notices config

* Disallow rejecting "server notice" invites

* Update config

* Slightly refactor sendEvent and CreateRoom so it can be reused

* Implement unspecced server notices

* Validate the request

* Set the user api when starting

* Rename function/variables

* Update comments

* Update config

* Set the avatar on account creation

* Update test

* Only create the account when starting
Only add routes if sever notices are enabled

* Use reserver username
Check that we actually got roomData

* Add check for admin account
Enable server notices for CI
Return same values as Synapse

* Add custom error for rejecting server notice invite

* Move building an invite to it's own function, for reusability

* Don't create new rooms, use the existing one (follow Synapse behavior)

Co-authored-by: kegsay <kegan@matrix.org>
2022-02-18 16:05:03 +01:00
..
config_appservice.go Don't populate config defaults where it doesn't make sense (#2058) 2021-11-24 11:57:39 +00:00
config_clientapi.go Allow preventing guest registration (#2199) 2022-02-18 10:12:26 +00:00
config_eduserver.go Don't populate config defaults where it doesn't make sense (#2058) 2021-11-24 11:57:39 +00:00
config_federationapi.go Remove outbound proxy, http.ProxyFromEnvironment is now used (#2191) 2022-02-17 13:54:29 +01:00
config_global.go Implement server notices (#2180) 2022-02-18 16:05:03 +01:00
config_jetstream.go Use pull consumers (#2140) 2022-02-02 13:32:48 +00:00
config_keyserver.go Don't populate config defaults where it doesn't make sense (#2058) 2021-11-24 11:57:39 +00:00
config_mediaapi.go Don't populate config defaults where it doesn't make sense (#2058) 2021-11-24 11:57:39 +00:00
config_mscs.go Don't populate config defaults where it doesn't make sense (#2058) 2021-11-24 11:57:39 +00:00
config_roomserver.go Don't populate config defaults where it doesn't make sense (#2058) 2021-11-24 11:57:39 +00:00
config_syncapi.go Don't populate config defaults where it doesn't make sense (#2058) 2021-11-24 11:57:39 +00:00
config_test.go Implement server notices (#2180) 2022-02-18 16:05:03 +01:00
config_userapi.go Merge both user API databases into one (#2186) 2022-02-18 11:31:05 +00:00
config.go Add NATS JetStream support (#1866) 2022-01-05 17:44:49 +00:00