discourse/public
Martin Brennan b626373b31
FEATURE: First pass of using uppy in the composer (#13935)
Adds uppy upload functionality behind a
enable_experimental_composer_uploader site setting (default false,
and hidden).

When enabled this site setting will make the composer-editor-uppy
component be used within composer.hbs, which in turn points to
a ComposerUploadUppy mixin which overrides the relevant
functions from ComposerUpload. This uppy uploader has parity
with all the features of jQuery file uploader in the original
composer-editor, including:

progress tracking
error handling
number of files validation
pasting files
dragging and dropping files
updating upload placeholders
upload markdown resolvers
processing actions (the only one we have so far is the media optimization
worker by falco, this works)
cancelling uploads
For now all uploads still go via the /uploads.json endpoint, direct
S3 support will be added later.

Also included in this PR are some changes to the media optimization
service, to support uppy's different file data structures, and also
to make the promise tracking and resolving more robust. Currently
it uses the file name to track promises, we can switch to something
more unique later if needed.

Does not include custom upload handlers, that will come
in a later PR, it is a tricky problem to handle.

Also, this new functionality will not be used in encrypted PMs because
encrypted PM uploads rely on custom upload handlers.
2021-08-13 09:14:34 +10:00
..
images DEV: adds grinning_face_with_smiling_eyes.png to google-classic (#13856) 2021-07-27 13:27:13 +02:00
javascripts FEATURE: First pass of using uppy in the composer (#13935) 2021-08-13 09:14:34 +10:00
403.ar.html Update translations (#13476) 2021-06-22 15:21:20 +02:00
403.be.html Update translations 2020-08-05 13:55:12 +00:00
403.bg.html Update translations 2020-08-05 13:55:12 +00:00
403.bs_BA.html Update translations 2020-08-05 13:55:12 +00:00
403.ca.html Update translations 2020-08-05 13:55:12 +00:00
403.cs.html Update translations 2020-08-05 13:55:12 +00:00
403.da.html Update translations 2020-08-05 13:55:12 +00:00
403.de.html Update translations (#13476) 2021-06-22 15:21:20 +02:00
403.el.html Update translations 2020-09-01 13:02:16 +00:00
403.en_GB.html Update translations (#11779) 2021-01-20 22:58:26 +01:00
403.es.html Update translations 2020-08-05 13:55:12 +00:00
403.et.html Update translations 2020-08-05 13:55:12 +00:00
403.fa_IR.html Update translations (#11042) 2020-10-27 15:36:21 +01:00
403.fi.html Update translations (#13647) 2021-07-13 20:30:09 +02:00
403.fr.html Update translations 2020-08-05 13:55:12 +00:00
403.gl.html Update translations (#11689) 2021-01-12 14:29:05 +01:00
403.he.html Update translations 2020-08-05 13:55:12 +00:00
403.html
403.hu.html Update translations (#13327) 2021-06-08 16:32:36 +02:00
403.hy.html Update translations 2020-08-05 13:55:12 +00:00
403.id.html Update translations 2020-08-05 13:55:12 +00:00
403.it.html Update translations (#13647) 2021-07-13 20:30:09 +02:00
403.ja.html Update translations (#13565) 2021-06-29 16:02:02 +02:00
403.ko.html Update translations 2020-09-16 10:17:56 +00:00
403.lt.html Update translations 2020-08-05 13:55:12 +00:00
403.lv.html Update translations 2020-08-05 13:55:12 +00:00
403.nb_NO.html Update translations 2020-08-05 13:55:12 +00:00
403.nl.html Update translations 2020-08-05 13:55:12 +00:00
403.pl_PL.html Update translations 2020-08-05 13:55:12 +00:00
403.pt_BR.html Update translations 2020-08-05 13:55:12 +00:00
403.pt.html Update translations 2020-08-05 13:55:12 +00:00
403.ro.html Update translations 2020-08-05 13:55:12 +00:00
403.ru.html Update translations 2020-08-05 13:55:12 +00:00
403.sk.html Update translations 2020-08-05 13:55:12 +00:00
403.sl.html Update translations 2020-08-05 13:55:12 +00:00
403.sq.html Update translations 2020-08-05 13:55:12 +00:00
403.sr.html Update translations 2020-08-05 13:55:12 +00:00
403.sv.html Update translations 2020-08-05 13:55:12 +00:00
403.sw.html Update translations 2020-08-05 13:55:12 +00:00
403.te.html Update translations 2020-08-05 13:55:12 +00:00
403.th.html Update translations 2020-08-05 13:55:12 +00:00
403.tr_TR.html Update translations 2020-08-05 13:55:12 +00:00
403.uk.html Update translations 2020-08-05 13:55:12 +00:00
403.ur.html Update translations 2020-08-05 13:55:12 +00:00
403.vi.html Update translations 2020-08-05 13:55:12 +00:00
403.zh_CN.html Update translations (#13796) 2021-07-21 10:30:34 +02:00
403.zh_TW.html Update translations 2020-08-05 13:55:12 +00:00
404.json
422.ar.html Update translations (#13476) 2021-06-22 15:21:20 +02:00
422.be.html Update translations 2020-08-05 13:55:12 +00:00
422.bg.html Update translations 2020-08-05 13:55:12 +00:00
422.bs_BA.html Update translations 2020-08-05 13:55:12 +00:00
422.ca.html Update translations 2020-08-05 13:55:12 +00:00
422.cs.html Update translations 2020-08-05 13:55:12 +00:00
422.da.html Update translations 2020-08-05 13:55:12 +00:00
422.de.html Update translations (#13476) 2021-06-22 15:21:20 +02:00
422.el.html Update translations 2020-09-01 13:02:16 +00:00
422.en_GB.html Update translations (#11848) 2021-01-26 14:52:35 +01:00
422.es.html Update translations 2020-08-05 13:55:12 +00:00
422.et.html Update translations 2020-08-05 13:55:12 +00:00
422.fa_IR.html Update translations (#12186) 2021-02-23 15:10:04 +01:00
422.fi.html Update translations (#13647) 2021-07-13 20:30:09 +02:00
422.fr.html Update translations (#13647) 2021-07-13 20:30:09 +02:00
422.gl.html Update translations (#11689) 2021-01-12 14:29:05 +01:00
422.he.html Update translations 2020-08-05 13:55:12 +00:00
422.html
422.hu.html Update translations 2020-08-05 13:55:12 +00:00
422.hy.html Update translations 2020-08-05 13:55:12 +00:00
422.id.html Update translations 2020-08-05 13:55:12 +00:00
422.it.html Update translations 2020-08-05 13:55:12 +00:00
422.ja.html Update translations (#13565) 2021-06-29 16:02:02 +02:00
422.ko.html Update translations 2020-09-16 10:17:56 +00:00
422.lt.html Update translations 2020-08-05 13:55:12 +00:00
422.lv.html Update translations 2020-08-05 13:55:12 +00:00
422.nb_NO.html Update translations 2020-08-05 13:55:12 +00:00
422.nl.html Update translations 2020-08-05 13:55:12 +00:00
422.pl_PL.html Update translations 2020-08-05 13:55:12 +00:00
422.pt_BR.html Update translations (#13796) 2021-07-21 10:30:34 +02:00
422.pt.html Update translations 2020-08-05 13:55:12 +00:00
422.ro.html Update translations 2020-08-05 13:55:12 +00:00
422.ru.html Update translations 2020-08-05 13:55:12 +00:00
422.sk.html Update translations 2020-08-05 13:55:12 +00:00
422.sl.html Update translations 2020-08-05 13:55:12 +00:00
422.sq.html Update translations 2020-08-05 13:55:12 +00:00
422.sr.html Update translations 2020-08-05 13:55:12 +00:00
422.sv.html Update translations 2020-09-09 14:59:40 +00:00
422.sw.html Update translations 2020-08-05 13:55:12 +00:00
422.te.html Update translations 2020-08-05 13:55:12 +00:00
422.th.html Update translations 2020-08-05 13:55:12 +00:00
422.tr_TR.html Update translations 2020-08-05 13:55:12 +00:00
422.uk.html Update translations 2020-08-05 13:55:12 +00:00
422.ur.html Update translations 2020-08-05 13:55:12 +00:00
422.vi.html Update translations 2020-08-05 13:55:12 +00:00
422.zh_CN.html Update translations (#13796) 2021-07-21 10:30:34 +02:00
422.zh_TW.html Update translations 2020-08-05 13:55:12 +00:00
500.ar.html Update translations (#13476) 2021-06-22 15:21:20 +02:00
500.be.html Update translations 2020-08-05 13:55:12 +00:00
500.bg.html Update translations (#13796) 2021-07-21 10:30:34 +02:00
500.bs_BA.html Update translations 2020-08-25 13:02:37 +00:00
500.ca.html Update translations 2020-08-05 13:55:12 +00:00
500.cs.html Update translations (#12556) 2021-03-30 15:44:13 +02:00
500.da.html Update translations (#12412) 2021-03-16 15:49:29 +01:00
500.de.html Update translations (#13476) 2021-06-22 15:21:20 +02:00
500.el.html Update translations 2020-08-11 13:04:00 +00:00
500.en_GB.html Update translations (#11779) 2021-01-20 22:58:26 +01:00
500.es.html Update translations (#13476) 2021-06-22 15:21:20 +02:00
500.et.html Update translations 2020-08-05 13:55:12 +00:00
500.fa_IR.html Update translations (#12186) 2021-02-23 15:10:04 +01:00
500.fi.html Update translations (#13647) 2021-07-13 20:30:09 +02:00
500.fr.html Update translations (#13647) 2021-07-13 20:30:09 +02:00
500.gl.html Update translations (#11689) 2021-01-12 14:29:05 +01:00
500.he.html Update translations 2020-08-05 13:55:12 +00:00
500.html
500.hu.html Update translations 2020-08-05 13:55:12 +00:00
500.hy.html Update translations 2020-08-05 13:55:12 +00:00
500.id.html Update translations (#12097) 2021-02-16 15:24:37 +01:00
500.it.html Update translations (#11108) 2020-11-03 18:08:07 +01:00
500.ja.html Update translations (#13821) 2021-07-22 12:31:19 +02:00
500.ko.html Update translations 2020-09-15 13:04:17 +00:00
500.lt.html Update translations 2020-08-05 13:55:12 +00:00
500.lv.html Update translations 2020-08-05 13:55:12 +00:00
500.nb_NO.html Update translations (#13860) 2021-07-27 15:24:03 +02:00
500.nl.html Update translations 2020-08-05 13:55:12 +00:00
500.pl_PL.html Update translations 2020-09-09 14:59:40 +00:00
500.pt_BR.html Update translations (#13796) 2021-07-21 10:30:34 +02:00
500.pt.html Update translations (#13647) 2021-07-13 20:30:09 +02:00
500.ro.html Update translations 2020-09-29 13:01:52 +00:00
500.ru.html Update translations 2020-08-05 13:55:12 +00:00
500.sk.html Update translations 2020-08-05 13:55:12 +00:00
500.sl.html Update translations 2020-08-05 13:55:12 +00:00
500.sq.html Update translations 2020-08-05 13:55:12 +00:00
500.sr.html Update translations (#12614) 2021-04-07 11:58:41 +02:00
500.sv.html Update translations 2020-09-09 14:59:40 +00:00
500.sw.html Update translations 2020-08-05 13:55:12 +00:00
500.te.html Update translations 2020-08-05 13:55:12 +00:00
500.th.html Update translations 2020-08-05 13:55:12 +00:00
500.tr_TR.html Update translations (#13647) 2021-07-13 20:30:09 +02:00
500.uk.html Update translations 2020-08-11 13:04:00 +00:00
500.ur.html Update translations 2020-08-05 13:55:12 +00:00
500.vi.html Update translations (#11182) 2020-11-10 15:23:06 +01:00
500.zh_CN.html Update translations (#13796) 2021-07-21 10:30:34 +02:00
500.zh_TW.html Update translations (#12258) 2021-03-02 15:28:30 +01:00
503.ar.html Update translations (#13647) 2021-07-13 20:30:09 +02:00
503.be.html Update translations (#10944) 2020-10-17 00:07:21 +02:00
503.bg.html Update translations (#13796) 2021-07-21 10:30:34 +02:00
503.bs_BA.html Update translations (#10944) 2020-10-17 00:07:21 +02:00
503.ca.html Update translations (#10944) 2020-10-17 00:07:21 +02:00
503.cs.html Update translations (#12556) 2021-03-30 15:44:13 +02:00
503.da.html Update translations (#12412) 2021-03-16 15:49:29 +01:00
503.de.html Update translations (#10944) 2020-10-17 00:07:21 +02:00
503.el.html Update translations (#10944) 2020-10-17 00:07:21 +02:00
503.en_GB.html Update translations (#11779) 2021-01-20 22:58:26 +01:00
503.es.html Update translations (#12614) 2021-04-07 11:58:41 +02:00
503.et.html Update translations (#10944) 2020-10-17 00:07:21 +02:00
503.fa_IR.html Update translations (#12186) 2021-02-23 15:10:04 +01:00
503.fi.html Update translations (#13030) 2021-05-11 19:01:59 +02:00
503.fr.html Update translations (#13647) 2021-07-13 20:30:09 +02:00
503.gl.html Update translations (#12097) 2021-02-16 15:24:37 +01:00
503.he.html Update translations (#10970) 2020-10-20 15:34:57 +02:00
503.html Fix i18n issues reported on Crowdin (#10925) 2020-10-16 15:24:58 +02:00
503.hu.html Update translations (#13088) 2021-05-18 15:11:41 +02:00
503.hy.html Update translations (#10944) 2020-10-17 00:07:21 +02:00
503.id.html Update translations (#10944) 2020-10-17 00:07:21 +02:00
503.it.html Update translations (#11108) 2020-11-03 18:08:07 +01:00
503.ja.html Update translations (#13647) 2021-07-13 20:30:09 +02:00
503.ko.html Update translations (#11042) 2020-10-27 15:36:21 +01:00
503.lt.html Update translations (#10944) 2020-10-17 00:07:21 +02:00
503.lv.html Update translations (#10944) 2020-10-17 00:07:21 +02:00
503.nb_NO.html Update translations (#13860) 2021-07-27 15:24:03 +02:00
503.nl.html Update translations (#11042) 2020-10-27 15:36:21 +01:00
503.pl_PL.html Update translations (#10970) 2020-10-20 15:34:57 +02:00
503.pt_BR.html Update translations (#13796) 2021-07-21 10:30:34 +02:00
503.pt.html Update translations (#13647) 2021-07-13 20:30:09 +02:00
503.ro.html Update translations (#11756) 2021-01-19 16:14:59 +01:00
503.ru.html Update translations (#10944) 2020-10-17 00:07:21 +02:00
503.sk.html Update translations (#10944) 2020-10-17 00:07:21 +02:00
503.sl.html Update translations (#13088) 2021-05-18 15:11:41 +02:00
503.sq.html Update translations (#10944) 2020-10-17 00:07:21 +02:00
503.sr.html Update translations (#12614) 2021-04-07 11:58:41 +02:00
503.sv.html Update translations (#10944) 2020-10-17 00:07:21 +02:00
503.sw.html Update translations (#10944) 2020-10-17 00:07:21 +02:00
503.te.html Update translations (#10944) 2020-10-17 00:07:21 +02:00
503.th.html Update translations (#10944) 2020-10-17 00:07:21 +02:00
503.tr_TR.html Update translations (#13647) 2021-07-13 20:30:09 +02:00
503.uk.html Update translations (#11689) 2021-01-12 14:29:05 +01:00
503.ur.html Update translations (#10944) 2020-10-17 00:07:21 +02:00
503.vi.html Update translations (#11264) 2020-11-17 14:49:58 +01:00
503.zh_CN.html Update translations (#13796) 2021-07-21 10:30:34 +02:00
503.zh_TW.html Update translations (#12258) 2021-03-02 15:28:30 +01:00
popper.js.map FIX: Add popper sourcemap 2020-07-15 15:29:12 -04:00
route-recognizer.js.map FIX: Silence route-recognizer source map errors in development mode 2020-07-15 15:42:04 -04:00