stable

Clone or download

Read-only

The changes of reviewers of a pull request are visible in the timeline REST endpoint

The REST endpoint GET /pull_requests/:id/timeline now also returns information about reviewers. Those informations are not yet visible in the UI. Part of story #14190: get email notifications on pull requests - first stage Change-Id: Ie2e85405b0b8e1114df5d09ebd6cc0406a673c95

Modified Files

Name
M plugins/pullrequest/include/PullRequest/Comment/Comment.php +5 −3 Go to diff View file
M plugins/pullrequest/include/PullRequest/InlineComment/InlineComment.php +5 −3 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PaginatedTimelineRepresentationBuilder.php +34 −16 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestsResource.php +11 −3 Go to diff View file
A plugins/pullrequest/include/PullRequest/REST/v1/Reviewer/ReviewerChangeTimelineEventRepresentation.php +100 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/TimelineEventRepresentation.php +5 −5 Go to diff View file
A plugins/pullrequest/include/PullRequest/Reviewer/Change/ReviewerChange.php +97 −0 Go to diff View file
A plugins/pullrequest/include/PullRequest/Reviewer/Change/ReviewerChangeDAO.php +49 −0 Go to diff View file
A plugins/pullrequest/include/PullRequest/Reviewer/Change/ReviewerChangeRetriever.php +96 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/Timeline/Factory.php +29 −19 Go to diff View file
M plugins/pullrequest/include/PullRequest/Timeline/TimelineEvent.php +3 −66 Go to diff View file
M plugins/pullrequest/include/PullRequest/Timeline/TimelineEventCreator.php +4 −4 Go to diff View file
A plugins/pullrequest/include/PullRequest/Timeline/TimelineGlobalEvent.php +89 −0 Go to diff View file
A plugins/pullrequest/phpunit/REST/v1/Reviewer/ReviewerChangeTimelineEventRepresentationTest.php +57 −0 Go to diff View file
A plugins/pullrequest/phpunit/Reviewer/Change/ReviewerChangeRetrieverTest.php +116 −0 Go to diff View file
A plugins/pullrequest/phpunit/Reviewer/Change/ReviewerChangeTest.php +50 −0 Go to diff View file
A plugins/pullrequest/tests/integration/Reviewer/Change/ReviewerChangeDAOTest.php +118 −0 Go to diff View file
R plugins/pullrequest/tests/integration/ReviewerDAOTest.php Go to diff View file
M plugins/pullrequest/www/scripts/src/app/overview/timeline/timeline-service.js +1 −0 Go to diff View file
M plugins/pullrequest/www/scripts/src/app/overview/timeline/timeline-service.test.js +19 −0 Go to diff View file