This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app
Régis Hanol c33847b30d FIX: uploading an existing image as a site setting
The previous fix (f43c0a5d85) wasn't working for images that were already uploaded.
The "metadata" (eg. 'for_*' and 'secure' attributes) were not added to existing uploads.

Also used 'Upload.get_from_url' is the admin/site_setting controller to properly retrieve
an upload from its URL.

Fixed the Upload::URL_REGEX to use the \h (hexadecimal) for the SHA

Follow-up-to: f43c0a5d85
2020-07-03 19:19:14 +02:00
..
assets FIX: Support root paths that omit the trailing slash and have QPs 2020-07-02 15:13:44 -04:00
controllers FIX: uploading an existing image as a site setting 2020-07-03 19:19:14 +02:00
helpers New bootstrap.json endpoint for starting up Discourse 2020-06-03 14:45:23 -04:00
jobs DEV: improve verbose mode for reindexer 2020-06-24 17:29:45 +10:00
mailers FIX: Use correct URL for unsubscribe (#10077) 2020-06-24 09:31:20 +02:00
models FIX: uploading an existing image as a site setting 2020-07-03 19:19:14 +02:00
serializers FIX: uploading an image as a site setting 2020-07-03 14:59:15 +02:00
services FIX: update theme fields when updating from ThemesInstallTask (#10143) 2020-07-02 15:12:15 -04:00
views FIX: Search was not multisite aware 2020-07-02 15:13:32 -04:00