stable
Clone or download
Read-only
You can get the top level cards of a taskboard through the API REST. The route is paginated, and only readable items are returned. Note: RestBase::__construct() removal is mandatory to be able to use @dataProvider in tests. Part of story #13640: See minimal card display Change-Id: I0dd17ccf57d0e3cc05469ec525ffd6bc35f43886
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/agiledashboard/include/AgileDashboard/BacklogItemDao.class.php | +23 | −2 | Go to diff View file |
A | plugins/taskboard/include/AgileDashboard/MilestoneIsAllowedChecker.php | +75 | −0 | Go to diff View file |
A | plugins/taskboard/include/AgileDashboard/MilestoneIsNotAllowedException.php | +27 | −0 | Go to diff View file |
M | plugins/taskboard/include/AgileDashboard/TaskboardPaneInfoBuilder.php | +9 | −30 | Go to diff View file |
A | plugins/taskboard/include/REST/ResourcesInjector.php | +33 | −0 | Go to diff View file |
A | plugins/taskboard/include/REST/v1/CardRepresentation.php | +54 | −0 | Go to diff View file |
A | plugins/taskboard/include/REST/v1/TaskboardResource.php | +166 | −0 | Go to diff View file |
M | plugins/taskboard/include/Routing/MilestoneExtractor.php | +12 | −38 | Go to diff View file |
M | plugins/taskboard/include/taskboardPlugin.php | +21 | −4 | Go to diff View file |
A | plugins/taskboard/phpunit/AgileDashboard/MilestoneIsAllowedCheckerTest.php | +107 | −0 | Go to diff View file |
M | plugins/taskboard/phpunit/AgileDashboard/TaskboardPaneInfoBuilderTest.php | +15 | −54 | Go to diff View file |
M | plugins/taskboard/phpunit/Routing/MilestoneExtractorTest.php | +15 | −63 | Go to diff View file |
A | plugins/taskboard/tests/rest/TaskboardTest.php | +108 | −0 | Go to diff View file |
A | plugins/taskboard/tests/rest/_fixtures/taskboard/project.xml | +2057 | −0 | Go to diff View file |
A | plugins/taskboard/tests/rest/_fixtures/taskboard/user_map.csv | +1 | −0 | Go to diff View file |
A | plugins/taskboard/tests/rest/_fixtures/taskboard/users.xml | +10 | −0 | Go to diff View file |
A | plugins/taskboard/tests/rest/setup.sh | +3 | −0 | Go to diff View file |
M | tests/rest/lib/RestBase.php | +9 | −2 | Go to diff View file |