stable

Clone or download

Read-only

A notification is sent when a pull request is merged

Part of story #14190: get email notifications on pull requests - first stage Change-Id: I7f8ced898c82493509efa6116f392b1f2d5ef17b

Modified Files

Name
M plugins/pullrequest/include/PullRequest/Notification/PullRequestNotificationSupport.php +42 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/PullRequestCloser.php +5 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/StateStatus/PullRequestAbandonedNotification.php +1 −1 Go to diff View file
A plugins/pullrequest/include/PullRequest/StateStatus/PullRequestMergedContentPresenter.php +70 −0 Go to diff View file
A plugins/pullrequest/include/PullRequest/StateStatus/PullRequestMergedEvent.php +81 −0 Go to diff View file
A plugins/pullrequest/include/PullRequest/StateStatus/PullRequestMergedNotification.php +130 −0 Go to diff View file
A plugins/pullrequest/include/PullRequest/StateStatus/PullRequestMergedNotificationToProcessBuilder.php +107 −0 Go to diff View file
M plugins/pullrequest/phpunit/PullRequestCloserTest.php +13 −2 Go to diff View file
M plugins/pullrequest/phpunit/StateStatus/PullRequestAbandonedNotificationTest.php +2 −2 Go to diff View file
M plugins/pullrequest/phpunit/StateStatus/PullRequestAbandonedNotificationToProcessBuilderTest.php +1 −1 Go to diff View file
A plugins/pullrequest/phpunit/StateStatus/PullRequestMergedEventTest.php +67 −0 Go to diff View file
A plugins/pullrequest/phpunit/StateStatus/PullRequestMergedNotificationTest.php +79 −0 Go to diff View file
A plugins/pullrequest/phpunit/StateStatus/PullRequestMergedNotificationToProcessBuilderTest.php +144 −0 Go to diff View file
M plugins/pullrequest/site-content/fr_FR/LC_MESSAGES/tuleap-pullrequest.po +15 −4 Go to diff View file
M plugins/pullrequest/templates/state-status/pull-request-abandoned-mail-content.mustache +1 −1 Go to diff View file
A plugins/pullrequest/templates/state-status/pull-request-merged-mail-content.mustache +10 −0 Go to diff View file