stable

Clone or download

Read-only

Add GET /taskboard/:id/columns

Part of story #13626 Drag and drop cards How to test: - use the API explorer to get the columns of a taskboard. You should get the column ids, labels and header colors. Contrary to what we thought during estimation, we need this route in order to: - add REST tests for PATCH /taskboard_cell/:swimlane_id/column/:column_id - Let anyone that is not Tuleap use the PATCH route. Without this, there is no way to know what is the ids of columns. Change-Id: I3b97c79b91eb97b5ad6a64e25c709405359a6415

Modified Files

Name
M plugins/agiledashboard/include/Planning/MilestoneFactory.class.php +31 −0 Go to diff View file
M plugins/agiledashboard/include/agiledashboardPlugin.php +1 −20 Go to diff View file
A plugins/cardwall/include/Column/ColumnColorRetriever.php +58 −0 Go to diff View file
M plugins/cardwall/include/OnTop/Config/ColumnFactory.class.php +4 −21 Go to diff View file
A plugins/cardwall/phpunit/OnTop/Config/ColumnFactoryTest.php +139 −0 Go to diff View file
D plugins/cardwall/tests/OnTop/Config/ColumnFactoryTest.php +0 −94 Go to diff View file
M plugins/taskboard/include/AgileDashboard/MilestoneIsAllowedChecker.php +10 −0 Go to diff View file
M plugins/taskboard/include/Column/ColumnPresenterCollectionRetriever.php +2 −17 Go to diff View file
A plugins/taskboard/include/REST/v1/Columns/ColumnRepresentation.php +40 −0 Go to diff View file
A plugins/taskboard/include/REST/v1/Columns/ColumnsGetter.php +125 −0 Go to diff View file
M plugins/taskboard/include/REST/v1/TaskboardResource.php +42 −31 Go to diff View file
A plugins/taskboard/phpunit/Column/ColumnColorRetrieverTest.php +95 −0 Go to diff View file
A plugins/taskboard/phpunit/REST/v1/Columns/ColumnsGetterTest.php +181 −0 Go to diff View file
M plugins/taskboard/tests/rest/TaskboardTest.php +48 −0 Go to diff View file
M plugins/taskboard/tests/rest/_fixtures/taskboard/project.xml +4 −63 Go to diff View file