Commit Graph

21 Commits (6ae1fcd0591ece24867483865f41e95b80cc0fb2)

Author SHA1 Message Date
Matt Jankowski 86500e3312
Extract scenic view model common methods to concern ()
Matt Jankowski 42ab855b23
Add specs for `Instance` model scopes and add `with_domain_follows` scope ()
Matt Jankowski 38f7f8b909
Tidy up association declaration in `Instance` model ()
Matt Jankowski 0b853678a4
Add coverage for `api/v1/peers/search` endpoint and extract controller query to Instance scope ()
Claire b4e739ff0f
Change interaction modal in web UI ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Claire b6519ab3f5
Fix inconsistent naming of Instance.by_domain_and_subdomain ()
Claire 1d588d58f1
Improve various queries against account domains ()
Matt Jankowski af824db398
Fix Rails/InverseOf cop ()
Nick Schonning 717683d1c3
Autofix Rubocop remaining Layout rules ()
Eugen Rochko 0396acf39e
Add audit log entries for user roles ()
* Refactor audit log schema

* Add audit log entries for user roles
Eugen Rochko 5db1f377ea
Fix nil error when viewing suspended domain in admin UI ()
Jeong Arm 18e27e0488
Enable domain purge button on suspended domains too ()
Related: 
Eugen Rochko bd53dd5210
Change design of federation pages in admin UI ()
* Change design of federation pages in admin UI

* Fix query performance in instance media attachments measure

* Fix reblogs being included in instance languages dimension
Takeshi Umeda 7cb34b32f8
Add management of delivery availability in Federation settings ()
* Add management of delivery availavility in Federation settings

* fix translate

* Remove useless object creation

* Fix DeepSource issue

* Add shortcut for all

* Fix DeepSource(skipcq)

* Change 'remove' to 'clear'

* Fix style

* Change class method name (exhausted_deliveries_key_by)
Eugen Rochko 216b85b053
Fix performance on instances list in admin UI ()
- Reduce duplicate queries
- Remove n+1 queries
- Add accounts count to detailed view
- Add separate action log entry for updating existing domain blocks
Eugen Rochko 24552b5160
Add whitelist mode ()
Eugen Rochko 1b052c7b2d
Remove expensive counters from federation page in admin UI ()
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 94e5e834f2
Improve performance of list of blocked domains by caching counts ()
Eugen Rochko 1c6588accc
Redesign admin instances area ()
Matt Jankowski a132332b86 Add Instance class to list admin records ()