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
3 years ago
..
assets Improvements to image upload validation and creation (#10431) 6 years ago
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) 5 years ago
account_identity_proof_fabricator.rb Bump faker from 1.9.6 to 2.1.0 and update faker api (#11489) 5 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 Public profile endorsements (accounts picked by profile owner) (#8146) 6 years ago
account_stat_fabricator.rb Extract counters from accounts table to account_stats table (#9295) 6 years ago
account_statuses_cleanup_policy_fabricator.rb Add feature to automatically delete old toots (#16529) 3 years ago
account_tag_stat_fabricator.rb Add profile directory (#9427) 6 years ago
account_warning_fabricator.rb Add moderation warnings (#9519) 6 years ago
account_warning_preset_fabricator.rb Add moderation warnings (#9519) 6 years ago
admin_action_log_fabricator.rb Add logging of admin actions (#5757) 7 years ago
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 Account archive download (#6460) 7 years ago
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 Add conversations API (#8832) 6 years ago
conversation_fabricator.rb
conversation_mute_fabricator.rb
custom_emoji_category_fabricator.rb Add categories for custom emojis (#11196) 6 years ago
custom_emoji_fabricator.rb
custom_filter_fabricator.rb Keyword/phrase filtering (#7905) 7 years ago
device_fabricator.rb Add E2EE API (#13820) 5 years ago
domain_allow_fabricator.rb Add whitelist mode (#11291) 5 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 Add featured hashtags to profiles (#9755) 6 years ago
follow_fabricator.rb
follow_recommendation_suppression_fabricator.rb Add cold-start follow recommendations (#15945) 4 years ago
follow_request_fabricator.rb
identity_fabricator.rb CAS + SAML authentication feature (#6425) 7 years ago
import_fabricator.rb
invite_fabricator.rb Add consumable invites (#5814) 7 years ago
ip_block_fabricator.rb Add IP-based rules (#14963) 4 years ago
list_account_fabricator.rb
list_fabricator.rb Lint pass (#8876) 6 years ago
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 Change columns in notifications nonnullable (#6764) 7 years ago
one_time_key_fabricator.rb Add E2EE API (#13820) 5 years ago
poll_fabricator.rb Add polls (#10111) 6 years ago
poll_vote_fabricator.rb Add polls (#10111) 6 years ago
relay_fabricator.rb Lint pass (#8876) 6 years ago
report_fabricator.rb
report_note_fabricator.rb Add tests for report notes controller (#7589) 7 years ago
rule_fabricator.rb Add server rules (#15769) 4 years ago
scheduled_status_fabricator.rb Add scheduled statuses (#9706) 6 years ago
session_activation_fabricator.rb
setting_fabricator.rb
site_upload_fabricator.rb Improvements to image upload validation and creation (#10431) 6 years ago
status_fabricator.rb
status_pin_fabricator.rb Add more tests for ActivityPub controllers (#13585) 5 years ago
status_stat_fabricator.rb Move status counters to separate table, count replies (#8104) 6 years ago
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 Add REST API for creating an account (#9572) 6 years ago
user_invite_request_fabricator.rb Add "why do you want to join" field to invite requests (#10524) 6 years ago
web_push_subscription_fabricator.rb Ensure push subscription is immediately removed when application is revoked (#7548) 7 years ago
web_setting_fabricator.rb Ensure push subscription is immediately removed when application is revoked (#7548) 7 years ago
webauthn_credential_fabricator.rb Add WebAuthn as an alternative 2FA method (#14466) 4 years ago