anonymousland-synapse/synapse/rest/media/v1
Patrick Cloke 4937fe3d6b
Try to recover from unknown encodings when previewing media. (#9164)
Treat unknown encodings (according to lxml) as UTF-8
when generating a preview for HTML documents. This
isn't fully accurate, but will hopefully give a reasonable
title and summary.
2021-01-26 07:32:17 -05:00
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
_base.py Return a 404 if no valid thumbnail is found. (#9163) 2021-01-21 14:53:58 -05:00
config_resource.py Add type hints to media rest resources. (#9093) 2021-01-15 10:57:37 -05:00
download_resource.py Add type hints to media rest resources. (#9093) 2021-01-15 10:57:37 -05:00
filepath.py Add type hints to media rest resources. (#9093) 2021-01-15 10:57:37 -05:00
media_repository.py Add type hints to media rest resources. (#9093) 2021-01-15 10:57:37 -05:00
media_storage.py Add type hints to media rest resources. (#9093) 2021-01-15 10:57:37 -05:00
preview_url_resource.py Try to recover from unknown encodings when previewing media. (#9164) 2021-01-26 07:32:17 -05:00
storage_provider.py Add type hints to media rest resources. (#9093) 2021-01-15 10:57:37 -05:00
thumbnail_resource.py Return a 404 if no valid thumbnail is found. (#9163) 2021-01-21 14:53:58 -05:00
thumbnailer.py Add type hints to media rest resources. (#9093) 2021-01-15 10:57:37 -05:00
upload_resource.py Add type hints to media rest resources. (#9093) 2021-01-15 10:57:37 -05:00