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 
	 
	
	
		 
	
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2021-03-19 02:42:43 +01:00 
		 
	
		
			
			
			
			
			
			2021-03-19 02:42:43 +01:00 
		 
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2018-10-04 12:36:53 +02:00 
		 
	
		
	
		
			
			
			
			
			
			2018-10-04 17:38:04 +02:00 
		 
	
		
	
		
			
			
			
			
			
			2021-03-19 02:42:43 +01:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2021-03-19 02:45:34 +01:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2019-09-28 01:05:26 +02:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2018-10-04 17:38:04 +02:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2020-06-02 19:24:53 +02:00 
		 
	
		
			
			
			
			
			
			2019-09-28 01:05:26 +02:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2021-03-19 02:42:43 +01:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2018-10-04 12:36:53 +02:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2019-12-29 05:39:08 +01:00 
		 
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2018-10-04 12:36:53 +02:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2020-01-27 11:04:42 +01:00 
		 
	
		
			
			
			
			
			
			2021-03-19 02:43:13 +01:00 
		 
	
		
			
			
			
			
			
			2018-10-04 12:36:53 +02:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2019-05-30 22:35:29 +03:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2019-05-30 22:35:29 +03:00 
		 
	
		
			
			
			
			
			
			2019-12-29 05:39:08 +01:00 
		 
	
		
	
		
			
			
			
			
			
			2018-10-04 12:36:53 +02:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2019-05-30 22:35:29 +03:00 
		 
	
		
			
			
			
			
			
			2021-03-19 02:45:34 +01:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2020-05-08 20:23:16 +02:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2021-03-19 02:42:43 +01:00 
		 
	
		
			
			
			
			
			
			2019-12-29 05:39:08 +01:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2020-01-11 05:52:24 +09:00 
		 
	
		
	
		
			
			
			
			
			
			2021-03-19 02:42:43 +01:00 
		 
	
		
			
			
			
			
			
			2019-12-29 05:39:08 +01:00 
		 
	
		
			
			
			
			
			
			2020-05-08 20:23:16 +02:00 
		 
	
		
			
			
			
			
			
			2019-06-09 22:55:28 +02:00 
		 
	
		
			
			
			
			
			
			2018-04-14 12:41:08 +02:00 
		 
	
		
			
			
			
			
			
			2018-05-04 21:14:34 +02:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:31:07 +02:00 
		 
	
		
			
			
			
			
			
			2020-05-08 20:23:16 +02:00 
		 
	
		
			
			
			
			
			
			2018-05-11 11:49:12 +02:00 
		 
	
		
			
			
			
			
			
			2018-06-21 23:07:40 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-15 14:56:00 +02:00 
		 
	
		
			
			
			
			
			
			2021-03-19 02:45:34 +01:00 
		 
	
		
			
			
			
			
			
			2018-06-10 00:38:17 +02:00 
		 
	
		
			
			
			
			
			
			2018-06-09 13:33:04 +02:00 
		 
	
		
			
			
			
			
			
			2018-06-15 18:00:23 +02:00 
		 
	
		
			
			
			
			
			
			2018-06-17 13:54:02 +02:00 
		 
	
		
			
			
			
			
			
			2018-06-17 18:49:35 +02:00 
		 
	
		
			
			
			
			
			
			2018-06-29 15:34:36 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-09 02:22:09 +02:00 
		 
	
		
			
			
			
			
			
			2018-07-13 02:16:06 +02:00 
		 
	
		
			
			
			
			
			
			2018-08-09 09:56:53 +02:00 
		 
	
		
			
			
			
			
			
			2018-08-12 18:16:26 +02:00 
		 
	
		
			
			
			
			
			
			2018-08-14 19:19:32 +02:00 
		 
	
		
			
			
			
			
			
			2018-10-07 04:40:37 +02:00 
		 
	
		
			
			
			
			
			
			2018-08-14 20:24:47 +02:00 
		 
	
		
			
			
			
			
			
			2018-08-21 20:11:34 +02:00 
		 
	
		
			
			
			
			
			
			2019-11-13 23:02:10 +01:00 
		 
	
		
			
			
			
			
			
			2018-10-07 23:44:58 +02:00 
		 
	
		
			
			
			
			
			
			2018-10-09 19:35:14 +02:00 
		 
	
		
			
			
			
			
			
			2018-10-17 17:13:04 +02:00 
		 
	
		
			
			
			
			
			
			2018-10-20 08:02:44 +02:00 
		 
	
		
			
			
			
			
			
			2018-10-19 01:47:29 +02:00 
		 
	
		
			
			
			
			
			
			2021-03-19 02:45:34 +01:00 
		 
	
		
			
			
			
			
			
			2018-10-26 23:08:34 +02:00 
		 
	
		
			
			
			
			
			
			2018-11-19 00:43:52 +01:00 
		 
	
		
			
			
			
			
			
			2019-01-28 04:18:35 +01:00 
		 
	
		
			
			
			
			
			
			2018-11-27 13:56:25 +01:00 
		 
	
		
			
			
			
			
			
			2020-09-01 13:31:28 +02:00 
		 
	
		
			
			
			
			
			
			2018-12-06 17:36:11 +01:00 
		 
	
		
			
			
			
			
			
			2018-12-06 17:36:11 +01:00 
		 
	
		
			
			
			
			
			
			2018-12-06 17:36:11 +01:00 
		 
	
		
			
			
			
			
			
			2018-12-06 17:36:11 +01:00 
		 
	
		
			
			
			
			
			
			2021-03-19 02:45:34 +01:00 
		 
	
		
			
			
			
			
			
			2018-12-22 20:02:09 +01:00 
		 
	
		
			
			
			
			
			
			2018-12-22 20:02:09 +01:00 
		 
	
		
			
			
			
			
			
			2020-05-08 20:23:16 +02:00 
		 
	
		
			
			
			
			
			
			2018-12-29 02:24:36 +01:00 
		 
	
		
			
			
			
			
			
			2019-01-05 12:43:28 +01:00 
		 
	
		
			
			
			
			
			
			2020-05-08 20:23:16 +02:00 
		 
	
		
			
			
			
			
			
			2019-01-18 15:56:55 +01:00 
		 
	
		
			
			
			
			
			
			2019-02-03 03:59:51 +01:00 
		 
	
		
			
			
			
			
			
			2019-02-04 04:25:59 +01:00 
		 
	
		
			
			
			
			
			
			2019-03-03 22:18:23 +01:00 
		 
	
		
			
			
			
			
			
			2019-03-03 22:18:23 +01:00 
		 
	
		
			
			
			
			
			
			2019-03-03 22:18:23 +01:00 
		 
	
		
			
			
			
			
			
			2019-03-04 22:51:23 +01:00 
		 
	
		
			
			
			
			
			
			2019-03-07 01:50:06 +01:00 
		 
	
		
			
			
			
			
			
			2019-03-14 05:28:30 +01:00 
		 
	
		
			
			
			
			
			
			2019-03-14 20:10:43 +01:00 
		 
	
		
			
			
			
			
			
			2019-03-18 21:00:55 +01:00 
		 
	
		
			
			
			
			
			
			2019-03-17 15:34:56 +01:00 
		 
	
		
			
			
			
			
			
			2019-08-19 11:40:42 +02:00 
		 
	
		
			
			
			
			
			
			2019-04-09 23:06:30 +09:00 
		 
	
		
			
			
			
			
			
			2019-04-27 03:24:09 +02:00 
		 
	
		
			
			
			
			
			
			2019-05-09 22:03:02 +02:00 
		 
	
		
			
			
			
			
			
			2019-05-14 19:05:02 +02:00 
		 
	
		
			
			
			
			
			
			2019-05-30 14:30:38 +03:00 
		 
	
		
			
			
			
			
			
			2019-06-28 15:54:10 +02:00 
		 
	
		
			
			
			
			
			
			2019-06-28 15:54:10 +02:00 
		 
	
		
			
			
			
			
			
			2019-07-13 16:45:50 +02:00 
		 
	
		
			
			
			
			
			
			2019-07-30 11:10:46 +02:00 
		 
	
		
			
			
			
			
			
			2019-07-19 01:44:42 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-02 19:15:17 +02:00 
		 
	
		
			
			
			
			
			
			2019-07-30 13:10:40 +02:00 
		 
	
		
			
			
			
			
			
			2019-08-05 19:54:29 +02:00 
		 
	
		
			
			
			
			
			
			2019-08-07 20:20:23 +02:00 
		 
	
		
			
			
			
			
			
			2019-08-18 03:45:51 +02:00 
		 
	
		
			
			
			
			
			
			2019-08-22 21:55:56 +02:00 
		 
	
		
			
			
			
			
			
			2019-08-22 21:55:56 +02:00 
		 
	
		
			
			
			
			
			
			2019-08-24 04:12:27 +02:00 
		 
	
		
			
			
			
			
			
			2019-09-02 18:11:13 +02:00 
		 
	
		
			
			
			
			
			
			2019-09-06 13:55:51 +02:00 
		 
	
		
			
			
			
			
			
			2019-09-19 20:58:19 +02:00 
		 
	
		
			
			
			
			
			
			2019-09-19 20:58:19 +02:00 
		 
	
		
			
			
			
			
			
			2019-09-18 10:58:08 +02:00 
		 
	
		
			
			
			
			
			
			2019-09-29 22:58:01 +02:00 
		 
	
		
			
			
			
			
			
			2019-10-02 04:59:37 +02:00 
		 
	
		
			
			
			
			
			
			2019-10-07 04:14:36 +02:00 
		 
	
		
			
			
			
			
			
			2020-01-11 05:52:24 +09:00 
		 
	
		
			
			
			
			
			
			2019-12-18 19:04:43 +01:00 
		 
	
		
			
			
			
			
			
			2020-03-09 00:10:29 +01:00 
		 
	
		
			
			
			
			
			
			2020-01-23 22:00:13 +01:00 
		 
	
		
			
			
			
			
			
			2020-01-23 22:00:13 +01:00 
		 
	
		
			
			
			
			
			
			2020-01-23 22:00:13 +01:00 
		 
	
		
			
			
			
			
			
			2020-01-21 18:56:34 +01:00 
		 
	
		
			
			
			
			
			
			2020-01-26 22:43:18 +01:00 
		 
	
		
			
			
			
			
			
			2020-03-08 23:56:18 +01:00 
		 
	
		
			
			
			
			
			
			2020-12-15 04:30:15 +01:00 
		 
	
		
			
			
			
			
			
			2020-03-12 17:57:59 +01:00 
		 
	
		
			
			
			
			
			
			2020-04-05 12:51:22 +02:00 
		 
	
		
			
			
			
			
			
			2020-05-08 20:23:16 +02:00 
		 
	
		
			
			
			
			
			
			2020-10-13 01:01:14 +02:00 
		 
	
		
			
			
			
			
			
			2020-04-15 20:33:24 +02:00 
		 
	
		
			
			
			
			
			
			2020-04-16 08:03:24 +02:00 
		 
	
		
			
			
			
			
			
			2020-04-26 23:29:08 +02:00 
		 
	
		
			
			
			
			
			
			2021-07-13 15:46:20 +02:00 
		 
	
		
			
			
			
			
			
			2020-05-10 18:18:12 +02:00 
		 
	
		
			
			
			
			
			
			2020-07-08 09:23:23 +02:00 
		 
	
		
			
			
			
			
			
			2020-06-02 19:24:53 +02:00 
		 
	
		
			
			
			
			
			
			2020-06-02 19:24:53 +02:00 
		 
	
		
			
			
			
			
			
			2020-06-02 19:24:53 +02:00 
		 
	
		
			
			
			
			
			
			2020-06-02 19:24:53 +02:00 
		 
	
		
			
			
			
			
			
			2021-03-19 02:42:43 +01:00 
		 
	
		
			
			
			
			
			
			2020-06-02 19:24:53 +02:00 
		 
	
		
			
			
			
			
			
			2020-06-05 23:10:41 +02:00 
		 
	
		
			
			
			
			
			
			2020-06-09 10:23:06 +02:00 
		 
	
		
			
			
			
			
			
			2020-11-04 20:45:01 +01:00 
		 
	
		
			
			
			
			
			
			2021-06-02 19:15:17 +02:00 
		 
	
		
			
			
			
			
			
			2020-07-07 15:26:51 +02:00 
		 
	
		
			
			
			
			
			
			2020-06-29 13:56:55 +02:00 
		 
	
		
			
			
			
			
			
			2020-06-30 19:19:50 +02:00 
		 
	
		
			
			
			
			
			
			2020-08-24 16:46:27 +02:00 
		 
	
		
			
			
			
			
			
			2020-08-24 16:46:27 +02:00 
		 
	
		
			
			
			
			
			
			2020-09-15 14:37:58 +02:00 
		 
	
		
			
			
			
			
			
			2020-09-18 17:26:45 +02:00 
		 
	
		
			
			
			
			
			
			2020-09-18 17:26:45 +02:00 
		 
	
		
			
			
			
			
			
			2020-09-18 17:26:45 +02:00 
		 
	
		
			
			
			
			
			
			2020-10-12 16:33:49 +02:00 
		 
	
		
			
			
			
			
			
			2020-10-12 16:33:49 +02:00 
		 
	
		
			
			
			
			
			
			2020-11-08 00:28:39 +01:00 
		 
	
		
			
			
			
			
			
			2020-12-14 09:06:34 +01:00 
		 
	
		
			
			
			
			
			
			2020-12-18 08:30:41 +01:00 
		 
	
		
			
			
			
			
			
			2021-02-21 19:50:12 +01:00 
		 
	
		
			
			
			
			
			
			2021-04-15 05:24:28 +02:00 
		 
	
		
			
			
			
			
			
			2021-05-07 18:14:29 +02:00 
		 
	
		
			
			
			
			
			
			2021-04-12 12:37:14 +02:00 
		 
	
		
			
			
			
			
			
			2021-04-12 12:37:14 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-30 06:13:55 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-02 19:15:17 +02:00 
		 
	
		
			
			
			
			
			
			2021-04-26 18:57:46 +02:00 
		 
	
		
			
			
			
			
			
			2021-05-07 18:14:29 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-21 17:07:30 +02:00 
		 
	
		
			
			
			
			
			
			2021-07-08 05:31:28 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-30 06:13:55 +02:00 
		 
	
		
			
			
			
			
			
			2021-08-09 23:11:50 +02:00