summary refs log tree commit diff
path: root/synapse/module_api/__init__.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Convert simple_select_one_txn and simple_select_one to return tuples. (#16612)Patrick Cloke2023-11-091-1/+2
* Add new module API for adding custom fields to events `unsigned` section (#16...Erik Johnston2023-10-271-0/+21
* Add a new module API to update user presence state. (#16544)Patrick Cloke2023-10-261-0/+33
* Convert user_get_threepids response to attrs. (#16468)Patrick Cloke2023-10-111-1/+1
* Add automatic purge after all users forget a room (#15488)Mathieu Velten2023-09-151-1/+12
* Refactor `get_user_by_id` (#16316)Erik Johnston2023-09-141-2/+2
* Allow modules to delete rooms. (#15997)reivilibre2023-09-061-0/+13
* Don't wake up destination transaction queue if they're not due for retry. (#1...Erik Johnston2023-09-041-1/+1
* Fix the type annotation on `run_db_interaction` in the Module API. (#16089)reivilibre2023-08-101-2/+2
* Allow modules to schedule delayed background calls. (#15993)reivilibre2023-08-081-0/+41
* Allow modules to check whether the current worker is configured to run backgr...reivilibre2023-08-031-0/+12
* Add login spam checker API (#15838)Erik Johnston2023-06-261-0/+3
* `N + 3`: Read from column `full_user_id` rather than `user_id` of tables `pro...Shay2023-06-021-1/+3
* Add get_canonical_room_alias to module API (#15450)Gabriel Féron2023-05-311-0/+27
* Refactor config to be an experimental featureHugh Nimmo-Smith2023-05-301-0/+7
* Update code to refer to "workers". (#15606)Patrick Cloke2023-05-161-4/+2
* Export `run_as_background_process` from the module API (#15577)Shay2023-05-151-0/+1
* Move ThirdPartyEventRules into module_api/callbacks (#15535)Andrew Morgan2023-05-041-16/+15
* Add a module API to send an HTTP push notification (#15387)Mathieu Velten2023-04-261-0/+46
* Move Spam Checker callbacks to a dedicated file (#15453)Andrew Morgan2023-04-181-17/+16
* Move Account Validity callbacks to a dedicated file (#15237)Andrew Morgan2023-03-161-9/+9
* Add module API callbacks for adding and deleting local 3PID associations (#15044Andrew Morgan2023-02-271-0/+10
* Remove unused `room_alias` field from `/createRoom` response (#15093)David Robertson2023-02-221-3/+3
* Fix a bug in the send_local_online_presence_to module API (#14880)Patrick Cloke2023-01-251-1/+1
* Add `set_displayname` to the module API (#14629)Emelie Graven2023-01-111-0/+27
* Add a `cached` helper to the module API (#14663)Brendan Abolivier2022-12-281-1/+39
* Move `StateFilter` to `synapse.types` (#14668)David Robertson2022-12-121-1/+1
* Add a type hint for `get_device_handler()` and fix incorrect types. (#14055)Patrick Cloke2022-11-221-1/+9
* Remove redundant types from comments. (#14412)Patrick Cloke2022-11-161-4/+3
* Save login tokens in database (#13844)Quentin Gliech2022-10-261-40/+1
* Deprecate the `generate_short_term_login_token` method in favor of an async `...Quentin Gliech2022-10-061-0/+42
* Add missing version information in the ModuleApi (#13947)Brendan Abolivier2022-09-301-0/+4
* Add cache invalidation across workers to module API (#13667)Mathieu Velten2022-09-211-1/+32
* Remove the `complete_sso_login` method from the Module API which was deprecat...Quentin Gliech2022-09-201-25/+0
* Update module API "update room membership" method to allow for remote joins (...Matt C2022-08-051-4/+4
* Add module API method to create a room (#13429)Matt C2022-08-041-0/+51
* Add module API method to resolve a room alias to a room ID (#13428)Matt C2022-08-031-0/+24
* Uniformize spam-checker API, part 5: expand other spam-checker callbacks to r...David Teller2022-07-111-0/+1
* Uniformize spam-checker API, part 4: port other spam-checker callbacks to ret...David Teller2022-06-131-0/+2
* Consolidate the logic of delete_device/delete_devices. (#12970)Patrick Cloke2022-06-071-1/+1
* Wait for lazy join to complete when getting current state (#12872)Erik Johnston2022-06-011-11/+8
* Merge branch 'master' into developErik Johnston2022-05-311-5/+3
|\
| * Fix import in module_api module and docs on the new check_event_for_spam sign...Brendan Abolivier2022-05-311-5/+3
* | Document the Synapse version of a new module API method (#12917)Brendan Abolivier2022-05-301-1/+6
* | Add storage and module API methods to get monthly active users and their apps...Matt C2022-05-271-0/+20
|/
* Uniformize spam-checker API, part 2: check_event_for_spam (#12808)David Teller2022-05-231-0/+5
* add SpamChecker callback for silently dropping inbound federated events (#12744)Jess Porter2022-05-231-0/+5
* Use `ParamSpec` in a few places (#12667)David Robertson2022-05-091-7/+10
* Add a module API to allow modules to edit push rule actions (#12406)Brendan Abolivier2022-04-271-0/+64
* Remove unused `# type: ignore`s (#12531)David Robertson2022-04-271-1/+3
* Add Module API for reading and writing global account data. (#12391)reivilibre2022-04-111-0/+76
* Add a module callback to react to account data changes (#12327)Brendan Abolivier2022-04-011-0/+15
* Add set_user_admin function to the module API (#12341)Amanda Graven2022-04-011-0/+11
* Add a callback to react to 3PID associations (#12302)Brendan Abolivier2022-03-311-0/+3
* Allow modules to store already existing 3PID associations (#12195)Brendan Abolivier2022-03-281-1/+26
* Allow registering admin users using the module API (#12250)Nicolas Werner2022-03-231-0/+4
* Correct `check_username_for_spam` annotations and docs (#12246)David Robertson2022-03-181-0/+2
* Add third_party module callbacks to check if a user can delete a room and dea...Will Hunt2022-03-091-0/+6
* Correctly register deactivation and profile update module callbacks (#12141)Brendan Abolivier2022-03-031-0/+8
* Add module callbacks called for reacting to deactivation status change and pr...Brendan Abolivier2022-03-011-0/+1
* Remove `HomeServer.get_datastore()` (#12031)Richard van der Hoff2022-02-231-3/+5
* Document why auth providers aren't validated in the admin API. (#12004)Patrick Cloke2022-02-181-1/+5
* Allow modules to set a display name on registration (#12009)Brendan Abolivier2022-02-171-0/+5
* Require that modules register their callbacks using keyword arguments. (#11975)Patrick Cloke2022-02-141-0/+6
* Remove deprecated user_may_create_room_with_invites callback (#11950)Brendan Abolivier2022-02-111-5/+0
* Add a callback to allow modules to deny 3PID (#11854)Brendan Abolivier2022-02-081-0/+3
* Allow modules to retrieve server and worker names (#11868)Brendan Abolivier2022-02-011-0/+26
* Add a module callback to set username at registration (#11790)Brendan Abolivier2022-01-261-0/+22
* Fix `ModuleApi.looping_background_call` for non-async functions (#11524)Sean Quah2021-12-071-3/+2
* Save the OIDC session ID (sid) with the device on login (#11482)Quentin Gliech2021-12-061-0/+2
* Make background updates controllable via a plugin (#11306)Erik Johnston2021-11-291-1/+53
* disallow-untyped-defs for the module_api (#11029)David Robertson2021-11-291-30/+55
* Add missing type hints to config base classes (#11377)Patrick Cloke2021-11-231-1/+1
* Add/Unerase annotations to Module API (#11341)reivilibre2021-11-181-23/+134
* Add missing type hints to `synapse.app`. (#11287)Patrick Cloke2021-11-101-2/+2
* Add a module API method to retrieve state from a room (#11204)Brendan Abolivier2021-10-291-0/+49
* Add a ModuleApi method to update a user's membership in a room (#11147)Brendan Abolivier2021-10-281-1/+99
* Document the version each module API method was added to Synapse (#11183)Brendan Abolivier2021-10-261-11/+88
* Fix module API's `get_user_ip_and_agents` function when run on workers (#11112)Sean Quah2021-10-251-1/+5
* Port the Password Auth Providers module interface to the new generic interfac...Azrenbeth2021-10-131-0/+9
* Add type hints to `synapse.storage.databases.main.client_ips` (#10972)Sean Quah2021-10-121-3/+3
* Use direct references for some configuration variables (part 3) (#10885)Patrick Cloke2021-09-231-3/+5
* Extend ModuleApi with the methods we'll need to reject spam based on …IP - ...David Teller2021-09-221-1/+81
* Add type hints for event streams. (#10856)Patrick Cloke2021-09-211-1/+1
* Use direct references for some configuration variables (#10798)Patrick Cloke2021-09-131-2/+2
* Merge branch 'release-v1.41' into developErik Johnston2021-08-181-2/+10
|\
| * Allow modules to run looping call on all instances (#10638)Erik Johnston2021-08-181-1/+8
| * Centralise the custom template directory (#10596)Brendan Abolivier2021-08-171-1/+2
* | Port the PresenceRouter module interface to the new generic interface (#10524)Azrenbeth2021-08-171-0/+10
|/
* Allow using several custom template directories (#10587)Brendan Abolivier2021-08-171-1/+4
* Add `get_userinfo_by_id` method to `ModuleApi` (#9581)Jason Robinson2021-08-041-1/+11
* Fix a handful of type annotations. (#10446)Richard van der Hoff2021-07-221-1/+1
* Port the ThirdPartyEventRules module interface to the new generic interface (...Brendan Abolivier2021-07-201-0/+6
* One last inline type hint (for the whole repo) (#10418)Jonathan de Jong2021-07-161-1/+1
* Add a module type for account validity (#9884)Brendan Abolivier2021-07-161-10/+209
* Use inline type hints in various other places (in `synapse/`) (#10380)Jonathan de Jong2021-07-151-1/+1
* MSC2918 Refresh tokens implementation (#9450)Quentin Gliech2021-06-241-1/+1
* Standardise the module interface (#10062)Brendan Abolivier2021-06-181-1/+29
* Use a database table to hold the users that should have full presence sent to...Andrew Morgan2021-05-181-33/+30
* Don't send normal presence updates over federation replication stream (#9828)Erik Johnston2021-04-191-5/+8
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Bugbear: Add Mutable Parameter fixes (#9682)Jonathan de Jong2021-04-081-5/+7
* Add a Synapse Module for configuring presence update routing (#9491)Andrew Morgan2021-04-061-0/+50
* Record the SSO Auth Provider in the login token (#9510)Richard van der Hoff2021-03-041-4/+27
* Fix additional type hints from Twisted upgrade. (#9518)Patrick Cloke2021-03-031-2/+2
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-2/+7
* Improve styling and wording of SSO redirect confirm template (#9272)Richard van der Hoff2021-02-011-2/+8
* Add admin API for logging in as a user (#8617)Erik Johnston2020-11-171-1/+4
* Allow modules to create and send events into rooms (#8479)Andrew Morgan2020-10-091-1/+29
* Combine `SpamCheckerApi` with the more generic `ModuleApi`. (#8464)Richard van der Hoff2020-10-071-1/+28
* Allow ThirdPartyEventRules modules to manipulate public room state (#8292)Andrew Morgan2020-10-051-0/+67
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-1/+1
* Do not assume calls to runInteraction return Deferreds. (#8133)Patrick Cloke2020-08-201-3/+7
* Convert synapse.api to async/await (#8031)Patrick Cloke2020-08-061-2/+6
* Rename database classes to make some sense (#8033)Erik Johnston2020-08-051-1/+1
* Wrap register_device coroutine in an ensureDeferred (#7684)Andrew Morgan2020-06-161-5/+7
* Convert the registration handler to async/await. (#7649)Patrick Cloke2020-06-081-2/+6
* Convert auth handler to async/await (#7261)Patrick Cloke2020-04-151-2/+4
* Do not allow a deactivated user to login via SSO. (#7240)Patrick Cloke2020-04-091-1/+21
* Factor out complete_sso_login and expose it to the Module APIBrendan Abolivier2020-03-031-0/+19
* Cleanups and additions to the module APIRichard van der Hoff2020-01-121-6/+41
* Move DB pool and helper functions into dedicated Database classErik Johnston2019-12-051-1/+1
* Remove unnecessary parentheses around return statements (#5931)Andrew Morgan2019-08-301-1/+1
* Replace returnValue with return (#5736)Amber Brown2019-07-231-1/+1
* Remove access-token support from RegistrationHandler.register (#5641)Richard van der Hoff2019-07-081-8/+2
* Update ModuleApi to avoid register(generate_token=True) (#5640)Richard van der Hoff2019-07-081-8/+56
* Run Black. (#5482)Amber Brown2019-06-201-3/+3
* Allow password providers to bind emails (#4947)Andrew Morgan2019-03-281-4/+5
* Support 3PID login in password providers (#4931)Andrew Morgan2019-03-261-3/+15
* Fix registration on workers (#4682)Erik Johnston2019-02-201-1/+1
* Delete devices in various logout situationsRichard van der Hoff2017-11-291-2/+12
* Add more hooks to ModuleApiRichard van der Hoff2017-11-021-0/+34
* Factor _AccountHandler proxy out to ModuleApiRichard van der Hoff2017-11-021-0/+79