stable

Clone or download

Read-only

Send a mail notification with clickable links when a reviewer is added to a PR

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

Modified Files

Name
A plugins/pullrequest/include/PullRequest/Notification/NotificationEnhancedContent.php +28 −0 Go to diff View file
A plugins/pullrequest/include/PullRequest/Notification/NotificationTemplatedContent.php +56 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/Notification/NotificationToProcess.php +5 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/Notification/Strategy/PullRequestNotificationSendMail.php +3 −11 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestsResource.php +5 −3 Go to diff View file
M plugins/pullrequest/include/PullRequest/Reference/HTMLURLBuilder.php +9 −9 Go to diff View file
M plugins/pullrequest/include/PullRequest/Reviewer/Notification/ReviewerAddedNotification.php +43 −8 Go to diff View file
A plugins/pullrequest/include/PullRequest/Reviewer/Notification/ReviewerAddedNotificationContentPresenter.php +64 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/Reviewer/Notification/ReviewerChangeNotificationToProcessBuilder.php +24 −12 Go to diff View file
M plugins/pullrequest/include/pullrequestPlugin.php +3 −2 Go to diff View file
A plugins/pullrequest/phpunit/Notification/NotificationTemplatedContentTest.php +54 −0 Go to diff View file
M plugins/pullrequest/phpunit/Notification/Strategy/PullRequestNotificationSendMailTest.php +12 −3 Go to diff View file
M plugins/pullrequest/phpunit/Reference/HTMLURLBuilderTest.php +12 −17 Go to diff View file
M plugins/pullrequest/phpunit/Reviewer/Notification/ReviewerAddedNotificationTest.php +20 −7 Go to diff View file
M plugins/pullrequest/phpunit/Reviewer/Notification/ReviewerChangeNotificationToProcessBuilderTest.php +39 −2 Go to diff View file
M plugins/pullrequest/site-content/fr_FR/LC_MESSAGES/tuleap-pullrequest.po +6 −0 Go to diff View file
A plugins/pullrequest/templates/reviewer/reviewer-added-mail-content.mustache +9 −0 Go to diff View file
M src/common/User/UserHelper.class.php +14 −4 Go to diff View file
A src/common/include/InstanceBaseURLBuilder.php +36 −0 Go to diff View file
A tests/phpunit/common/Include/InstanceBaseURLBuilderTest.php +48 −0 Go to diff View file