| Commit message (Expand) | Author | Age | Files | Lines |
* | Refactor and convert `Linearizer` to async (#12357) | Sean Quah | 2022-04-05 | 1 | -3/+3 |
* | Ensure the type of URL attributes is always str when matching against preview... | Brendan Abolivier | 2022-03-31 | 1 | -2/+7 |
* | Bump `black` and `click` versions (#12320) | David Robertson | 2022-03-29 | 2 | -3/+3 |
* | Clean-up logic for rebasing URLs during URL preview. (#12219) | Patrick Cloke | 2022-03-16 | 2 | -48/+14 |
* | Remove unnecessary pass statements. (#12206) | Patrick Cloke | 2022-03-11 | 1 | -1/+0 |
* | Use `ParamSpec` in type hints for `synapse.logging.context` (#12150) | Sean Quah | 2022-03-08 | 1 | -2/+7 |
* | Remove `HomeServer.get_datastore()` (#12031) | Richard van der Hoff | 2022-02-23 | 4 | -4/+4 |
* | Fetch images when previewing Twitter URLs. (#11985) | AndrewRyanChama | 2022-02-22 | 1 | -1/+9 |
* | Implement a content type allow list for URL previews (#11936) | Denis Kasak | 2022-02-10 | 1 | -0/+8 |
* | Pass the proper type when uploading files. (#11927) | Patrick Cloke | 2022-02-07 | 1 | -4/+9 |
* | Support rendering previews with data: URLs in them (#11767) | Patrick Cloke | 2022-01-24 | 2 | -64/+191 |
* | Fix preview of imgur and Tenor URLs. (#11669) | Philippe Daouadi | 2022-01-18 | 2 | -13/+32 |
* | Use auto_attribs/native type hints for attrs classes. (#11692) | Patrick Cloke | 2022-01-13 | 1 | -3/+3 |
* | Convert all namedtuples to attrs. (#11665) | Patrick Cloke | 2021-12-30 | 1 | -6/+13 |
* | Move HTML parsing to a separate file for URL previews. (#11566) | Patrick Cloke | 2021-12-13 | 3 | -378/+407 |
* | Fix media repository failing when media store path contains symlinks (#11446) | Sean Quah | 2021-12-02 | 1 | -44/+71 |
* | Merge branch 'master' into develop | Sean Quah | 2021-11-23 | 2 | -43/+216 |
|\ |
|
| * | Prevent the media store from writing outside of the configured directory | Sean Quah | 2021-11-19 | 2 | -43/+216 |
* | | Add type hints to media repository storage module (#11311) | Patrick Cloke | 2021-11-12 | 1 | -4/+4 |
* | | Fix error in thumbnail generation (#11288) | Neeeflix | 2021-11-10 | 1 | -4/+4 |
|/ |
|
* | Merge remote-tracking branch 'origin/master' into develop | Erik Johnston | 2021-11-02 | 1 | -3/+6 |
|\ |
|
| * | Fix URL preview errors when previewing XML documents. (#11196) | Patrick Cloke | 2021-10-27 | 1 | -3/+6 |
* | | Handle missing Content-Type header when accessing remote media (#11200) | Shay | 2021-11-01 | 2 | -2/+12 |
|/ |
|
* | Ensure each charset is attempted only once during media preview. (#11089) | Patrick Cloke | 2021-10-14 | 1 | -6/+28 |
* | Attempt different character encodings when previewing a URL. (#11077) | Patrick Cloke | 2021-10-14 | 1 | -41/+39 |
* | Remove dead code from `MediaFilePaths` (#11056) | Sean Quah | 2021-10-13 | 1 | -17/+0 |
* | Be more lenient when parsing the version for oEmbed responses. (#11065) | Patrick Cloke | 2021-10-13 | 2 | -8/+7 |
* | Merge remote-tracking branch 'origin/release-v1.45' into develop | Patrick Cloke | 2021-10-12 | 1 | -1/+1 |
|\ |
|
| * | Fix formatting string when oEmbed errors occur. (#11061) | Patrick Cloke | 2021-10-12 | 1 | -1/+1 |
* | | Update `_wrap_in_base_path` type hints to preserve function arguments (#11055) | Sean Quah | 2021-10-12 | 1 | -3/+6 |
|/ |
|
* | Autodiscover oEmbed endpoint from returned HTML (#10822) | Patrick Cloke | 2021-10-08 | 2 | -38/+100 |
* | Relax `ignore-missing-imports` for modules that have stubs now and update myp... | David Robertson | 2021-10-08 | 2 | -29/+30 |
* | Fix empty `url_cache_thumbnails/yyyy-mm-dd/` directories being left behind (#... | Sean Quah | 2021-09-29 | 1 | -31/+43 |
* | Avoid storing URL cache files in storage providers (#10911) | Sean Quah | 2021-09-27 | 3 | -6/+16 |
* | Fix race conditions when creating media store and config directories (#10913) | Sean Quah | 2021-09-27 | 2 | -6/+3 |
* | Use direct references for configuration variables (part 5). (#10897) | Patrick Cloke | 2021-09-24 | 6 | -17/+21 |
* | Add reactor to `SynapseRequest` and fix up types. (#10868) | Erik Johnston | 2021-09-24 | 7 | -25/+23 |
* | Use direct references for configuration variables (part 4). (#10893) | Patrick Cloke | 2021-09-23 | 1 | -1/+3 |
* | Include more information in oEmbed previews. (#10819) | Patrick Cloke | 2021-09-22 | 2 | -5/+46 |
* | Refactor oEmbed previews (#10814) | Patrick Cloke | 2021-09-21 | 2 | -199/+272 |
* | Add missing type hints to non-client REST servlets. (#10817) | Patrick Cloke | 2021-09-15 | 7 | -25/+56 |
* | Convert media repo's FileInfo to attrs. (#10785) | Patrick Cloke | 2021-09-14 | 4 | -108/+139 |
* | Request JSON for oEmbed requests (and ignore XML only providers). (#10759) | Patrick Cloke | 2021-09-08 | 1 | -3/+23 |
* | Use attrs internally for the URL preview code & add documentation. (#10753) | Patrick Cloke | 2021-09-07 | 1 | -42/+79 |
* | Allow configuration of the oEmbed URLs. (#10714) | Patrick Cloke | 2021-08-31 | 2 | -142/+140 |
* | Fix error when selecting between thumbnails with the same quality (#10684) | Sean | 2021-08-25 | 1 | -9/+17 |
* | Admin API to delete media for a specific user (#10558) | Dirk Klimpel | 2021-08-11 | 1 | -2/+4 |
* | Support underscores (in addition to hyphens) for charset detection. (#10410) | sri-vidyut | 2021-07-27 | 1 | -2/+4 |
* | Mitigate media repo XSSs on IE11. (#10468) | Denis Kasak | 2021-07-27 | 1 | -0/+2 |
* | Add a return type to parse_string. (#10438) | Patrick Cloke | 2021-07-21 | 1 | -7/+3 |
* | [pyupgrade] `synapse/` (#10348) | Jonathan de Jong | 2021-07-19 | 1 | -2/+2 |
* | Use inline type hints in `handlers/` and `rest/`. (#10382) | Jonathan de Jong | 2021-07-16 | 5 | -15/+15 |
* | Correct type hints for parse_string(s)_from_args. (#10137) | Patrick Cloke | 2021-06-08 | 1 | -5/+6 |
* | Fix /upload 500'ing when presented a very large image (#10029) | Michael Telatynski | 2021-05-21 | 2 | -0/+11 |
* | Remove various bits of compatibility code for Python <3.6 (#9879) | Andrew Morgan | 2021-04-27 | 1 | -1/+1 |
* | Improved validation for received requests (#9817) | Richard van der Hoff | 2021-04-23 | 1 | -2/+0 |
* | remove `HomeServer.get_config` (#9815) | Richard van der Hoff | 2021-04-14 | 1 | -1/+1 |
* | More robust handling of the Content-Type header for thumbnail generation (#9788) | rkfg | 2021-04-14 | 1 | -0/+3 |
* | Remove redundant "coding: utf-8" lines (#9786) | Jonathan de Jong | 2021-04-14 | 12 | -12/+0 |
* | Add type hints to expiring cache. (#9730) | Patrick Cloke | 2021-04-06 | 1 | -1/+1 |
* | Make it possible to use dmypy (#9692) | Erik Johnston | 2021-03-26 | 1 | -0/+2 |
* | Import HomeServer from the proper module. (#9665) | Patrick Cloke | 2021-03-23 | 7 | -7/+7 |
* | Fix additional type hints from Twisted 21.2.0. (#9591) | Patrick Cloke | 2021-03-12 | 3 | -3/+6 |
* | Convert Requester to attrs (#9586) | Richard van der Hoff | 2021-03-10 | 1 | -1/+2 |
* | Handle image transparency better when thumbnailing. (#9473) | Patrick Cloke | 2021-03-09 | 1 | -3/+8 |
* | Use the proper Request in type hints. (#9515) | Patrick Cloke | 2021-03-01 | 7 | -17/+22 |
* | Add support for no_proxy and case insensitive env variables (#9372) | Tim Leung | 2021-02-26 | 1 | -2/+1 |
* | Return a 404 if we don't have the original file | Erik Johnston | 2021-02-19 | 2 | -1/+8 |
* | Regenerate exact thumbnails if missing | Erik Johnston | 2021-02-18 | 2 | -2/+49 |
* | Update black, and run auto formatting over the codebase (#9381) | Eric Eastwood | 2021-02-16 | 4 | -12/+26 |
* | Fix some typos. | Patrick Cloke | 2021-02-12 | 2 | -5/+5 |
* | Handle additional errors when previewing URLs. (#9333) | Patrick Cloke | 2021-02-08 | 1 | -19/+52 |
* | Add check_media_file_for_spam spam checker hook | Erik Johnston | 2021-02-04 | 2 | -6/+65 |
* | Try to recover from unknown encodings when previewing media. (#9164) | Patrick Cloke | 2021-01-26 | 1 | -10/+34 |
* | Return a 404 if no valid thumbnail is found. (#9163) | Patrick Cloke | 2021-01-21 | 2 | -81/+158 |
* | Add type hints to media rest resources. (#9093) | Patrick Cloke | 2021-01-15 | 11 | -164/+283 |
* | Allow spam-checker modules to be provide async methods. (#8890) | David Teller | 2020-12-11 | 1 | -10/+6 |
* | Add X-Robots-Tag header to stop crawlers from indexing media (#8887) | Aaron Raimist | 2020-12-08 | 1 | -0/+5 |
* | Do not raise a 500 exception when previewing empty media. (#8883) | Patrick Cloke | 2020-12-07 | 1 | -1/+5 |
* | Do not 500 if the content-length is not provided when uploading media. (#8862) | Patrick Cloke | 2020-12-04 | 1 | -1/+1 |
* | Apply an IP range blacklist to push and key revocation requests. (#8821) | Patrick Cloke | 2020-12-02 | 1 | -1/+1 |
* | Fix race for concurrent downloads of remote media. (#8682) | Erik Johnston | 2020-10-30 | 2 | -70/+125 |
* | Add an admin api to delete local media. (#8519) | Dirk Klimpel | 2020-10-26 | 2 | -1/+88 |
* | Don't bother responding to client requests that have already disconnected (#8... | Andrew Morgan | 2020-10-06 | 1 | -0/+6 |
* | Fix bug in remote thumbnail search (#8438) | Richard van der Hoff | 2020-10-02 | 1 | -20/+23 |
* | fix a logging error in thumbnailer (#8435) | Richard van der Hoff | 2020-10-01 | 1 | -1/+1 |
* | Discard an empty upload_name before persisting an uploaded file (#7905) | Will Hunt | 2020-09-29 | 2 | -3/+8 |
* | Add type annotations to SimpleHttpClient (#8372) | Richard van der Hoff | 2020-09-24 | 1 | -4/+10 |
* | Use slots in attrs classes where possible (#8296) | Patrick Cloke | 2020-09-14 | 1 | -1/+1 |
* | Fix typos in comments. | Patrick Cloke | 2020-09-14 | 1 | -2/+2 |
* | Do not error when thumbnailing invalid files (#8236) | Patrick Cloke | 2020-09-09 | 3 | -12/+76 |
* | Include method in thumbnail media name (#7124) | DeepBlueV7.X | 2020-09-08 | 2 | -1/+46 |
* | Stop sub-classing object (#8249) | Patrick Cloke | 2020-09-04 | 5 | -6/+6 |
* | Remove unnecessary maybeDeferred calls (#8044) | Patrick Cloke | 2020-08-07 | 1 | -2/+1 |
* | Reduce unnecessary whitespace in JSON. (#7372) | David Vo | 2020-08-07 | 1 | -2/+2 |
* | Rename database classes to make some sense (#8033) | Erik Johnston | 2020-08-05 | 1 | -1/+1 |
* | Fix async/await calls for broken media providers. (#8027) | Patrick Cloke | 2020-08-04 | 2 | -22/+20 |
* | Convert the remaining media repo code to async / await. (#7947) | Patrick Cloke | 2020-07-27 | 5 | -107/+130 |
* | Support oEmbed for media previews. (#7920) | Patrick Cloke | 2020-07-27 | 1 | -45/+220 |
* | Convert more of the media code to async/await (#7873) | Patrick Cloke | 2020-07-24 | 2 | -33/+42 |
* | isort 5 compatibility (#7786) | Will Hunt | 2020-07-05 | 1 | -2/+1 |
* | Merge different Resource implementation classes (#7732) | Erik Johnston | 2020-07-03 | 5 | -46/+14 |
* | Support running multiple media repos. (#7706) | Erik Johnston | 2020-06-17 | 1 | -3/+15 |
* | Fetch from the r0 media path instead of the unspecced v1. (#7714) | Patrick Cloke | 2020-06-17 | 1 | -4/+4 |
* | Replace all remaining six usage with native Python 3 equivalents (#7704) | Dagfinn Ilmari Mannsåker | 2020-06-16 | 3 | -13/+5 |
* | Replace iteritems/itervalues/iterkeys with native versions. (#7692) | Patrick Cloke | 2020-06-15 | 1 | -3/+1 |
* | remove miscellaneous PY2 code | Richard van der Hoff | 2020-05-15 | 1 | -18/+9 |
* | Reduce logging verbosity of URL cache cleanup. (#7295) | Michael Kaye | 2020-04-22 | 1 | -2/+7 |
* | Allow specifying the value of Accept-Language header for URL previews (#7265) | Andrew Morgan | 2020-04-15 | 1 | -2/+6 |
* | Set Referrer-Policy to no-referrer for media (#7009) | Dionysis Grigoropoulos | 2020-03-23 | 1 | -0/+3 |
* | Convert some of the media REST code to async/await (#7110) | Patrick Cloke | 2020-03-20 | 3 | -111/+90 |
* | Set charset to utf-8 when adding headers for certain text content types (#7044) | The Stranjer | 2020-03-17 | 1 | -1/+24 |
* | Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) | Patrick Cloke | 2020-02-21 | 1 | -21/+19 |
* | a bit of debugging for media storage providers (#6757) | Richard van der Hoff | 2020-01-23 | 2 | -0/+7 |
* | Fix typo in _select_thumbnail | Brendan Abolivier | 2020-01-22 | 1 | -1/+1 |
* | Fixup synapse.rest to pass mypy (#6732) | Erik Johnston | 2020-01-20 | 3 | -11/+13 |
* | Move background update handling out of store | Erik Johnston | 2019-12-05 | 1 | -1/+1 |
* | Fix: Pillow error when uploading RGBA image (#3325) (#6241) | Filip Štědronský | 2019-12-02 | 1 | -1/+4 |
* | Fix startup error when http proxy is defined. (#6421) | Richard van der Hoff | 2019-11-26 | 1 | -2/+2 |
* | Clean up newline quote marks around the codebase (#6362) | Andrew Morgan | 2019-11-21 | 1 | -1/+1 |
* | Merge pull request #6334 from matrix-org/rav/url_preview_limit_title_2 | Richard van der Hoff | 2019-11-05 | 1 | -1/+2 |
|\ |
|
| * | Fix exception when OpenGraph tag values are ints | Richard van der Hoff | 2019-11-05 | 1 | -1/+2 |
* | | Merge branch 'develop' into rav/url_preview_limit_title | Richard van der Hoff | 2019-11-05 | 3 | -20/+26 |
|\ \
| |/
|/| |
|
| * | Support for routing outbound HTTP requests via a proxy (#6239) | Richard van der Hoff | 2019-11-01 | 1 | -0/+2 |
| * | Remove usage of deprecated logger.warn method from codebase (#6271) | Andrew Morgan | 2019-10-31 | 3 | -15/+17 |
| * | Address codestyle concerns | Michael Kaye | 2019-10-24 | 1 | -1/+3 |
| * | Delay printf until logging is required. | Michael Kaye | 2019-10-24 | 1 | -6/+6 |
* | | Apply suggestions from code review | Richard van der Hoff | 2019-11-05 | 1 | -1/+1 |
* | | Strip overlong OpenGraph data from url preview | Richard van der Hoff | 2019-11-05 | 1 | -1/+19 |
|/ |
|
* | Fix store_url_cache using bytes | Erik Johnston | 2019-10-10 | 1 | -2/+2 |
* | add M_TOO_LARGE error code for uploading a too large file (#6151) | Anshul Angaria | 2019-10-08 | 1 | -2/+6 |
* | Log responder we are using. (#6139) | Michael Kaye | 2019-10-07 | 1 | -1/+1 |
* | media/thumbnailer: Better quality for 1-bit / 8-bit color palette images (#2142) | Robert Swain | 2019-10-04 | 1 | -3/+11 |
* | Remove double return statements (#5962) | Andrew Morgan | 2019-09-03 | 1 | -1/+0 |
* | fix thumbnail storage location (#5915) | L0ric0 | 2019-09-02 | 1 | -1/+1 |
* | Remove unnecessary parentheses around return statements (#5931) | Andrew Morgan | 2019-08-30 | 2 | -4/+4 |
* | Don't load the media repo when configured to use an external media repo (#5754) | Amber Brown | 2019-08-13 | 1 | -1/+5 |
* | Replace returnValue with return (#5736) | Amber Brown | 2019-07-23 | 3 | -33/+31 |
* | fix typo: backgroud -> background | Andrew Morgan | 2019-07-12 | 1 | -1/+1 |
* | Move logging utilities out of the side drawer of util/ and into logging/ (#5606) | Amber Brown | 2019-07-04 | 5 | -17/+13 |
* | Fix media repo breaking (#5593) | Amber Brown | 2019-07-02 | 1 | -0/+1 |
* | Make the http server handle coroutine-making REST servlets (#5475) | Amber Brown | 2019-06-29 | 5 | -68/+47 |
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 11 | -401/+417 |
* | Don't log exception when failing to fetch remote content. | Erik Johnston | 2019-06-07 | 1 | -2/+4 |
* | Fix error when downloading thumbnail with width/height param missing (#5258) | Aaron Raimist | 2019-05-29 | 1 | -2/+2 |
* | Fix image orientation when generating thumbnail (#5039) | PauRE | 2019-05-16 | 2 | -0/+44 |
* | Migrate all tests to use the dict-based config format instead of hanging item... | Amber Brown | 2019-05-13 | 1 | -0/+1 |
* | URL preview blacklisting fixes (#5155) | Andrew Morgan | 2019-05-10 | 1 | -0/+10 |
* | Prevent "producer not unregistered" message (#5009) | Amber Brown | 2019-04-24 | 1 | -0/+4 |
* | Remove periods from copyright headers (#5046) | Andrew Morgan | 2019-04-11 | 1 | -1/+1 |
* | fix incorrect encoding of filenames with spaces in (#2090) | Matthew Hodgson | 2019-03-11 | 1 | -3/+51 |
* | Fix parsing of Content-Disposition headers (#4763) | Richard van der Hoff | 2019-02-27 | 1 | -20/+65 |
* | Don't log stack trace when client has gone away during media download (#4738) | Erik Johnston | 2019-02-25 | 1 | -2/+9 |
* | Refactor request sending to have better excpetions (#4358) | Erik Johnston | 2019-01-08 | 1 | -3/+4 |
* | Fix IP URL previews on Python 3 (#4215) | Amber Brown | 2018-12-22 | 1 | -2/+12 |
* | Add 'sandbox' to CSP for media repo (#4284) | David Baker | 2018-12-11 | 1 | -1/+2 |
* | Move imports to one line | Will Hunt | 2018-12-10 | 1 | -4/+1 |
* | Use `send_cors` | Will Hunt | 2018-12-10 | 1 | -4/+1 |
* | changelog & isort | Will Hunt | 2018-12-09 | 1 | -1/+5 |
* | Make /config more CORS-y | Will Hunt | 2018-12-09 | 1 | -1/+3 |
* | Fix Content-Disposition in media repository (#4176) | Amber Brown | 2018-11-15 | 3 | -90/+110 |
* | Use <meta> tags to discover the per-page encoding of html previews (#4183) | Amber Brown | 2018-11-15 | 1 | -9/+22 |
* | Fix URL preview bugs (type error when loading cache from db, content-type inc... | Amber Brown | 2018-11-08 | 1 | -6/+16 |
* | Delete the disused & unspecced identicon functionality (#4106) | Amber Brown | 2018-10-29 | 2 | -70/+0 |
* | Fix a number of flake8 errors | Richard van der Hoff | 2018-10-24 | 1 | -1/+1 |
* | Correctly account for cpu usage by background threads (#4074) | Richard van der Hoff | 2018-10-23 | 3 | -15/+23 |
* | Fix bug where we raised StopIteration in a generator | Erik Johnston | 2018-10-17 | 1 | -2/+5 |
* | Merge pull request #3932 from matrix-org/erikj/auto_start_expiring_caches | Richard van der Hoff | 2018-09-25 | 1 | -1/+0 |
|\ |
|
| * | Fix some instances of ExpiringCache not expiring cache items | Erik Johnston | 2018-09-21 | 1 | -1/+0 |
* | | added "media-src: 'self'" to CSP for resources (#3578) | Jérémy Farnaud | 2018-09-25 | 1 | -0/+1 |
|/ |
|
* | Port rest/ to Python 3 (#3823) | Amber Brown | 2018-09-12 | 4 | -38/+43 |
* | Port over enough to get some sytests running on Python 3 (#3668) | Amber Brown | 2018-08-20 | 1 | -5/+5 |
* | Add GET media/v1/config (#3184) | Will Hunt | 2018-08-16 | 2 | -1/+50 |
* | Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678) | Amber Brown | 2018-08-10 | 2 | -2/+2 |
* | Refactor code for turning HttpResponseException into SynapseError | Richard van der Hoff | 2018-08-01 | 1 | -1/+1 |
* | Python 3: Convert some unicode/bytes uses (#3569) | Amber Brown | 2018-08-02 | 1 | -1/+1 |
* | Fix some looping_call calls which were broken in #3604 | Richard van der Hoff | 2018-07-26 | 2 | -2/+2 |
* | Wrap a number of things that run in the background | Richard van der Hoff | 2018-07-25 | 2 | -2/+14 |
* | check isort by travis | Krombel | 2018-07-16 | 1 | -2/+2 |
* | Use parse_{int,str} and assert from http.servlet | Krombel | 2018-07-13 | 3 | -6/+10 |
* | run isort | Amber Brown | 2018-07-09 | 11 | -81/+71 |
* | Attempt to be more performant on PyPy (#3462) | Amber Brown | 2018-06-28 | 1 | -1/+2 |
* | Pass around the reactor explicitly (#3385) | Amber Brown | 2018-06-22 | 2 | -3/+7 |
* | Merge pull request #3244 from NotAFile/py3-six-4 | Amber Brown | 2018-05-24 | 1 | -1/+2 |
|\ |
|
| * | replace some iteritems with six | Adrian Tschira | 2018-05-19 | 1 | -1/+2 |
* | | py3-ize url preview | Adrian Tschira | 2018-05-19 | 1 | -3/+5 |
|/ |
|
* | Set Server header in SynapseRequest | Richard van der Hoff | 2018-05-10 | 4 | -5/+1 |
* | Remove redundant request_handler decorator | Richard van der Hoff | 2018-05-10 | 4 | -26/+33 |
* | Fix logcontext leak in media repo | Richard van der Hoff | 2018-05-02 | 2 | -1/+4 |
* | Merge pull request #3155 from NotAFile/py3-bytes-1 | Richard van der Hoff | 2018-04-30 | 1 | -3/+3 |
|\ |
|
| * | more bytes strings | Adrian Tschira | 2018-04-29 | 1 | -3/+3 |
* | | Merge pull request #3140 from matrix-org/rav/use_run_in_background | Richard van der Hoff | 2018-04-30 | 1 | -2/+3 |
|\ \ |
|
| * | | Merge remote-tracking branch 'origin/develop' into rav/use_run_in_background | Richard van der Hoff | 2018-04-27 | 1 | -2/+7 |
| |\| |
|
| * | | Use run_in_background in preference to preserve_fn | Richard van der Hoff | 2018-04-27 | 1 | -2/+3 |
* | | | Merge pull request #3108 from NotAFile/py3-six-urlparse | Richard van der Hoff | 2018-04-30 | 2 | -2/+2 |
|\ \ \
| |_|/
|/| | |
|
| * | | Use six.moves.urlparse | Adrian Tschira | 2018-04-15 | 2 | -2/+2 |
| |/ |
|
* / | Improve exception handling for background processes | Richard van der Hoff | 2018-04-27 | 1 | -2/+7 |
|/ |
|
* | Replace old-style raise with six.reraise | Adrian Tschira | 2018-04-06 | 1 | -1/+3 |
* | Merge branch 'master' of github.com:matrix-org/synapse into develop | Erik Johnston | 2018-03-19 | 1 | -1/+1 |
|\ |
|
| * | Replace ujson with simplejson | Erik Johnston | 2018-03-15 | 1 | -1/+1 |
* | | Make store_file use store_into_file | Erik Johnston | 2018-02-14 | 1 | -26/+11 |
* | | Tell storage providers about new file so they can upload | Erik Johnston | 2018-02-07 | 1 | -0/+6 |
* | | Merge pull request #2791 from matrix-org/erikj/media_storage_refactor | Erik Johnston | 2018-02-05 | 3 | -12/+47 |
|\ \ |
|
| * | | Use better file consumer | Erik Johnston | 2018-01-18 | 1 | -5/+10 |
| * | | Ensure media is in local cache before thumbnailing | Erik Johnston | 2018-01-18 | 3 | -10/+40 |
* | | | Handle url_previews with no content-type | Richard van der Hoff | 2018-02-02 | 1 | -21/+34 |
* | | | Add federation_domain_whitelist option (#2820) | Matthew Hodgson | 2018-01-22 | 1 | -2/+17 |
* | | | Merge pull request #2814 from matrix-org/rav/fix_urlcache_thumbs | Richard van der Hoff | 2018-01-19 | 1 | -0/+8 |
|\ \ \ |
|
| * | | | Use the right path for url_preview thumbnails | Richard van der Hoff | 2018-01-19 | 1 | -0/+8 |
* | | | | Fix storage provider bug introduced when renamed to store_local | Erik Johnston | 2018-01-18 | 1 | -1/+1 |
* | | | | Merge pull request #2812 from matrix-org/erikj/media_storage_provider_config | Erik Johnston | 2018-01-18 | 2 | -20/+27 |
|\ \ \ \ |
|
| * | | | | Missing staticmethod | Erik Johnston | 2018-01-18 | 1 | -0/+1 |
| * | | | | Fixup comments | Erik Johnston | 2018-01-18 | 1 | -2/+2 |
| * | | | | Make storage providers more configurable | Erik Johnston | 2018-01-18 | 2 | -20/+26 |
| | |/ /
| |/| | |
|
* | | | | Fix typo in thumbnail resource causing access times to be incorrect | Erik Johnston | 2018-01-18 | 1 | -2/+2 |
| |/ /
|/| | |
|
* | | | Update last access time when thumbnails are viewed | Erik Johnston | 2018-01-17 | 1 | -0/+2 |
* | | | Keep track of last access time for local media | Erik Johnston | 2018-01-17 | 1 | -7/+25 |
|/ / |
|
* | | Add docstring | Erik Johnston | 2018-01-17 | 1 | -1/+1 |
* | | Use local vars | Erik Johnston | 2018-01-16 | 1 | -6/+2 |
* | | Change _generate_thumbnails to take media_type | Erik Johnston | 2018-01-16 | 2 | -7/+10 |
* | | Move setting of file_id up to caller | Erik Johnston | 2018-01-16 | 2 | -13/+14 |
* | | Fix typo | Erik Johnston | 2018-01-16 | 1 | -7/+10 |
* | | Fix up log lines | Erik Johnston | 2018-01-16 | 2 | -7/+10 |
* | | Correctly use server_name/file_id when generating/fetching remote thumbnails | Erik Johnston | 2018-01-16 | 2 | -5/+8 |
* | | Log when we respond with 404 | Erik Johnston | 2018-01-16 | 2 | -1/+8 |
* | | Fix thumbnailing remote files | Erik Johnston | 2018-01-16 | 2 | -2/+30 |
* | | Merge pull request #2767 from matrix-org/erikj/media_storage_refactor | Erik Johnston | 2018-01-16 | 7 | -346/+843 |
|\ \ |
|
| * | | Fix up comments | Erik Johnston | 2018-01-12 | 2 | -7/+16 |
| * | | Correctly reraise exception | Erik Johnston | 2018-01-12 | 1 | -2/+4 |
| * | | Make Responder a context manager | Erik Johnston | 2018-01-12 | 2 | -9/+10 |
| * | | Add missing class var | Erik Johnston | 2018-01-12 | 1 | -0/+3 |
| * | | Remove unnecessary condition | Erik Johnston | 2018-01-12 | 1 | -4/+1 |
| * | | Remove unused variables | Erik Johnston | 2018-01-12 | 1 | -3/+0 |
| * | | Make class var local | Erik Johnston | 2018-01-12 | 1 | -3/+3 |
| * | | Comments | Erik Johnston | 2018-01-12 | 3 | -15/+65 |
| * | | Add StorageProvider concept | Erik Johnston | 2018-01-09 | 3 | -9/+162 |
| * | | Make PreviewUrlResource use MediaStorage | Erik Johnston | 2018-01-09 | 2 | -8/+14 |
| * | | Make ThumbnailResource use MediaStorage | Erik Johnston | 2018-01-09 | 2 | -48/+68 |
| * | | Use MediaStorage for remote media | Erik Johnston | 2018-01-09 | 2 | -136/+156 |
| * | | Use MediaStorage for local files | Erik Johnston | 2018-01-09 | 2 | -119/+73 |
| * | | Add MediaStorage class | Erik Johnston | 2018-01-09 | 1 | -0/+198 |
| * | | Add some helper classes | Erik Johnston | 2018-01-09 | 1 | -0/+73 |
| * | | Split out add_file_headers | Erik Johnston | 2018-01-09 | 1 | -28/+42 |
* | | | Reinstate media download on thumbnail request | Richard van der Hoff | 2018-01-12 | 1 | -0/+5 |
|/ / |
|
* | | Remove dead TODO | Erik Johnston | 2018-01-09 | 1 | -2/+0 |
* | | Remove dead code related to default thumbnails | Erik Johnston | 2018-01-09 | 1 | -73/+3 |
|/ |
|
* | Merge pull request #2697 from matrix-org/rav/fix_urlcache_index_error | Richard van der Hoff | 2017-11-27 | 1 | -3/+7 |
|\ |
|
| * | Check database in has_completed_background_updates | Richard van der Hoff | 2017-11-22 | 1 | -1/+1 |
| * | Fix error on sqlite 3.7 | Richard van der Hoff | 2017-11-21 | 1 | -3/+7 |
* | | Fix OPTIONS on preview_url | Richard van der Hoff | 2017-11-23 | 1 | -1/+5 |
|/ |
|