synapse-product/synapse/rest/media/v1
Andrew Morgan 2f48c4e1ae
URL preview blacklisting fixes (#5155)
Prevents a SynapseError being raised inside of a IResolutionReceiver and instead opts to just return 0 results. This thus means that we have to lump a failed lookup and a blacklisted lookup together with the same error message, but the substitute should be generic enough to cover both cases.
2019-05-10 10:32:44 -07:00
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
_base.py Prevent "producer not unregistered" message (#5009) 2019-04-24 17:37:32 +01:00
config_resource.py Move imports to one line 2018-12-10 13:52:33 +00:00
download_resource.py Add 'sandbox' to CSP for media repo (#4284) 2018-12-11 04:05:02 +11:00
filepath.py run isort 2018-07-09 16:09:20 +10:00
media_repository.py Refactor request sending to have better excpetions (#4358) 2019-01-08 11:04:28 +00:00
media_storage.py Correctly account for cpu usage by background threads (#4074) 2018-10-23 13:12:32 +01:00
preview_url_resource.py URL preview blacklisting fixes (#5155) 2019-05-10 10:32:44 -07:00
storage_provider.py Correctly account for cpu usage by background threads (#4074) 2018-10-23 13:12:32 +01:00
thumbnail_resource.py run isort 2018-07-09 16:09:20 +10:00
thumbnailer.py run isort 2018-07-09 16:09:20 +10:00
upload_resource.py Port over enough to get some sytests running on Python 3 (#3668) 2018-08-20 23:54:49 +10:00