stable
Clone or download
Read-only
This is part of story #19253 import worklog as timetracking Tuleap timetracking content and configuration can now be imported in XML during the project XML import process. The tags must be located under <artifacts/> in <tracker>. Here is an example: <timetracking is_enabled="true"> <permissions> <read> <ugroup>project_admins</ugroup> </read> <write> <ugroup>project_members</ugroup> </write> </permissions> <time artifact_id="152"> <user format="ldap">102</user> <minutes>60</minutes> <step>Step 01</step> <day format="ISO8601">2021-02-01T16:06:35+01:00</day> </time> </timetracking> Change-Id: I63cb9a53c1f5cf12ff81baf24a47ecfc9c43253b
Modified Files
Name | ||||
---|---|---|---|---|
M | Makefile | +4 | −1 | Go to diff View file |
A | plugins/timetracking/include/Timetracking/XML/XMLImport.php | +214 | −0 | Go to diff View file |
M | plugins/timetracking/include/timetrackingPlugin.php | +31 | −0 | Go to diff View file |
A | plugins/timetracking/resources/timetracking-definition.rnc | +21 | −0 | Go to diff View file |
A | plugins/timetracking/resources/timetracking-definition.rng | +67 | −0 | Go to diff View file |
A | plugins/timetracking/resources/timetracking.rnc | +7 | −0 | Go to diff View file |
A | plugins/timetracking/resources/timetracking.rng | +75 | −0 | Go to diff View file |
M | plugins/timetracking/tests/rest/TimetrackingDataBuilder.php | +13 | −88 | Go to diff View file |
M | plugins/timetracking/tests/rest/_fixtures/project/project.xml | +22 | −0 | Go to diff View file |
M | plugins/timetracking/tests/rest/init_test_data.php | +3 | −2 | Go to diff View file |
A | plugins/timetracking/tests/unit/XML/XMLImportTest.php | +371 | −0 | Go to diff View file |
M | plugins/tracker/include/TrackerXmlImport.class.php | +16 | −12 | Go to diff View file |
A | plugins/tracker/resources/timetracking-definition.rng | +67 | −0 | Go to diff View file |
M | plugins/tracker/resources/tracker-definition.rnc | +5 | −1 | Go to diff View file |
M | plugins/tracker/resources/tracker-definition.rng | +6 | −0 | Go to diff View file |
M | plugins/tracker/resources/tracker.rng | +71 | −0 | Go to diff View file |
M | plugins/tracker/resources/trackers.rng | +71 | −0 | Go to diff View file |
M | src/common/xml/resources/project/project.rng | +71 | −0 | Go to diff View file |
A | src/common/xml/resources/project/timetracking-definition.rng | +67 | −0 | Go to diff View file |
M | src/common/xml/resources/project/tracker-definition.rng | +6 | −0 | Go to diff View file |
M | tests/rest/bin/setup.sh | +1 | −0 | Go to diff View file |