stable
Clone or download
Read-only
The updated comment is now returned when PATCH pull_request_comments/:id is called. The update of the last edition date has been also taken in account in the contribution How to test : - Enable the feature flag: `tuleap config-set feature_flag_allow_pull_requests_comments_edition 1` - You can go to the API explorer under PATCH pull_request_comments/:id to test the route. => The representation of the comment is returned => You can see the updated comment in the pull request view or in the DB => Go in the DB and you should see the `last_edition_date` column of `plugin_pullrequest_comments` updated. part of story #32316 Update comments Change-Id: Iee63e008d2528e13509ed5ca4d895a0587619357
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/git/include/GitDao.class.php | +1 | −3 | Go to diff View file |
M | plugins/git/include/GitRepositoryFactory.class.php | +1 | −6 | Go to diff View file |
M | plugins/git/include/RetrieveGitRepository.php | +3 | −0 | Go to diff View file |
M | plugins/git/tests/unit/Tests/Stub/RetrieveGitRepositoryStub.php | +13 | −0 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/Comment/Comment.php | +29 | −6 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/Comment/Dao.php | +2 | −1 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/Comment/Factory.php | +1 | −15 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/REST/v1/Comment/CommentRepresentation.php | +5 | −4 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/REST/v1/Comment/CommentRepresentationBuilder.php | +1 | −3 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/REST/v1/Comment/PATCHCommentHandler.php | +38 | −26 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/REST/v1/PaginatedCommentsRepresentationsBuilder.php | +0 | −2 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/REST/v1/PaginatedTimelineRepresentationBuilder.php | +0 | −2 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/REST/v1/PullRequestCommentsResource.php | +53 | −20 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/REST/v1/PullRequestsResource.php | +4 | −2 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/Timeline/Factory.php | +1 | −15 | Go to diff View file |
M | plugins/pullrequest/tests/unit/Builders/CommentTestBuilder.php | +16 | −1 | Go to diff View file |
A | plugins/pullrequest/tests/unit/Comment/CommentTest.php | +69 | −0 | Go to diff View file |
M | plugins/pullrequest/tests/unit/REST/v1/Comment/CommentRepresentationBuilderTest.php | +4 | −8 | Go to diff View file |
M | plugins/pullrequest/tests/unit/REST/v1/Comment/PATCHCommentHandlerTest.php | +58 | −10 | Go to diff View file |
M | plugins/pullrequest/tests/unit/Stub/CommentSearcherStub.php | +1 | −0 | Go to diff View file |
M | src/common/Option/Option.php | +1 | −0 | Go to diff View file |