Add new inactive project deletion section
What does this MR do and why?
This MR adds a new section to the admin repository settings page.
The new settings allow the admin to set whether inactive projects are deleted, if there is a limit to the repo sizes that will be deleted, when to send the warning email and when to actually delete the project.
Screenshots or screen recordings
Light theme | Dark theme |
---|---|
Screen_Recording_2022-05-20_at_11.14.59
How to set up and validate locally
- Go to
[HOST]/admin/application_settings/repository#js-repository-check-settings
- Test the size field only allows
>= 0
values - Test that the email and delete fields only allow
> 0
values - Test that the delete field has to have a value greater than the email field
- Test that setting it to inactive works
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #357374
Edited by Robert Hunt