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
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
..
assets FIX: Handle image decoding failure in composer image optimization (#13555) 2021-06-28 18:21:39 -03:00
controllers DEV: adds support for bannered until (#13417) 2021-06-24 11:35:36 +02:00
helpers FEATURE: Render emojis on GitHub labels when oneboxing an issue. (#13531) 2021-06-25 14:48:36 -03:00
jobs FEATURE: Use group SMTP job and mailer instead of UserNotifications change (#13489) 2021-06-28 08:55:13 +10:00
mailers FIX: Do not show In Reply To for group SMTP emails (#13541) 2021-06-28 13:19:17 +10:00
models FIX: Missing category edit icon. 2021-06-28 10:54:23 +08:00
serializers FIX: topic level bookmark button (#13530) 2021-06-28 12:24:23 +04:00
services FEATURE: Use group SMTP job and mailer instead of UserNotifications change (#13489) 2021-06-28 08:55:13 +10:00
views FIX: Improve participant display in group SMTP emails (#13539) 2021-06-28 10:42:06 +10:00