stable

Clone or download

Read-only

Add mandatory trove cat in project creation

This task is part of story #8560 use trove cat at project creation If you define some mandatory trovecats, they will be displayed in the project creation process (through the web UI). The user that creates the project will be able to select direct children of this category. Change-Id: Ica3bac16eb9d0cd21925a2d7b87083404962be56

Modified Files

Name
M site-content/en_US/project/register.tab +2 −0 Go to diff View file
M site-content/fr_FR/project/register.tab +2 −0 Go to diff View file
M src/common/autoload.php +5 −2 Go to diff View file
M src/common/project/OneStepCreation/OneStepCreationController.class.php +14 −3 Go to diff View file
M src/common/project/OneStepCreation/OneStepCreationPresenter.class.php +24 −5 Go to diff View file
M src/common/project/OneStepCreation/OneStepCreationRequest.class.php +50 −11 Go to diff View file
M src/common/project/OneStepCreation/OneStepCreationRouter.class.php +16 −7 Go to diff View file
M src/common/project/OneStepCreation/OneStepCreationValidator.class.php +30 −12 Go to diff View file
A src/common/trove/TroveCat.php +70 −0 Go to diff View file
A src/common/trove/TroveCatFactory.php +65 −0 Go to diff View file
A src/common/trove/TrovecatDao.php +46 −0 Go to diff View file
M src/templates/project/register.mustache +19 −0 Go to diff View file
M src/www/project/register.php +4 −2 Go to diff View file
M tests/simpletest/common/project/OneStepProjectCreationPresenterTest.php +10 −4 Go to diff View file
M tests/simpletest/common/project/OneStepProjectCreationRequestTest.php +17 −3 Go to diff View file
M tests/simpletest/common/project/OneStepProjectCreationValidatorTest.php +34 −8 Go to diff View file