mastodon/spec/services
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
..
activitypub Fix more keybase-related test failures (#10443) 2019-04-01 19:10:44 +02:00
pubsubhubbub Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
account_search_service_spec.rb Improve blocked view of profiles (#10491) 2019-04-07 04:59:13 +02:00
after_block_domain_from_account_service_spec.rb Fix domain hiding logic (#7765) 2018-06-09 22:46:54 +02:00
after_block_service_spec.rb Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
app_sign_up_service_spec.rb Admission-based registrations mode (#10250) 2019-03-14 05:28:30 +01:00
authorize_follow_service_spec.rb Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
batched_remove_status_service_spec.rb Add scheduled statuses (#9706) 2019-01-05 12:43:28 +01:00
block_domain_service_spec.rb Record account suspend/silence time and keep track of domain blocks (#10660) 2019-05-14 19:05:02 +02:00
block_service_spec.rb Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
bootstrap_timeline_service_spec.rb Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
fan_out_on_write_service_spec.rb Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
favourite_service_spec.rb Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
fetch_atom_service_spec.rb Ignore JSON-LD profile in mime type comparison (#9179) 2018-11-22 12:49:07 +01:00
fetch_link_card_service_spec.rb Ignore low-confidence CharlockHolmes guesses when parsing link cards (#9510) 2018-12-17 19:19:45 +01:00
fetch_oembed_service_spec.rb Fix undefined method error in sidekiq (#9807) 2019-01-14 17:28:41 +01:00
fetch_remote_account_service_spec.rb rubocop issues - Cleaning up (#8912) 2018-10-08 04:50:11 +02:00
fetch_remote_status_service_spec.rb Improve federated ID validation (#8372) 2018-08-22 20:55:14 +02:00
follow_service_spec.rb Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
hashtag_query_service_spec.rb Allow joining several hashtags in a single column (#8904) 2018-11-05 18:53:25 +01:00
import_service_spec.rb Export and import show_reblogs together with following list (#10495) 2019-04-08 07:28:27 +02:00
mute_service_spec.rb Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
notify_service_spec.rb Record account suspend/silence time and keep track of domain blocks (#10660) 2019-05-14 19:05:02 +02:00
post_status_service_spec.rb Prevent posting toots with media attachments from someone else (#9921) 2019-01-26 23:59:39 +01:00
precompute_feed_service_spec.rb Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
process_feed_service_spec.rb rubocop issues - Cleaning up (#8912) 2018-10-08 04:50:11 +02:00
process_interaction_service_spec.rb Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
process_mentions_service_spec.rb Prevent silenced local users from notifying remote users not following them (#10575) 2019-05-09 22:05:43 +02:00
reblog_service_spec.rb Fix reblogs privacy (#10302) 2019-03-17 14:54:09 +01:00
reject_follow_service_spec.rb Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
remove_status_service_spec.rb Add scheduled statuses (#9706) 2019-01-05 12:43:28 +01:00
report_service_spec.rb Set and store report URIs (#10303) 2019-03-17 15:34:56 +01:00
resolve_account_service_spec.rb Remove `pending` (#9752) 2019-01-08 09:42:56 +01:00
resolve_url_service_spec.rb Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
search_service_spec.rb Improve blocked view of profiles (#10491) 2019-04-07 04:59:13 +02:00
send_interaction_service_spec.rb Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
subscribe_service_spec.rb Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
suspend_account_service_spec.rb Reject existing Follows when suspending a remote account (#10230) 2019-03-10 16:18:58 +01:00
unblock_domain_service_spec.rb Record account suspend/silence time and keep track of domain blocks (#10660) 2019-05-14 19:05:02 +02:00
unblock_service_spec.rb Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
unfollow_service_spec.rb Reject existing Follow in addition to sending a Block (#9811) 2019-01-18 15:57:19 +01:00
unmute_service_spec.rb Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
unsubscribe_service_spec.rb Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
update_remote_profile_service_spec.rb rubocop issues - Cleaning up (#8912) 2018-10-08 04:50:11 +02:00
verify_link_service_spec.rb Fix link verification for remote accounts (#8868) 2018-10-04 15:47:03 +02:00