summary refs log tree commit diff
path: root/synapse/rest/media/v1/media_repository.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Fix Content-Disposition in media repository (#4176)Amber Brown2018-11-151-38/+10
* Delete the disused & unspecced identicon functionality (#4106)Amber Brown2018-10-291-2/+0
* Correctly account for cpu usage by background threads (#4074)Richard van der Hoff2018-10-231-10/+14
* Port rest/ to Python 3 (#3823)Amber Brown2018-09-121-12/+17
* Add GET media/v1/config (#3184)Will Hunt2018-08-161-1/+2
* Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678)Amber Brown2018-08-101-1/+1
* Refactor code for turning HttpResponseException into SynapseErrorRichard van der Hoff2018-08-011-1/+1
* Fix some looping_call calls which were broken in #3604Richard van der Hoff2018-07-261-1/+1
* Wrap a number of things that run in the backgroundRichard van der Hoff2018-07-251-1/+7
* run isortAmber Brown2018-07-091-25/+26
* Pass around the reactor explicitly (#3385)Amber Brown2018-06-221-1/+2
* replace some iteritems with sixAdrian Tschira2018-05-191-1/+2
* Use six.moves.urlparseAdrian Tschira2018-04-151-1/+1
* Merge pull request #2791 from matrix-org/erikj/media_storage_refactorErik Johnston2018-02-051-9/+11
|\
| * Ensure media is in local cache before thumbnailingErik Johnston2018-01-181-9/+11
* | Add federation_domain_whitelist option (#2820)Matthew Hodgson2018-01-221-2/+17
* | Merge pull request #2812 from matrix-org/erikj/media_storage_provider_configErik Johnston2018-01-181-12/+6
|\ \
| * | Make storage providers more configurableErik Johnston2018-01-181-12/+6
| |/
* / Keep track of last access time for local mediaErik Johnston2018-01-171-7/+25
|/
* Add docstringErik Johnston2018-01-171-1/+1
* Use local varsErik Johnston2018-01-161-6/+2
* Change _generate_thumbnails to take media_typeErik Johnston2018-01-161-5/+6
* Move setting of file_id up to callerErik Johnston2018-01-161-11/+10
* Fix up log linesErik Johnston2018-01-161-1/+1
* Correctly use server_name/file_id when generating/fetching remote thumbnailsErik Johnston2018-01-161-2/+5
* Log when we respond with 404Erik Johnston2018-01-161-0/+1
* Fix thumbnailing remote filesErik Johnston2018-01-161-0/+28
* Fix up commentsErik Johnston2018-01-121-5/+14
* Remove unnecessary conditionErik Johnston2018-01-121-4/+1
* Make class var localErik Johnston2018-01-121-3/+3
* CommentsErik Johnston2018-01-121-5/+34
* Add StorageProvider conceptErik Johnston2018-01-091-5/+24
* Make PreviewUrlResource use MediaStorageErik Johnston2018-01-091-1/+3
* Make ThumbnailResource use MediaStorageErik Johnston2018-01-091-1/+3
* Use MediaStorage for remote mediaErik Johnston2018-01-091-104/+145
* Use MediaStorage for local filesErik Johnston2018-01-091-96/+72
* replace 'except:' with 'except Exception:'Richard van der Hoff2017-10-231-1/+1
* Fix typo in thumbnail generationErik Johnston2017-10-191-2/+5
* fix thumbnailing (#2548)Krombel2017-10-171-2/+2
* Add try/finally block to close t_byte_sourceErik Johnston2017-10-131-24/+41
* Remove old commentErik Johnston2017-10-131-1/+0
* Don't reuse source but instead copy from primary media store to backupErik Johnston2017-10-131-20/+8
* PEP8Erik Johnston2017-10-131-1/+1
* Move type into keyErik Johnston2017-10-131-3/+3
* CommentErik Johnston2017-10-131-1/+1
* Remove spurious additionErik Johnston2017-10-131-4/+0
* Remove unnecessary diffErik Johnston2017-10-131-3/+1
* s/write_to_file/write_to_file_and_backup/Erik Johnston2017-10-131-5/+5
* Fix upErik Johnston2017-10-131-33/+29
* Fix up thumbnailing functionErik Johnston2017-10-131-68/+59
* Fix typoErik Johnston2017-10-131-1/+1
* Fix up commentsErik Johnston2017-10-131-2/+26
* Move makedirs to threadErik Johnston2017-10-131-2/+1
* Use make_deferred_yieldableErik Johnston2017-10-131-7/+7
* Don't close prematurely..Erik Johnston2017-10-121-2/+5
* getvalue closes bufferErik Johnston2017-10-121-11/+10
* Get len before closeErik Johnston2017-10-121-6/+11
* Don't close file prematurelyErik Johnston2017-10-121-6/+16
* Copy everything to backupErik Johnston2017-10-121-41/+68
* TypoErik Johnston2017-10-121-1/+1
* Remove dead codeErik Johnston2017-10-121-3/+0
* Fix typosErik Johnston2017-10-121-20/+26
* Fix typoErik Johnston2017-10-121-1/+1
* Basic implementation of backup media storeErik Johnston2017-10-121-115/+106
* Store URL cache preview downloads seperatelyErik Johnston2017-06-231-8/+22
* Add API to quarantine mediaErik Johnston2017-06-191-0/+2
* Throw exception when not retrying when downloading mediaErik Johnston2017-06-131-0/+1
* Don't log exceptions for NotRetryingDestinationErik Johnston2017-05-151-1/+3
* Address review commentsRichard van der Hoff2017-03-141-15/+17
* Fix routing loop when fetching remote mediaRichard van der Hoff2017-03-131-4/+26
* Fix dynamic thumbnails aspectJurek2017-02-241-0/+3
* Log which files we saved attachments to in the media_repositoryMark Haines2017-01-101-0/+4
* Name linearizer's for better logsErik Johnston2017-01-091-1/+1
* Remove raceErik Johnston2016-06-291-11/+0
* Implement purge_media_cache admin APIErik Johnston2016-06-291-20/+58
* Track approximate last access time for remote mediaErik Johnston2016-06-291-0/+24
* 502 on /thumbnail when can't contact remote serverErik Johnston2016-06-091-4/+10
* Move MediaRepository to media_repository moduleErik Johnston2016-04-191-1/+384
* Split out BaseMediaResource into MediaRepositoryErik Johnston2016-04-191-4/+8
* Sanitize the optional dependencies for spider APIErik Johnston2016-04-131-5/+1
* Add url_preview_enabled config option to turn on/off preview_url endpoint. de...Matthew Hodgson2016-04-081-1/+6
* pep8Matthew Hodgson2016-04-031-1/+0
* initial WIP of a tentative preview_url endpoint - incomplete, untested, exper...Matthew Hodgson2016-01-241-0/+3
* copyrightsMatthew Hodgson2016-01-071-1/+1
* thou shalt specify a content-lengthMatthew Hodgson2015-02-071-0/+1
* Add a media/v1/identicon resource for generating identicons using pydenticonMark Haines2015-02-021-0/+2
* Move rest APIs back under the rest directoryMark Haines2015-01-221-0/+77