stable
Clone or download
Read-only
First step of widget import, this supports: - Creation of lines and columns - Import of widget without configuration - Basic support for configuration - It might not work for all widgets as some are broken (RSS) or requires references (kanban) that are not yet supported. Precise layout (columns size) will be done in a future commit. Part of request #11076 Project dashboards should be part of xml import Change-Id: Ibc954b3512add6aa237e988d6094fe17284464b3
Modified Files
Name | ||||
---|---|---|---|---|
M | src/common/Dashboard/Project/ProjectDashboardXMLImporter.php | +144 | −3 | Go to diff View file |
M | src/common/Dashboard/Widget/Add/AddWidgetController.php | +2 | −38 | Go to diff View file |
M | src/common/Dashboard/Widget/DashboardWidgetDao.php | +13 | −1 | Go to diff View file |
M | src/common/widget/Widget.class.php | +9 | −1 | Go to diff View file |
M | src/common/widget/WidgetFactory.php | +52 | −2 | Go to diff View file |
M | src/common/xml/resources/dashboard.rnc | +15 | −1 | Go to diff View file |
M | src/common/xml/resources/project/dashboard.rng | +30 | −0 | Go to diff View file |
M | src/utils/import_project_xml.php | +5 | −8 | Go to diff View file |
M | tests/simpletest/common/Dashboard/Project/ProjectDashboardXMLImporterTest.php | +531 | −12 | Go to diff View file |