0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 17:03:50 +01:00
synapse/tests/rest/client
Brendan Abolivier b10257e879
Add a spamchecker callback to allow or deny room creation based on invites (#10898)
This is in the context of creating new module callbacks that modules in https://github.com/matrix-org/synapse-dinsic can use, in an effort to reconcile the spam checker API in synapse-dinsic with the one in mainline.

This adds a callback that's fairly similar to user_may_create_room except it also allows processing based on the invites sent at room creation.
2021-09-24 16:38:23 +02:00
..
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_account.py Add reactor to SynapseRequest and fix up types. (#10868) 2021-09-24 11:01:25 +01:00
test_auth.py Flatten tests/rest/client/{v1,v2_alpha} too (#10667) 2021-08-20 17:50:44 +01:00
test_capabilities.py Merge branch 'master' into develop 2021-08-24 17:13:29 +01:00
test_consent.py Add reactor to SynapseRequest and fix up types. (#10868) 2021-09-24 11:01:25 +01:00
test_directory.py Flatten tests/rest/client/{v1,v2_alpha} too (#10667) 2021-08-20 17:50:44 +01:00
test_ephemeral_message.py Flatten the synapse.rest.client package (#10600) 2021-08-17 11:57:58 +00:00
test_events.py Flatten tests/rest/client/{v1,v2_alpha} too (#10667) 2021-08-20 17:50:44 +01:00
test_filter.py Flatten tests/rest/client/{v1,v2_alpha} too (#10667) 2021-08-20 17:50:44 +01:00
test_groups.py Merge branch 'master' into develop 2021-08-31 14:09:48 +01:00
test_identity.py Flatten the synapse.rest.client package (#10600) 2021-08-17 11:57:58 +00:00
test_keys.py Flatten tests/rest/client/{v1,v2_alpha} too (#10667) 2021-08-20 17:50:44 +01:00
test_login.py Use direct references for configuration variables (part 4). (#10893) 2021-09-23 12:03:01 -04:00
test_password_policy.py Flatten tests/rest/client/{v1,v2_alpha} too (#10667) 2021-08-20 17:50:44 +01:00
test_power_levels.py Validate new m.room.power_levels events (#10232) 2021-08-26 17:07:58 +01:00
test_presence.py Flatten tests/rest/client/{v1,v2_alpha} too (#10667) 2021-08-20 17:50:44 +01:00
test_profile.py Flatten tests/rest/client/{v1,v2_alpha} too (#10667) 2021-08-20 17:50:44 +01:00
test_push_rule_attrs.py Flatten tests/rest/client/{v1,v2_alpha} too (#10667) 2021-08-20 17:50:44 +01:00
test_redactions.py Flatten the synapse.rest.client package (#10600) 2021-08-17 11:57:58 +00:00
test_register.py Use direct references for configuration variables (part 4). (#10893) 2021-09-23 12:03:01 -04:00
test_relations.py Flatten tests/rest/client/{v1,v2_alpha} too (#10667) 2021-08-20 17:50:44 +01:00
test_report_event.py Flatten tests/rest/client/{v1,v2_alpha} too (#10667) 2021-08-20 17:50:44 +01:00
test_retention.py Flatten the synapse.rest.client package (#10600) 2021-08-17 11:57:58 +00:00
test_rooms.py Add a spamchecker callback to allow or deny room creation based on invites (#10898) 2021-09-24 16:38:23 +02:00
test_sendtodevice.py Flatten tests/rest/client/{v1,v2_alpha} too (#10667) 2021-08-20 17:50:44 +01:00
test_shadow_banned.py Add type hints for event streams. (#10856) 2021-09-21 13:34:26 -04:00
test_shared_rooms.py Flatten tests/rest/client/{v1,v2_alpha} too (#10667) 2021-08-20 17:50:44 +01:00
test_sync.py Flatten tests/rest/client/{v1,v2_alpha} too (#10667) 2021-08-20 17:50:44 +01:00
test_third_party_rules.py Test that state events sent by modules correctly end up in the room's state (#10835) 2021-09-21 17:40:20 +02:00
test_transactions.py Use mock from the stdlib. (#9772) 2021-04-09 13:44:38 -04:00
test_typing.py Add type hints for event streams. (#10856) 2021-09-21 13:34:26 -04:00
test_upgrade_room.py Handle room upgrades for spaces (#10774) 2021-09-10 07:30:05 -04:00
utils.py Add reactor to SynapseRequest and fix up types. (#10868) 2021-09-24 11:01:25 +01:00