stable

Clone or download

Read-only

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

Change-Id: I8fb2f47b0ae1cf3cce330a747d7f011c83e1fc41

Modified Files

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