0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-09-27 21:38:54 +02:00
dendrite/cmd
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
..
client-api-proxy Remove publicroomsapi (#1176) 2020-07-02 17:11:33 +01:00
create-account Merge both user API databases into one (#2186) 2022-02-18 11:31:05 +00:00
dendrite-demo-libp2p Merge both user API databases into one (#2186) 2022-02-18 11:31:05 +00:00
dendrite-demo-pinecone Merge both user API databases into one (#2186) 2022-02-18 11:31:05 +00:00
dendrite-demo-yggdrasil Merge both user API databases into one (#2186) 2022-02-18 11:31:05 +00:00
dendrite-monolith-server Implement server notices (#2180) 2022-02-18 16:05:03 +01:00
dendrite-polylith-multi Use non http API as fsAPI to avoid network requests (#2075) 2021-12-20 10:27:58 +00:00
dendrite-upgrade-tests Remodel how device list change IDs are created (#2098) 2022-01-21 09:56:06 +00:00
dendritejs Merge both user API databases into one (#2186) 2022-02-18 11:31:05 +00:00
dendritejs-pinecone Merge both user API databases into one (#2186) 2022-02-18 11:31:05 +00:00
federation-api-proxy Separate muxes for public and internal APIs (#1056) 2020-05-22 11:43:17 +01:00
furl Increase gocyclo complexity to 25 (and remove all but 2 golint directives related to it) (#1783) 2021-03-03 14:35:57 +00:00
generate-config Merge both user API databases into one (#2186) 2022-02-18 11:31:05 +00:00
generate-keys Support CA certificates in CI (#2136) 2022-02-01 16:36:17 +00:00
goose Merge both user API databases into one (#2186) 2022-02-18 11:31:05 +00:00
resolve-state Increase gocyclo complexity to 25 (and remove all but 2 golint directives related to it) (#1783) 2021-03-03 14:35:57 +00:00