stable
Clone or download
Read-only
How to test: - Enable the feature flag: `tuleap config-set feature_flag_allow_pull_requests_comments_edition 1` - Use the API explorer to make a PATCH request to /pull_request_inline_comments/{id} route. - When you write references (such as art #000) in the new content of the comment, cross-references should be extracted and saved: The artifact should now have a reference pointing to the pull request. part of story #32316 Update comments Change-Id: Ifee47bd8fdc4b9a588c4632abd1c141b8adc4637
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/docman/include/Docman_ItemFactory.class.php | +2 | −2 | Go to diff View file |
M | plugins/docman/include/Metadata/MetadataValueStore.php | +1 | −1 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/REST/v1/Comment/PATCHInlineCommentHandler.php | +17 | −0 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/REST/v1/PullRequestInlineCommentsResource.php | +9 | −6 | Go to diff View file |
M | plugins/pullrequest/tests/unit/REST/v1/Comment/PATCHInlineCommentHandlerTest.php | +10 | −3 | Go to diff View file |
A | src/common/Reference/ExtractAndSaveCrossReferences.php | +47 | −0 | Go to diff View file |
M | src/common/Reference/ReferenceManager.php | +11 | −16 | Go to diff View file |
M | src/www/forum/forum_utils.php | +1 | −1 | Go to diff View file |
M | src/www/news/news_utils.php | +3 | −3 | Go to diff View file |
A | tests/lib/Stubs/ExtractAndSaveCrossReferencesStub.php | +54 | −0 | Go to diff View file |