stable
Clone or download
Read-only
Add project background information in the milestone and backlog item representations
To have the capacity of changing the color of the element when we are dealing with elements related to another project we need to have information about the project background color. This information is now available in the REST representations. Part of story #18405: distinguish Features and P.I. that comes from a Program in a Team Change-Id: I27c3840289a8df63d839ce9d7cc059f2240e1596
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/agiledashboard/include/AgileDashboard/REST/v1/AgileDashboardProjectResource.php | +4 | −1 | Go to diff View file |
M | plugins/agiledashboard/include/AgileDashboard/REST/v1/BacklogItemParentReference.class.php | +3 | −2 | Go to diff View file |
M | plugins/agiledashboard/include/AgileDashboard/REST/v1/BacklogItemRepresentation.php | +4 | −2 | Go to diff View file |
M | plugins/agiledashboard/include/AgileDashboard/REST/v1/BacklogItemRepresentationFactory.class.php | +13 | −5 | Go to diff View file |
M | plugins/agiledashboard/include/AgileDashboard/REST/v1/BacklogItemResource.php | +4 | −1 | Go to diff View file |
M | plugins/agiledashboard/include/AgileDashboard/REST/v1/Milestone/MilestoneRepresentationBuilder.php | +10 | −2 | Go to diff View file |
M | plugins/agiledashboard/include/AgileDashboard/REST/v1/MilestoneRepresentation.class.php | +7 | −5 | Go to diff View file |
M | plugins/agiledashboard/include/AgileDashboard/REST/v1/MilestoneResource.class.php | +6 | −2 | Go to diff View file |
M | plugins/agiledashboard/include/AgileDashboard/REST/v1/ProjectBacklogResource.class.php | +4 | −1 | Go to diff View file |
M | plugins/agiledashboard/include/AgileDashboard/REST/v2/BacklogItemRepresentation.php | +7 | −3 | Go to diff View file |
M | plugins/agiledashboard/include/AgileDashboard/REST/v2/BacklogItemRepresentationFactory.class.php | +11 | −1 | Go to diff View file |
M | plugins/agiledashboard/include/AgileDashboard/REST/v2/ProjectBacklogResource.class.php | +3 | −1 | Go to diff View file |
M | plugins/agiledashboard/tests/unit/REST/v1/Milestone/MilestoneRepresentationBuilderTest.php | +4 | −2 | Go to diff View file |
A | plugins/tracker/include/REST/ProjectReferenceWithBackground.php | +53 | −0 | Go to diff View file |
M | plugins/tracker/include/REST/TrackerReference.class.php | +17 | −11 | Go to diff View file |
A | plugins/tracker/tests/unit/REST/ProjectTrackerReferenceRepresentationTest.php | +69 | −0 | Go to diff View file |
M | src/common/Project/ProjectBackground/ProjectBackgroundConfiguration.php | +3 | −3 | Go to diff View file |
M | src/common/Project/ProjectBackground/ProjectBackgroundRetriever.php | +8 | −5 | Go to diff View file |
M | src/common/Project/ProjectBackground/ProjectBackgroundSelection.php | +0 | −5 | Go to diff View file |
M | src/common/Project/REST/v1/HeaderBackgroundRepresentation.php | +12 | −1 | Go to diff View file |
M | src/common/layout/BaseLayout.php | +1 | −1 | Go to diff View file |
M | tests/unit/common/Project/ProjectBackground/ProjectBackgroundConfigurationTest.php | +1 | −1 | Go to diff View file |
M | tests/unit/common/Project/ProjectBackground/ProjectBackgroundRetrieverTest.php | +1 | −1 | Go to diff View file |
D | tests/unit/common/Project/ProjectBackground/ProjectBackgroundSelectionTest.php | +0 | −37 | Go to diff View file |
A | tests/unit/common/Project/REST/v1/HeaderBackgroundRepresentationTest.php | +35 | −0 | Go to diff View file |