summary refs log tree commit diff
path: root/synapse/config/oembed.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Properly close providers.json file stream. (#12794)Petr Vaněk2022-05-191-3/+3
|
* Add missing type hints to config classes. (#12402)Patrick Cloke2022-04-111-2/+2
|
* Request JSON for oEmbed requests (and ignore XML only providers). (#10759)Patrick Cloke2021-09-081-4/+20
| | | | | | | | 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.
* Allow configuration of the oEmbed URLs. (#10714)Patrick Cloke2021-08-311-0/+180
This adds configuration options (under an `oembed` section) to configure which URLs are matched to use oEmbed for URL previews.