discourse/app
Rafael dos Santos Silva fae68455b7
FIX: Detect decode failures earlier in image optimization pipeline (#13595)
* FIX: Detect decode failures earlier in image optimization pipeline

Follow up to 9b51b9b but also detects the bug earlier and backs off.

What iOS 15 is doing is returning all zeroes to `ctx.getImageData`,
so we don't have to wait until resize to detect the problem.

* Update app/assets/javascripts/discourse/app/lib/media-optimization-utils.js

Co-authored-by: Jarek Radosz <jradosz@gmail.com>

Co-authored-by: Jarek Radosz <jradosz@gmail.com>
2021-06-30 19:03:34 -03:00
..
assets FIX: Detect decode failures earlier in image optimization pipeline (#13595) 2021-06-30 19:03:34 -03:00
controllers FIX: Do not redirect to a topic user cannot see (#13550) 2021-06-30 12:00:47 +03:00
helpers FEATURE: Render emojis on GitHub labels when oneboxing an issue. (#13531) 2021-06-25 14:48:36 -03:00
jobs FIX: Remove legacy topic timer code (#13544) 2021-06-29 09:16:25 +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: Don’t translate TrustLevel name when generating links (#13588) 2021-06-30 14:19:15 -04:00
serializers FIX: topic level bookmark button (#13530) 2021-06-28 12:24:23 +04:00
services FEATURE: add staff action logs for watched words (#13574) 2021-06-30 11:22:46 +05:30
views FIX: Improve participant display in group SMTP emails (#13539) 2021-06-28 10:42:06 +10:00