You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
5 years ago
..
chewy Change `tootctl search deploy` algorithm (#14300) 6 years ago
controllers Fix 2FA/sign-in token sessions being valid after password change (#14802) 5 years ago
helpers Add interrelationship icon (#15149) 5 years ago
javascript Fix image uploads being random data when canvas read access is blocked (#15180) 5 years ago
lib Fix streaming API allowing connections to persist after access token invalidation (#15111) 5 years ago
mailers Change account suspensions to be reversible by default (#14726) 5 years ago
models Fix streaming API allowing connections to persist after access token invalidation (#15111) 5 years ago
policies Add support for reversible suspensions through ActivityPub (#14989) 5 years ago
presenters Add user notes on accounts (#14148) 6 years ago
serializers Add support for reversible suspensions through ActivityPub (#14989) 5 years ago
services Fix crash in SuspendAccountWorker (#15106) 5 years ago
validators Improve email address validation (#14565) 6 years ago
views Add interrelationship icon (#15149) 5 years ago
workers Fix AccountDeletionWorker not accepting keyword arguments (#15152) 5 years ago