Commit Graph

162 Commits (watcha-develop)

Author SHA1 Message Date
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
KevICO bfca29e898
feat: allow partner to requset ModuleAPI by default 3 years ago
KevICO a9023396a6
feat: format watcha logs (#143) 3 years ago
Kevin ICOL 1ab3a1f061
style: fix watcha tags and format code 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
Quentin Gliech a15a893df8
Save the OIDC session ID (sid) with the device on login (#11482) 3 years ago
Erik Johnston d08ef6f155
Make background updates controllable via a plugin (#11306) 3 years ago
David Robertson dc0a3cd596
disallow-untyped-defs for the module_api (#11029) 3 years ago
Patrick Cloke 55669bd3de
Add missing type hints to config base classes (#11377) 3 years ago
reivilibre 5f81c0ce9c
Add/Unerase annotations to Module API (#11341) 3 years ago
Patrick Cloke 5cace20bf1
Add missing type hints to `synapse.app`. (#11287) 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
Brendan Abolivier 8c8e36af0d
Document the version each module API method was added to Synapse (#11183) 3 years ago
Sean Quah 85a09f8b8b
Fix module API's `get_user_ip_and_agents` function when run on workers (#11112) 3 years ago
Azrenbeth cdd308845b
Port the Password Auth Providers module interface to the new generic interface (#10548) 3 years ago
reivilibre 2a2b189130
Mark Module API error imports as re-exported and mark Synapse as containing type annotations (#11054) 3 years ago
Sean Quah 36224e056a
Add type hints to `synapse.storage.databases.main.client_ips` (#10972) 3 years ago
Patrick Cloke e584534403
Use direct references for some configuration variables (part 3) (#10885) 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
Patrick Cloke 4054dfa409
Add type hints for event streams. (#10856) 3 years ago
Patrick Cloke 01c88a09cd
Use direct references for some configuration variables (#10798) 3 years ago
Erik Johnston 5581dd7bf7
Allow modules to run looping call on all instances (#10638) 3 years ago
Azrenbeth 1a9f531c79
Port the PresenceRouter module interface to the new generic interface (#10524) 3 years ago