gearheads
/
mastodon
Archived
2
0
Fork 0
This repository has been archived on 2024-06-09. You can view files and clone it, but cannot push or open issues/pull-requests.
mastodon/spec/workers
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
2021-08-09 23:11:50 +02:00
..
activitypub Add follower synchronization mechanism (#14510) 2020-10-21 18:04:09 +02:00
scheduler Add feature to automatically delete old toots (#16529) 2021-08-09 23:11:50 +02:00
web Change Web Push API deliveries to use request pooling (#16014) 2021-04-12 14:25:34 +02:00
digest_mailer_worker_spec.rb Spec coverage and refactor of digest mailer worker (#2961) 2017-05-10 15:45:43 +02:00
domain_block_worker_spec.rb Make domain block/silence/reject-media code more robust (#13424) 2020-06-09 10:32:00 +02:00
domain_clear_media_worker_spec.rb Make domain block/silence/reject-media code more robust (#13424) 2020-06-09 10:32:00 +02:00
feed_insert_worker_spec.rb Lists (#5703) 2017-11-18 00:16:48 +01:00
move_worker_spec.rb Change move handler to carry blocks over (#14144) 2020-07-01 13:51:15 +02:00
publish_scheduled_status_worker_spec.rb Add scheduled statuses (#9706) 2019-01-05 12:43:28 +01:00
refollow_worker_spec.rb Fix being able to import more than allowed number of follows (#15384) 2020-12-26 23:52:46 +01:00
regeneration_worker_spec.rb Add spec coverage for regeneration worker (#3143) 2017-05-19 16:55:09 +02:00
unfollow_follow_worker_spec.rb Fix various issues with account migration (#12301) 2019-11-07 09:05:07 +02:00