stable
Clone or download
Read-only
When a project is created from an uploaded archive, we should indicate that in project details (both project admin, and site admin parts). It displays a link "User provided template". For now this link is dummy, since we currently lose the archive at the end of the import. A dedicated task to move it to a safe place, and a controller to handle the download will be done in dedicated contributions. Part of story #36484 create a new project from an XML template Change-Id: Id71015ba684904a9c947046b09b8d61c99e43776
Modified Files
Name | ||||
---|---|---|---|---|
M | site-content/fr_FR/LC_MESSAGES/tuleap-core.po | +3 | −0 | Go to diff View file |
M | site-content/pt_BR/LC_MESSAGES/tuleap-core.po | +3 | −0 | Go to diff View file |
M | src/common/Project/Admin/ProjectDetails/ProjectDetailsController.php | +3 | −0 | Go to diff View file |
M | src/common/Project/Admin/ProjectDetails/ProjectDetailsPresenter.php | +31 | −10 | Go to diff View file |
M | src/common/Project/Admin/ProjectDetailsPresenter.php | +33 | −13 | Go to diff View file |
M | src/common/Project/Registration/Template/Upload/ExtractArchiveAndCreateProject.php | +4 | −0 | Go to diff View file |
A | src/common/Project/Registration/Template/Upload/RetrieveUploadedArchiveForProject.php | +26 | −0 | Go to diff View file |
A | src/common/Project/Registration/Template/Upload/SaveUploadedArchiveForProject.php | +26 | −0 | Go to diff View file |
A | src/common/Project/Registration/Template/Upload/UploadedArchiveForProjectDao.php | +49 | −0 | Go to diff View file |
M | src/common/Queue/WorkerEventProcessorFinder.php | +2 | −0 | Go to diff View file |
M | src/db/mysql/database_structure.sql | +5 | −0 | Go to diff View file |
A | src/db/mysql/updates/2024/202403181030_add_project_template_archive_table.php | +41 | −0 | Go to diff View file |
M | src/templates/admin/projects/project-info.mustache | +5 | −0 | Go to diff View file |
M | src/templates/project/project-details.mustache | +5 | −0 | Go to diff View file |
M | src/www/project/admin/editgroupinfo.php | +1 | −0 | Go to diff View file |
A | tests/integration/tests/Project/Registration/Template/Upload/RetrieveUploadedArchiveForProjectStub.php | +46 | −0 | Go to diff View file |
A | tests/integration/tests/Project/Registration/Template/Upload/UploadedArchiveForProjectDaoTest.php | +41 | −0 | Go to diff View file |
A | tests/lib/Stubs/Project/Registration/Template/Upload/SaveUploadedArchiveForProjectStub.php | +49 | −0 | Go to diff View file |
M | tests/unit/common/Project/ProjectDetails/ProjectDetailsControllerTest.php | +2 | −0 | Go to diff View file |
M | tests/unit/common/Project/Registration/Template/Upload/ExtractArchiveAndCreateProjectTest.php | +16 | −0 | Go to diff View file |