Commit History

Author SHA1 Message Date
  Shay f5c6a80886 Handle missing Content-Type header when accessing remote media (#11200) 3 years ago
  Patrick Cloke bb7fdd821b Use direct references for configuration variables (part 5). (#10897) 3 years ago
  Erik Johnston 50022cff96 Add reactor to `SynapseRequest` and fix up types. (#10868) 3 years ago
  Patrick Cloke bfb4b858a9 Create a constant for a small png image in tests. (#10834) 3 years ago
  Sean 7367473f96 Fix error when selecting between thumbnails with the same quality (#10684) 3 years ago
  reivilibre 642a42edde Flatten the synapse.rest.client package (#10600) 3 years ago
  Jonathan de Jong 89cfc3dd98 [pyupgrade] `tests/` (#10347) 3 years ago
  Brendan Abolivier 1b3e398bea Standardise the module interface (#10062) 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
  Patrick Cloke 075c16b410 Handle image transparency better when thumbnailing. (#9473) 3 years ago
  Erik Johnston 3a2fe5054f Add test 3 years ago
  Eric Eastwood 0a00b7ff14 Update black, and run auto formatting over the codebase (#9381) 3 years ago
  Erik Johnston 7e8083eb48 Add check_media_file_for_spam spam checker hook 3 years ago
  Patrick Cloke a7882f9887 Return a 404 if no valid thumbnail is found. (#9163) 4 years ago
  Richard van der Hoff 394516ad1b Remove spurious "SynapseRequest" result from `make_request" 4 years ago
  Aaron Raimist cd9e72b185 Add X-Robots-Tag header to stop crawlers from indexing media (#8887) 4 years ago
  Patrick Cloke 30fba62108 Apply an IP range blacklist to push and key revocation requests. (#8821) 4 years ago
  Richard van der Hoff 129ae841e5 Make `make_request` actually render the request 4 years ago
  Richard van der Hoff cfd895a22e use global make_request() directly where we have a custom Resource 4 years ago
  Patrick Cloke b312769c0e Do not error when thumbnailing invalid files (#8236) 4 years ago
  Patrick Cloke 5ea29d7f85 Convert more of the media code to async/await (#7873) 4 years ago
  Will Hunt 62b1ce8539 isort 5 compatibility (#7786) 4 years ago
  Patrick Cloke 434716e1d3 Fetch from the r0 media path instead of the unspecced v1. (#7714) 4 years ago
  Dagfinn Ilmari Mannsåker a3f11567d9 Replace all remaining six usage with native Python 3 equivalents (#7704) 4 years ago
  WGH e55ee7c32f Add support for webp thumbnailing (#7586) 4 years ago
  Brendan Abolivier 6ae0c8db33 Lint + changelog 5 years ago
  Brendan Abolivier d9a8728b11 Remove unused import 5 years ago
  Brendan Abolivier 67aa18e8dc Add tests for thumbnailing 5 years ago
  Amber Brown 463b072b12 Move logging utilities out of the side drawer of util/ and into logging/ (#5606) 5 years ago