stable

Clone or download

Read-only

fix: create backlog should create backlog

Following git #tuleap/stable/53ff20953eeffe4078e84648eb2cdf289c24eb32, we are not anymore able to create backlog in top backlog empty state. Click on the button does nothing. Strategy here is to have an independant scrum backlog creation than ScrumConfigurationUpdater that is doing a lot of stuff not necessary for the ease of onboarding. Took the opportunity to pass the CSRF challenge in POST instead of GET. "Start scrum" (when split is deactivated `tuleap config-set feature_flag_temporarily_deactivate_split_kanban_for_project 1`) or "Create backlog" should create default scrum plannings. Closes request #34390: Create backlog should create backlog Change-Id: I38e6cad6f11a2c36126b0afb2132028e8bcc4077

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/AdminController.class.php +0 −5 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/CSRFSynchronizerTokenProvider.php +34 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/CreateBacklogController.php +100 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/FirstScrumCreator.php +27 −24 Go to diff View file
M plugins/agiledashboard/include/AgileDashboardRouterBuilder.php +1 −0 Go to diff View file
M plugins/agiledashboard/include/Planning/MilestoneControllerFactory.php +3 −0 Go to diff View file
M plugins/agiledashboard/include/Planning/VirtualTopMilestoneController.php +3 −1 Go to diff View file
M plugins/agiledashboard/include/Planning/VirtualTopMilestonePresenter.php +3 −5 Go to diff View file
M plugins/agiledashboard/include/Planning/VirtualTopMilestonePresenterBuilder.php +2 −2 Go to diff View file
D plugins/agiledashboard/include/ServiceAdministration/CreateBacklogURI.php +0 −53 Go to diff View file
M plugins/agiledashboard/include/ServiceAdministration/ScrumConfigurationUpdater.php +7 −4 Go to diff View file
M plugins/agiledashboard/include/agiledashboardPlugin.php +44 −0 Go to diff View file
M plugins/agiledashboard/site-content/fr_FR/LC_MESSAGES/tuleap-agiledashboard.po +17 −1 Go to diff View file
M plugins/agiledashboard/site-content/pt_BR/LC_MESSAGES/tuleap-agiledashboard.po +12 −0 Go to diff View file
M plugins/agiledashboard/templates/show-top.mustache +9 −4 Go to diff View file
A plugins/agiledashboard/tests/unit/AgileDashboard/CreateBacklogControllerTest.php +188 −0 Go to diff View file
M plugins/agiledashboard/tests/unit/Planning/VirtualTopMilestonePresenterBuilderTest.php +2 −7 Go to diff View file
D plugins/agiledashboard/tests/unit/ServiceAdministration/CreateBacklogURITest.php +0 −52 Go to diff View file
M plugins/agiledashboard/tests/unit/ServiceAdministration/ScrumConfigurationUpdaterTest.php +6 −1 Go to diff View file
M src/common/Layout/Feedback/NewFeedback.php +20 −0 Go to diff View file