stable

Clone or download

Read-only

Import project icon

part of story #22687 distinguish projects with an icon How to test update rncrng with make rnc2rng-docker command in a project add in xml an icon example: <project access="public" description="" full-name="Project administration test" unix-name="project-admin-test" icon-codepoint="😀"> Import your project: => the icon is displayed in project home page Note: An assertion have been added in cypress tests to be sure that icon import won't break Note psalm: I didn't manage to don't have breaking change with psalm, when I introduce `db_es` in `ProjectCreator` it makes psalm unhappy with: ERROR: DeprecatedFunction - src/common/Project/ProjectCreator.class.php:758:19 - The function db_query has been marked as deprecated (see https://psalm.dev/201) Change-Id: I51255f913b36841f0a11ca4dc10ef10327b9bbe7

Modified Files

Name
A src/common/Project/Email/EmailCopier.php +40 −0 Go to diff View file
M src/common/Project/ProjectCreationData.class.php +7 −0 Go to diff View file
M src/common/Project/ProjectCreator.class.php +7 −18 Go to diff View file
M src/common/xml/resources/project-definition.rnc +1 −0 Go to diff View file
M src/common/xml/resources/project/project-definition.rng +5 −0 Go to diff View file
M src/common/xml/resources/project/project.rng +5 −0 Go to diff View file
M src/themes/BurningParrot/templates/sidebar/header.mustache +1 −1 Go to diff View file
M tests/e2e/full/_fixtures/project_administration/project.xml +1 −1 Go to diff View file
M tests/e2e/full/cypress/integration/project_admin.spec.ts +4 −0 Go to diff View file
M tests/unit/common/Project/ProjectCreatorTest.php +11 −2 Go to diff View file
M tests/unit/common/Project/ProjectXMLImporterTest.php +2 −0 Go to diff View file