Commit Graph

17 Commits

Author SHA1 Message Date
Claire 3ed3d54bf3
Fix reports not being closed when performing batch suspensions () 2023-05-16 14:56:49 +02:00
Claire f8bb4d0d6b
Fix server error when failing to follow back followers from `/relationships` () 2023-03-03 20:36:18 +01:00
Claire c2a046ded1
Fix “Remove all followers from the selected domains” being more destructive than it claims () 2023-03-03 20:25:15 +01:00
Claire 0cc77263fc
Change batch account suspension to create a strike () 2022-11-17 10:52:51 +01:00
Eugen Rochko 5b0e8cc92b
Add ability to select all accounts matching search for batch actions () 2022-08-25 23:33:34 +02:00
Eugen Rochko 0396acf39e
Add audit log entries for user roles ()
* Refactor audit log schema

* Add audit log entries for user roles
2022-08-25 20:39:40 +02:00
Claire 03d59340da
Fix Sidekiq warnings about JSON serialization ()
* Fix Sidekiq warnings about JSON serialization

This occurs on every symbol argument we pass, and every symbol key in hashes,
because Sidekiq expects strings instead.

See https://github.com/mperham/sidekiq/pull/5071

We do not need to change how workers parse their arguments because this has
not changed and we were already converting to symbols adequately or using
`with_indifferent_access`.

* Set Sidekiq to raise on unsafe arguments in test mode

In order to more easily catch issues that would produce warnings in production
code.
2022-01-28 00:43:56 +01:00
Eugen Rochko 0fb9536d38
Add batch suspend for accounts in admin UI () 2021-12-05 21:48:39 +01:00
Takeshi Umeda 17f4e457b3
Add remove from followers api ()
* Add followed_by? to account_interactions

* Add RemoveFromFollowersService

* Fix AccountBatch to use RemoveFromFollowersService

* Add remove from followers API
2021-10-18 12:02:35 +02:00
Eugen Rochko f7117646af
Add cold-start follow recommendations () 2021-04-12 12:37:14 +02:00
Eugen Rochko 48bef17cc9
Fix slow distinct queries where grouped queries are faster ()
About 2x speed-up on inboxes query
2020-12-07 12:08:30 +01:00
Takeshi Umeda 2b1a6e734f
Add follow selected followers button ()
* Add follow selected followers button

* Fix unused variable

* Fix i18n normalize
2020-11-12 16:58:00 +01:00
Eugen Rochko ed099d8bdc
Change account suspensions to be reversible by default () 2020-09-15 14:37:58 +02:00
Eugen Rochko c5d37f18cb
Change deletes to preserve soft-deleted statuses in unresolved reports ()
Change all account actions except "none" to resolve all unresolved reports

Refactor `SuspendAccountService` to be more readable
2019-09-11 16:32:44 +02:00
Eugen Rochko f2b743e715
Refactor all ActivityPub deliveries to be serialized and signed through one concern () 2019-06-04 23:11:18 +02:00
Eugen Rochko e1d0390e29
Add batch actions for approving and rejecting pending accounts () 2019-04-06 17:53:45 +02:00
Eugen Rochko 1c113fd72d
Add relationship manager UI () 2019-03-16 11:23:22 +01:00