summary refs log tree commit diff
path: root/synapse/rest/media/v1/filepath.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add type hints to media rest resources. (#9093)Patrick Cloke2021-01-151-16/+34
|
* Add an admin api to delete local media. (#8519)Dirk Klimpel2020-10-261-0/+17
| | | | | | Related to: #6459, #3479 Add `DELETE /_synapse/admin/v1/media/<server_name>/<media_id>` to delete a single file from server.
* Include method in thumbnail media name (#7124)DeepBlueV7.X2020-09-081-1/+18
| | | | | | | | | | | | | | 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>
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-1/+1
|
* Run Black. (#5482)Amber Brown2019-06-201-78/+53
|
* run isortAmber Brown2018-07-091-1/+1
|
* Don't needlessly rename variableErik Johnston2017-10-131-13/+13
|
* Add paths back in...Erik Johnston2017-10-131-4/+4
|
* Make things be absolute paths againErik Johnston2017-10-131-7/+7
|
* Fix commentsErik Johnston2017-10-121-1/+1
|
* Copy everything to backupErik Johnston2017-10-121-33/+66
|
* Support new and old style media id formatsErik Johnston2017-09-281-31/+81
|
* Delete expired url cache dataErik Johnston2017-09-281-2/+41
|
* Store URL cache preview downloads seperatelyErik Johnston2017-06-231-0/+18
| | | | This makes it easier to clear old media out at a later date
* Implement purge_media_cache admin APIErik Johnston2016-06-291-0/+6
|
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Move rest APIs back under the rest directoryMark Haines2015-01-221-0/+67