mastodon/app/views/admin
ThibG 14f6ce2885 Record account suspend/silence time and keep track of domain blocks (#10660)
* Record account suspend/silence time and keep track of domain blocks

* Also unblock users who were suspended/silenced before dates were recorded

* Add tests

* Keep track of suspending date for users suspended through the CLI

* Show accurate number of accounts that would be affected by unsuspending an instance

* Change migration to set silenced_at and suspended_at

* Revert "Also unblock users who were suspended/silenced before dates were recorded"

This reverts commit a015c65d2d1e28c7b7cfab8b3f8cd5fb48b8b71c.

* Switch from using suspended and silenced to suspended_at and silenced_at

* Add post-deployment migration script to remove `suspended` and `silenced` columns

* Use Account#silence! and Account#suspend! instead of updating the underlying property

* Add silenced_at and suspended_at migration to post-migration

* Change account fabricator to translate suspended and silenced attributes

* Minor fixes

* Make unblocking domains always retroactive
2019-05-14 19:05:02 +02:00
..
account_actions Add moderation warnings (#9519) 2018-12-22 20:02:09 +01:00
account_moderation_notes
account_warnings Add moderation warnings (#9519) 2018-12-22 20:02:09 +01:00
accounts Add batch actions for approving and rejecting pending accounts (#10469) 2019-04-06 17:53:45 +02:00
action_logs Use local time in audit log (#10751) 2019-05-11 06:46:01 +02:00
change_emails Hide misleading “You will be sent a confirmation e-mail” hint from admin view (#9973) 2019-02-05 15:11:35 +01:00
custom_emojis
dashboard Change icons of features on admin dashboard to remove bias (#10366) 2019-03-26 01:24:19 +01:00
domain_blocks Record account suspend/silence time and keep track of domain blocks (#10660) 2019-05-14 19:05:02 +02:00
email_domain_blocks Add option to block reports from domain (#8830) 2018-10-20 08:02:44 +02:00
followers Fix admin UI view of local followers (#9712) 2019-01-04 11:28:14 +01:00
instances Improve performance of list of blocked domains by caching counts (#10374) 2019-03-26 00:36:35 +01:00
invites Fix maxed-out invites not showing up as expired in UI (#10274) 2019-03-15 05:35:17 +01:00
pending_accounts Add "why do you want to join" field to invite requests (#10524) 2019-04-09 23:06:30 +09:00
relays
report_notes
reports Add moderation warnings (#9519) 2018-12-22 20:02:09 +01:00
settings Add validations to admin settings (#10348) 2019-03-23 14:07:04 +01:00
statuses Add quick links to the admin interface in the WebUI (#8545) 2019-01-04 13:10:43 +01:00
subscriptions
tags Add profile directory (#9427) 2018-12-06 17:36:11 +01:00
warning_presets Add moderation warnings (#9519) 2018-12-22 20:02:09 +01:00