synapse-product/synapse/rest/media/v1
DeepBlueV7.X 560f3b8609
Include method in thumbnail media name (#7124)
This fixes an issue where different methods (crop/scale) overwrite each other.

This first tries the new path. If that fails and we are looking for a
remote thumbnail, it tries the old path. If that still isn't found, it
continues as normal.

This should probably be removed in the future, after some of the newer
thumbnails were generated with the new path on most deployments. Then
the overhead should be minimal if the other thumbnails need to be
regenerated.

Signed-off-by: Nicolas Werner <nicolas.werner@hotmail.de>
2020-09-08 17:19:50 +01: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 Stop sub-classing object (#8249) 2020-09-04 06:54:56 -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 Merge different Resource implementation classes (#7732) 2020-07-03 19:02:19 +01:00
thumbnailer.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
upload_resource.py Merge different Resource implementation classes (#7732) 2020-07-03 19:02:19 +01:00