stable

Clone or download

Read-only

Change logic for project template fetch

Templates displayed to project creation and template accepted at REST creation should be the same. In addition to that, the templates are internalized in Core because one template doesn't belong to only one plugin. Part of story #8283 Enhance project creation user experience Change-Id: Ib7cb754bca9cae86633dfeb487acdf5d9fe413f6

Modified Files

Name
M plugins/agiledashboard/include/agiledashboardPlugin.php +0 −31 Go to diff View file
M plugins/agiledashboard/site-content/fr_FR/LC_MESSAGES/tuleap-agiledashboard.po +0 −6 Go to diff View file
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +9 −0 Go to diff View file
M src/common/Glyph/GlyphFinder.php +1 −1 Go to diff View file
M src/common/Project/REST/v1/ProjectResource.class.php +8 −0 Go to diff View file
M src/common/Project/REST/v1/RestProjectCreator.php +10 −14 Go to diff View file
M src/common/Project/Registration/ProjectRegistrationPresenter.php +6 −1 Go to diff View file
M src/common/Project/Registration/ProjectRegistrationPresenterBuilder.php +14 −8 Go to diff View file
R src/common/Project/REST/v1/InvalidTemplateException.php Go to diff View file
R src/common/Project/Registration/TuleapProjectTemplatesCollector.php Go to diff View file
A src/common/Project/Registration/Template/ScrumTemplate.php +79 −0 Go to diff View file
A src/common/Project/Registration/Template/TemplateFactory.php +60 −0 Go to diff View file
R src/common/Project/Registration/TemplatePresenter.php Go to diff View file
M src/common/Request/RouteCollector.php +16 −7 Go to diff View file
R plugins/agiledashboard/glyphs/scrum.svg Go to diff View file
M tests/phpunit/common/Glyph/GlyphFinderTest.php +2 −26 Go to diff View file
M tests/phpunit/common/Project/REST/v1/RestProjectCreatorTest.php +10 −1 Go to diff View file
A tests/phpunit/common/Project/Registration/Template/TemplateFactoryTest.php +58 −0 Go to diff View file
M tests/rest/tests/ProjectTest.php +3 −2 Go to diff View file