stable

Clone or download

Read-only

Site administrators must be able to choose if project description is mandatory on ther platform

part of story #8283 Enhance project creation user experience How to test: As site administrator go in Project > Project settings > Fields You should have a always there field: "Short description" This field is not updatable, you can only switch it from required to optional. On existing platform field is mandatory by default, On new instances field is optional by default. Change-Id: Iacda905b2e86880cc69ced30d01a700240e7cf4d

Modified Files

Name
M site-content/en_US/admin/admin.tab +0 −4 Go to diff View file
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +9 −0 Go to diff View file
M site-content/fr_FR/admin/admin.tab +0 −3 Go to diff View file
M src/common/Project/Admin/DescriptionFields/DescriptionFieldAdminPresenterBuilder.php +23 −3 Go to diff View file
M src/common/Project/Admin/DescriptionFields/FieldPresenter.php +8 −2 Go to diff View file
M src/common/Project/Admin/DescriptionFields/FieldsListPresenter.php +1 −3 Go to diff View file
M src/common/Project/CustomDescription/CustomDescriptionDao.class.php +14 −2 Go to diff View file
M src/common/Request/RouteCollector.php +8 −3 Go to diff View file
M src/common/admin/AdminSidebarPresenter.php +5 −1 Go to diff View file
M src/common/admin/ProjectCreation/ProjectFieldsDisplayController.php +2 −2 Go to diff View file
M src/common/admin/ProjectCreation/ProjectFieldsUpdateController.php +11 −24 Go to diff View file
A src/common/admin/ProjectCreation/ProjectsFieldDescriptionUpdater.php +77 −0 Go to diff View file
M src/db/mysql/database_initvalues.sql +1 −0 Go to diff View file
M src/templates/admin/projects/description_fields_list.mustache +20 −25 Go to diff View file
A tests/phpunit/common/Project/Admin/DescriptionFields/DescriptionFieldAdminPresenterBuilderTest.php +77 −0 Go to diff View file
A tests/phpunit/common/Project/Admin/ProjectCreation/ProjectsFieldDescriptionUpdaterTest.php +116 −0 Go to diff View file