stable

Clone or download

Read-only

chore: Remove Scrum mono milestone

epic #9422 Scrum v2 was drafted in 2016. A first MVP allowing a "mono-milestone" mode was implemented and put behind a feature flag. However, the epic was cancelled in 2021 and the experiment came to a close. The MVP code and the feature flag (with its associated conditions) should be removed. It will make it easier to maintain the Backlog plugin (former AgileDashboard). Fewer conditions -> easier code. The whole agiledashboard is not broken. Closes request #34748: Remove Scrum Mono-milestone feature Change-Id: I10991bbc515df99e87143f8cdbd5e3766545692f

Modified Files

Name
M plugins/agiledashboard/db/install.sql +0 −5 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/AdminController.class.php +3 −17 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/AdminScrumPresenter.class.php +0 −31 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/CreateBacklogController.php +0 −11 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/Backlog/Backlog.php +12 −63 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/Backlog/BacklogFactory.class.php +3 −20 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/Backlog/DescendantItemsFinder.class.php +0 −13 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/MilestoneDao.class.php +0 −28 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/Pane/Planning/SubmilestoneFinder.class.php +2 −24 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/Sidebar/PromotedMilestoneBuilder.php +0 −3 Go to diff View file
D plugins/agiledashboard/include/AgileDashboard/MonoMilestone/MonoMilestoneBacklogItemDao.php +0 −104 Go to diff View file
D plugins/agiledashboard/include/AgileDashboard/MonoMilestone/MonoMilestoneItemsFinder.php +0 −100 Go to diff View file
D plugins/agiledashboard/include/AgileDashboard/MonoMilestone/ScrumForMonoMilestoneChecker.php +0 −82 Go to diff View file
D plugins/agiledashboard/include/AgileDashboard/MonoMilestone/ScrumForMonoMilestoneDao.php +0 −53 Go to diff View file
D plugins/agiledashboard/include/AgileDashboard/MonoMilestone/ScrumForMonoMilestoneDeprecatedException.php +0 −33 Go to diff View file
D plugins/agiledashboard/include/AgileDashboard/MonoMilestone/ScrumForMonoMilestoneDisabler.php +0 −39 Go to diff View file
D plugins/agiledashboard/include/AgileDashboard/MonoMilestone/ScrumForMonoMilestoneEnabler.php +0 −39 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/AgileDashboardProjectResource.php +2 −20 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/ContentForMiletoneProvider.php +0 −16 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Milestone/MilestoneRepresentationBuilder.php +3 −16 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/MilestoneResource.class.php +0 −19 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/MilestoneResourceValidator.class.php +1 −18 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/ProjectBacklogResource.class.php +0 −19 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v2/ProjectBacklogResource.class.php +0 −16 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Scrum/ScrumPresenterBuilder.php +1 −30 Go to diff View file
M plugins/agiledashboard/include/AgileDashboardRouter.class.php +0 −10 Go to diff View file
M plugins/agiledashboard/include/AgileDashboardRouterBuilder.php +1 −9 Go to diff View file
M plugins/agiledashboard/include/AgileDashboardService.php +0 −3 Go to diff View file
M plugins/agiledashboard/include/Planning/ArtifactMilestone.class.php +5 −27 Go to diff View file
M plugins/agiledashboard/include/Planning/MilestoneController.class.php +0 −6 Go to diff View file
M plugins/agiledashboard/include/Planning/MilestoneControllerFactory.php +0 −4 Go to diff View file
M plugins/agiledashboard/include/Planning/MilestoneFactory.class.php +4 −43 Go to diff View file
M plugins/agiledashboard/include/Planning/PlanningController.class.php +0 −12 Go to diff View file
M plugins/agiledashboard/include/Planning/PlanningFactory.class.php +0 −11 Go to diff View file
M plugins/agiledashboard/include/Planning/ScrumPlanningFilter.php +8 −95 Go to diff View file
M plugins/agiledashboard/include/Planning/VirtualTopMilestoneController.php +0 −7 Go to diff View file
M plugins/agiledashboard/include/ServiceAdministration/ScrumConfigurationUpdater.php +0 −16 Go to diff View file
M plugins/agiledashboard/include/agiledashboardPlugin.php +4 −42 Go to diff View file
M plugins/agiledashboard/site-content/fr_FR/LC_MESSAGES/tuleap-agiledashboard.po +0 −35 Go to diff View file
M plugins/agiledashboard/site-content/pt_BR/LC_MESSAGES/tuleap-agiledashboard.po +0 −27 Go to diff View file
M plugins/agiledashboard/templates/admin-scrum.mustache +8 −31 Go to diff View file
M plugins/agiledashboard/tests/unit/AdminControllerTest.php +0 −3 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/CreateBacklogControllerTest.php +0 −40 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Milestone/Pane/Planning/SubmilestoneFinderTest.php +0 −25 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Milestone/ParentTrackerRetrieverTest.php +0 −3 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Milestone/Sidebar/AgileDashboardPromotedMilestonesRetrieverTest.php +0 −3 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Milestone/Sidebar/PromotedMilestoneBuilderTest.php +0 −2 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Milestone/Sidebar/PromotedMilestoneListBuilderTest.php +0 −8 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Milestone/Sidebar/PromotedMilestoneListTest.php +0 −14 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Milestone/Sidebar/PromotedMilestoneTest.php +0 −3 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/ArtifactMilestoneTest.php +30 −15 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/MilestoneControllerTest.php +0 −2 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/MilestoneFactoryGetAllMilestonesTest.php +0 −4 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/MilestoneFactoryGetBareMilestoneByArtifactIdTest.php +0 −2 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/MilestoneFactoryGetLastMilestoneCreatedTest.php +0 −2 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/MilestoneFactoryGetMilestoneFromArtifactTest.php +0 −3 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/MilestoneFactoryGetMilestoneTest.php +0 −3 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/MilestoneFactoryGetPaginatedMilestonesTest.php +6 −19 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/MilestoneFactoryGetTopMilestonesTest.php +0 −2 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/MilestoneFactoryPlannedArtifactsTest.php +0 −1 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/MilestoneFactoryTest.php +0 −3 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/PlanningControllerTest.php +0 −15 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/ScrumPlanningFilterTest.php +4 −28 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Scrum/ScrumPresenterBuilderTest.php +0 −145 Go to diff View file
D plugins/agiledashboard/tests/unit/AgileDashboard/ScrumForMonoMilestoneCheckerTest.php +0 −143 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboardRouterTest.php +0 −1 Go to diff View file
M plugins/agiledashboard/tests/unit/REST/v1/Milestone/MilestoneRepresentationBuilderTest.php +0 −47 Go to diff View file
M plugins/agiledashboard/tests/unit/REST/v1/MilestoneResourceValidatorTest.php +0 −2 Go to diff View file
M plugins/agiledashboard/tests/unit/ServiceAdministration/ScrumConfigurationUpdaterTest.php +0 −170 Go to diff View file
M plugins/cardwall/include/Pane.class.php +0 −16 Go to diff View file
M plugins/projectmilestones/include/Widget/ProjectMilestonesPresenterBuilder.php +0 −15 Go to diff View file
M plugins/taskboard/include/taskboardPlugin.php +0 −12 Go to diff View file
M plugins/testplan/include/testplanPlugin.php +0 −12 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/dao/Tracker_ArtifactDao.class.php +0 −54 Go to diff View file