stable
Clone or download
Read-only
Need a big refactoring because we actually had to delegate the management of the configuration to plugins themselves. Basically there are 2 kind of supported widgets so far: - Core widgets - Kanban Each subsequent plugin will have to add a specific code to grant the import. Part of request #11076 Project dashboards should be part of xml import. Change-Id: I290be43ec6d61f2b5704ef3046ae6c2ba36a49fd
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/agiledashboard/include/AgileDashboard/AgileDashboardController.class.php | +2 | −1 | Go to diff View file |
M | plugins/agiledashboard/include/AgileDashboard/Kanban/KanbanXmlImporter.php | +2 | −2 | Go to diff View file |
M | plugins/agiledashboard/include/AgileDashboard/Widget/WidgetKanbanCreator.php | +0 | −9 | Go to diff View file |
A | plugins/agiledashboard/include/AgileDashboard/Widget/WidgetKanbanXMLImporter.php | +97 | −0 | Go to diff View file |
M | plugins/agiledashboard/include/Planning/PlanningController.class.php | +2 | −1 | Go to diff View file |
M | plugins/agiledashboard/include/agiledashboardPlugin.class.php | +9 | −0 | Go to diff View file |
M | plugins/agiledashboard/include/autoload.php | +4 | −3 | Go to diff View file |
A | plugins/agiledashboard/phpunit/.simpletest_skip | +0 | −0 | Go to diff View file |
A | plugins/agiledashboard/phpunit/AgileDashboard/Widget/WidgetKanbanXMLImporterTest.php | +154 | −0 | Go to diff View file |
A | plugins/agiledashboard/phpunit/boostrap.php | +22 | −0 | Go to diff View file |
M | plugins/agiledashboard/tests/include/AgileDashboard/Kanban/KanbanXmlImporterTest.php | +8 | −4 | Go to diff View file |
M | src/common/Dashboard/Project/ProjectDashboardXMLImporter.php | +19 | −18 | Go to diff View file |
M | src/common/autoload.php | +3 | −2 | Go to diff View file |
A | src/common/widget/Event/ConfigureAtXMLImport.php | +92 | −0 | Go to diff View file |
M | src/common/widget/Event/GetWidget.php | +3 | −1 | Go to diff View file |
M | src/common/widget/WidgetFactory.php | +0 | −5 | Go to diff View file |
M | src/common/xml/MappingsRegistry.php | +2 | −2 | Go to diff View file |
M | src/composer.json | +2 | −1 | Go to diff View file |
M | src/composer.lock | +150 | −36 | Go to diff View file |
M | src/utils/import_project_xml.php | +2 | −1 | Go to diff View file |
M | tests/lib/TuleapTestCase.class.php | +8 | −0 | Go to diff View file |
M | tests/phpunit/phpunit.xml | +1 | −0 | Go to diff View file |
M | tests/simpletest/common/Dashboard/Project/ProjectDashboardXMLImporterTest.php | +73 | −96 | Go to diff View file |