synapse-old/synapse/rest/media/v1
Patrick Cloke b312769c0e
Do not error when thumbnailing invalid files (#8236)
If a file cannot be thumbnailed for some reason (e.g. the file is empty), then
catch the exception and convert it to a reasonable error message for the client.
2020-09-09 12:59:41 -04:00
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
_base.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
config_resource.py Merge different Resource implementation classes (#7732) 2020-07-03 19:02:19 +01:00
download_resource.py Merge different Resource implementation classes (#7732) 2020-07-03 19:02:19 +01:00
filepath.py Include method in thumbnail media name (#7124) 2020-09-08 17:19:50 +01:00
media_repository.py Do not error when thumbnailing invalid files (#8236) 2020-09-09 12:59:41 -04:00
media_storage.py Include method in thumbnail media name (#7124) 2020-09-08 17:19:50 +01:00
preview_url_resource.py Remove unnecessary maybeDeferred calls (#8044) 2020-08-07 09:44:48 -04:00
storage_provider.py Fix async/await calls for broken media providers. (#8027) 2020-08-04 09:44:25 -04:00
thumbnail_resource.py Do not error when thumbnailing invalid files (#8236) 2020-09-09 12:59:41 -04:00
thumbnailer.py Do not error when thumbnailing invalid files (#8236) 2020-09-09 12:59:41 -04:00
upload_resource.py Merge different Resource implementation classes (#7732) 2020-07-03 19:02:19 +01:00