stable
Clone or download
Read-only
This is part of story #10499: Have a labels widget on project dashboards - Searching with query = {"labels_id": [10, 24]} should return all Pull requests with labels 10 and 24. To ease review, the REST route only returns artifacts title for now. Icons and html_url will come in a later commit. Change-Id: I6b3bd9865562373ce047e2231cd6ff998cb2f844
Modified Files
Name | ||||
---|---|---|---|---|
A | plugins/pullrequest/include/PullRequest/Authorization/PullRequestPermissionChecker.php | +75 | −0 | Go to diff View file |
A | plugins/pullrequest/include/PullRequest/Exception/UserCannotReadGitRepositoryException.php | +27 | −0 | Go to diff View file |
A | plugins/pullrequest/include/PullRequest/Label/LabeledItemCollector.php | +86 | −0 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/Label/PullRequestLabelDao.php | +30 | −0 | Go to diff View file |
M | plugins/pullrequest/include/autoload.php | +5 | −2 | Go to diff View file |
M | plugins/pullrequest/include/pullrequestPlugin.class.php | +18 | −0 | Go to diff View file |
A | plugins/pullrequest/tests/Authorization/PullRequestPermissionCheckerTest.php | +117 | −0 | Go to diff View file |
A | plugins/pullrequest/tests/Label/LabeledItemCollectorTest.php | +175 | −0 | Go to diff View file |
M | src/common/Label/LabeledItemCollection.php | +58 | −0 | Go to diff View file |