summary refs log tree commit diff
path: root/tests/rest/media/v1/test_url_preview.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Refactor media modules. (#15146)Patrick Cloke2023-02-271-1234/+0
* Do not fail completely if oEmbed autodiscovery fails. (#15092)Patrick Cloke2023-02-231-3/+41
* Bump black from 22.12.0 to 23.1.0 (#15103)dependabot[bot]2023-02-221-3/+0
* Do not break URL previews if an image is unreachable. (#12950)Patrick Cloke2022-06-061-0/+35
* Ensure the type of URL attributes is always str when matching against preview...Brendan Abolivier2022-03-311-2/+41
* Add type hints to `tests/rest`. (#12208)Dirk Klimpel2022-03-111-39/+44
* 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-241-8/+73
* Move HTML parsing to a separate file for URL previews. (#11566)Patrick Cloke2021-12-131-0/+1
* 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
* Include more information in oEmbed previews. (#10819)Patrick Cloke2021-09-221-9/+21
* Refactor oEmbed previews (#10814)Patrick Cloke2021-09-211-13/+13
* 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
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Use mock from the stdlib. (#9772)Patrick Cloke2021-04-091-2/+1
* 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-151-19/+19
* remove unused FakeResponse (#8864)Richard van der Hoff2020-12-021-26/+0
* Make `make_request` actually render the requestRichard van der Hoff2020-11-161-36/+30
* Fix the URL in the URL preview testsRichard van der Hoff2020-11-161-19/+22
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-3/+3
* Support oEmbed for media previews. (#7920)Patrick Cloke2020-07-271-8/+134
* Allow specifying the value of Accept-Language header for URL previews (#7265)Andrew Morgan2020-04-151-0/+55
* 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
* Fix media repo breaking (#5593)Amber Brown2019-07-021-0/+12
* Run Black. (#5482)Amber Brown2019-06-201-28/+28
* Migrate all tests to use the dict-based config format instead of hanging item...Amber Brown2019-05-131-24/+16
* URL preview blacklisting fixes (#5155)Andrew Morgan2019-05-101-11/+11
* Fix IP URL previews on Python 3 (#4215)Amber Brown2018-12-221-98/+326
* Fix logcontext leak in test_url_previewRichard van der Hoff2018-11-191-1/+2
* 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