Commit History

Author SHA1 Message Date
  Patrick Cloke 148fe58a24 Do not break URL previews if an image is unreachable. (#12950) 2 years ago
  Brendan Abolivier f96b85eca8 Ensure the type of URL attributes is always str when matching against preview blacklist (#12333) 2 years ago
  Dirk Klimpel 32c828d0f7 Add type hints to `tests/rest`. (#12208) 2 years ago
  Denis Kasak 337f38cac3 Implement a content type allow list for URL previews (#11936) 2 years ago
  Patrick Cloke 807efd26ae Support rendering previews with data: URLs in them (#11767) 2 years ago
  Patrick Cloke eb39da6782 Move HTML parsing to a separate file for URL previews. (#11566) 3 years ago
  Patrick Cloke 1b112840d2 Autodiscover oEmbed endpoint from returned HTML (#10822) 3 years ago
  Sean Quah 2be0fde3d6 Fix empty `url_cache_thumbnails/yyyy-mm-dd/` directories being left behind (#10924) 3 years ago
  Sean Quah f7768f62cb Avoid storing URL cache files in storage providers (#10911) 3 years ago
  Patrick Cloke 6fc8be9a1b Include more information in oEmbed previews. (#10819) 3 years ago
  Patrick Cloke ba7a91aea5 Refactor oEmbed previews (#10814) 3 years ago
  Patrick Cloke 580a15e039 Request JSON for oEmbed requests (and ignore XML only providers). (#10759) 3 years ago
  Patrick Cloke e2481dbe93 Allow configuration of the oEmbed URLs. (#10714) 3 years ago
  Jonathan de Jong 4b965c862d Remove redundant "coding: utf-8" lines (#9786) 3 years ago
  Patrick Cloke 0b3112123d Use mock from the stdlib. (#9772) 3 years ago
  Richard van der Hoff 8d3d264052 Skip unit tests which require optional dependencies (#9031) 3 years ago
  Richard van der Hoff 394516ad1b Remove spurious "SynapseRequest" result from `make_request" 4 years ago
  Richard van der Hoff f347f0cd58 remove unused FakeResponse (#8864) 4 years ago
  Richard van der Hoff 129ae841e5 Make `make_request` actually render the request 4 years ago
  Richard van der Hoff 1f41422c98 Fix the URL in the URL preview tests 4 years ago
  Patrick Cloke c619253db8 Stop sub-classing object (#8249) 4 years ago
  Patrick Cloke 3fc8fdd150 Support oEmbed for media previews. (#7920) 4 years ago
  Andrew Morgan a48138784e Allow specifying the value of Accept-Language header for URL previews (#7265) 4 years ago
  Richard van der Hoff e78167c94b Apply suggestions from code review 5 years ago
  Richard van der Hoff e9bfe719ba Strip overlong OpenGraph data from url preview 5 years ago
  Amber Brown 0ee9076ffe Fix media repo breaking (#5593) 5 years ago
  Amber Brown 32e7c9e7f2 Run Black. (#5482) 5 years ago
  Amber Brown df2ebd75d3 Migrate all tests to use the dict-based config format instead of hanging items off HomeserverConfig (#5171) 5 years ago
  Andrew Morgan 2f48c4e1ae URL preview blacklisting fixes (#5155) 5 years ago
  Amber Brown ea6abf6724 Fix IP URL previews on Python 3 (#4215) 6 years ago