summary refs log tree commit diff
path: root/scripts-dev (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-03-08Move Spam Checker callbacks to a dedicated fileAndrew Morgan4-26/+26
The next commit updates all the uses of the spam checker (of which there are quite a few...), hence breaking up the commits.
2023-03-08Move Account Validity callbacks to a dedicated fileAndrew Morgan7-106/+156
Spreading module callback registration across the codebase is both a bit messy and makes it unclear where a user should register callbacks if they want to define a new class of callbacks. Consolidating these under the synapse.module_api module cleans things up a bit, puts related code in the same place and makes it much more obvious how to extend it.