discourse/app/assets/javascripts/admin/addon
Martin Brennan 2364626ded
FEATURE: Change all core to use uppy-image-uploader (#14428)
Instead of using image-uploader, which relies on the old
UploadMixin, we can now use the uppy-image-uploader which
uses the new UppyUploadMixin which is stable enough and
supports both regular XHR uploads and direct S3 uploads,
controlled by a site setting (default to XHR).

At some point it may make sense to rename uppy-image-uploader
back to image-uploader, once we have gone through plugins
etc. and given a bit of deprecation time period.

This commit also fixes `for_private_message`, `for_site_setting`,
and `pasted` flags not being sent via uppy uploads onto the
UploadCreator, both via regular XHR uploads and also through
external/multipart uploads.

The uploaders changed are:

* site setting images
* badge images
* category logo
* category background
* group flair
* profile background
* profile card background
2021-10-19 13:25:42 +10:00
..
adapters
components FEATURE: Change all core to use uppy-image-uploader (#14428) 2021-10-19 13:25:42 +10:00
controllers REFACTOR: minor changes to api-keys-new (#14435) 2021-09-27 10:43:47 +02:00
helpers DEV: prettier 2.2.1 (#11862) 2021-01-27 12:39:20 +01:00
mixins REFACTOR: setting component mixin (#14437) 2021-09-27 10:43:26 +02:00
models FEATURE: Use second factor for admin confirmation (#14293) 2021-09-14 15:19:28 +03:00
routes REFACTOR: minor changes to api-keys-new (#14435) 2021-09-27 10:43:47 +02:00
services FEATURE: Penalty history improvements (#13359) 2021-07-12 11:36:56 -07:00
templates FEATURE: Change all core to use uppy-image-uploader (#14428) 2021-10-19 13:25:42 +10:00