summary refs log tree commit diff
path: root/synapse/storage/media_repository.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Run Black. (#5482)Amber Brown2019-06-201-11/+11
|
* Run black on the rest of the storage module (#4996)Amber Brown2019-04-031-56/+98
|
* Keep track of last access time for local mediaErik Johnston2018-01-171-3/+20
|
* Remove dead code related to default thumbnailsErik Johnston2018-01-091-3/+0
|
* Fix error on sqlite 3.7Richard van der Hoff2017-11-211-3/+13
| | | | | | | | | | | Create the url_cache index on local_media_repository as a background update, so that we can detect whether we are on sqlite or not and create a partial or complete index accordingly. To avoid running the cleanup job before we have built the index, add a bailout which will defer the cleanup if the bg updates are still running. Fixes https://github.com/matrix-org/synapse/issues/2572.
* Avoid no-op media deletesSlavi Pantaleev2017-11-041-0/+6
| | | | | | | | If there are no media entries to delete, avoid creating transactions, prepared statements and unnecessary log entries. Signed-off-by: Slavi Pantaleev <slavi@devture.com>
* Up the limits on number of url cache entries to delete at one timeErik Johnston2017-09-281-2/+2
|
* Only pull out local media that were for url cacheErik Johnston2017-09-281-1/+1
|
* Fix typoErik Johnston2017-09-281-3/+3
|
* Change expires column to expires_tsErik Johnston2017-09-281-7/+7
|
* Delete expired url cache dataErik Johnston2017-09-281-0/+61
|
* Store URL cache preview downloads seperatelyErik Johnston2017-06-231-2/+6
| | | | This makes it easier to clear old media out at a later date
* Add API to quarantine mediaErik Johnston2017-06-191-2/+2
|
* Implement purge_media_cache admin APIErik Johnston2016-06-291-0/+29
|
* Track approximate last access time for remote mediaErik Johnston2016-06-291-0/+15
|
* fix error checking for new SQLMatthew Hodgson2016-04-081-2/+2
|
* fix SQL based on PR feedbackMatthew Hodgson2016-04-081-2/+4
|
* pep8Matthew Hodgson2016-04-031-1/+2
|
* add a persistent cache of URL lookups, and fix up the in-memory one to workMatthew Hodgson2016-04-031-1/+53
|
* Fix relative imports so they work in both py3 and py27Mark Haines2016-03-081-1/+1
|
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Give sensible names for '_simple_...' transactionsErik Johnston2015-03-201-6/+14
|
* Update copyright noticesMark Haines2015-01-061-1/+1
|
* Get the code actually workingMark Haines2014-12-101-6/+8
|
* Thumbnail uploaded and cached imagesMark Haines2014-12-101-6/+6
|
* Add a method field to thumbnail storageMark Haines2014-12-051-6/+9
|
* Implement download support for media_repositoryMark Haines2014-12-041-3/+7
|
* Fix pyflakes and pep8 warningsMark Haines2014-12-021-2/+1
|
* Get uploads working with new media repoMark Haines2014-12-021-1/+6
|
* Write the upload portion of version 1 of the media repositoryMark Haines2014-12-021-0/+116