MatrixSynapse/synapse/rest/media/v1
Patrick Cloke 580a15e039
Request JSON for oEmbed requests (and ignore XML only providers). (#10759)
This adds the format to the request arguments / URL to
ensure that JSON data is returned (which is all that
Synapse supports).

This also adds additional error checking / filtering to the
configuration file to ignore XML-only providers.
2021-09-08 07:17:52 -04:00
..
__init__.py [pyupgrade] `synapse/` (#10348) 2021-07-19 15:28:05 +01:00
_base.py Use inline type hints in `handlers/` and `rest/`. (#10382) 2021-07-16 18:22:36 +01:00
config_resource.py remove `HomeServer.get_config` (#9815) 2021-04-14 19:09:08 +01:00
download_resource.py Mitigate media repo XSSs on IE11. (#10468) 2021-07-27 13:45:10 +02:00
filepath.py Remove various bits of compatibility code for Python <3.6 (#9879) 2021-04-27 13:13:07 +01:00
media_repository.py Admin API to delete media for a specific user (#10558) 2021-08-11 19:29:59 +00:00
media_storage.py Use inline type hints in `handlers/` and `rest/`. (#10382) 2021-07-16 18:22:36 +01:00
oembed.py Request JSON for oEmbed requests (and ignore XML only providers). (#10759) 2021-09-08 07:17:52 -04:00
preview_url_resource.py Use attrs internally for the URL preview code & add documentation. (#10753) 2021-09-07 13:10:34 +00:00
storage_provider.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
thumbnail_resource.py Fix error when selecting between thumbnails with the same quality (#10684) 2021-08-25 09:51:08 +00:00
thumbnailer.py Fix /upload 500'ing when presented a very large image (#10029) 2021-05-21 18:31:59 +02:00
upload_resource.py Use inline type hints in `handlers/` and `rest/`. (#10382) 2021-07-16 18:22:36 +01:00