stable
Clone or download
Read-only
When every criteria are met, an event is sent in attachment of an artifact notification. Note for testers: if your platform uses mailhog to catch emails, this tool does not display attachments (you can assert that event is in the source of the email, and ensure its content if you can read base64). You may want to disable mailhog in `/etc/postfix/main.cf` to receive the mail in a real MUA: ```diff - relayhost = mailhog:1025 + #relayhost = mailhog:1025 ``` (don't forget to restart postfix, and make sure that your container can access the Internet) Part of story #35094: have "calendar" events attached to tracker email notification Change-Id: If1b8a3878ebd6dd99407d6cad3a76def3fa6e095
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/composer.json | +2 | −1 | Go to diff View file |
M | plugins/tracker/composer.lock | +697 | −2 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/Changeset/PostCreation/EmailNotificationAttachmentProvider.php | +31 | −5 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/Changeset/PostCreation/MailSender.php | +4 | −0 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Artifact/Changeset/PostCreation/EmailNotificationAttachmentProviderTest.php | +4 | −1 | Go to diff View file |
M | src/common/Mail/Codendi_Mail.class.php | +9 | −0 | Go to diff View file |
M | src/common/Mail/MailEnhancer.php | +17 | −1 | Go to diff View file |