summary refs log tree commit diff
path: root/tests/rest/media (follow)
Commit message (Expand)AuthorAgeFilesLines
* Do not break URL previews if an image is unreachable. (#12950)Patrick Cloke2022-06-061-0/+35
* Improve URL previews for some pages (#12951)Patrick Cloke2022-06-031-1/+36
* Add config options for media retention (#12732)Andrew Morgan2022-05-311-0/+238
* Ensure the type of URL attributes is always str when matching against preview...Brendan Abolivier2022-03-311-2/+41
* Clean-up logic for rebasing URLs during URL preview. (#12219)Patrick Cloke2022-03-161-43/+11
* Add type hints to `tests/rest`. (#12208)Dirk Klimpel2022-03-112-82/+111
* Add type hints to `tests/rest` (#12146)Dirk Klimpel2022-03-034-58/+58
* Replace assertEquals and friends with non-deprecated versions. (#12092)Patrick Cloke2022-02-281-1/+1
* Remove `HomeServer.get_datastore()` (#12031)Richard van der Hoff2022-02-231-1/+1
* Implement a content type allow list for URL previews (#11936)Denis Kasak2022-02-101-0/+72
* Support rendering previews with data: URLs in them (#11767)Patrick Cloke2022-01-242-8/+554
* Move HTML parsing to a separate file for URL previews. (#11566)Patrick Cloke2021-12-131-0/+1
* Fix media repository failing when media store path contains symlinks (#11446)Sean Quah2021-12-021-1/+108
* Prevent the media store from writing outside of the configured directorySean Quah2021-11-191-0/+250
* Handle missing Content-Type header when accessing remote media (#11200)Shay2021-11-011-2/+16
* Be more lenient when parsing the version for oEmbed responses. (#11065)Patrick Cloke2021-10-131-0/+51
* Add tests for `MediaFilePaths` (#11057)Sean Quah2021-10-121-0/+238
* Autodiscover oEmbed endpoint from returned HTML (#10822)Patrick Cloke2021-10-081-1/+99
* Fix empty `url_cache_thumbnails/yyyy-mm-dd/` directories being left behind (#...Sean Quah2021-09-291-0/+31
* Avoid storing URL cache files in storage providers (#10911)Sean Quah2021-09-271-0/+130
* Use direct references for configuration variables (part 5). (#10897)Patrick Cloke2021-09-241-1/+1
* Add reactor to `SynapseRequest` and fix up types. (#10868)Erik Johnston2021-09-241-4/+4
* Include more information in oEmbed previews. (#10819)Patrick Cloke2021-09-221-9/+21
* Refactor oEmbed previews (#10814)Patrick Cloke2021-09-211-13/+13
* Create a constant for a small png image in tests. (#10834)Patrick Cloke2021-09-161-14/+4
* Request JSON for oEmbed requests (and ignore XML only providers). (#10759)Patrick Cloke2021-09-081-1/+54
* Allow configuration of the oEmbed URLs. (#10714)Patrick Cloke2021-08-311-110/+102
* Fix error when selecting between thumbnails with the same quality (#10684)Sean2021-08-251-1/+38
* Flatten the synapse.rest.client package (#10600)reivilibre2021-08-171-1/+1
* [pyupgrade] `tests/` (#10347)Jonathan de Jong2021-07-131-1/+1
* Standardise the module interface (#10062)Brendan Abolivier2021-06-181-0/+3
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-145-5/+0
* Use mock from the stdlib. (#9772)Patrick Cloke2021-04-092-4/+2
* Handle image transparency better when thumbnailing. (#9473)Patrick Cloke2021-03-091-8/+21
* Add testErik Johnston2021-02-191-3/+66
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-3/+11
* Add check_media_file_for_spam spam checker hookErik Johnston2021-02-041-0/+94
* Return a 404 if no valid thumbnail is found. (#9163)Patrick Cloke2021-01-211-1/+24
* Skip unit tests which require optional dependencies (#9031)Richard van der Hoff2021-01-071-0/+7
* Remove spurious "SynapseRequest" result from `make_request"Richard van der Hoff2020-12-152-21/+21
* Add X-Robots-Tag header to stop crawlers from indexing media (#8887)Aaron Raimist2020-12-081-0/+13
* remove unused FakeResponse (#8864)Richard van der Hoff2020-12-021-26/+0
* Apply an IP range blacklist to push and key revocation requests. (#8821)Patrick Cloke2020-12-021-1/+1
* Make `make_request` actually render the requestRichard van der Hoff2020-11-162-40/+33
* Fix the URL in the URL preview testsRichard van der Hoff2020-11-161-19/+22
* use global make_request() directly where we have a custom ResourceRichard van der Hoff2020-11-151-3/+14
* Do not error when thumbnailing invalid files (#8236)Patrick Cloke2020-09-091-10/+29
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-3/+3
* Support oEmbed for media previews. (#7920)Patrick Cloke2020-07-271-8/+134
* Convert more of the media code to async/await (#7873)Patrick Cloke2020-07-241-1/+4
* isort 5 compatibility (#7786)Will Hunt2020-07-051-3/+1
* Fetch from the r0 media path instead of the unspecced v1. (#7714)Patrick Cloke2020-06-171-1/+1
* Replace all remaining six usage with native Python 3 equivalents (#7704)Dagfinn Ilmari Mannsåker2020-06-161-1/+1
* Add support for webp thumbnailing (#7586)WGH2020-06-051-36/+99
* Allow specifying the value of Accept-Language header for URL previews (#7265)Andrew Morgan2020-04-151-0/+55
* Lint + changelogBrendan Abolivier2020-01-221-3/+1
* Remove unused importBrendan Abolivier2020-01-221-1/+1
* Add tests for thumbnailingBrendan Abolivier2020-01-221-3/+45
* Apply suggestions from code reviewRichard van der Hoff2019-11-051-0/+1
* Strip overlong OpenGraph data from url previewRichard van der Hoff2019-11-051-0/+34
* Move logging utilities out of the side drawer of util/ and into logging/ (#5606)Amber Brown2019-07-041-1/+1
* Fix media repo breaking (#5593)Amber Brown2019-07-021-0/+12
* Make the http server handle coroutine-making REST servlets (#5475)Amber Brown2019-06-291-10/+15
* Run Black. (#5482)Amber Brown2019-06-203-38/+38
* Migrate all tests to use the dict-based config format instead of hanging item...Amber Brown2019-05-132-35/+22
* URL preview blacklisting fixes (#5155)Andrew Morgan2019-05-101-11/+11
* Run Black on the tests again (#5170)Amber Brown2019-05-101-10/+4
* Fix parsing of Content-Disposition headers (#4763)Richard van der Hoff2019-02-271-0/+45
* Fix IP URL previews on Python 3 (#4215)Amber Brown2018-12-221-98/+326
* Fix more logcontext leaks in tests (#4209)Richard van der Hoff2018-11-271-1/+2
* Fix logcontext leak in test_url_previewRichard van der Hoff2018-11-191-1/+2
* Fix Content-Disposition in media repository (#4176)Amber Brown2018-11-151-0/+145
* Use <meta> tags to discover the per-page encoding of html previews (#4183)Amber Brown2018-11-151-0/+77
* Fix URL preview bugs (type error when loading cache from db, content-type inc...Amber Brown2018-11-081-0/+164
* Run black.black2018-08-101-4/+2
* run isortAmber Brown2018-07-091-7/+7
* Pass around the reactor explicitly (#3385)Amber Brown2018-06-221-2/+3
* Fix broken unit test for media storageErik Johnston2018-02-051-1/+6
* Add unit testsErik Johnston2018-01-183-0/+109