You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/spec/fabricators
Claire 4ac78e2a06
Add feature to automatically delete old toots (#16529)
* Add account statuses cleanup policy model

* Record last inspected toot to delete to speed up successive calls to statuses_to_delete

* Add service to cleanup a given account's statuses within a budget

* Add worker to go through account policies and delete old toots

* Fix last inspected status id logic

All existing statuses older or equal to last inspected status id must be
kept by the current policy. This is an invariant that must be kept so that
resuming deletion from the last inspected status remains sound.

* Add tests

* Refactor scheduler and add tests

* Add user interface

* Add support for discriminating based on boosts/favs

* Add UI support for min_reblogs and min_favs, rework UI

* Address first round of review comments

* Replace Snowflake#id_at_start with with_random parameter

* Add tests

* Add tests for StatusesCleanupController

* Rework settings page

* Adjust load-avoiding mechanisms

* Please CodeClimate
4 years ago
..
assets
access_token_fabricator.rb
accessible_access_token_fabricator.rb
account_alias_fabricator.rb Add account migration UI (#11846) 5 years ago
account_deletion_request_fabricator.rb Change account suspensions to be reversible by default (#14726) 4 years ago
account_domain_block_fabricator.rb
account_fabricator.rb Bump faker from 1.9.6 to 2.1.0 and update faker api (#11489) 6 years ago
account_identity_proof_fabricator.rb Bump faker from 1.9.6 to 2.1.0 and update faker api (#11489) 6 years ago
account_migration_fabricator.rb Change move handler to carry blocks over (#14144) 5 years ago
account_moderation_note_fabricator.rb
account_note_fabricator.rb Add user notes on accounts (#14148) 5 years ago
account_pin_fabricator.rb
account_stat_fabricator.rb
account_statuses_cleanup_policy_fabricator.rb Add feature to automatically delete old toots (#16529) 4 years ago
account_tag_stat_fabricator.rb
account_warning_fabricator.rb
account_warning_preset_fabricator.rb
admin_action_log_fabricator.rb
announcement_fabricator.rb Add announcements (#12662) 5 years ago
announcement_mute_fabricator.rb Add announcements (#12662) 5 years ago
announcement_reaction_fabricator.rb Add announcements (#12662) 5 years ago
application_fabricator.rb
backup_fabricator.rb
block_fabricator.rb
bookmark_fabricator.rb Add bookmarks (#7107) 5 years ago
canonical_email_block_fabricator.rb Add canonical e-mail blocks for suspended accounts (#16049) 4 years ago
conversation_account_fabricator.rb
conversation_fabricator.rb
conversation_mute_fabricator.rb
custom_emoji_category_fabricator.rb
custom_emoji_fabricator.rb
custom_filter_fabricator.rb
device_fabricator.rb Add E2EE API (#13820) 5 years ago
domain_allow_fabricator.rb Add whitelist mode (#11291) 6 years ago
domain_block_fabricator.rb
email_domain_block_fabricator.rb
encrypted_message_fabricator.rb Add E2EE API (#13820) 5 years ago
favourite_fabricator.rb
featured_tag_fabricator.rb
follow_fabricator.rb
follow_recommendation_suppression_fabricator.rb Add cold-start follow recommendations (#15945) 4 years ago
follow_request_fabricator.rb
identity_fabricator.rb
import_fabricator.rb
invite_fabricator.rb
ip_block_fabricator.rb Add IP-based rules (#14963) 4 years ago
list_account_fabricator.rb
list_fabricator.rb
login_activity_fabricator.rb Add authentication history (#16408) 4 years ago
marker_fabricator.rb Add timeline read markers API (#11762) 5 years ago
media_attachment_fabricator.rb Fix media attachments without file being uploadable (#12562) 5 years ago
mention_fabricator.rb
mute_fabricator.rb
notification_fabricator.rb
one_time_key_fabricator.rb Add E2EE API (#13820) 5 years ago
poll_fabricator.rb
poll_vote_fabricator.rb
relay_fabricator.rb
report_fabricator.rb
report_note_fabricator.rb
rule_fabricator.rb Add server rules (#15769) 4 years ago
scheduled_status_fabricator.rb
session_activation_fabricator.rb
setting_fabricator.rb
site_upload_fabricator.rb
status_fabricator.rb
status_pin_fabricator.rb Add more tests for ActivityPub controllers (#13585) 5 years ago
status_stat_fabricator.rb
system_key_fabricator.rb Add E2EE API (#13820) 5 years ago
tag_fabricator.rb
unavailable_domain_fabricator.rb Change delivery failure tracking to work with hostnames instead of URLs (#13437) 5 years ago
user_fabricator.rb
user_invite_request_fabricator.rb
web_push_subscription_fabricator.rb
web_setting_fabricator.rb
webauthn_credential_fabricator.rb Add WebAuthn as an alternative 2FA method (#14466) 5 years ago