1
0
Fork 0
forked from fedi/mastodon
mastodon/app
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
..
chewy Add type, limit, offset, min_id, max_id, account_id to search API (#10091) 2019-02-26 15:21:36 +01:00
controllers Record account suspend/silence time and keep track of domain blocks (#10660) 2019-05-14 19:05:02 +02:00
helpers Add invite request to pending account notification e-mail (#10528) 2019-04-10 00:36:01 +02:00
javascript Fix some colors in light theme (#10754) 2019-05-12 05:15:42 +02:00
lib Prevent silenced local users from notifying remote users not following them (#10575) 2019-05-09 22:05:43 +02:00
mailers Fix error in AdminMailer#new_pending_account (#10264) 2019-03-14 14:20:22 +01:00
models Record account suspend/silence time and keep track of domain blocks (#10660) 2019-05-14 19:05:02 +02:00
policies Admission-based registrations mode (#10250) 2019-03-14 05:28:30 +01:00
presenters Improve blocked view of profiles (#10491) 2019-04-07 04:59:13 +02:00
serializers Add toot source to delete result to ease Delete & Redraft (#10669) 2019-05-11 06:46:43 +02:00
services Record account suspend/silence time and keep track of domain blocks (#10660) 2019-05-14 19:05:02 +02:00
validators Change e-mail whitelist/blacklist to not be checked when invited (#10683) 2019-05-03 23:44:44 +02:00
views Record account suspend/silence time and keep track of domain blocks (#10660) 2019-05-14 19:05:02 +02:00
workers Do not retry processing ActivityPub jobs raising validation errors (#10614) 2019-05-03 23:45:37 +02:00