- Jul 15, 2021
-
-
Brendan Abolivier authored
-
- Jun 18, 2021
-
-
Brendan Abolivier authored
This PR adds a common configuration section for all modules (see docs). These modules are then loaded at startup by the homeserver. Modules register their hooks and web resources using the new `register_[...]_callbacks` and `register_web_resource` methods of the module API.
-
- Mar 16, 2021
-
-
Andrew Morgan authored
Fixes https://github.com/matrix-org/synapse/issues/9572 When a SSO user logs in for the first time, we create a local Matrix user for them. This goes through the register_user flow, which ends up triggering the spam checker. Spam checker modules don't currently have any way to differentiate between a user trying to sign up initially, versus an SSO user (whom has presumably already been approved elsewhere) trying to log in for the first time. This PR passes `auth_provider_id` as an argument to the `check_registration_for_spam` function. This argument will contain an ID of an SSO provider (`"saml"`, `"cas"`, etc.) if one was used, else `None`.
-
- Mar 10, 2021
-
-
Jason Robinson authored
Mention that parse_config must exist and note the check_media_file_for_spam method.
-
- Feb 24, 2021
-
-
Andrew Morgan authored
-
- Feb 04, 2021
-
-
Erik Johnston authored
-
- Dec 11, 2020
-
-
David Teller authored
Spam checker modules can now provide async methods. This is implemented in a backwards-compatible manner.
-
- Oct 07, 2020
-
-
Richard van der Hoff authored
Lots of different module apis is not easy to maintain. Rather than adding yet another ModuleApi(hs, hs.get_auth_handler()) incantation, first add an hs.get_module_api() method and use it where possible.
-
- May 08, 2020
-
-
Andrew Morgan authored
-
- Feb 14, 2020
-
-
Patrick Cloke authored
Add a method to the spam checker to filter the user directory results.
-
- Feb 13, 2020
-
-
Patrick Cloke authored
Add documentation for the spam checker.
-