forked-synapse/synapse/rest/media/v1
Patrick Cloke 682151a464
Do not fail completely if oEmbed autodiscovery fails. (#15092)
Previously if an autodiscovered oEmbed request failed (e.g. the
oEmbed endpoint is down or does not exist) then the entire URL
preview would fail. Instead we now return everything we can, even
if this additional request fails.
2023-02-23 16:08:53 -05:00
..
__init__.py
_base.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
config_resource.py
download_resource.py Add Cross-Origin-Resource-Policy header to thumbnail and download media endpoints (#12944) 2022-06-27 14:44:05 +01:00
filepath.py
media_repository.py Respond with proper error responses on unknown paths. (#14621) 2022-12-08 11:37:05 -05:00
media_storage.py Typecheck tests.rest.media.v1.test_media_storage (#15008) 2023-02-07 15:24:44 +00:00
oembed.py Prefer type(x) is int to isinstance(x, int) (#14945) 2023-01-31 10:33:07 +00:00
preview_html.py fix linting error from the 1.61.1 main -> develop merge 2022-06-28 16:47:04 +01:00
preview_url_resource.py Do not fail completely if oEmbed autodiscovery fails. (#15092) 2023-02-23 16:08:53 -05: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 Stop parsing the unspecced type parameter on thumbnail requests. (#15137) 2023-02-23 16:07:46 -05:00
thumbnailer.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
upload_resource.py Add a MXCUri class to make working with mxc uri's easier. (#13162) 2022-09-15 12:57:16 +00:00