stable

Clone or download

Read-only

Implement semantic mecanism

part of: story #21362 Base artifact timeframe on a linked artifact How to test: - Create a relase, add several sprints containing user stories inside - Add a roadmap widget displaying User stories - In the table tracker_semantic_timeframe, add a n-uplet containing the id of the user story tracker for the tracker_id column, and the id of the sprint tracker for the implied_from_tracker_id column - Go back to the widget --> The user stories timeperiods match the ones of the sprints they are into. Change-Id: I8b3c63c148a9969bdf54517af03cd933df78e461

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/FormElement/Burnup.php +8 −9 Go to diff View file
M plugins/agiledashboard/include/AgileDashboardRouterBuilder.php +11 −1 Go to diff View file
M plugins/agiledashboard/include/Planning/MilestoneFactory.class.php +7 −1 Go to diff View file
M plugins/agiledashboard/include/agiledashboardPlugin.php +11 −4 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/TaskBuilder.php +9 −2 Go to diff View file
M plugins/program_management/include/REST/v1/ProjectResource.php +7 −1 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +7 −1 Go to diff View file
M plugins/projectmilestones/include/Widget/ProjectMilestonesPresenterBuilder.php +11 −4 Go to diff View file
M plugins/roadmap/include/Roadmap/REST/v1/RoadmapResource.php +16 −4 Go to diff View file
M plugins/roadmap/include/Roadmap/REST/v1/TasksResource.php +7 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Artifact.php +6 −2 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/ArtifactLinkFieldValueDao.php +21 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/LinksRetriever.php +56 −18 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_ArtifactLink.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Burndown.php +7 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Date.php +7 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Numeric.php +7 −1 Go to diff View file
A plugins/tracker/include/Tracker/Semantic/Timeframe/Exceptions/ArtifactHasNoLinkToArtifactOfTargetTracker.php +39 −0 Go to diff View file
A plugins/tracker/include/Tracker/Semantic/Timeframe/Exceptions/ArtifactHasTooManyLinksToArtifactsOfTargetTracker.php +39 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/SemanticTimeframeBuilder.php +12 −10 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/TimeframeImpliedFromAnotherTracker.php +80 −4 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_SemanticManager.class.php +7 −1 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +7 −1 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +16 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/FormElement/Field/ArtifactLink/LinksRetrieverTest.php +90 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Timeframe/SemanticTimeframeBuilderTest.php +15 −9 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Timeframe/TimeframeImpliedFromAnotherTrackerTest.php +239 −21 Go to diff View file
M plugins/velocity/include/velocityPlugin.php +7 −1 Go to diff View file