summary refs log tree commit diff
path: root/synapse/rest/media/v1/thumbnail_resource.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Report per request metrics for all of the things using request_handlerMark Haines2016-04-281-1/+2
|
* Move MediaRepository to media_repository moduleErik Johnston2016-04-191-1/+1
|
* Split out BaseMediaResource into MediaRepositoryErik Johnston2016-04-191-20/+31
| | | | | | | | | This is so that a single MediaRepository can be shared across all resources, rather than having a "copy" per resource. In particular this allows us to guard against both the thumbnail and download resource triggering a download of remote content at the same time.
* comment out 2c838f6459db35ad9812a83184d85a06ca5d940a due to risk of ↵Matthew Hodgson2016-04-141-16/+16
| | | | https://en.wikipedia.org/wiki/Billion_laughs attacks - thanks @torhve
* how was _respond_default_thumbnail ever meant to work?Matthew Hodgson2016-04-021-0/+2
|
* pass back SVGs as their own thumbnailsMatthew Hodgson2016-04-021-0/+20
|
* Only use cropped thumbnails when asked for a cropped thumbnail.Mark Haines2016-01-071-1/+1
| | | | Even though ones cropped with scale might be technically valid.
* Allow guests to upgrade their accountsDaniel Wagner-Hall2016-01-051-1/+1
|
* Use larger thumbnail rather than smaller.Erik Johnston2016-01-051-4/+13
|
* Make a config option for whether to generate new thumbnail sizes dynamicallyMark Haines2015-08-121-7/+18
|
* Fix remote thumbnailingErik Johnston2015-07-231-6/+10
|
* Always return a thumbnail of the requested size.Erik Johnston2015-07-231-2/+79
| | | | | | Before, we returned a thumbnail that was at least as big (if possible) as the requested size. Now, if we don't have a thumbnail of the given size we generate (and persist) one of that size.
* Pick larger than desired thumbnail for 'crop'Erik Johnston2015-07-231-1/+2
|
* If user supplies filename in URL when downloading from media repo, use that ↵Erik Johnston2015-07-031-1/+1
| | | | name in Content Disposition
* Combine the request wrappers in rest/media/v1 and http/server into a single ↵Mark Haines2015-04-211-7/+9
| | | | wrapper decorator
* Move rest APIs back under the rest directoryMark Haines2015-01-221-0/+193