MatrixSynapse/synapse/rest/media/v1
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
..
__init__.py
_base.py Remove unnecessary pass statements. (#12206) 2022-03-11 07:06:21 -05:00
config_resource.py
download_resource.py
filepath.py Fix media repository failing when media store path contains symlinks (#11446) 2021-12-02 16:05:24 +00:00
media_repository.py Refactor and convert `Linearizer` to async (#12357) 2022-04-05 15:43:52 +01:00
media_storage.py Bump `black` and `click` versions (#12320) 2022-03-29 10:41:19 +00:00
oembed.py Fix preview of imgur and Tenor URLs. (#11669) 2022-01-18 13:20:24 -05:00
preview_html.py Bump `black` and `click` versions (#12320) 2022-03-29 10:41:19 +00:00
preview_url_resource.py Ensure the type of URL attributes is always str when matching against preview blacklist (#12333) 2022-03-31 11:49:49 +02:00
storage_provider.py Use `ParamSpec` in type hints for `synapse.logging.context` (#12150) 2022-03-08 15:58:14 +00:00
thumbnail_resource.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
thumbnailer.py
upload_resource.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00