Commit Graph

13 Commits (df30002df8aded4750db7ba7fb2e7948b8d8b3db)

Author SHA1 Message Date
Eugen Rochko 5edff32733
Change delivery failure tracking to work with hostnames instead of URLs ()
Eugen Rochko 6feafb8802
Various fixes and improvements ()
* Fix unused role routes being generated

* Remove unused JavaScript code

* Refactor filters code to be DRYer

* Fix `.count == 0` comparisons to `.empty?` in views

* Fix filters in views
ThibG bced70469a Add domain block notes ()
* Add database columns for adding notes to domain blocks/restrctions

* Add admin UI to set private and public comments when blocking a domain

* Add text for private and public comments on domain blocks

* Show domain block comments in admin UI

* Add comments to the domain block undo page

* Make UnblockDomainService more robust regarding upgraded domain blocks

* Allow editing domain blocks

* Rename button from “undo domain block” to “view domain block” in account admin UI

* Change test to unsilence silenced users from upgraded blocks
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
ThibG 6840a77711 Add domain search/filter to the "Federation" (/admin/instances) page ()
Eugen Rochko 1c6588accc
Redesign admin instances area ()
Eugen Rochko d6b9a62e0a
Extract counters from accounts table to account_stats table ()
Eugen Rochko 7bb8b0b2fc
Add moderator role and add pundit policies for admin actions ()
* Add moderator role and add pundit policies for admin actions

* Add rake task for turning user into mod and revoking it again

* Fix handling of unauthorized exception

* Deliver new report e-mails to staff, not just admins

* Add promote/demote to admin UI, hide some actions conditionally

* Fix unused i18n
nullkal da77f65c46 Add instance search feature ()
Eugen Rochko 4b911fea03 Add button to re-subscribe to all accounts from a domain ()
Matt Jankowski a132332b86 Add Instance class to list admin records ()
Matt Jankowski 55e1503522 Instances list in admin ()
* Add admin/instances index action

* Add link to instances admin page

* View lists instances

* Instances, grouped by domain, ordered by count

* Use Account.remote scope

* Extract method: Account.by_domain_accounts