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/app/controllers
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
..
activitypub Fix anonymous access to outbox not being cached by the reverse proxy (#16458) 4 years ago
admin Add ability to skip sign-in token authentication for specific users (#16427) 4 years ago
api Add logging of S3-related errors (#16381) 4 years ago
auth Add authentication history (#16408) 4 years ago
concerns Add authentication history (#16408) 4 years ago
oauth Refactor settings controllers (#14767) 5 years ago
settings Fix user email address being banned on self-deletion (#16503) 4 years ago
well_known Fix anonymous access to outbox not being cached by the reverse proxy (#16458) 4 years ago
about_controller.rb Add server rules (#15769) 4 years ago
account_follow_controller.rb Add specific rate limits for posting and following (#13172) 5 years ago
account_unfollow_controller.rb Restful refactor of accounts/ routes (#2133) 8 years ago
accounts_controller.rb Further improve the media attached status query for accounts (#16106) 4 years ago
application_controller.rb Add logging of S3-related errors (#16381) 4 years ago
authorize_interactions_controller.rb Add specific rate limits for posting and following (#13172) 5 years ago
custom_css_controller.rb Remove set-cookie header on custom.css (#16314) 4 years ago
directories_controller.rb Change trending hashtags to be affected be reblogs (#16164) 4 years ago
emojis_controller.rb Add (back) rails-level JSON caching (#11333) 6 years ago
filters_controller.rb Sort filters by “keyword or phrase” in Settings (#15050) 4 years ago
follower_accounts_controller.rb Fix serialization of followers/following counts when user hides their network (#16418) 4 years ago
following_accounts_controller.rb Fix serialization of followers/following counts when user hides their network (#16418) 4 years ago
health_controller.rb Change health check (#15988) 4 years ago
home_controller.rb Fix other sessions not being logged out on password change (#14252) 5 years ago
instance_actors_controller.rb Create instance actor if it hasn't been properly seeded (#15693) 4 years ago
intents_controller.rb Refactor controllers for statuses, accounts, and more (#11249) 6 years ago
invites_controller.rb Add invite comments (#10465) 6 years ago
manifests_controller.rb Fix redirecting non-functional accounts on public pages (#11978) 6 years ago
media_controller.rb Fix functional user requirements in whitelist mode (#14093) 5 years ago
media_proxy_controller.rb Fix media proxy RedisLocks auto-releasing too fast (#16291) 4 years ago
public_timelines_controller.rb Fix blurhash and autoplay not working on public pages (#11585) 6 years ago
relationships_controller.rb Add interrelationship icon (#15149) 4 years ago
remote_follow_controller.rb Fix redirecting non-functional accounts on public pages (#11978) 6 years ago
remote_interaction_controller.rb Fix functional user requirements in whitelist mode (#14093) 5 years ago
shares_controller.rb Fix blurhash and autoplay not working on public pages (#11585) 6 years ago
statuses_cleanup_controller.rb Add feature to automatically delete old toots (#16529) 4 years ago
statuses_controller.rb Fix error when trying to render component for media without meta (#16112) 4 years ago
tags_controller.rb Refactor how public and tag timelines are queried (#14728) 5 years ago