stable

Clone or download

Read-only

Send a mail notification when an inline comment is added to the notification

For now there is no context (i.e. no code extract) in the notification. Part of story #14190: get email notifications on pull requests - first stage Change-Id: I8a5e313ad3c7e84a462a4fd538e84c7265eb85f4

Modified Files

Name
M plugins/pullrequest/include/PullRequest/InlineComment/Dao.php +15 −2 Go to diff View file
M plugins/pullrequest/include/PullRequest/InlineComment/InlineCommentCreator.php +17 −5 Go to diff View file
A plugins/pullrequest/include/PullRequest/InlineComment/InlineCommentRetriever.php +46 −0 Go to diff View file
A plugins/pullrequest/include/PullRequest/InlineComment/Notification/PullRequestNewInlineCommentContentPresenter.php +76 −0 Go to diff View file
A plugins/pullrequest/include/PullRequest/InlineComment/Notification/PullRequestNewInlineCommentEvent.php +68 −0 Go to diff View file
A plugins/pullrequest/include/PullRequest/InlineComment/Notification/PullRequestNewInlineCommentNotification.php +141 −0 Go to diff View file
A plugins/pullrequest/include/PullRequest/InlineComment/Notification/PullRequestNewInlineCommentNotificationToProcessBuilder.php +121 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/Notification/PullRequestNotificationSupport.php +45 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestsResource.php +1 −1 Go to diff View file
A plugins/pullrequest/phpunit/InlineComment/InlineCommentCreatorTest.php +65 −0 Go to diff View file
A plugins/pullrequest/phpunit/InlineComment/InlineCommentRetrieverTest.php +71 −0 Go to diff View file
A plugins/pullrequest/phpunit/InlineComment/Notification/PullRequestNewInlineCommentEventTest.php +53 −0 Go to diff View file
A plugins/pullrequest/phpunit/InlineComment/Notification/PullRequestNewInlineCommentNotificationTest.php +103 −0 Go to diff View file
A plugins/pullrequest/phpunit/InlineComment/Notification/PullRequestNewInlineCommentNotificationToProcessBuilderTest.php +174 −0 Go to diff View file
M plugins/pullrequest/site-content/fr_FR/LC_MESSAGES/tuleap-pullrequest.po +15 −2 Go to diff View file
A plugins/pullrequest/templates/comment/pull-request-new-inline-comment-mail-content.mustache +15 −0 Go to diff View file