ba7a91aea5
The major change is moving the decision of whether to use oEmbed further up the call-stack. This reverts the _download_url method to being a "dumb" functionwhich takes a single URL and downloads it (as it was before #7920). This also makes more minor refactorings: * Renames internal variables for clarity. * Factors out shared code between the HTML and rich oEmbed previews. * Fixes tests to preview an oEmbed image. |
||
---|---|---|
.. | ||
__init__.py | ||
_base.py | ||
config_resource.py | ||
download_resource.py | ||
filepath.py | ||
media_repository.py | ||
media_storage.py | ||
oembed.py | ||
preview_url_resource.py | ||
storage_provider.py | ||
thumbnail_resource.py | ||
thumbnailer.py | ||
upload_resource.py |