summary refs log tree commit diff
path: root/synapse/rest/media/v1/base_resource.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move MediaRepository to media_repository moduleErik Johnston2016-04-191-486/+0
|
* Split out BaseMediaResource into MediaRepositoryErik Johnston2016-04-191-67/+93
| | | | | | | | | 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.
* make it workMatthew Hodgson2016-03-291-0/+1
|
* Catch the exceptions thrown by twisted when you write to a closed connectionMark Haines2016-02-121-2/+2
|
* Preserve log context over when deferring to thread pool in media repoErik Johnston2016-02-031-4/+7
|
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* ConsistencyErik Johnston2015-08-271-3/+3
|
* Check for an internationalised filename firstErik Johnston2015-08-271-8/+14
|
* None check the correct variableErik Johnston2015-08-271-2/+3
|
* Check for NoneErik Johnston2015-08-271-1/+1
|
* Give a sensible error message if the filename is invalid UTF-8Mark Haines2015-08-261-1/+1
|
* Handle unicode filenames given when downloading or received over federationMark Haines2015-08-261-5/+21
|
* Allow non-ascii filenames for attachmentsMark Haines2015-08-261-4/+13
|
* Merge remote-tracking branch 'origin/develop' into ↵Mark Haines2015-08-131-34/+43
|\ | | | | | | erikj/generate_presice_thumbnails
| * Generate local thumbnails on a threadErik Johnston2015-07-231-34/+43
| |
* | Add config option for setting the list of thumbnail sizes to precalculateMark Haines2015-08-121-16/+2
| |
* | Make a config option for whether to generate new thumbnail sizes dynamicallyMark Haines2015-08-121-0/+1
| |
* | Factor out thumbnail()Erik Johnston2015-07-231-56/+40
| |
* | Fix remote thumbnailingErik Johnston2015-07-231-1/+1
| |
* | Always return a thumbnail of the requested size.Erik Johnston2015-07-231-0/+83
|/ | | | | | 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.
* If user supplies filename in URL when downloading from media repo, use that ↵Erik Johnston2015-07-031-1/+4
| | | | name in Content Disposition
* Enforce ascii filenames for uploadsErik Johnston2015-06-301-0/+3
|
* Add Content-Disposition headers to media repo v1 downloadsErik Johnston2015-06-301-4/+19
|
* Merge pull request #175 from matrix-org/erikj/thumbnail_threadErik Johnston2015-06-031-45/+53
|\ | | | | Thumbnail images on a seperate thread
| * Thumbnail images on a seperate threadErik Johnston2015-06-021-45/+53
| |
* | SYN-403: Make content repository use its own http client.Erik Johnston2015-06-031-1/+2
|/
* Change the way we create observers to deferreds so that we don't get spammed ↵Erik Johnston2015-05-081-2/+6
| | | | by 'unhandled errors'
* Implement locks using create_observer for fetching media and server keysErik Johnston2015-04-271-1/+3
|
* Set a version_string in BaseMediaResource so that the request_handler ↵Mark Haines2015-04-211-0/+1
| | | | wrapper works
* Combine the request wrappers in rest/media/v1 and http/server into a single ↵Mark Haines2015-04-211-67/+13
| | | | wrapper decorator
* SYN-282: Don't log tracebacks for client errorsMark Haines2015-02-181-1/+1
|
* i hate weakly typed languagesMatthew Hodgson2015-02-071-1/+1
|
* Move rest APIs back under the rest directoryMark Haines2015-01-221-0/+378