stable
Clone or download
Read-only
We can now retrieve the children of a task, as soon as: * the current user can see the task * the current user can see the child * the child can be displayed as a task (semantics title & timeframe) No changes in the display of the Roadmap widget. Part of story #20979: Display children in Roadmap Change-Id: Id0ff475845b6dce729f55eaa5a297392c2f9c215
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/roadmap/include/Roadmap/REST/ResourcesInjector.php | +5 | −1 | Go to diff View file |
A | plugins/roadmap/include/Roadmap/REST/v1/IBuildATaskRepresentation.php | +30 | −0 | Go to diff View file |
A | plugins/roadmap/include/Roadmap/REST/v1/ICacheTaskRepresentationBuilderForTracker.php | +30 | −0 | Go to diff View file |
M | plugins/roadmap/include/Roadmap/REST/v1/RoadmapTasksRetriever.php | +7 | −21 | Go to diff View file |
A | plugins/roadmap/include/Roadmap/REST/v1/TaskChildrenRetriever.php | +84 | −0 | Go to diff View file |
M | plugins/roadmap/include/Roadmap/REST/v1/TaskRepresentation.php | +5 | −0 | Go to diff View file |
A | plugins/roadmap/include/Roadmap/REST/v1/TaskRepresentationBuilderForTracker.php | +88 | −0 | Go to diff View file |
A | plugins/roadmap/include/Roadmap/REST/v1/TaskRepresentationBuilderForTrackerCache.php | +107 | −0 | Go to diff View file |
A | plugins/roadmap/include/Roadmap/REST/v1/TasksResource.php | +110 | −0 | Go to diff View file |
M | plugins/roadmap/site-content/fr_FR/LC_MESSAGES/tuleap-roadmap.po | +4 | −1 | Go to diff View file |
A | plugins/roadmap/tests/unit/Roadmap/REST/v1/TaskChildrenRetrieverTest.php | +145 | −0 | Go to diff View file |
A | plugins/roadmap/tests/unit/Roadmap/REST/v1/TaskRepresentationBuilderForTrackerCacheTest.php | +240 | −0 | Go to diff View file |
A | plugins/roadmap/tests/unit/Roadmap/REST/v1/TaskRepresentationBuilderForTrackerTest.php | +118 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Builders/ArtifactTestBuilder.php | +95 | −0 | Go to diff View file |
A | tests/lib/PHPUnit/ForceStrictPHPUnitMock.php | +34 | −0 | Go to diff View file |