Commit Graph

10 Commits (fbff89be037c751932c720b0d5cd9221e430be5f)

Author SHA1 Message Date
Eugen Rochko 3134691948
Add support for reversible suspensions through ActivityPub ()
Takeshi Umeda d6fe0c94ca
Add account sensitized ()
* Add account sensitized

* Fix i18n normalize

* Fix description and spec

* Fix spec

* Fix wording
Eugen Rochko ed099d8bdc
Change account suspensions to be reversible by default ()
Eugen Rochko 42c4322ce7
Fix reported statuses not being included in warning e-mail ()
ThibG 61f35c1a8a
Fix reported accounts not being whitelisted when resolving a spamcheck report ()
Eugen Rochko b5f7e12817
Remove auto-silence behaviour from spam check ()
Fix 
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
Eugen Rochko 73ca0bb925
Add option to include reported statuses in warning e-mail ()
Eugen Rochko ae003d54f9
Fix option to send e-mail notification about account action always being true ()
Eugen Rochko 3c033c4352
Add moderation warnings ()
* Add moderation warnings

Replace individual routes for disabling, silencing, and suspending
a user, as well as the report update route, with a unified account
action controller that allows you to select an action (none,
disable, silence, suspend) as well as whether it should generate an
e-mail notification with optional custom text. That notification,
with the optional custom text, is saved as a warning.

Additionally, there are warning presets you can configure to save
time when performing the above.

* Use Account#local_username_and_domain