Commit Graph

39 Commits (b39b02c26e9550c629c027a06b25d64e94fe8e5e)

Author SHA1 Message Date
Mathieu Velten dabbb94faf
Delete pushers after calling on_logged_out module hook on device delete (#15410) 2 years ago
Patrick Cloke 42aea0d8af
Add final type hint to tests.unittest. (#15072) 2 years ago
David Robertson 7081bb56e2
Proper types for `tests.module_api` (#15031) 2 years ago
Erik Johnston 65d0386693
Always notify replication when a stream advances (#14877) 2 years ago
Emelie Graven dd9e71dc7f
Add `set_displayname` to the module API (#14629) 2 years ago
realtyem 854a6884d8
Modernize unit tests configuration settings for workers. (#14568) 2 years ago
Andrew Morgan 618e4ab81b
Fix an invalid comparison of `UserPresenceState` to `str` (#14393) 2 years ago
Patrick Cloke f3fba4914d
Reduce the number of tests using TCP replication. (#13543) 2 years ago
Matt C 026ac4486c
Update module API "update room membership" method to allow for remote joins (#13441) 2 years ago
Matt C a91078200d
Add module API method to create a room (#13429) 2 years ago
Matt C 570bf32bbb
Add module API method to resolve a room alias to a room ID (#13428) 2 years ago
Patrick Cloke c52abc1cfd
Additional constants for EDU types. (#12884) 3 years ago
Brendan Abolivier 5ef673de4f
Add a module API to allow modules to edit push rule actions (#12406) 3 years ago
David Robertson 6463244375
Remove unused `# type: ignore`s (#12531) 3 years ago
reivilibre 85ca963c1a
Add Module API for reading and writing global account data. (#12391) 3 years ago
Richard van der Hoff 33ebee47e4
Remove redundant `get_success` calls in test code (#12346) 3 years ago
reivilibre c4cf916ed7
Default to `private` room visibility rather than `public` when a client does not specify one, according to spec. (#12350) 3 years ago
Amanda Graven 4e900ece42
Add set_user_admin function to the module API (#12341) 3 years ago
Nicolas Werner 692b82838e
Allow registering admin users using the module API (#12250) 3 years ago
Richard van der Hoff e24ff8ebe3
Remove `HomeServer.get_datastore()` (#12031) 3 years ago
Patrick Cloke 2735b3e6f2
Remove a debug statement from tests. (#11239) 3 years ago
Brendan Abolivier ad4eab9862
Add a module API method to retrieve state from a room (#11204) 3 years ago
Brendan Abolivier adc0d35b17
Add a ModuleApi method to update a user's membership in a room (#11147) 3 years ago
Patrick Cloke 7d84d2523a
Fix errors in Synapse logs from unit tests. (#10939) 3 years ago
David Teller 80828eda06
Extend ModuleApi with the methods we'll need to reject spam based on …IP - resolves #10832 (#10833) 3 years ago
reivilibre 642a42edde
Flatten the synapse.rest.client package (#10600) 3 years ago
Jason Robinson c2000ab35b
Add `get_userinfo_by_id` method to `ModuleApi` (#9581) 3 years ago
Jonathan de Jong 93729719b8
Use inline type hints in `tests/` (#10350) 3 years ago
Andrew Morgan 4d6e5a5e99
Use a database table to hold the users that should have full presence sent to them, instead of something in-memory (#9823) 4 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Patrick Cloke 0b3112123d
Use mock from the stdlib. (#9772) 4 years ago
Andrew Morgan 04819239ba
Add a Synapse Module for configuring presence update routing (#9491) 4 years ago
Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 4 years ago
Erik Johnston f737368a26
Add admin API for logging in as a user (#8617) 4 years ago
Andrew Morgan 66ac4b1e34
Allow modules to create and send events into rooms (#8479) 4 years ago
Richard van der Hoff 4f0637346a
Combine `SpamCheckerApi` with the more generic `ModuleApi`. (#8464) 4 years ago
Andrew Morgan 0991a2da93
Allow ThirdPartyEventRules modules to manipulate public room state (#8292) 4 years ago
Patrick Cloke 4c6c56dc58
Convert simple_select_one and simple_select_one_onecol to async (#8162) 4 years ago
Andrew Morgan 3e6b5bba71
Wrap register_device coroutine in an ensureDeferred (#7684) 5 years ago