Commit Graph

16 Commits

Author SHA1 Message Date
b6519ab3f5 Fix inconsistent naming of Instance.by_domain_and_subdomain (#25159) 2023-05-31 09:57:24 +02:00
1d588d58f1 Improve various queries against account domains (#25126) 2023-05-25 09:27:16 +02:00
af824db398 Fix Rails/InverseOf cop (#24732) 2023-04-30 14:06:53 +02:00
717683d1c3 Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
0396acf39e Add audit log entries for user roles (#19040)
* Refactor audit log schema

* Add audit log entries for user roles
2022-08-25 20:39:40 +02:00
5db1f377ea Fix nil error when viewing suspended domain in admin UI (#17765) 2022-03-14 05:27:37 +01:00
18e27e0488 Enable domain purge button on suspended domains too (#17741)
Related: #17209
2022-03-11 04:58:09 +01:00
bd53dd5210 Change design of federation pages in admin UI (#17704)
* Change design of federation pages in admin UI

* Fix query performance in instance media attachments measure

* Fix reblogs being included in instance languages dimension
2022-03-09 08:52:32 +01:00
7cb34b32f8 Add management of delivery availability in Federation settings (#15771)
* 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)
2021-05-05 23:39:02 +02:00
216b85b053 Fix performance on instances list in admin UI (#15282)
- Reduce duplicate queries
- Remove n+1 queries
- Add accounts count to detailed view
- Add separate action log entry for updating existing domain blocks
2020-12-14 09:06:34 +01:00
24552b5160 Add whitelist mode (#11291) 2019-07-30 11:10:46 +02:00
1b052c7b2d Remove expensive counters from federation page in admin UI (#11139) 2019-06-22 00:39:09 +02:00
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
2019-06-22 00:13:10 +02:00
94e5e834f2 Improve performance of list of blocked domains by caching counts (#10374) 2019-03-26 00:36:35 +01:00
1c6588accc Redesign admin instances area (#9645) 2019-01-08 13:39:49 +01:00
a132332b86 Add Instance class to list admin records (#3443) 2017-05-31 20:38:44 +02:00