stable

Clone or download

Read-only

Merge commit 'refs/changes/40/4740/15' of ssh://gerrit.tuleap.net:29418/tuleap into stable

* ssh://gerrit.tuleap.net:29418/tuleap: request #8617: allow to export & import with directory

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact.class.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/XMLExport.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/XMLImport.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/XMLImport/XMLImportZipArchive.class.php +32 −5 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElementFactory.class.php +7 −4 Go to diff View file
M plugins/tracker/include/Tracker/XML/Exporter/ArtifactAttachmentExporter.php +9 −7 Go to diff View file
M plugins/tracker/include/Tracker/XML/Exporter/InArchiveFilePathXMLExporter.php +1 −1 Go to diff View file
M plugins/tracker/include/TrackerXmlExport.class.php +1 −1 Go to diff View file
M plugins/tracker/include/TrackerXmlFieldsMapping_FromAnotherPlatform.php +1 −1 Go to diff View file
M plugins/tracker/include/TrackerXmlFieldsMapping_ValueNotFoundException.php +6 −1 Go to diff View file
M plugins/tracker/tests/Artifact/XMLExportTest.php +2 −2 Go to diff View file
M plugins/tracker/tests/Tracker/XML/Exporter/ArtifactAttachmentExporterTest.php +5 −6 Go to diff View file
M plugins/tracker/tests/TrackerXmlExportTest.php +1 −1 Go to diff View file
M plugins/tracker/tests/Tracker_ArtifactTest.php +1 −1 Go to diff View file
M src/common/autoload.php +11 −5 Go to diff View file
M src/common/project/ProjectXMLExporter.class.php +4 −2 Go to diff View file
M src/common/project/ProjectXMLImporter.class.php +47 −46 Go to diff View file
D src/common/project/ProjectXMLImporterZipArchive.php +0 −56 Go to diff View file
A src/common/project/XML/ArchiveException.php +24 −0 Go to diff View file
A src/common/project/XML/ArchiveInterface.php +29 −0 Go to diff View file
A src/common/project/XML/Export/ArchiveInterface.php +52 −0 Go to diff View file
A src/common/project/XML/Export/DirectoryArchive.php +52 −0 Go to diff View file
A src/common/project/XML/Export/ZipArchive.php +62 −0 Go to diff View file
A src/common/project/XML/Import/ArchiveInterface.php +49 −0 Go to diff View file
A src/common/project/XML/Import/DirectoryArchive.php +50 −0 Go to diff View file
R src/common/xml/XMLImportZipArchive.php Go to diff View file
M src/common/user/XML/Import/UsersToBeImportedCollectionBuilder.php +3 −3 Go to diff View file
M src/utils/check_user_mapping_for_project_import.php +6 −6 Go to diff View file
M src/utils/export_project_xml.php +47 −18 Go to diff View file
M src/utils/generate_user_mapping_for_project_import.php +6 −6 Go to diff View file
M src/utils/import_project_xml.php +15 −7 Go to diff View file
M tests/integration/ProjectImportTest.php +2 −3 Go to diff View file
R tests/integration/_fixtures/fake_project.xml Go to diff View file
M tests/simpletest/common/project/ProjectXMLExporterTest.php +5 −1 Go to diff View file
R tests/simpletest/common/project/XMLImportZipArchiveTest.php Go to diff View file
R tests/simpletest/common/project/_fixtures/archive.zip Binary file Go to diff View file
R tests/simpletest/common/project/_fixtures/data/Artifact69 Go to diff View file
R tests/simpletest/common/project/_fixtures/project.xml Go to diff View file