stable

Clone or download

Read-only

Transform commit references to link in PR update mail notification

The list of new commits can now be clicked by user to directly go to the commit. Part of story #14190: get email notifications on pull requests - first stage Change-Id: Ica54eb39edc3f93831eb481af47d208bb28ab208

Modified Files

Name
M plugins/git/hooks/post-receive.php +1 −1 Go to diff View file
M plugins/git/include/Git.class.php +1 −1 Go to diff View file
M plugins/git/include/Git/Repository/GitRepositoryHeaderDisplayerBuilder.php +1 −1 Go to diff View file
M plugins/git/include/GitRepository.class.php +1 −1 Go to diff View file
M plugins/git/include/GitRepositoryUrlManager.class.php +23 −3 Go to diff View file
M plugins/git/include/REST/v1/RepositoryResource.class.php +6 −3 Go to diff View file
M plugins/git/include/gitPlugin.php +1 −1 Go to diff View file
M plugins/git/phpunit/Git/Gitolite/ProjectSerializerTest.php +11 −10 Go to diff View file
A plugins/git/phpunit/GitRepositoryUrlManagerTest.php +77 −0 Go to diff View file
M plugins/git/tests/GitActionsDeleteTest.php +2 −2 Go to diff View file
M plugins/git/tests/GitActionsFetchConfigTest.php +1 −1 Go to diff View file
M plugins/git/tests/GitActionsForkTest.php +1 −1 Go to diff View file
M plugins/git/tests/GitActionsTest.php +1 −1 Go to diff View file
M plugins/git/tests/GitBackendTest.php +1 −1 Go to diff View file
M plugins/git/tests/GitGerritRouteTest.php +1 −1 Go to diff View file
M plugins/git/tests/Git_GitoliteTestCase.class.php +2 −2 Go to diff View file
M plugins/pullrequest/include/PullRequest/BranchUpdate/CommitPresenter.php +6 −1 Go to diff View file
M plugins/pullrequest/include/PullRequest/BranchUpdate/PullRequestUpdatedNotification.php +10 −4 Go to diff View file
M plugins/pullrequest/include/PullRequest/BranchUpdate/PullRequestUpdatedNotificationToProcessBuilder.php +10 −0 Go to diff View file
A plugins/pullrequest/include/PullRequest/BranchUpdate/RepositoryURLToCommitBuilder.php +49 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/Notification/PullRequestNotificationSupport.php +8 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestsResource.php +1 −1 Go to diff View file
M plugins/pullrequest/include/pullrequestPlugin.php +1 −1 Go to diff View file
M plugins/pullrequest/phpunit/BranchUpdate/CommitPresenterTest.php +2 −1 Go to diff View file
M plugins/pullrequest/phpunit/BranchUpdate/PullRequestUpdatedNotificationTest.php +10 −2 Go to diff View file
M plugins/pullrequest/phpunit/BranchUpdate/PullRequestUpdatedNotificationToProcessBuilderTest.php +8 −0 Go to diff View file
A plugins/pullrequest/phpunit/BranchUpdate/RepositoryURLToCommitBuilderTest.php +48 −0 Go to diff View file
M plugins/pullrequest/templates/branch-update/branch-updated-mail-content.mustache +2 −2 Go to diff View file