discourse/public/javascripts
Rafael dos Santos Silva 99da221034
FIX: Handle image decoding failure in composer image optimization (#13555)
There are some hard limits in browser Canvas implementations, that will
throw a runtime exception when crossed. Since those limits are platform
dependent, the best we can do is catch it and back off from trying to
optimize a problematic file.

For example, a 60MB PNG can be processed fine by Chrome but Firefox will
fail trying to extract the ImageData from the CanvasRenderingContext2D
with NS_ERROR_FAILURE.

Also cleans up the media-optimization-utils and add post-resize size logs
2021-06-28 18:21:39 -03:00
..
@json-editor/json-editor/2.5.2 DEV: Add experimental json_scheme site setting type (#12226) 2021-03-01 09:15:17 -05:00
ace DEV: Upgrade ACE Editor to 1.4.12, remove extra ACE files (#10431) 2020-08-13 21:53:27 -04:00
ace.js/1.4.12 DEV - write JS files to versioned subdirectories (#10707) 2020-09-21 15:06:56 -04:00
chart.js DEV: Update chart.js from 2.9.3 to 2.9.4 (#13026) 2021-05-12 17:28:16 +02:00
chartjs-plugin-datalabels/0.7.0 DEV - write JS files to versioned subdirectories (#10707) 2020-09-21 15:06:56 -04:00
diffhtml/1.0.0-beta.18 FEATURE: Use diffhtml to update composer preview (#11237) 2021-02-18 16:07:26 +02:00
magnific-popup/1.1.0 DEV - write JS files to versioned subdirectories (#10707) 2020-09-21 15:06:56 -04:00
pikaday/1.8.0 DEV - write JS files to versioned subdirectories (#10707) 2020-09-21 15:06:56 -04:00
spectrum-colorpicker/1.8.0 DEV - write JS files to versioned subdirectories (#10707) 2020-09-21 15:06:56 -04:00
squoosh FEATURE: Optimize images before upload (#13432) 2021-06-23 12:31:12 -03:00
workbox DEV: enable CORS to all CDN get requests from workbox. (#11896) 2021-02-02 11:38:29 +05:30
Chart.min.js DEV: Update chart.js from 2.9.3 to 2.9.4 (#13026) 2021-05-12 17:28:16 +02:00
chartjs-plugin-datalabels.min.js FEATURE: Poll breakdown 2.0 (#10345) 2020-08-06 17:57:06 +02:00
count.js FIX: More safety when displaying link counts on blogs 2014-05-20 15:20:33 -04:00
diffhtml.min.js FEATURE: Use diffhtml to update composer preview (#11237) 2021-02-18 16:07:26 +02:00
embed-topics.js FIX: The attribute is `discourse-url` not `data-discourse-url` 2020-10-28 17:12:29 -04:00
embed.js FEATURE: Use "no-referrer-when-downgrade" as our embed policy 2020-10-16 13:23:06 -04:00
jquery.magnific-popup.min.js Use image gallery feature of magnific 2017-04-25 11:23:15 +09:00
media-optimization-worker.js FIX: Handle image decoding failure in composer image optimization (#13555) 2021-06-28 18:21:39 -03:00
pikaday.js DEV: pikaday 1.8.0 (#7536) 2019-05-13 15:09:04 +02:00
spectrum.css Use Yarn to manage dependencies, cleanup unused bootstrap libs (#6436) 2018-10-03 10:15:43 -04:00
spectrum.js Update moment and spectrum 2020-01-06 12:56:47 -05:00