stable

Clone or download

Read-only

Project dashboard are importable

request #11076 Project dashboards should be part of xml import We should be able to import project dashboard In order to ease review, yhis patch introduce only the dashboard name import. Linew/columns and widget will be done indedicated commits. XML example: <dashboards> <dashboard name="dash 1" /> <dashboard name="dash 2" /> <dashboard name="dash 3" /> </dashboards> If your project have: - dashboards in xml - dashboard in template import will try to create all dashboard, no priority is done between template and xml import. Change-Id: If6e2b8279fbc5372b1d5485ece767a726b1bec3e

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/AgileDashboardController.class.php +45 −23 Go to diff View file
M plugins/agiledashboard/include/Planning/PlanningController.class.php +39 −18 Go to diff View file
A src/common/Dashboard/Project/ProjectDashboardXMLImporter.php +61 −0 Go to diff View file
M src/common/autoload.php +3 −2 Go to diff View file
M src/common/project/ProjectXMLImporter.class.php +16 −1 Go to diff View file
A src/common/xml/resources/dashboard.rnc +5 −0 Go to diff View file
A src/common/xml/resources/project/dashboard.rng +12 −0 Go to diff View file
M src/common/xml/resources/project/project.rnc +2 −0 Go to diff View file
M src/common/xml/resources/project/project.rng +6 −0 Go to diff View file
M src/utils/import_project_xml.php +41 −22 Go to diff View file
M tests/integration/ProjectImportTest.php +4 −2 Go to diff View file
A tests/simpletest/common/Dashboard/Project/ProjectDashboardXMLImporterTest.php +156 −0 Go to diff View file
M tests/simpletest/common/project/ProjectXMLImporterTest.php +2 −1 Go to diff View file