stable

Clone or download

Read-only

Add html_url to labeled items

This is part of story #10499: Have a labels widget on project dashboards labeled_items REST route should now return the html_url to access the pull request's overview in the Web UI. Change-Id: Ibba3dbd9693b51862f9617711f19480c281d8687

Modified Files

Name
M plugins/label/include/Label/REST/v1/LabeledItemRepresentation.php +6 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/Label/LabeledItemCollector.php +5 −1 Go to diff View file
A plugins/pullrequest/include/PullRequest/Reference/HTMLURLBuilder.php +45 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/Reference/Reference.php +2 −4 Go to diff View file
M plugins/pullrequest/include/PullRequest/Reference/ReferenceFactory.php +11 −3 Go to diff View file
M plugins/pullrequest/include/autoload.php +3 −2 Go to diff View file
M plugins/pullrequest/include/pullrequestPlugin.class.php +8 −1 Go to diff View file
M plugins/pullrequest/tests/Label/LabeledItemCollectorTest.php +7 −0 Go to diff View file
A plugins/pullrequest/tests/Reference/HTMLURLBuilderTest.php +69 −0 Go to diff View file
M plugins/pullrequest/tests/Reference/ReferenceFactoryTest.php +3 −1 Go to diff View file
M src/common/Label/LabeledItem.php +15 −1 Go to diff View file