stable
Clone or download
Read-only
story #14131: Add suspension-day email for inactive users
This functionality will send an email for users that have not logged since today - inactive delay. On the suspension day, the users will be informaed that their account is suspended. This feature is enabled/disabled using a system variable. - Added a presenter and a template for the email - Added DB entry for the enable/disable configuration variable - Added a test for the new functionality Change-Id: I0e533bdd0da6ea24eaf8215402df671bc232690d
Modified Files
Name | ||||
---|---|---|---|---|
M | site-content/fr_FR/LC_MESSAGES/tuleap-core.po | +33 | −0 | Go to diff View file |
M | src/common/CLI/Command/DailyJobCommand.php | +1 | −0 | Go to diff View file |
M | src/common/CLI/Events/GetWhitelistedKeys.php | +1 | −0 | Go to diff View file |
M | src/common/User/UserSuspensionManager.php | +116 | −15 | Go to diff View file |
M | src/common/dao/UserSuspensionDao.php | +21 | −0 | Go to diff View file |
A | src/common/mail/MailAccountSuspensionPresenter.php | +46 | −0 | Go to diff View file |
M | src/common/mail/MailPresenterFactory.class.php | +14 | −0 | Go to diff View file |
M | src/db/mysql/database_initvalues.sql | +1 | −0 | Go to diff View file |
A | src/db/mysql/updates/2020/b202002241621_add_sys_suspend_send_account_suspension_email.php | +48 | −0 | Go to diff View file |
A | src/templates/mail/mail-suspension.mustache | +167 | −0 | Go to diff View file |
M | src/utils/tuleap.php | +3 | −2 | Go to diff View file |
M | tests/phpunit/common/User/UserSuspensionManagerTest.php | +38 | −2 | Go to diff View file |