128517 jvonka: REPO-874: Improve REST fwk: improve error message if a POST operation is attempted with multiple items
- rationalise the code when handling POST for an API "operation" or POST to a collection that is marked as "allowMultiple=false"
- they should now consistently return the same existing error message: "Only 1 entity is supported in the HTTP request body"
- add api sanity tests to "create site", "create rating" and some of the node op's, such as "/move" & "/copy"
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129168 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
128207 jvonka: V1 REST API: Node Version History - add "revert version" operation
- ie. promote a previous version to become a new (most recent) version
- POST /nodes/nodeId/versions/versionId/revert (with request body, optionally majorVersion &/or comment)
REPO-236
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129134 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- fix merge for:
128341 adavis: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
128260 adavis: Merged V4.2-BUG-FIX (4.2.7) to 5.0.N (5.0.4)
128213 arebegea: MNT-16437 : CLONE - 4.2.N - 4.2.3 CMIS Bulk Update Properties only updates the properties of one document when more than one document is in the objectIdAndChangeTokens list
Merged V4.2.3 (4.2.3.25) to V4.2-BUG-FIX (4.2.7)
128177 arebegea: MNT-16376 : 4.2.3 CMIS Bulk Update Properties only updates the properties of one document when more than one document is in the objectIdAndChangeTokens list
- The batch worker threads did not have the thread context to know that they were dealing with CMIS version 1.1
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@128371 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
128341 adavis: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
128260 adavis: Merged V4.2-BUG-FIX (4.2.7) to 5.0.N (5.0.4)
128213 arebegea: MNT-16437 : CLONE - 4.2.N - 4.2.3 CMIS Bulk Update Properties only updates the properties of one document when more than one document is in the objectIdAndChangeTokens list
Merged V4.2.3 (4.2.3.25) to V4.2-BUG-FIX (4.2.7)
128177 arebegea: MNT-16376 : 4.2.3 CMIS Bulk Update Properties only updates the properties of one document when more than one document is in the objectIdAndChangeTokens list
- The batch worker threads did not have the thread context to know that they were dealing with CMIS version 1.1
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@128360 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
128104 jvonka: Merged RETURN-OF-THE-API (5.2.0) to HEAD (5.2)
128054: REPO-495: When uploading/updating binary content, guess mimetype and encoding
- follow similar pattern to v0 Upload API (ignore Content-Type header)
- in the future, we might wish to loosen this restriction [pending MNT-16381] and/or allow admin's option to update mimeType/encoding directly via node metadata update
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@128125 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
127612 jkaabimofrad: Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
127450 jvonka: Node Associations - creating/listing primary child assoc type other than cm:contains
- fix test fallout (400 -> 422 for model integrity exceptions)
- RA-1092
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127719 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
127611 jkaabimofrad: Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
127447 jvonka: Node Associations - creating/listing primary child assoc type other than cm:contains
- follow-on fix + test based on review back (create children below content)
- also -ve test for model integrity excet
- RA-1092
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127718 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
127604 jkaabimofrad: Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
127414 jvonka: Node Associations - create node with assocs (peer &/or secondary child)
- can be optionally used to create (eg. mandatory) assoc(s) to other existing node(s)
RA-925
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127711 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
127603 jkaabimofrad: Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
127347 amukha: RA-941: V1 REST API Tests: rationalise the test startup - eg. only create test data when needed ;-)
- Removed a duplicate implementation - TCKEnterpriseTestFixture
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127710 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
127601 jkaabimofrad: Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
127330 amukha: RA-941: V1 REST API Tests: rationalise the test startup - eg. only create test data when needed ;-)
- Added checks to defer test data creation until it is required.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127693 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
127567 jkaabimofrad: Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
126000 jkaabimofrad: RA-933, RA-934, RA-972: Changed the "tickets" API namespace from "alfresco" to "authentication". Also, added support to the REST API test fwk to handle different API namespaces.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127661 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261