Commit Graph

9 Commits (086fc7ed7733c7ec3b51a2513d496670f6a97219)

Author SHA1 Message Date
Eugen Rochko de5305a3a5
Fix redirecting non-functional accounts on public pages ()
Fix 
Eugen Rochko 16cdaa1110
Fix uncaught errors in media proxy controller ()
Eugen Rochko a8b0bb355d
Fix uncaught 422 and 500 errors ()
Eugen Rochko 24552b5160
Add whitelist mode ()
Eugen Rochko 707ddf7808
Change domain blocks to automatically support subdomains ()
* Change domain blocks to automatically support subdomains

If a more authoritative domain is blocked (example.com), then the
same block will be applied to a subdomain (foo.example.com)

* Match subdomains of existing accounts when blocking/unblocking domains

* Improve code style
Eugen Rochko 8514ef723c
Fix login sometimes redirecting to paths that are not pages ()
Fix 
Akihiko Odaki 55fd55714a Raise Mastodon::RaceConditionError if Redis lock failed ()
An explicit error allows user agents to know the error and Sidekiq to
retry.
Eugen Rochko 41e6c8b151 Fix incomplete account records being read ()
* Fix incomplete account records being read

- Put account processing into redis lock
- Do not save until record is complete

* Fix spaces
Eugen Rochko 54edb4b853 When accessing uncached media attachment, redownload it ()
* When accessing uncached media attachment, redownload it

* Prevent re-download of rejected media