stable

Clone or download

Read-only

Revert "[feature] Define background color with REST API"

Story has been put on hold, there is no guarantee the changes made to the API are going to be useful some day. This reverts commit 694ae15c7119669a9cf5fd59fc3e4976ad2fd384. Part of story #21795 choose project colors in apperance Change-Id: I649acc191a378d17db4f6ca65e1bd243f82fd957

Modified Files

Name
M src/common/Color/AllowedColorsCollection.php +5 −8 Go to diff View file
D src/common/Project/ProjectBackground/ProjectBackgroundColorName.php +0 −59 Go to diff View file
M src/common/Project/ProjectBackground/ProjectBackgroundDao.php +2 −14 Go to diff View file
M src/common/Project/ProjectBackground/ProjectBackgroundName.php +1 −1 Go to diff View file
M src/common/Project/ProjectBackground/ProjectBackgroundSelection.php +1 −1 Go to diff View file
M src/common/Project/ProjectBackground/ProjectBackgroundUpdater.php +3 −15 Go to diff View file
M src/common/Project/REST/v1/HeaderBackgroundRepresentation.php +5 −26 Go to diff View file
M src/common/Project/REST/v1/ProjectResource.class.php +5 −37 Go to diff View file
M src/db/mysql/database_structure.sql +1 −2 Go to diff View file
R src/db/mysql/updates/2021/202108231506_add_background_color_column.php Go to diff View file
M tests/rest/tests/ProjectTest.php +1 −69 Go to diff View file
D tests/unit/common/Project/ProjectBackground/ProjectBackgroundColorNameTest.php +0 −34 Go to diff View file
M tests/unit/common/Project/ProjectBackground/ProjectBackgroundUpdaterTest.php +3 −13 Go to diff View file
M tests/unit/common/Project/REST/v1/HeaderBackgroundRepresentationTest.php +1 −16 Go to diff View file