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/lib/mastodon
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
..
accounts_cli.rb Add ability to skip sign-in token authentication for specific users (#16427) 4 years ago
cache_cli.rb
cli_helper.rb Fix DB connection pool settings in CLI (#15983) 5 years ago
domains_cli.rb Add --by-uri option to `tootctl domains purge` (#16434) 4 years ago
email_domain_blocks_cli.rb Fixed code quality issues (#15541) 5 years ago
emoji_cli.rb tootctl emoji import: case insensitive duplicate check (#15738) 5 years ago
feeds_cli.rb Fix tootctl not allocating enough database connections for main thread (#12097) 6 years ago
ip_blocks_cli.rb Fix tootctl ip_blocks add failing if not given a comment (#15263) 5 years ago
maintenance_cli.rb Fix account deletion sometimes failing because of optimistic locks (#16317) 5 years ago
media_cli.rb Use Rails' index_by where it makes sense (#15542) 5 years ago
migration_helpers.rb Fix migration script not being able to run if it fails midway (#16312) 5 years ago
premailer_webpack_strategy.rb
preview_cards_cli.rb
redis_config.rb Add a Redis environment variable for sidekiq (#16188) 5 years ago
search_cli.rb Fix `tootctl search deploy` on Ruby 3 (#16346) 5 years ago
settings_cli.rb
snowflake.rb Add feature to automatically delete old toots (#16529) 4 years ago
statuses_cli.rb Add `--skip-media-remove` option to `tootctl statuses remove` (#13080) 6 years ago
upgrade_cli.rb Fix `tootctl upgrade storage-schema` S3 ACL (#13768) 6 years ago
version.rb Change references to tootsuite/mastodon to mastodon/mastodon (#16491) 4 years ago