stable

Clone or download

Read-only

feat: filter subtasks that are out of date

Just like task filtering that has been put in place at git #tuleap/stable/c7cc359ee2c70a106bd07e9dcd54dec5ccaec5d9, we should filter the subtasks (same conditions apply). No changes for parent tasks. Part of story #20979: Display children in Roadmap Change-Id: I3b34fe79d5cee81a52adf5d3f5903098d3415d0c

Modified Files

Name
A plugins/roadmap/include/Roadmap/REST/v1/IDetectIfArtifactIsOutOfDate.php +31 −0 Go to diff View file
M plugins/roadmap/include/Roadmap/REST/v1/RoadmapResource.php +5 −3 Go to diff View file
M plugins/roadmap/include/Roadmap/REST/v1/RoadmapTasksOutOfDateFilter.php +6 −114 Go to diff View file
M plugins/roadmap/include/Roadmap/REST/v1/RoadmapTasksRetriever.php +0 −1 Go to diff View file
M plugins/roadmap/include/Roadmap/REST/v1/SubtasksRetriever.php +13 −1 Go to diff View file
A plugins/roadmap/include/Roadmap/REST/v1/TaskOutOfDateDetector.php +156 −0 Go to diff View file
M plugins/roadmap/include/Roadmap/REST/v1/TasksResource.php +6 −0 Go to diff View file
M plugins/roadmap/tests/unit/Roadmap/REST/v1/RoadmapTasksOutOfDateFilterTest.php +26 −290 Go to diff View file
M plugins/roadmap/tests/unit/Roadmap/REST/v1/RoadmapTasksRetrieverTest.php +0 −1 Go to diff View file
M plugins/roadmap/tests/unit/Roadmap/REST/v1/SubtasksRetrieverTest.php +35 −10 Go to diff View file
A plugins/roadmap/tests/unit/Roadmap/REST/v1/TaskOutOfDateDetectorTest.php +326 −0 Go to diff View file