Commit Graph

7 Commits (75e5a6e43738c278390c03c96d5d3e8575a2783c)

Author SHA1 Message Date
Eugen Rochko dde8739020
Fix reports of already suspended accounts being recorded (#16047) 4 years ago
luigi 087ed84367
Optimize map { ... }.compact calls (#15513)
* Optimize map { ... }.compact

using Enumerable#filter_map, supported since Ruby 2.7

* Add poyfill for Enumerable#filter_map
4 years ago
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
ThibG a20354a20b Set and store report URIs (#10303)
Fixes #10271
6 years ago
ThibG b2f4114550 Do not ignore federated reports targetting already-reported accounts (#9534) 6 years ago
Eugen Rochko fd5285658f
Add option to block reports from domain (#8830) 6 years ago
Eugen Rochko 41a01bec23
Federated reports (#6570)
* Fix #2176: Federated reports

* UI for federated reports

* Add spec for ActivityPub Flag handler

* Add spec for ReportService
7 years ago