stable
Clone or download
Read-only
Part of story #22687 distinguish projects with an icon To test, make sure to have the feature flag enabled => `tuleap config-set feature_flag_project_icon_display 1` How to test: - make dev-forgeupgrade - Go to the project detail - Choose an icon and save => The Unicode Codepoint is save in the database => The chosen project icon is displayed in the input Change-Id: I678944263957edf240a3a61e224e48963527417d
Modified Files
Name | ||||
---|---|---|---|---|
M | site-content/fr_FR/LC_MESSAGES/tuleap-core.po | +6 | −0 | Go to diff View file |
M | src/common/Project/Admin/ProjectDetails/ProjectDetailsController.php | +33 | −7 | Go to diff View file |
M | src/common/Project/Admin/ProjectDetails/ProjectDetailsDAO.php | +12 | −6 | Go to diff View file |
M | src/common/Project/Admin/ProjectDetails/ProjectDetailsPresenter.php | +7 | −1 | Go to diff View file |
A | src/common/Project/Icons/EmojiCodepointConverter.php | +51 | −0 | Go to diff View file |
A | src/common/Project/Icons/InvalidProjectIconException.php | +31 | −0 | Go to diff View file |
M | src/common/Project/Icons/ProjectIconChecker.php | +22 | −0 | Go to diff View file |
A | src/common/Project/Icons/icons-for-project.json | +1 | −0 | Go to diff View file |
M | src/db/mysql/database_structure.sql | +1 | −0 | Go to diff View file |
A | src/db/mysql/updates/2021/202109241452_add_project_icon.php | +41 | −0 | Go to diff View file |
M | src/templates/project/project-details.mustache | +2 | −2 | Go to diff View file |
A | tests/unit/common/Project/Icon/EmojiCodepointConverterTest.php | +55 | −0 | Go to diff View file |
M | tests/unit/common/Project/Icon/ProjectIconCheckerTest.php | +35 | −0 | Go to diff View file |
M | tests/unit/common/Project/ProjectDetails/ProjectDetailsControllerTest.php | +5 | −0 | Go to diff View file |