stable
Clone or download
Read-only
Since import is done asynchronously, we must send to them an email after the project is successfully imported. Two cases: * New project must be approved by site administrators: project admin receive an email about project being imported, but waiting for administrators validation. * New project don't need approval by site administrators: project admin already receive an email about project creation. Part of story #36484 create a new project from an XML template Change-Id: I0d6ee669f9abd24a893c3d228a37b63406e89ae4
Modified Files
Name | ||||
---|---|---|---|---|
M | site-content/fr_FR/LC_MESSAGES/tuleap-core.po | +14 | −0 | Go to diff View file |
M | site-content/pt_BR/LC_MESSAGES/tuleap-core.po | +13 | −0 | Go to diff View file |
M | src/common/Project/Registration/Template/Upload/ActivateProjectAfterArchiveImport.php | +1 | −1 | Go to diff View file |
M | src/common/Project/Registration/Template/Upload/ExtractArchiveAndCreateProject.php | +2 | −2 | Go to diff View file |
A | src/common/Project/Registration/Template/Upload/NotifyProjectImportStatus.php | +26 | −0 | Go to diff View file |
M | src/common/Project/Registration/Template/Upload/ProjectAfterArchiveImportActivation.php | +3 | −1 | Go to diff View file |
A | src/common/Project/Registration/Template/Upload/ProjectImportStatusNotifier.php | +71 | −0 | Go to diff View file |
A | src/common/Project/Registration/Template/Upload/notification-project-created-but-pending-text.mustache | +11 | −0 | Go to diff View file |
A | src/common/Project/Registration/Template/Upload/notification-project-created-but-pending.mustache | +13 | −0 | Go to diff View file |
M | src/common/Queue/WorkerEventProcessorFinder.php | +4 | −1 | Go to diff View file |
M | tests/lib/Stubs/Project/Registration/Template/Upload/ActivateProjectAfterArchiveImportStub.php | +1 | −1 | Go to diff View file |
A | tests/lib/Stubs/Project/Registration/Template/Upload/NotifyProjectImportStatusStub.php | +49 | −0 | Go to diff View file |
M | tests/unit/common/Project/Registration/Template/Upload/ProjectAfterArchiveImportActivationTest.php | +26 | −6 | Go to diff View file |
M | tools/utils/generate-po.php | +1 | −0 | Go to diff View file |