Vote #81885
未完了Run garbage collection by clicking on the admin site
0%
説明
I thought of it while reading ticket #36860.
There, a console command is recommended for deleting orphaned files - never a good solution in my opinion!
Rather, there should be a link in the admin area. This would be especially useful if you don't have access to the console (e.g. Docker/Synology NAS)
journals
--------------------------------------------------------------------------------
Redmine 5.0 has four "prune" tasks. I think it would be even better if some of them are integrated into Administration pages as well.
<pre>
$ bin/rake -T | grep prune
rake redmine:attachments:prune # Removes uploaded files left unattached after one day
rake redmine:tokens:prune # Removes expired tokens
rake redmine:users:prune # Removes registered users that have not been activated after a number of days
rake redmine:watchers:prune # Removes watchers from what they can no longer view
</pre>
--------------------------------------------------------------------------------
This ticket is assigned to erp developer.
--------------------------------------------------------------------------------
related_issues
relates,Closed,10253,Better handling of attachments when validation fails