synapse-old/synapse/rest/media
Travis Ralston ab4535b608
Add config option to prevent media downloads from listed domains. (#15197)
This stops media (and thumbnails) from being accessed from the
listed domains. It does not delete any already locally cached media,
but will prevent accessing it.

Note that admin APIs are unaffected by this change.
2023-05-09 14:08:51 -04:00
..
v1 Refactor media modules. (#15146) 2023-02-27 08:26:05 -05:00
__init__.py Move rest APIs back under the rest directory 2015-01-22 16:10:07 +00:00
config_resource.py Refactor media modules. (#15146) 2023-02-27 08:26:05 -05:00
download_resource.py Factor out an `is_mine_server_name` method (#15542) 2023-05-05 15:06:22 +01:00
media_repository_resource.py Refactor media modules. (#15146) 2023-02-27 08:26:05 -05:00
preview_url_resource.py Separate HTTP preview code and URL previewer. (#15269) 2023-03-20 14:32:26 -04:00
thumbnail_resource.py Add config option to prevent media downloads from listed domains. (#15197) 2023-05-09 14:08:51 -04:00
upload_resource.py Refactor media modules. (#15146) 2023-02-27 08:26:05 -05:00