stable

Clone or download

Read-only

feat(artifacts): XML export/import of enable move artifacts

This is part of request #34032 Move of artifacts should not depend on artifact deletion The option to enable or disable the move artifact option per tracker is now handled by XML import/export process Change-Id: I892e17846b9b22b4db4a6d7ce64eaa7afdbbf16f

Modified Files

Name
M plugins/testmanagement/tests/rest/TestManagement/TestManagementRESTTestCase.php +2 −1 Go to diff View file
M plugins/tracker/include/REST/v1/Move/BeforeMoveChecker.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Creation/PostCreationProcessor.php +15 −20 Go to diff View file
M plugins/tracker/include/Tracker/Creation/TrackerCreationSettings.php +9 −14 Go to diff View file
M plugins/tracker/include/Tracker/Creation/TrackerCreationSettingsBuilder.php +7 −15 Go to diff View file
M plugins/tracker/include/Tracker/Tracker.class.php +38 −122 Go to diff View file
M plugins/tracker/include/Tracker/TrackerFactory.class.php +7 −2 Go to diff View file
A plugins/tracker/include/Tracker/XML/Exporter/TrackerStructureXMLExporter.php +202 −0 Go to diff View file
M plugins/tracker/include/TrackerXmlImport.class.php +7 −1 Go to diff View file
M plugins/tracker/resources/artifact-definition.rng +1 −0 Go to diff View file
M plugins/tracker/resources/artifacts.rng +1 −0 Go to diff View file
M plugins/tracker/resources/tracker-definition.rnc +1 −0 Go to diff View file
M plugins/tracker/resources/tracker-definition.rng +9 −0 Go to diff View file
M plugins/tracker/resources/tracker.rng +10 −0 Go to diff View file
M plugins/tracker/resources/trackers.rng +10 −0 Go to diff View file
M plugins/tracker/tests/rest/ArtifactsActions/ArtifactsActionsTest.php +27 −7 Go to diff View file
M plugins/tracker/tests/rest/TrackerBase.php +18 −0 Go to diff View file
A plugins/tracker/tests/rest/_fixtures/MoveArtifactsForbidden/project.xml +124 −0 Go to diff View file
A plugins/tracker/tests/rest/_fixtures/MoveArtifactsForbidden/user_map.csv +1 −0 Go to diff View file
A plugins/tracker/tests/rest/_fixtures/MoveArtifactsForbidden/users.xml +30 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/PostCreationProcessorTest.php +39 −37 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/TrackerCreationSettingsBuilderTest.php +22 −18 Go to diff View file
M plugins/tracker/tests/unit/Tracker/REST/v1/Move/BeforeMoveCheckerTest.php +1 −1 Go to diff View file
A plugins/tracker/tests/unit/Tracker/XML/Exporter/TrackerStructureXMLExporterTest.php +528 −0 Go to diff View file
D plugins/tracker/tests/unit/Tracker/XML/TrackerExportToXmlTest.php +0 −382 Go to diff View file
M src/common/xml/resources/project/artifact-definition.rng +1 −0 Go to diff View file
A src/common/xml/resources/project/mediawiki-definition1.rng +34 −0 Go to diff View file
M src/common/xml/resources/project/project.rng +10 −0 Go to diff View file
M src/common/xml/resources/project/tracker-definition.rng +9 −0 Go to diff View file
M tests/rest/lib/RestBase.php +3 −2 Go to diff View file
M tests/rest/tests/ReadOnlyAdministrator/ProjectTest.php +2 −1 Go to diff View file
M tests/rest/tests/UserMembershipTest.php +5 −3 Go to diff View file