Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Keep track of last access time for local media | Erik Johnston | 2018-01-17 | 1 | -3/+20 |
| | |||||
* | Remove dead code related to default thumbnails | Erik Johnston | 2018-01-09 | 1 | -3/+0 |
| | |||||
* | Fix error on sqlite 3.7 | Richard van der Hoff | 2017-11-21 | 1 | -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 deletes | Slavi Pantaleev | 2017-11-04 | 1 | -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 time | Erik Johnston | 2017-09-28 | 1 | -2/+2 |
| | |||||
* | Only pull out local media that were for url cache | Erik Johnston | 2017-09-28 | 1 | -1/+1 |
| | |||||
* | Fix typo | Erik Johnston | 2017-09-28 | 1 | -3/+3 |
| | |||||
* | Change expires column to expires_ts | Erik Johnston | 2017-09-28 | 1 | -7/+7 |
| | |||||
* | Delete expired url cache data | Erik Johnston | 2017-09-28 | 1 | -0/+61 |
| | |||||
* | Store URL cache preview downloads seperately | Erik Johnston | 2017-06-23 | 1 | -2/+6 |
| | | | | This makes it easier to clear old media out at a later date | ||||
* | Add API to quarantine media | Erik Johnston | 2017-06-19 | 1 | -2/+2 |
| | |||||
* | Implement purge_media_cache admin API | Erik Johnston | 2016-06-29 | 1 | -0/+29 |
| | |||||
* | Track approximate last access time for remote media | Erik Johnston | 2016-06-29 | 1 | -0/+15 |
| | |||||
* | fix error checking for new SQL | Matthew Hodgson | 2016-04-08 | 1 | -2/+2 |
| | |||||
* | fix SQL based on PR feedback | Matthew Hodgson | 2016-04-08 | 1 | -2/+4 |
| | |||||
* | pep8 | Matthew Hodgson | 2016-04-03 | 1 | -1/+2 |
| | |||||
* | add a persistent cache of URL lookups, and fix up the in-memory one to work | Matthew Hodgson | 2016-04-03 | 1 | -1/+53 |
| | |||||
* | Fix relative imports so they work in both py3 and py27 | Mark Haines | 2016-03-08 | 1 | -1/+1 |
| | |||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | Give sensible names for '_simple_...' transactions | Erik Johnston | 2015-03-20 | 1 | -6/+14 |
| | |||||
* | Update copyright notices | Mark Haines | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | Get the code actually working | Mark Haines | 2014-12-10 | 1 | -6/+8 |
| | |||||
* | Thumbnail uploaded and cached images | Mark Haines | 2014-12-10 | 1 | -6/+6 |
| | |||||
* | Add a method field to thumbnail storage | Mark Haines | 2014-12-05 | 1 | -6/+9 |
| | |||||
* | Implement download support for media_repository | Mark Haines | 2014-12-04 | 1 | -3/+7 |
| | |||||
* | Fix pyflakes and pep8 warnings | Mark Haines | 2014-12-02 | 1 | -2/+1 |
| | |||||
* | Get uploads working with new media repo | Mark Haines | 2014-12-02 | 1 | -1/+6 |
| | |||||
* | Write the upload portion of version 1 of the media repository | Mark Haines | 2014-12-02 | 1 | -0/+116 |