stable

Clone or download

Read-only

Returns slim milestones in REST API

This is part of story #8658: Do not show closed milestones by default This allows to gain significant improvements in project/:id/milestones and milestones/:id/milestones loading time. On my setup, loading 50 submilestones now takes 1s instead of 2s. Change-Id: If1dc669b3284a25e9af388e33a2fcc73a9388842

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/Milestone/MilestoneRepresentationBuilder.class.php +13 −5 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/MilestoneRepresentation.class.php +21 −9 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/MilestoneResource.class.php +16 −3 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/ProjectMilestonesResource.class.php +2 −2 Go to diff View file
M plugins/agiledashboard/include/Planning/MilestonePaneFactory.class.php +12 −5 Go to diff View file
M plugins/agiledashboard/include/agiledashboardPlugin.class.php +1 −0 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/milestone/milestone-service.js +2 −1 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/milestone/milestone-service.spec.js +1 −1 Go to diff View file
M src/common/REST/v1/MilestoneRepresentationBase.class.php +3 −1 Go to diff View file
M src/common/event/Event.class.php +8 −6 Go to diff View file
M src/common/project/REST/v1/ProjectResource.class.php +20 −10 Go to diff View file
M tests/rest/ProjectTest.php +24 −1 Go to diff View file