dev

Forked from tuleap/dev

Clone or download

Read-only

PATCH /backlog_items/{id}/children- "remove" and "add" properties

Include: - refactoring of the way add/remove are validated - first step of link/unlink element refactoring (artifact link updater) Part of story #7511 PlanningV2 - Drag'nDrop backlog items Change-Id: I6e0ec9f2ec5c378cdb39309033f4acfd9f04fe7f

Modified Files

Name
A plugins/agiledashboard/include/AgileDashboard/REST/v1/ArtifactCannotBeChildrenOfException.class.php +28 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/ArtifactLinkUpdater.class.php +66 −5 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/BacklogItemResource.php +49 −14 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/REST/v1/FilterValidBacklogItems.class.php +32 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/REST/v1/IFilterValidElementsToUnkink.php +28 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/REST/v1/IValidateElementsToAdd.php +32 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/MilestoneResource.class.php +1 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/MilestoneResourceValidator.class.php +20 −25 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/REST/v1/PatchAddBacklogItemsValidator.class.php +60 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/REST/v1/PatchAddContentValidator.class.php +59 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/REST/v1/PatchAddRemoveValidator.class.php +70 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/ProjectBacklogResource.class.php +1 −1 Go to diff View file
M plugins/agiledashboard/include/autoload.php +9 −2 Go to diff View file
M tests/rest/BacklogItemsTest.php +51 −9 Go to diff View file