stable

Clone or download

Read-only

story #8451: REST route to add a kanban column

POSTing to kanban/:id/columns will now create a column and add a new semantic status open value. It should throw an error if the semantic status field is not bound to static values. Change-Id: Id4c63b4f5abf8b8bba98c94916ef5732f344feb7

Modified Files

Name
A plugins/agiledashboard/include/AgileDashboard/KanbanAddInPlaceChecker.php +76 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/KanbanColumnFactory.php +2 −2 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/KanbanColumnManager.php +53 −2 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/KanbanPresenter.class.php +6 −3 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/KanbanSemanticStatusNotBoundToStaticValuesException.php +23 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/KanbanSemanticStatusNotDefined.php +23 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/ResourcesInjector.class.php +1 −1 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanColumnPOSTRepresentation.php +29 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanRepresentationBuilder.php +8 −58 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanResource.php +88 −7 Go to diff View file
M plugins/agiledashboard/include/autoload.php +6 −2 Go to diff View file
A plugins/agiledashboard/tests/include/KanbanAddInPlaceCheckerTest.php +142 −0 Go to diff View file
M plugins/agiledashboard/tests/rest/KanbanTest.php +22 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List.class.php +9 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List_Bind.class.php +4 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List_Bind_Static.class.php +26 −9 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_Semantic_Status.class.php +55 −19 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_Semantic_Title.class.php +14 −0 Go to diff View file
M plugins/tracker/tests/Tracker_FormElement_Field_List_Bind_StaticTest.php +34 −5 Go to diff View file
M src/common/REST/Header.class.php +4 −0 Go to diff View file