summary refs log tree commit diff
path: root/synapse/config/oembed.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Re-type config paths in `ConfigError`s to be `StrSequence`s (#15615)Sean Quah2023-05-181-3/+3
| | | | | | Part of #14809. Signed-off-by: Sean Quah <seanq@matrix.org>
* Remove code generating comments in configuration file (#12941)Shay2022-06-141-23/+0
|
* 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.