stable
Clone or download
Read-only
tasks #6990 Handle citations in the answer
This is part of story #6301: reply to a follow-up comment by email This is a first step for removing citation in mail received by the platform. We can find and remove the citation itself, but not the sentence often added by the MUA (e.g "On Thu, Jun 05, 2014 at 04:52:17PM +0200, Tuleap wrote:" added by mutt) So, we decided to keep this sentence and to replace the citation by "[citation removed]" Change-Id: I1f0c593dd2011b1c1d6bccd76ec73e70428fd37f
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/bin/emailgateway.php | +7 | −2 | Go to diff View file |
A | plugins/tracker/include/Tracker/Artifact/MailGateway/CitationStripper.class.php | +33 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/MailGateway/MailGateway.class.php | +16 | −4 | Go to diff View file |
M | plugins/tracker/include/autoload.php | +4 | −3 | Go to diff View file |
A | plugins/tracker/tests/Tracker/Artifact/MailGateway/CitationStripperTest.php | +38 | −0 | Go to diff View file |
M | plugins/tracker/tests/Tracker/Artifact/MailGateway/MailGatewayTest.php | +14 | −10 | Go to diff View file |
A | plugins/tracker/tests/Tracker/Artifact/MailGateway/_fixtures/expected_followup_without_citation.text.txt | +22 | −0 | Go to diff View file |