synapse/synapse
Hugh Nimmo-Smith fbe7a898f0
Pass room_config argument to user_may_create_room spam checker module callback (#18486)
This PR adds an additional `room_config` argument to the
`user_may_create_room` spam checker module API callback.

It will continue to work with implementations of `user_may_create_room`
that do not expect the additional parameter.

A side affect is that on a room upgrade the spam checker callback is
called *after* doing some work to calculate the state rather than
before. However, I hope that this is acceptable given the relative
infrequency of room upgrades.
2025-06-04 11:30:45 +01:00
..
_scripts Bump ruff from 0.7.3 to 0.11.10 (#18451) 2025-05-20 15:23:30 +01:00
api Make user_type extensible and allow default user_type to be set (#18456) 2025-06-03 11:34:40 +00:00
app Add a unit test for the phone home stats (#18463) 2025-05-20 16:26:45 +01:00
appservice Support for MSC4190: device management for application services (#17705) 2024-12-04 12:04:49 +01:00
config Make user_type extensible and allow default user_type to be set (#18456) 2025-06-03 11:34:40 +00:00
crypto Fix fetching signing keys when old_verify_keys is omitted (#17568) 2024-08-14 14:13:56 +01:00
events Fix GHSA-v56r-hwv5-mxg6 — Federation denial 2025-03-26 18:44:45 +00:00
federation Policy server part 1: Actually call the policy server (#18387) 2025-05-21 22:09:09 +00:00
handlers Pass room_config argument to user_may_create_room spam checker module callback (#18486) 2025-06-04 11:30:45 +01:00
http Bump ruff from 0.7.3 to 0.11.10 (#18451) 2025-05-20 15:23:30 +01:00
logging Cleanup Python 3.8 leftovers (#17967) 2025-02-10 16:53:24 +00:00
media Ensure the url previewer also hashes and quarantines media (#18297) 2025-05-06 11:04:31 +01:00
metrics Cleanup Python 3.8 leftovers (#17967) 2025-02-10 16:53:24 +00:00
module_api Pass room_config argument to user_may_create_room spam checker module callback (#18486) 2025-06-04 11:30:45 +01:00
push Do not retry push during backoff period (#18363) 2025-04-29 14:08:11 +01:00
replication Bump ruff from 0.7.3 to 0.11.10 (#18451) 2025-05-20 15:23:30 +01:00
res Send an email if the address is already bound to an user account (#16819) 2024-04-23 16:45:24 +01:00
rest Make user_type extensible and allow default user_type to be set (#18456) 2025-06-03 11:34:40 +00:00
server_notices Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
spam_checker_api Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
state Cleanup Python 3.8 leftovers (#17967) 2025-02-10 16:53:24 +00:00
static Update link to the clients webpage, fix #15825 (#15874) 2023-07-06 17:28:09 +02:00
storage Make user_type extensible and allow default user_type to be set (#18456) 2025-06-03 11:34:40 +00:00
streams Fix regression when bounding future tokens (#17391) 2024-07-02 14:06:36 +01:00
synapse_rust Move server event filtering logic to rust (#17928) 2024-11-14 16:18:24 +00:00
types Policy server part 1: Actually call the policy server (#18387) 2025-05-21 22:09:09 +00:00
util Bump ruff from 0.7.3 to 0.11.10 (#18451) 2025-05-20 15:23:30 +01:00
__init__.py Remove support for python 3.8 (#17908) 2024-11-06 19:36:01 +00:00
_pydantic_compat.py import pydantic objects from the _pydantic_compat module (#17667) 2024-09-11 21:01:43 +00:00
event_auth.py Bump ruff from 0.7.3 to 0.11.10 (#18451) 2025-05-20 15:23:30 +01:00
notifier.py remove room without listeners from Notifier.room_to_user_streams (#18380) 2025-05-15 18:18:17 +01:00
py.typed Mark Module API error imports as re-exported and mark Synapse as containing type annotations (#11054) 2021-10-13 08:42:41 +01:00
server.py Policy server part 1: Actually call the policy server (#18387) 2025-05-21 22:09:09 +00:00
visibility.py Move server event filtering logic to rust (#17928) 2024-11-14 16:18:24 +00:00