mastodon/spec/fabricators
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
..
assets
access_token_fabricator.rb Introduce access token fabricators (#4401) 2017-07-27 15:16:07 +02:00
accessible_access_token_fabricator.rb
account_domain_block_fabricator.rb
account_fabricator.rb
account_identity_proof_fabricator.rb
account_moderation_note_fabricator.rb
account_pin_fabricator.rb
account_stat_fabricator.rb
account_tag_stat_fabricator.rb
account_warning_fabricator.rb Add moderation warnings (#9519) 2018-12-22 20:02:09 +01:00
account_warning_preset_fabricator.rb
admin_action_log_fabricator.rb
application_fabricator.rb Fix tests, add applications to eager loading/cache for statuses, fix 2017-01-15 14:01:33 +01:00
backup_fabricator.rb Account archive download (#6460) 2018-02-21 23:21:32 +01:00
block_fabricator.rb add more tests to models 2017-04-05 00:29:56 +02:00
conversation_account_fabricator.rb
conversation_fabricator.rb Add conversation model, <ostatus:conversation /> (#3016) 2017-05-12 19:09:21 +02:00
conversation_mute_fabricator.rb
custom_emoji_fabricator.rb
custom_filter_fabricator.rb Keyword/phrase filtering (#7905) 2018-06-29 15:34:36 +02:00
domain_block_fabricator.rb Cover Admin::DomainBlocksController more (#3329) 2017-06-25 21:42:36 +02:00
email_domain_block_fabricator.rb
favourite_fabricator.rb
featured_tag_fabricator.rb
follow_fabricator.rb
follow_request_fabricator.rb
identity_fabricator.rb CAS + SAML authentication feature (#6425) 2018-02-04 05:42:13 +01:00
import_fabricator.rb
invite_fabricator.rb
list_account_fabricator.rb
list_fabricator.rb Lint pass (#8876) 2018-10-04 12:36:53 +02:00
media_attachment_fabricator.rb Update fabricator for MediaAttachment to attach a file according to type (#3862) 2017-06-20 20:40:45 +02:00
mention_fabricator.rb
mute_fabricator.rb More status specs (#2564) 2017-04-28 15:10:41 +02:00
notification_fabricator.rb Change columns in notifications nonnullable (#6764) 2018-03-24 12:51:28 +01:00
poll_fabricator.rb
poll_vote_fabricator.rb
relay_fabricator.rb Lint pass (#8876) 2018-10-04 12:36:53 +02:00
report_fabricator.rb
report_note_fabricator.rb Add tests for report notes controller (#7589) 2018-05-22 14:45:10 +02:00
scheduled_status_fabricator.rb
session_activation_fabricator.rb
setting_fabricator.rb
site_upload_fabricator.rb Improvements to image upload validation and creation (#10431) 2019-04-01 07:30:46 +02:00
status_fabricator.rb Switch to static URIs, new URI format in both protocols for new statuses (#4815) 2017-09-06 19:01:28 +02:00
status_pin_fabricator.rb
status_stat_fabricator.rb
stream_entry_fabricator.rb Cover ApplicationController more in spec (#3230) 2017-05-22 17:58:57 +02:00
subscription_fabricator.rb
tag_fabricator.rb
user_fabricator.rb
user_invite_request_fabricator.rb
web_push_subscription_fabricator.rb Ensure push subscription is immediately removed when application is revoked (#7548) 2018-05-19 21:05:08 +02:00
web_setting_fabricator.rb Ensure push subscription is immediately removed when application is revoked (#7548) 2018-05-19 21:05:08 +02:00