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/app
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
..
chewy Change `tootctl search deploy` algorithm (#14300) 2020-07-14 18:10:35 +02:00
controllers Add feature to automatically delete old toots (#16529) 2021-08-09 23:11:50 +02:00
helpers Change number_to_human calls to always use 3-digits precision (#16469) 2021-07-07 21:13:08 +02:00
javascript Fix logout link not working in safari (#16574) 2021-08-06 12:14:13 +02:00
lib Fix invalid blurhash handling in Create activity (#16583) 2021-08-09 13:33:19 +02:00
mailers Prepare Mastodon for Rails 6 (#15911) 2021-03-17 10:09:55 +01:00
models Add feature to automatically delete old toots (#16529) 2021-08-09 23:11:50 +02:00
policies Add ability to skip sign-in token authentication for specific users (#16427) 2021-07-08 05:31:28 +02:00
presenters Add server rules (#15769) 2021-02-21 19:50:12 +01:00
serializers Add `configuration` attribute to `GET /api/v1/instance` (#16485) 2021-07-10 17:58:41 +02:00
services Add feature to automatically delete old toots (#16529) 2021-08-09 23:11:50 +02:00
validators Add `configuration` attribute to `GET /api/v1/instance` (#16485) 2021-07-10 17:58:41 +02:00
views Add feature to automatically delete old toots (#16529) 2021-08-09 23:11:50 +02:00
workers Add feature to automatically delete old toots (#16529) 2021-08-09 23:11:50 +02:00