stable

Clone or download

Read-only

story #7857: /artifacts/:id GET returns:

- the FULL field representation for each field - textarea field now has a format property - permission field now has a usergroup representation Change-Id: I9aad98883bd3e04bd86a5acf9d051575d84fe739

Modified Files

Name
M plugins/tracker/include/REST/Artifact/ArtifactFieldValueListFullRepresentation.class.php +11 −5 Go to diff View file
M plugins/tracker/include/REST/Artifact/ArtifactFieldValuePermissionsOnArtifactRepresentation.class.php +10 −4 Go to diff View file
A plugins/tracker/include/REST/Artifact/ArtifactFieldValueTextRepresentation.class.php +58 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_ChangesetValue.class.php +0 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_ChangesetValue_ArtifactLink.class.php +1 −16 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_ChangesetValue_Date.class.php +1 −5 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_ChangesetValue_File.class.php +1 −12 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_ChangesetValue_Float.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_ChangesetValue_List.class.php +3 −9 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_ChangesetValue_PermissionsOnArtifact.class.php +17 −2 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_ChangesetValue_String.class.php +14 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_ChangesetValue_Text.class.php +16 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field.class.php +1 −5 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Computed.class.php +1 −8 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_CrossReferences.class.php +1 −8 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_PermissionsOnArtifact.class.php +15 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Priority.class.php +1 −10 Go to diff View file
M plugins/tracker/include/autoload.php +3 −2 Go to diff View file
M src/common/project/REST/UserGroupRepresentation.class.php +2 −1 Go to diff View file
M src/common/user/ForgeUGroup.php +3 −3 Go to diff View file
M tests/rest/ArtifactsTest.php +45 −0 Go to diff View file
M tests/rest/ProjectTest.php +21 −12 Go to diff View file
M tests/rest/UserGroupTest.php +2 −1 Go to diff View file