stable

Clone or download

Read-only

Send notification when user edits his inline comment

How to test: - Make sure to have redis and mailhog up - Make sure to have enabled the feature flag: `tuleap config-set feature_flag_allow_pull_requests_comments_edition 1` - In the timeline view or in a file change view of a pull request edit an INLINE comment => A notification is sent Part of story #32316 Update comments Change-Id: I0729e9602723cd634ea0aa5c33d6404fc52c5aab

Modified Files

Name
A plugins/pullrequest/include/PullRequest/InlineComment/Notification/UpdatedInlineCommentContentPresenter.php +41 −0 Go to diff View file
A plugins/pullrequest/include/PullRequest/InlineComment/Notification/UpdatedInlineCommentEvent.php +58 −0 Go to diff View file
A plugins/pullrequest/include/PullRequest/InlineComment/Notification/UpdatedInlineCommentNotification.php +126 −0 Go to diff View file
A plugins/pullrequest/include/PullRequest/InlineComment/Notification/UpdatedInlineCommentNotificationToProcessBuilder.php +93 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/Notification/EventSubjectToNotificationListener.php +2 −1 Go to diff View file
M plugins/pullrequest/include/PullRequest/Notification/PullRequestNotificationSupport.php +53 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/InlineComment/PATCHHandler.php +6 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestInlineCommentsResource.php +4 −1 Go to diff View file
M plugins/pullrequest/site-content/fr_FR/LC_MESSAGES/tuleap-pullrequest.po +17 −0 Go to diff View file
M plugins/pullrequest/site-content/pt_BR/LC_MESSAGES/tuleap-pullrequest.po +12 −0 Go to diff View file
A plugins/pullrequest/templates/comment/updated-inline-comment-mail-content.mustache +14 −0 Go to diff View file
A plugins/pullrequest/tests/unit/InlineComment/Notification/UpdatedInlineCommentEventTest.php +53 −0 Go to diff View file
A plugins/pullrequest/tests/unit/InlineComment/Notification/UpdatedInlineCommentNotificationTest.php +147 −0 Go to diff View file
A plugins/pullrequest/tests/unit/InlineComment/Notification/UpdatedInlineCommentNotificationToProcessBuilderTest.php +162 −0 Go to diff View file
M plugins/pullrequest/tests/unit/REST/v1/InlineComment/PATCHHandlerTest.php +3 −1 Go to diff View file