MatrixSynapse/synapse/rest/media/v1
Patrick Cloke eb39da6782
Move HTML parsing to a separate file for URL previews. (#11566)
* Splits the logic for parsing HTML from the resource handling code.
* Fix a circular import in the oEmbed code (which uses the HTML parsing code).
* Renames some of the HTML parsing methods to:
  * Make it clear which methods are "internal" to the module.
  * Clarify what the methods do.
2021-12-13 17:55:07 +00:00
..
__init__.py Relax `ignore-missing-imports` for modules that have stubs now and update mypy (#11006) 2021-10-08 14:49:41 +01:00
_base.py Prevent the media store from writing outside of the configured directory 2021-11-19 13:39:15 +00:00
config_resource.py Use direct references for configuration variables (part 5). (#10897) 2021-09-24 07:25:21 -04:00
download_resource.py Add reactor to `SynapseRequest` and fix up types. (#10868) 2021-09-24 11:01:25 +01:00
filepath.py Fix media repository failing when media store path contains symlinks (#11446) 2021-12-02 16:05:24 +00:00
media_repository.py Handle missing Content-Type header when accessing remote media (#11200) 2021-11-01 10:26:02 -07:00
media_storage.py Fix race conditions when creating media store and config directories (#10913) 2021-09-27 11:29:23 +01:00
oembed.py Move HTML parsing to a separate file for URL previews. (#11566) 2021-12-13 17:55:07 +00:00
preview_html.py Move HTML parsing to a separate file for URL previews. (#11566) 2021-12-13 17:55:07 +00:00
preview_url_resource.py Move HTML parsing to a separate file for URL previews. (#11566) 2021-12-13 17:55:07 +00:00
storage_provider.py Avoid storing URL cache files in storage providers (#10911) 2021-09-27 12:55:27 +01:00
thumbnail_resource.py Use direct references for configuration variables (part 5). (#10897) 2021-09-24 07:25:21 -04:00
thumbnailer.py Fix error in thumbnail generation (#11288) 2021-11-10 20:49:43 +00:00
upload_resource.py Handle missing Content-Type header when accessing remote media (#11200) 2021-11-01 10:26:02 -07:00