Commit Graph

6 Commits (c4043ba2f22f2a21fb2c6bc2febb6535c14ff878)

Author SHA1 Message Date
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