stable

Clone or download

Read-only

Handle mail reception (tasks #6950 + tasks #6951)

This is part of story #6301: reply to a follow-up comment by email In this changeset, we read the incoming mail, parse it and inject the first body we find as a new follow-up comment. Change-Id: I02f2a7ff16c9db3e6c600acd2d3d18f955518856

Modified Files

Name
M plugins/tracker/bin/emailgateway.php +15 −5 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/MailGateway/IncomingMessage.class.php +49 −0 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/MailGateway/MailGateway.class.php +53 −0 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/MailGateway/Parser.class.php +63 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/MailGatewayRecipientArtifactDoesNotExistException.class.php +4 −2 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/MailGatewayRecipientFactory.class.php +6 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/MailGatewayRecipientInvalidHashException.class.php +4 −2 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/MailGatewayRecipientUserDoesNotExistException.class.php +4 −2 Go to diff View file
M plugins/tracker/include/autoload.php +6 −3 Go to diff View file
A plugins/tracker/tests/Tracker/Artifact/MailGateway/MailGatewayTest.php +44 −0 Go to diff View file
A plugins/tracker/tests/Tracker/Artifact/MailGateway/ParserTest.php +74 −0 Go to diff View file
A plugins/tracker/tests/Tracker/Artifact/MailGateway/_fixtures/expected_followup.text.txt +49 −0 Go to diff View file
A plugins/tracker/tests/Tracker/Artifact/MailGateway/_fixtures/reply-comment.plain+html.eml +433 −0 Go to diff View file