stable
Clone or download
This will allow us to progressively extend the feature to the whole project without delivering a broken feature if half of a service is supporting it. Have a project with a defined background: PUT /projects/:id/header_background { "identifier": "beach" } Go to the project dashboard: the background is displayed Go to the project admin: no background Run the following command: tuleap config-set feature_flag_project_background 1 Go to the project dashboard: the background is displayed Go to the project admin: the background is displayed Run the following command: tuleap config-set feature_flag_project_background 0 Go to the project dashboard: the background is displayed Go to the project admin: no background Part of story #16211 Set a header background image Change-Id: I3778fce1f5e5b997e71e4f7e589cea8e28b8f47f
Modified Files
Name | ||||
---|---|---|---|---|
M | src/common/CLI/Events/GetWhitelistedKeys.php | +2 | −0 | Go to diff View file |
M | src/common/Dashboard/Project/ProjectDashboardController.php | +6 | −6 | Go to diff View file |
M | src/common/Project/Admin/Navigation/HeaderNavigationDisplayer.php | +6 | −6 | Go to diff View file |
M | src/common/Project/Admin/ProjectDetails/ProjectDetailsController.php | +2 | −2 | Go to diff View file |
M | src/common/Project/Admin/ProjectMembers/ProjectMembersController.php | +2 | −2 | Go to diff View file |
M | src/common/Project/Admin/Routing/AdministrationLayoutHelper.php | +2 | −2 | Go to diff View file |
M | src/common/Project/Home.php | +2 | −2 | Go to diff View file |
M | src/common/Project/Label/IndexController.php | +2 | −2 | Go to diff View file |
A | src/common/Project/ProjectBackground/ProjectBackgroundConfiguration.php | +62 | −0 | Go to diff View file |
M | src/www/include/html.php | +2 | −2 | Go to diff View file |
M | src/www/project/admin/editugroup.php | +2 | −2 | Go to diff View file |
M | src/www/project/admin/permission_per_group.php | +2 | −2 | Go to diff View file |
M | src/www/project/admin/project_admin_utils.php | +2 | −2 | Go to diff View file |
M | src/www/project/admin/ugroup.php | +2 | −2 | Go to diff View file |
A | tests/unit/common/Project/ProjectBackground/ProjectBackgroundConfigurationTest.php | +85 | −0 | Go to diff View file |