Add feature to automatically archive old projects
We host a lot of projects and we needed a solution to archive projects without activity. The included patch implement this feature.
- Request <HOST>/sys/mark_all_inactive_projects and
status for all inactive projects (no activity since
one month) are changed to STATUS_INACTIVE.
- All users which has permissions to reactivate
project receive a mail notification with a reactivate URL.
- If user clicks link in mail project status changes
- Request <HOST>/sys/archive_inactive_projects and
all inactive projects will be archived. (STATUS_ARCHIVED).
- projects newer than a month are not affected
- if project has activity since mail it will not be archived
and will be set as STATUS_ACTIVE.