stable

Clone or download

Read-only

story #8825: GET and POST /pull_requests/:id/comments

Change-Id: I8fb2f47b0ae1cf3cce330a747d7f011c83e1fc41

Modified Files

Name
A plugins/git/include/REST/v1/GitRepositoryReference.class.php +35 −0 Go to diff View file
M plugins/git/include/autoload.php +3 −2 Go to diff View file
M plugins/pullrequest/db/install.sql +9 −1 Go to diff View file
A plugins/pullrequest/db/mysql/updates/2016/201602151010_add_plugin_pullrequest_comments_table.php +50 −0 Go to diff View file
M plugins/pullrequest/db/uninstall.sql +2 −1 Go to diff View file
A plugins/pullrequest/include/PullRequest/Comment/Comment.php +61 −0 Go to diff View file
A plugins/pullrequest/include/PullRequest/Comment/Dao.php +55 −0 Go to diff View file
A plugins/pullrequest/include/PullRequest/Comment/Factory.php +59 −0 Go to diff View file
A plugins/pullrequest/include/PullRequest/Comment/PaginatedComments.php +45 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/ResourcesInjector.class.php +3 −1 Go to diff View file
A plugins/pullrequest/include/PullRequest/REST/v1/CommentPOSTRepresentation.php +30 −0 Go to diff View file
A plugins/pullrequest/include/PullRequest/REST/v1/CommentRepresentation.php +41 −0 Go to diff View file
A plugins/pullrequest/include/PullRequest/REST/v1/PaginatedCommentsRepresentations.php +45 −0 Go to diff View file
A plugins/pullrequest/include/PullRequest/REST/v1/PaginatedCommentsRepresentationsBuilder.php +59 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestRepresentation.php +34 −7 Go to diff View file
D plugins/pullrequest/include/PullRequest/REST/v1/PullRequestResource.php +0 −120 Go to diff View file
A plugins/pullrequest/include/PullRequest/REST/v1/PullRequestsResource.php +247 −0 Go to diff View file
M plugins/pullrequest/include/autoload.php +11 −3 Go to diff View file
M plugins/pullrequest/tests/rest/DatabaseInitialization.class.php +16 −2 Go to diff View file
A plugins/pullrequest/tests/rest/PullRequest/PullRequestsCommentsTest.php +88 −0 Go to diff View file
R plugins/pullrequest/tests/rest/PullRequest/PullRequestTest.php Go to diff View file
M plugins/tracker/include/autoload.php +2 −3 Go to diff View file
A src/common/REST/v1/GitRepositoryReferenceBase.class.php +38 −0 Go to diff View file
M src/common/autoload.php +3 −2 Go to diff View file