discourse/public
Martin Brennan 2461ed303c
DEV: Move loadLibs to explicit install message in media-optimization-worker (#14707)
Previously, `loadLibs` was called inside the `optimize` function of
the media-optimization-worker, which meant that it could be hit
multiple times causing load errors (as seen in b69c2f7311)

This commit moves that call to a specific message handler (the `install` message)
for the service worker, and refactors the service for the media-optimization-worker
to wait for this installation to complete before continuing with processing
image optimizations.

This way, we know for sure based on promises and worker messages
that the worker is installed and has all required libraries
loaded before we continue on with attempting any processing. The
change made in b69c2f7311 is no
longer needed with this commit.
2021-10-25 13:17:43 +10:00
..
images DEV: adds grinning_face_with_smiling_eyes.png to google-classic (#13856) 2021-07-27 13:27:13 +02:00
javascripts DEV: Move loadLibs to explicit install message in media-optimization-worker (#14707) 2021-10-25 13:17:43 +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.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.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.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.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 (#14579) 2021-10-12 16:00:22 +02:00
500.lv.html Update translations (#14063) 2021-08-24 15:25:44 +02: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.html Update translations (#13647) 2021-07-13 20:30:09 +02:00
500.pt_BR.html Update translations (#13796) 2021-07-21 10:30:34 +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 (#14063) 2021-08-24 15:25:44 +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.html Update translations (#13647) 2021-07-13 20:30:09 +02:00
503.pt_BR.html Update translations (#13796) 2021-07-21 10:30:34 +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 DEV: updates popperjs 2.0.6 -> 2.9.3 (#14163) 2021-08-26 16:37:04 +02:00
route-recognizer.js.map FIX: Silence route-recognizer source map errors in development mode 2020-07-15 15:42:04 -04:00