mastodon/app
ThibG d8d43a427a
Fix image uploads being random data when canvas read access is blocked (#15180)
Fixes #15178

PR #11499 introduced a way to deal with all-white canvas, but newer
Firefox versions set random data instead.

This PR detects whether canvas operations are reliable by comparing
the results on a hardcoded 2×2 pixels image, and memoizing the result.

This should be both more reliable and faster than the previous check.
2020-11-18 18:01:58 +01:00
..
chewy Change tootctl search deploy algorithm (#14300) 2020-07-14 18:10:35 +02:00
controllers Fix 2FA/sign-in token sessions being valid after password change (#14802) 2020-11-12 23:05:01 +01:00
helpers Add interrelationship icon (#15149) 2020-11-12 17:43:12 +01:00
javascript Fix image uploads being random data when canvas read access is blocked (#15180) 2020-11-18 18:01:58 +01:00
lib Fix streaming API allowing connections to persist after access token invalidation (#15111) 2020-11-12 23:05:24 +01:00
mailers Change account suspensions to be reversible by default (#14726) 2020-09-15 14:37:58 +02:00
models Fix streaming API allowing connections to persist after access token invalidation (#15111) 2020-11-12 23:05:24 +01:00
policies Add support for reversible suspensions through ActivityPub (#14989) 2020-11-08 00:28:39 +01:00
presenters Add user notes on accounts (#14148) 2020-06-30 19:19:50 +02:00
serializers Add support for reversible suspensions through ActivityPub (#14989) 2020-11-08 00:28:39 +01:00
services Fix crash in SuspendAccountWorker (#15106) 2020-11-08 18:29:48 +01:00
validators Improve email address validation (#14565) 2020-08-12 12:40:25 +02:00
views Add interrelationship icon (#15149) 2020-11-12 17:43:12 +01:00
workers Fix AccountDeletionWorker not accepting keyword arguments (#15152) 2020-11-13 22:17:04 +01:00