synapse-product/synapse/handlers
Andrew Morgan 182147195b
Check third party rules before persisting knocks over federation (#10212)
An accidental mis-ordering of operations during #6739 technically allowed an incoming knock event over federation in before checking it against any configured Third Party Access Rules modules.

This PR corrects that by performing the TPAR check *before* persisting the event.
2021-06-21 11:57:09 +01:00
..
ui_auth Add missing type hints to handlers and fix a Spam Checker type hint. (#9896) 2021-04-29 07:17:28 -04:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
_base.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
account_data.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
account_validity.py Split multiplart email sending into a dedicated handler (#9977) 2021-05-17 12:33:38 +02:00
admin.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
appservice.py Always update AS last_pos, even on no events (#10107) 2021-06-07 15:42:05 +01:00
auth.py Always require users to re-authenticate for dangerous operations. (#10184) 2021-06-16 11:07:28 -04:00
cas.py Rename handler and config modules which end in handler/config. (#9816) 2021-04-20 14:55:20 -04:00
deactivate_account.py Port "Allow users to click account renewal links multiple times without hitting an 'Invalid Token' page #74" from synapse-dinsic (#9832) 2021-04-19 19:16:34 +01:00
device.py Clear the resync bit after resyncing device lists (#9867) 2021-04-22 16:53:24 +01:00
devicemessage.py Fix m.room_key_request to-device messages (#9961) 2021-05-11 11:02:56 +01:00
directory.py Use get_current_users_in_room from store and not StateHandler (#9910) 2021-05-05 16:49:34 +01:00
e2e_keys.py Limit the number of in-flight /keys/query requests from a single device. (#10144) 2021-06-09 07:05:32 -04:00
e2e_room_keys.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
event_auth.py Update MSC3083 support per changes in the MSC. (#10189) 2021-06-17 12:53:27 -04:00
events.py Use get_current_users_in_room from store and not StateHandler (#9910) 2021-05-05 16:49:34 +01:00
federation.py Check third party rules before persisting knocks over federation (#10212) 2021-06-21 11:57:09 +01:00
groups_local.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
identity.py Add missing type hints to handlers and fix a Spam Checker type hint. (#9896) 2021-04-29 07:17:28 -04:00
initial_sync.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
message.py Implement knock feature (#6739) 2021-06-09 19:39:51 +01:00
oidc.py Allow OIDC cookies to work on non-root public baseurls (#9726) 2021-04-23 18:22:47 +01:00
pagination.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
password_policy.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
presence.py Only send a presence state to a destination once (#10165) 2021-06-11 15:19:42 +01:00
profile.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
read_marker.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
receipts.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
register.py Standardise the module interface (#10062) 2021-06-18 12:15:52 +01:00
room_list.py Integrate knock rooms with the public rooms directory (#9359) 2021-06-09 20:31:31 +01:00
room_member_worker.py Implement knock feature (#6739) 2021-06-09 19:39:51 +01:00
room_member.py Remove the experimental flag for knocking and use stable prefixes / endpoints. (#10167) 2021-06-15 07:45:14 -04:00
room.py Correctly ratelimit invites when creating a room (#9968) 2021-05-12 16:05:28 +02:00
saml.py Rename handler and config modules which end in handler/config. (#9816) 2021-04-20 14:55:20 -04:00
search.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
send_email.py Split multiplart email sending into a dedicated handler (#9977) 2021-05-17 12:33:38 +02:00
set_password.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
space_summary.py Fix a missing await when in the spaces summary. (#10208) 2021-06-18 18:41:33 +01:00
sso.py Remove synapse.types.Collection (#9856) 2021-04-22 16:43:50 +01:00
state_deltas.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
stats.py Implement knock feature (#6739) 2021-06-09 19:39:51 +01:00
sync.py Ensure that we do not cache empty sync responses after a timeout (#10158) 2021-06-17 16:23:11 +01:00
typing.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
user_directory.py User directory: use calculated room membership state instead (#9821) 2021-04-16 18:17:18 +01:00