MatrixSynapse/synapse/handlers
Sean Quah 800ba87cc8
Refactor and convert `Linearizer` to async (#12357)
Refactor and convert `Linearizer` to async. This makes a `Linearizer`
cancellation bug easier to fix.

Also refactor to use an async context manager, which eliminates an
unlikely footgun where code that doesn't immediately use the context
manager could forget to release the lock.

Signed-off-by: Sean Quah <seanq@element.io>
2022-04-05 15:43:52 +01:00
..
ui_auth Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
__init__.py
account.py Optionally include account validity in MSC3720 account status responses (#12266) 2022-03-24 11:19:41 +01:00
account_data.py Add a module callback to react to account data changes (#12327) 2022-04-01 11:22:48 +02:00
account_validity.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
admin.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
appservice.py Refactor and convert `Linearizer` to async (#12357) 2022-04-05 15:43:52 +01:00
auth.py Add a callback to react to 3PID associations (#12302) 2022-03-31 18:27:21 +02:00
cas.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
deactivate_account.py Add third_party module callbacks to check if a user can delete a room and deactivate a user (#12028) 2022-03-09 18:23:57 +00:00
device.py Refactor and convert `Linearizer` to async (#12357) 2022-04-05 15:43:52 +01:00
devicemessage.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
directory.py Rename various ApplicationServices interested methods (#11915) 2022-03-03 18:14:09 +00:00
e2e_keys.py Refactor and convert `Linearizer` to async (#12357) 2022-04-05 15:43:52 +01:00
e2e_room_keys.py Refactor and convert `Linearizer` to async (#12357) 2022-04-05 15:43:52 +01:00
event_auth.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
events.py Use the proper serialization format when bundling aggregations. (#12090) 2022-03-03 10:43:06 -05:00
federation.py Refactor and convert `Linearizer` to async (#12357) 2022-04-05 15:43:52 +01:00
federation_event.py Refactor and convert `Linearizer` to async (#12357) 2022-04-05 15:43:52 +01:00
groups_local.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
identity.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
initial_sync.py Use `ParamSpec` in type hints for `synapse.logging.context` (#12150) 2022-03-08 15:58:14 +00:00
message.py Refactor and convert `Linearizer` to async (#12357) 2022-04-05 15:43:52 +01:00
oidc.py Implement a Jinja2 filter to extract localparts from email addresses (#12212) 2022-03-11 15:15:11 +00:00
pagination.py Move get_bundled_aggregations to relations handler. (#12237) 2022-03-18 17:49:32 +00:00
password_policy.py
presence.py Refactor and convert `Linearizer` to async (#12357) 2022-04-05 15:43:52 +01:00
profile.py Always allow the empty string as an avatar_url. (#12261) 2022-03-25 13:28:42 +00:00
read_marker.py Refactor and convert `Linearizer` to async (#12357) 2022-04-05 15:43:52 +01:00
receipts.py Rename various ApplicationServices interested methods (#11915) 2022-03-03 18:14:09 +00:00
register.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
relations.py Remove an unnecessary class from the relations code. (#12338) 2022-03-31 07:13:49 -04:00
room.py Refactor and convert `Linearizer` to async (#12357) 2022-04-05 15:43:52 +01:00
room_batch.py Allow non-member state sent in room batch to resolve for historic events (MSC2716) (#12329) 2022-04-04 14:54:50 -05:00
room_list.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
room_member.py Refactor and convert `Linearizer` to async (#12357) 2022-04-05 15:43:52 +01:00
room_member_worker.py
room_summary.py Do not return allowed_room_ids from /hierarchy response. (#12175) 2022-03-08 08:09:11 -05:00
saml.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
search.py Move get_bundled_aggregations to relations handler. (#12237) 2022-03-18 17:49:32 +00:00
send_email.py
set_password.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
sso.py Refactor and convert `Linearizer` to async (#12357) 2022-04-05 15:43:52 +01:00
state_deltas.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
stats.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
sync.py Send device list updates to application services (MSC3202) - part 1 (#11881) 2022-03-30 14:39:27 +01:00
typing.py Improve code documentation for the typing stream over replication. (#12211) 2022-03-11 14:00:15 +00:00
user_directory.py Correct `check_username_for_spam` annotations and docs (#12246) 2022-03-18 13:51:41 +00:00