Commit Graph

188 Commits

Author SHA1 Message Date
Ancuta Morarasu
c6c6de6783 Merged HEAD (5.2) to 5.2.N (5.2.1)
126561 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      124331 jvonka: RA-834, RA-678: Optionally request generation of a rendition on content creation (eg. file upload)
      - one more attempt (works locally, but for some reason is failing on build machines)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126907 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:09:14 +00:00
Ancuta Morarasu
5a6fe335dc Merged HEAD (5.2) to 5.2.N (5.2.1)
126560 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      124327 jvonka: RA-834, RA-678: Optionally request generation of a rendition on content creation (eg. file upload)
      - add/fix missing test file


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126906 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:09:04 +00:00
Ancuta Morarasu
5c719b8f02 Merged HEAD (5.2) to 5.2.N (5.2.1)
126559 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      124300 jvonka: RA-834, RA-678: Optionally request generation of a rendition on content creation (eg. file upload)
      - more test tweaks


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126905 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:08:53 +00:00
Ancuta Morarasu
ce9e9057a1 Merged HEAD (5.2) to 5.2.N (5.2.1)
126558 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      124298 jvonka: RA-834: Optionally request generation of a rendition on content creation (eg. file upload)
      - hmm, need to review whether it makes sense to request rendition for empty content (-> if it will fail)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126904 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:08:43 +00:00
Ancuta Morarasu
0654c216a0 Merged HEAD (5.2) to 5.2.N (5.2.1)
126557 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      124273 jvonka: RA-834: Optionally request generation of a rendition on content creation (eg. file upload)
      - follow-on to fix test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126903 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:08:33 +00:00
Ancuta Morarasu
e212513df3 Merged HEAD (5.2) to 5.2.N (5.2.1)
126556 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      124269 jvonka: RA-834: Optionally request generation of a rendition on content creation (eg. file upload)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126902 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:08:24 +00:00
Ancuta Morarasu
061e6a1662 Merged HEAD (5.2) to 5.2.N (5.2.1)
126555 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      124248 gjames: RA-877: Copy api, return 422 instead of 500


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126901 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:08:15 +00:00
Ancuta Morarasu
e8cd9542c3 Merged HEAD (5.2) to 5.2.N (5.2.1)
126553 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      124207 jvonka: RA-893: Fix "Multi-part update content appears to work but doesn't" - throw 415


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126899 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:07:55 +00:00
Ancuta Morarasu
32e88e8a12 Merged HEAD (5.2) to 5.2.N (5.2.1)
126552 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      124205 jvonka: RA-881: Prevent the creation of multiple renditions


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126898 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:07:45 +00:00
Ancuta Morarasu
8d6a950702 Merged HEAD (5.2) to 5.2.N (5.2.1)
126550 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      124200 jvonka: RA-869: Remove "include" processing from "includeSource" entity for /nodes/nodeId/children endpoint


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126896 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:07:27 +00:00
Ancuta Morarasu
7b4e9153d4 Merged HEAD (5.2) to 5.2.N (5.2.1)
126549 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      124197 jvonka: RA-896: Fix Nodes API when getting st:site (single or listing) to not show delete in allowableOperations & also return 403 (rather than 500) if trying to delete/move


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126895 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:07:17 +00:00
Ancuta Morarasu
478ed2baae Merged HEAD (5.2) to 5.2.N (5.2.1)
126548 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      124180 jvonka: RA-896: Fix filter by "where=(isFile=false and isFolder=false)"
      - when listing node children
      - will list cmobject, including sub-types (except cm:folder & cm:content, including sub-types)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126894 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:07:07 +00:00
Ancuta Morarasu
5f08bf7da5 Merged HEAD (5.2) to 5.2.N (5.2.1)
126546 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      124063 jvonka: RA-885: Nodes (FileFolder) API - upload (create node with file content) improvements
      - guess mimetype if (multi-)part Content-Type field is missing or is default binary mime type (application/octet-stream)
      - ignore filename override if null or empty


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126892 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:06:45 +00:00
Ancuta Morarasu
174a788369 Merged HEAD (5.2) to 5.2.N (5.2.1)
126545 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      123902 jvonka: RA-750: Shared links API - get limited share link info (no auth required)
      - additional changes, as per updated A/Cs


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126891 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:06:37 +00:00
Ancuta Morarasu
ae11fef3de Merged HEAD (5.2) to 5.2.N (5.2.1)
126543 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      123868 jkaabimofrad: RA-856: Added support for REST APIs “/content” endpoints to optionally set their own cache. (Currently, only the Renditions API is setting its own cache)
          - Removed the http attachment header setting from the AbstractResourceWebScript, as the ContentStreamer already has this feature
          - Reformatted ContentStreamer according to Alfresco code standards 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126888 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:06:18 +00:00
Ancuta Morarasu
7925bca309 Merged HEAD (5.2) to 5.2.N (5.2.1)
126542 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      123495 jvonka: Nodes (FileFolder) API - add optional relativePath (to make folders) when creating a folder, empty file or other custom node
      RA-703


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126887 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:04:50 +00:00
Ancuta Morarasu
728b8739da Merged HEAD (5.2) to 5.2.N (5.2.1)
126540 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      123376 jvonka: Nodes (FileFolder) API - extra delete check (hence also move) for special system folders, currently Company Home, Sites and Data Dictionary - even for an admin
      RA-770, RA-642, RA-806


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126885 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:04:32 +00:00
Ancuta Morarasu
e23ea22d56 Merged HEAD (5.2) to 5.2.N (5.2.1)
126539 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      123327 jkaabimofrad: RA-865: Added tests for upload content API to test "relativePath" multi-part field. Also, cleaned up MultiPartBuilder.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126883 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:04:20 +00:00
Ancuta Morarasu
543d2bbf1c Merged HEAD (5.2) to 5.2.N (5.2.1)
126538 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      123316 jvonka: Nodes (FileFolder) API - add optional include allowableOperations 
      RA-770


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126882 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:04:10 +00:00
Ancuta Morarasu
9ad70d1a52 Merged HEAD (5.2) to 5.2.N (5.2.1)
126534 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      123171 jvonka: RA-706, ACE-5113: Revese merge 123162 & 123163 (needs more thought, re: impact on existing tests etc)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126878 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:02:05 +00:00
Ancuta Morarasu
a02a63b76f Merged HEAD (5.2) to 5.2.N (5.2.1)
126533 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      123165 jkaabimofrad: RA-829, RA-830: Added 304 response tests in the:
         - retrieve content for a shared link API
         - retrieve renditioned content for a shared link API.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126877 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:01:55 +00:00
Ancuta Morarasu
f17120d182 Merged HEAD (5.2) to 5.2.N (5.2.1)
126532 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      123164 jkaabimofrad: RA-641: Added 304 response tests in the retrieve node content API.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126876 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:01:47 +00:00
Ancuta Morarasu
2cfd6ee016 Merged HEAD (5.2) to 5.2.N (5.2.1)
126531 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      123163 jvonka: RA-706, ACE-5113: Platform - OwnableService - when setting owner check that username currently exists (at time of property update)
      - update Nodes API (remove extra check)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126875 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:01:38 +00:00
Ancuta Morarasu
3d53b94976 Merged HEAD (5.2) to 5.2.N (5.2.1)
126529 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      123126 jkaabimofrad: RA-676: Added 304 response tests in the download rendition api. Also, removed the check for "Expires" header in the tests (as we are using no-cache by default, the "Expires" header value always returns "Thu, 01 Jan 1970 00:00:00 GMT", so it is currently irrelevant).


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126873 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:00:45 +00:00
Ancuta Morarasu
601aa347e9 Merged HEAD (5.2) to 5.2.N (5.2.1)
126528 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      123112 jvonka: Nodes (FileFolder) API - version options when updating/uploading (overwriting) existing content
      - add tests .. for now check version label only (pending future "list version history" + "get version" etc)
      RA-690


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126872 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:00:33 +00:00
Ancuta Morarasu
064da30e67 Merged HEAD (5.2) to 5.2.N (5.2.1)
126527 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      123088 jvonka: Nodes (FileFolder) API - some test cleanup


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126871 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:00:23 +00:00
Ancuta Morarasu
70dbbd521d Merged HEAD (5.2) to 5.2.N (5.2.1)
126526 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      123086 jkaabimofrad: Added support to allow the REST API tests to set the request headers.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126870 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:59:22 +00:00
Ancuta Morarasu
b8daf2457b Merged HEAD (5.2) to 5.2.N (5.2.1)
126524 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      123056 jvonka: (Quick) Shared Links API - find links (fix 500 -> 401 if not authenticated)
      - add more -ve tests to check methods that require auth return 401 if unauthenticated
      RA-777


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126868 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:59:04 +00:00
Ancuta Morarasu
04d203e507 Merged HEAD (5.2) to 5.2.N (5.2.1)
126523 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      123046 jvonka: Update API tests for  - tweaks for common code, also check that Last-Modified and Expires are not null when downloading file content/rendition
      RA-641, RA-676, RA-829, RA-830


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126867 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:58:55 +00:00
Ancuta Morarasu
2e00e5c219 Merged HEAD (5.2) to 5.2.N (5.2.1)
126521 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      123021 jvonka: (Quick) Shared Links API - as requested, add extra +ve/-ve tests for optional "attachment" header when getting file/rendition content (via unauthenticated shared link)
      - note: also tested via the NodeApiTest (when getting file/rendition content)
      RA-829, RA-830


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126865 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:58:35 +00:00
Ancuta Morarasu
0f836e8090 Merged HEAD (5.2) to 5.2.N (5.2.1)
126520 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      122978 jvonka: RA-766: Update REST fwk - implement "include" query param (used by nodes & shared-links) and deprecate "select" (still used by tasks & cmm).


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126864 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:58:26 +00:00
Ancuta Morarasu
a59b24b576 Merged HEAD (5.2) to 5.2.N (5.2.1)
126518 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      122954 jvonka: (Quick) Shared Links API - add optional select/include of "allowableOperations" when authenticated and getting shared link info or find links (or even after create)
      RA-750, RA-777


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126862 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:56:47 +00:00
Ancuta Morarasu
e48ed0687b Merged HEAD (5.2) to 5.2.N (5.2.1)
126515 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      122947 jvonka: (Quick) Shared Links API - updates
      - test for get rendition content via share link (no auth)
      - add optional filter (sharedByUser) to find links
      RA-830, RA-777


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126859 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:56:20 +00:00
Ancuta Morarasu
d2fa56e4b1 Merged HEAD (5.2) to 5.2.N (5.2.1)
126514 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      122926 jvonka: (Quick) Shared Links API - updates and fixes
      - A/C changed from 400 to 409 if shared link already exists
      - tweak 404 error message (entity id not found)
      - change response from sharedId to just id
      - add optional filter when finding links, eg. where=(sharedByUser/id='userId') (userId can also be -me-)
      - TODO add a few more tests (rendition download, filtered find)
      RA-708, RA-777


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126858 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:48:19 +00:00
Ancuta Morarasu
c3282977ec Merged HEAD (5.2) to 5.2.N (5.2.1)
126513 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      122834 jkaabimofrad: RA-678: Modified the response, to return 409 rather than 400 when the rendition requested already exists.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126857 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:48:09 +00:00
Ancuta Morarasu
53d06c6ff8 Merged HEAD (5.2) to 5.2.N (5.2.1)
126510 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      122805 jkaabimofrad: Fixed test failure .


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126854 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:47:42 +00:00
Ancuta Morarasu
5fe5afaf0b Merged HEAD (5.2) to 5.2.N (5.2.1)
126509 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      122792 jkaabimofrad: RA-676, RA-677, RA-678: 
          - Added check to return 404 response when the renditionId is registered but is not applicable for the node's mimeType.
          - Added check to return 400 when the source node has no content.
          - Changed the create rendition response to return an empty body.
          - Modified the exception when the renditionId is not registered.
          - Fixed the framework to include “errorKey” in the error response which was missing from some exceptions such as EntityNotFoundException.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126853 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:47:33 +00:00
Ancuta Morarasu
f4be36dc55 Merged HEAD (5.2) to 5.2.N (5.2.1)
126508 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      122778 jvonka: Nodes (FileFolder) API - list (folder) children - add "includeSource" option
      - optionally also lookup and return the folder/node info for parent (ie. source)
      - especially useful if also using "relativePath" to resolve the actual parent to be listed
      RA-823, RA-634, RA-753


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126852 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:46:49 +00:00
Ancuta Morarasu
5934340526 Merged HEAD (5.2) to 5.2.N (5.2.1)
126507 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      122770 jvonka: Nodes & Shared Links APIs - some test refactoring
       - primarily introduce createTextFile helper (in addition to createFolder/createNode) to reduce dependency on "repoService" test helper
      - also means we're using the v1 api to upload test content :-)
      RA-388, RA-773


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126851 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:46:40 +00:00
Ancuta Morarasu
f0a700bcc2 Merged HEAD (5.2) to 5.2.N (5.2.1)
126501 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      122732 jvonka: (Quick) Shared Links API - 1st cut for find shared links (for current user)
      - TODO filter by shared by user, option to include/select allowableOperations, ... + more tests :-)
      RA-777


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126845 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:45:46 +00:00
Ancuta Morarasu
45089abfb7 Merged HEAD (5.2) to 5.2.N (5.2.1)
126500 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      122727 jvonka: (Quick) Shared Links API - update shared links api tests for create, get & delete
      RA-708, RA-776, RA-750


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126844 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:45:37 +00:00
Ancuta Morarasu
bab77b5235 Merged HEAD (5.2) to 5.2.N (5.2.1)
126499 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      122722 jvonka: (Quick) Shared Links API - update shared links api test for delete
      - extra test for ensuring that modified/modifier (=> modifiedAt, modifiedByUser) did not change due to delete (after merging MNT-15654)
      RA-708, RA-776


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126843 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:45:28 +00:00
Ancuta Morarasu
b157388816 Merged HEAD (5.2) to 5.2.N (5.2.1)
126497 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      122702 jvonka: (Quick) Shared Links API - update shared links api tests for create & delete (+ve & -ve)
      RA-708, RA-776


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126841 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:45:13 +00:00
Ancuta Morarasu
b6eec668c7 Merged HEAD (5.2) to 5.2.N (5.2.1)
126495 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      122697 jvonka: (Quick) Shared Links API - first-cut for shared links api tests (+ve & -ve)
      - also tweaks to REST api test 'fwk' (harness)
      RA-773, RA-708, RA-776, RA-750, RA-829, RA-775


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126839 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:44:55 +00:00
Ancuta Morarasu
a6f75435a2 Merged HEAD (5.2) to 5.2.N (5.2.1)
126494 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      122675 jvonka: Nodes (FileFolder) API - return isFile in node info (renamed from isContent) in addition to isFolder
      - follow-on, to fix where clause
      RA-828, RA-741


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126838 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:44:46 +00:00
Ancuta Morarasu
f053fca565 Merged HEAD (5.2) to 5.2.N (5.2.1)
126489 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      122631 jkaabimofrad: RA-676: Added node's renditions REST API.
              - Download renditioned content + test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126833 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:43:54 +00:00
Ancuta Morarasu
22f901e0dd Merged HEAD (5.2) to 5.2.N (5.2.1)
126486 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      122626 jvonka: Nodes (FileFolder) API - add "permanent" option to delete node (to optionally bypass archive/trashcan)
      - follow-on such that user cannot delete permanently (even with delete permission) unless they're owner or admin of node (for hierarchy, only checks parent folder node) 
      RA-837, RA-642


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126830 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:42:25 +00:00
Ancuta Morarasu
8a9bbe855b Merged HEAD (5.2) to 5.2.N (5.2.1)
126484 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      122595 jvonka: Nodes (FileFolder) API - add "permanent" option to delete node (to optionally bypass archive/trashcan)
      RA-837, RA-642


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126828 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:42:04 +00:00
Ancuta Morarasu
c5dcb1659f Merged HEAD (5.2) to 5.2.N (5.2.1)
126483 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      122594 jvonka: REST api fwk: pass through query params for DELETE method
      - also update REST api test fwk
      RA-837


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126827 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:41:53 +00:00
Ancuta Morarasu
66e21fc302 Merged HEAD (5.2) to 5.2.N (5.2.1)
126482 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      122590 jkaabimofrad: RA-841: Fixed the status code for the large file upload. Also, added a new exception with 507 status code to be thrown, when "ContentQuotaException" occurs.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126826 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:38:01 +00:00