stable
Clone or download
Read-only
Part of story #35093 execute custom code as artifact post action To inform tracker admin that its uploaded WASM module fail on an artifact update, we send an email with changeset id and artifact id. The admin can then go to wasm logs to check details *Testing:* In a tracker with a WASM module, if execution is successful, nothing change. But if execution failed, the tracker administrator (only) receive a mail. Change-Id: I1da46d52babb8d0b6c595b9c2eee42658f3631c7
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/include/Tracker/Artifact/Changeset/PostCreation/MailSender.php | +12 | −19 | Go to diff View file |
A | plugins/tracker/include/Tracker/Artifact/Changeset/PostCreation/SendMail.php | +46 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Stub/Tracker/Artifact/Changeset/PostCreation/SendMailStub.php | +50 | −0 | Go to diff View file |
M | plugins/tracker_cce/include/TrackerCCE/CustomCodeExecutionTask.php | +7 | −4 | Go to diff View file |
A | plugins/tracker_cce/include/TrackerCCE/Notification/BuildMessagesForAdmins.php | +95 | −0 | Go to diff View file |
A | plugins/tracker_cce/include/TrackerCCE/Notification/MessageBuilder.php | +37 | −0 | Go to diff View file |
A | plugins/tracker_cce/include/TrackerCCE/Notification/MessageRepresentation.php | +46 | −0 | Go to diff View file |
A | plugins/tracker_cce/include/TrackerCCE/Notification/MessageSender.php | +37 | −0 | Go to diff View file |
A | plugins/tracker_cce/include/TrackerCCE/Notification/RetrieveTrackerAdminRecipients.php | +70 | −0 | Go to diff View file |
A | plugins/tracker_cce/include/TrackerCCE/Notification/SendMessagesForAdmins.php | +56 | −0 | Go to diff View file |
A | plugins/tracker_cce/include/TrackerCCE/Notification/SendNotificationToTrackerAdministrator.php | +46 | −0 | Go to diff View file |
A | plugins/tracker_cce/include/TrackerCCE/Notification/TrackerAdminRecipientsRetriever.php | +37 | −0 | Go to diff View file |
A | plugins/tracker_cce/include/TrackerCCE/Notification/TrackerAdministratorNotificationSender.php | +28 | −0 | Go to diff View file |
A | plugins/tracker_cce/include/TrackerCCE/Notification/message_html.mustache | +15 | −0 | Go to diff View file |
A | plugins/tracker_cce/include/TrackerCCE/Notification/message_txt.mustache | +16 | −0 | Go to diff View file |
M | plugins/tracker_cce/include/tracker_ccePlugin.php | +48 | −38 | Go to diff View file |
M | plugins/tracker_cce/site-content/fr_FR/LC_MESSAGES/tuleap-tracker_cce.po | +16 | −1 | Go to diff View file |
M | plugins/tracker_cce/site-content/pt_BR/LC_MESSAGES/tuleap-tracker_cce.po | +15 | −0 | Go to diff View file |
A | plugins/tracker_cce/tests/unit/Stub/Notification/MessageBuilderStub.php | +52 | −0 | Go to diff View file |
A | plugins/tracker_cce/tests/unit/Stub/Notification/MessageSenderStub.php | +53 | −0 | Go to diff View file |
A | plugins/tracker_cce/tests/unit/Stub/Notification/TrackerAdminRecipientsRetrieverStub.php | +57 | −0 | Go to diff View file |
A | plugins/tracker_cce/tests/unit/Stub/Notification/TrackerAdministratorNotificationSenderStub.php | +49 | −0 | Go to diff View file |
M | plugins/tracker_cce/tests/unit/TrackerCCE/CustomCodeExecutionTaskTest.php | +23 | −12 | Go to diff View file |
A | plugins/tracker_cce/tests/unit/TrackerCCE/Notification/BuildMessagesForAdminsTest.php | +94 | −0 | Go to diff View file |
A | plugins/tracker_cce/tests/unit/TrackerCCE/Notification/RetrieveTrackerAdminRecipientsTest.php | +82 | −0 | Go to diff View file |
A | plugins/tracker_cce/tests/unit/TrackerCCE/Notification/SendMessagesForAdminsTest.php | +67 | −0 | Go to diff View file |
A | plugins/tracker_cce/tests/unit/TrackerCCE/Notification/SendNotificationToTrackerAdministratorTest.php | +107 | −0 | Go to diff View file |
A | src/common/Project/ProjectAdminsUGroupRetriever.php | +31 | −0 | Go to diff View file |
M | src/common/Project/UGroupManager.class.php | +4 | −5 | Go to diff View file |
M | src/common/User/CCEUser.php | +8 | −0 | Go to diff View file |
A | tests/lib/Stubs/Project/ProjectAdminsUGroupRetrieverStub.php | +45 | −0 | Go to diff View file |