Commit Graph

6 Commits (603b245cc62acba0d8f71ad4c31d2f1676e90190)

Author SHA1 Message Date
Nick Schonning 65669d3c57
Fix more haml-lint Rubocop ()
Eugen Rochko 392b367835
Fix IDN domains not being rendered correctly in a few left-over places ()
Claire 4f19504986
Add inline description of moderation actions in moderation interface ()
Eugen Rochko f556f79b77
Add titles to warning presets in admin UI ()
Eugen Rochko 73ca0bb925
Add option to include reported statuses in warning e-mail ()
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