summary refs log tree commit diff
path: root/docs/spam_checker.md (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Standardise the module interface (#10062)Brendan Abolivier2021-06-181-0/+4
| | | 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.
* Pass SSO IdP information to spam checker's registration function (#9626)Andrew Morgan2021-03-161-1/+7
| | | | | | | 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`.
* Fix spam checker modules documentation example (#9580)Jason Robinson2021-03-101-0/+10
| | | | Mention that parse_config must exist and note the check_media_file_for_spam method.
* Fix typo in spam checker documentationAndrew Morgan2021-02-241-1/+1
|
* Add check_media_file_for_spam spam checker hookErik Johnston2021-02-041-0/+3
|
* Allow spam-checker modules to be provide async methods. (#8890)David Teller2020-12-111-6/+13
| | | | Spam checker modules can now provide async methods. This is implemented in a backwards-compatible manner.
* Combine `SpamCheckerApi` with the more generic `ModuleApi`. (#8464)Richard van der Hoff2020-10-071-6/+3
| | | | | 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.
* Extend spam checker to allow for multiple modules (#7435)Andrew Morgan2020-05-081-7/+12
|
* Filter the results of user directory searching via the spam checker (#6888)Patrick Cloke2020-02-141-0/+3
| | | Add a method to the spam checker to filter the user directory results.
* Add documentation for the spam checker module (#6906)Patrick Cloke2020-02-131-0/+85
Add documentation for the spam checker.