Commit Graph

114 Commits (98fd558382226b347d78e5f6e6782c6e74c25e69)

Author SHA1 Message Date
Andrew Morgan 4953cd71df
Move Account Validity callbacks to a dedicated file (#15237) 2 years ago
Andrew Morgan b40657314e
Add module API callbacks for adding and deleting local 3PID associations (#15044 2 years ago
David Robertson 647ff3ef65
Remove unused `room_alias` field from `/createRoom` response (#15093) 2 years ago
Patrick Cloke 7e8d455280
Fix a bug in the send_local_online_presence_to module API (#14880) 2 years ago
Emelie Graven dd9e71dc7f
Add `set_displayname` to the module API (#14629) 2 years ago
Brendan Abolivier 3854d0f949
Add a `cached` helper to the module API (#14663) 2 years ago
David Robertson b5b5f66084
Move `StateFilter` to `synapse.types` (#14668) 2 years ago
Patrick Cloke 6d47b7e325
Add a type hint for `get_device_handler()` and fix incorrect types. (#14055) 2 years ago
Patrick Cloke d8cc86eff4
Remove redundant types from comments. (#14412) 2 years ago
Quentin Gliech 8756d5c87e
Save login tokens in database (#13844) 2 years ago
Quentin Gliech 79c592cec6
Deprecate the `generate_short_term_login_token` method in favor of an async `create_login_token` method in the Module API. (#13842) 2 years ago
Brendan Abolivier 1cc2ca81ba
Add missing version information in the ModuleApi (#13947) 2 years ago
Mathieu Velten 6bd8763804
Add cache invalidation across workers to module API (#13667) 2 years ago
Quentin Gliech 85fc7ea1a1
Remove the `complete_sso_login` method from the Module API which was deprecated in Synapse 1.13.0. (#13843) 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
David Teller 11f811470f
Uniformize spam-checker API, part 5: expand other spam-checker callbacks to return `Tuple[Codes, dict]` (#13044) 2 years ago
David Teller a164a46038
Uniformize spam-checker API, part 4: port other spam-checker callbacks to return `Union[Allow, Codes]`. (#12857) 2 years ago
Patrick Cloke 9dc3293e0b
Consolidate the logic of delete_device/delete_devices. (#12970) 3 years ago
Erik Johnston 888a29f412
Wait for lazy join to complete when getting current state (#12872) 3 years ago
Brendan Abolivier 8fd87739bf
Fix import in module_api module and docs on the new check_event_for_spam signature (#12918) 3 years ago
Brendan Abolivier cd9fc058de
Document the Synapse version of a new module API method (#12917) 3 years ago
Matt C a7da00d4f7
Add storage and module API methods to get monthly active users and their appservices (#12838) 3 years ago
David Teller 28199e9357
Uniformize spam-checker API, part 2: check_event_for_spam (#12808) 3 years ago
Jess Porter a608ac847b
add SpamChecker callback for silently dropping inbound federated events (#12744) 3 years ago
David Robertson fa0eab9c8e
Use `ParamSpec` in a few places (#12667) 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
Brendan Abolivier e4409301ba
Add a module callback to react to account data changes (#12327) 3 years ago
Amanda Graven 4e900ece42
Add set_user_admin function to the module API (#12341) 3 years ago
Brendan Abolivier 5e88143dff
Add a callback to react to 3PID associations (#12302) 3 years ago
Brendan Abolivier 8cd760fca8
Allow modules to store already existing 3PID associations (#12195) 3 years ago
Nicolas Werner 692b82838e
Allow registering admin users using the module API (#12250) 3 years ago
David Robertson 872dbb0181
Correct `check_username_for_spam` annotations and docs (#12246) 3 years ago
Will Hunt 15382b1afa
Add third_party module callbacks to check if a user can delete a room and deactivate a user (#12028) 3 years ago
Brendan Abolivier ae8a616b49
Correctly register deactivation and profile update module callbacks (#12141) 3 years ago
Brendan Abolivier 300ed0b8a6
Add module callbacks called for reacting to deactivation status change and profile update (#12062) 3 years ago
Richard van der Hoff e24ff8ebe3
Remove `HomeServer.get_datastore()` (#12031) 3 years ago
Patrick Cloke 444b04058b
Document why auth providers aren't validated in the admin API. (#12004) 3 years ago
Brendan Abolivier 707049c6ff
Allow modules to set a display name on registration (#12009) 3 years ago
Patrick Cloke 738e569ed2
Require that modules register their callbacks using keyword arguments. (#11975) 3 years ago
Brendan Abolivier 0171fa5226
Remove deprecated user_may_create_room_with_invites callback (#11950) 3 years ago
Brendan Abolivier 0640f8ebaa
Add a callback to allow modules to deny 3PID (#11854) 3 years ago
Brendan Abolivier 5c16c33021
Allow modules to retrieve server and worker names (#11868) 3 years ago
Brendan Abolivier 2d3bd9aa67
Add a module callback to set username at registration (#11790) 3 years ago
Olivier Wilkinson (reivilibre) 4dd9ea8f4f Revert "Revert accidental fast-forward merge from v1.49.0rc1" 3 years ago
Sean Quah 158d73ebdd Revert accidental fast-forward merge from v1.49.0rc1 3 years ago
Sean Quah eccc49d755
Fix `ModuleApi.looping_background_call` for non-async functions (#11524) 3 years ago