stable

Clone or download

Read-only

request #14418 New project creation should be available for anybody

How to test: Given this is a new instance, project creation must depends on new UI Given this is an old instance, project creation must depends on legacy UI. Besides site admin can set the platform project creation to new UI with a cli option tuleap config-set force_new_project_creation_usage 1 => then you are redirected on new UI by default This patch only changes the url displayed for project creation: - if you forge url project/new you should always access to the new UI - if you forge the url to register.php you should always access to old UI As new instance is the instance by default on new UI, this patch also update the cypress tests: => make test_cypress => no error in test_results_e2e_full Change-Id: I4691430e52e68b835923e1b6ea11d4fb775c77f8

Modified Files

Name
M src/common/CLI/Events/GetWhitelistedKeys.php +1 −0 Go to diff View file
M src/common/Project/ProjectManager.class.php +1 −0 Go to diff View file
M src/common/Project/Registration/ProjectRegistrationController.php +0 −5 Go to diff View file
M src/db/mysql/database_initvalues.sql +1 −0 Go to diff View file
M src/templates/admin/projects/projectlist.mustache +1 −1 Go to diff View file
M src/www/scripts/project/registration/po/fr_FR.po +0 −8 Go to diff View file
M src/www/scripts/project/registration/src/components/Information/Agreement/PolicyAgreement.vue +1 −1 Go to diff View file
M src/www/scripts/project/registration/src/components/Information/Agreement/__snapshots__/PolicyAgreement.test.ts.snap +1 −1 Go to diff View file
M src/www/scripts/project/registration/src/components/Information/Input/ProjectShortName.test.ts +2 −2 Go to diff View file
M src/www/scripts/project/registration/src/components/Information/Input/ProjectShortName.vue +1 −1 Go to diff View file
M src/www/scripts/project/registration/src/components/Information/ProjectInformation.test.ts +0 −3 Go to diff View file
M src/www/scripts/project/registration/src/components/Information/ProjectInformation.vue +1 −4 Go to diff View file
M src/www/scripts/project/registration/src/components/Template/AllProjectTemplates.test.ts +0 −2 Go to diff View file
M src/www/scripts/project/registration/src/components/Template/AllProjectTemplates.vue +0 −3 Go to diff View file
D src/www/scripts/project/registration/src/components/UnderConstructionInformation.vue +0 −34 Go to diff View file
M src/www/themes/BurningParrot/Navbar/DropdownMenuItem/Content/Projects/ProjectsPresenter.php +9 −0 Go to diff View file
M src/www/themes/BurningParrot/templates/navbar/dropdown-menu-item/content/content-projects.mustache +1 −1 Go to diff View file
M src/www/themes/FlamingParrot/NavBarItemProjectsPresenter.php +9 −0 Go to diff View file
M src/www/themes/FlamingParrot/templates/navbar-projects.mustache +1 −1 Go to diff View file
M tests/e2e/full/cypress/integration/project_admin.spec.js +10 −5 Go to diff View file