stable

Clone or download

Read-only

story #11576 limit who can request a project

Avoid having to validate hundered or thousands of projects because the "register" page got on HN front page. Take the opportunity to - Start centralising Project Creation related stuff in a dedicated site admin screen (for those settings and templates ATM). - Store in DB "sys_project_approval" parameter. Change-Id: I61b09406d73f5e318c14050b71a8916e33228971

Modified Files

Name
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +58 −0 Go to diff View file
M site-content/tuleap-core.pot +49 −0 Go to diff View file
M src/common/Request/FrontRouter.php +12 −0 Go to diff View file
M src/common/admin/AdminSidebarPresenter.php +0 −1 Go to diff View file
A src/common/admin/ProjectCreationModerationDisplayController.php +94 −0 Go to diff View file
A src/common/admin/ProjectCreationModerationPresenter.php +50 −0 Go to diff View file
A src/common/admin/ProjectCreationModerationUpdateController.php +77 −0 Go to diff View file
A src/common/admin/ProjectCreationNavBarPresenter.php +42 −0 Go to diff View file
A src/common/admin/ProjectTemplatesController.php +69 −0 Go to diff View file
M src/common/autoload.php +7 −2 Go to diff View file
M src/common/dao/ProjectDao.class.php +15 −0 Go to diff View file
M src/common/include/Codendi_Request.class.php +8 −0 Go to diff View file
M src/common/project/Admin/TemplateListPresenter.php +5 −0 Go to diff View file
M src/common/project/OneStepCreation/OneStepCreationController.class.php +16 −10 Go to diff View file
M src/common/project/ProjectManager.class.php +38 −7 Go to diff View file
M src/common/project/REST/v1/ProjectResource.class.php +4 −0 Go to diff View file
M src/db/mysql/database_initvalues.sql +1 −0 Go to diff View file
A src/db/mysql/updates/2018/201806061457_migrate_project_approval_forgeconfig.php +70 −0 Go to diff View file
M src/etc/local.inc.dist +0 −4 Go to diff View file
A src/templates/admin/projects/creation-settings-tabs.mustache +8 −0 Go to diff View file
A src/templates/admin/projects/moderation.mustache +70 −0 Go to diff View file
M src/templates/admin/projects/templatelist.mustache +51 −46 Go to diff View file
M src/templates/admin/sidebar_configuration.mustache +1 −1 Go to diff View file
A src/templates/project/register-disabled.mustache +5 −0 Go to diff View file
M src/www/admin/index.php +2 −2 Go to diff View file
D src/www/admin/templates.php +0 −44 Go to diff View file
A src/www/scripts/tuleap/admin-project-creation-moderation.js +34 −0 Go to diff View file
M tests/integration/_fixtures/local.inc +0 −4 Go to diff View file