Eugen Rochko
eac19f2300
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
5 years ago
Eugen Rochko
75ef673216
Fix login sometimes redirecting to paths that are not pages ( #11019 )
...
Fix #11016
6 years ago
Akihiko Odaki
5dadb6896b
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
48377dfe46
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
26c797bf0d
When accessing uncached media attachment, redownload it ( #4955 )
...
* When accessing uncached media attachment, redownload it
* Prevent re-download of rejected media
7 years ago