Eugen Rochko
707ddf7808
Change domain blocks to automatically support subdomains ( #11138 )
...
* 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
6 years ago
Eugen Rochko
8514ef723c
Fix login sometimes redirecting to paths that are not pages ( #11019 )
...
Fix #11016
6 years ago
Akihiko Odaki
55fd55714a
Raise Mastodon::RaceConditionError if Redis lock failed ( #7511 )
...
An explicit error allows user agents to know the error and Sidekiq to
retry.
7 years ago
Eugen Rochko
41e6c8b151
Fix incomplete account records being read ( #4998 )
...
* Fix incomplete account records being read
- Put account processing into redis lock
- Do not save until record is complete
* Fix spaces
7 years ago
Eugen Rochko
54edb4b853
When accessing uncached media attachment, redownload it ( #4955 )
...
* When accessing uncached media attachment, redownload it
* Prevent re-download of rejected media
7 years ago