Commit Graph

217 Commits

Author SHA1 Message Date
Jamal Kaabi-Mofrad
2c6a56e463 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
126661 jvonka: RA-1045: As requested for SFS, allow rendition details (available/created renditions only) for shared link to be listed via no auth.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126689 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 09:48:34 +00:00
Jamal Kaabi-Mofrad
e7a64fe8f5 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
126201 jkaabimofrad: SFS-558: Added test for the move/copy between sites.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126636 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 12:12:06 +00:00
Jamal Kaabi-Mofrad
256ba70e5c Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
126115 jvonka: RA-1028: Fix copy bug - if same parent & name (ie. nothing copied) then return 409 rather than 201
   - see also SFS-554


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126635 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 12:11:52 +00:00
Jamal Kaabi-Mofrad
f250df68da Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
125355 gjames: RA-901: Success code for move operation should be 200


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126618 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:52:33 +00:00
Jamal Kaabi-Mofrad
8149920748 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
125219 jkaabimofrad: Fixed minor formatting issue in the toString methods. Also, removed unused imports.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126616 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:52:02 +00:00
Jamal Kaabi-Mofrad
4f2f30ce4a Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
125122 jkaabimofrad: RA-884: Fixed minor code standards issues.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126610 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:50:11 +00:00
Jamal Kaabi-Mofrad
cbc53527ee Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
125032 jvonka: RA-767: Queries API - bug fixes (and updated tests)
   - optional rootNodeId should allow well-known aliases (-root-,-my-,-shared-)
   - investigate and 'fix' apparent underlying issue with '.' which causes 500 in FTS query parser, eg. abc.txt


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126608 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:49:46 +00:00
Jamal Kaabi-Mofrad
da10a84d50 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
125020 gjames: RA-884: Posting download activities and formatting


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126607 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:49:40 +00:00
Jamal Kaabi-Mofrad
ac57b266ac Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124911 jvonka: RA-767: Queries API - additional tests & fixes (re: tag hits & also optional "include" info in results)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126600 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:45:04 +00:00
Jamal Kaabi-Mofrad
f86365ae50 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124844 jvonka: RA-767: Queries API - optionally restrict by nodeType
   - also added tests (+ve/-ve)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126598 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:44:40 +00:00
Jamal Kaabi-Mofrad
28a3cc8890 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124840 gjames: RA-847, RA-848 Adding the tests to the suite


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126597 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:44:31 +00:00
Jamal Kaabi-Mofrad
4fb66c3f2f Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124819 jvonka: RA-896 - List Node Children filtering - additional fixes & tests, when filtering by isFile &/or isFolder


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126589 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:43:06 +00:00
Jamal Kaabi-Mofrad
846f24ed47 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124813 jkaabimofrad: RA-889: Changed multipart field's name from "filename" to "name".


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126588 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:42:56 +00:00
Jamal Kaabi-Mofrad
4c7dfaf186 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124793 jkaabimofrad: Fixed API tests failures, after synced HEAD to FILE-FOLDER-API.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126587 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:42:23 +00:00
Jamal Kaabi-Mofrad
e9b8d4542e Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124792 jvonka: RA-767: Queries API - min 3 alphanumeric chars in search 'term' (pending requirement review)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126586 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:40:15 +00:00
Jamal Kaabi-Mofrad
2d42ff0831 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124754 jvonka: RA-773: SharedLinkApiTest - bring back test - for now create "doclib" rendition for pdf
    - not sure why build m/c fails to create "doclib" rendition for txt


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126583 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:38:58 +00:00
Jamal Kaabi-Mofrad
1dc9ef8d8e Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124740 gjames: RA-847, RA-848 Retrieving deleted nodes


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126581 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:38:32 +00:00
Jamal Kaabi-Mofrad
f7ada20a00 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124732 jvonka: RA-773: SharedLinkApiTest - temporarily comment-out test (apparently rendition is not created on build m/c)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126579 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:37:56 +00:00
Jamal Kaabi-Mofrad
4c2d58fa31 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124729 jvonka: RA-773: Try bumping retry count for async rendition creation on build m/c (SharedLinkApiTest)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126578 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:37:27 +00:00
Jamal Kaabi-Mofrad
ab7472f161 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124721 jvonka: RA-773, RA-767: Oops - add test to suite (so that they're run as part of the build)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126577 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:37:21 +00:00
Jamal Kaabi-Mofrad
4d8e00f773 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124677 jvonka: RA-767: Queries API - "live-search-nodes" - add orderBy options (& more tests)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126576 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:37:11 +00:00
Jamal Kaabi-Mofrad
302c79c98a Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124623 jkaabimofrad: SFS-405, RA-778: Added tests and as the result did some minor modifications. Also, removed the ability to set or remove a client via JMX (Read only).


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126573 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:35:15 +00:00
Jamal Kaabi-Mofrad
007b54c205 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124603 jvonka: RA-767: Queries API - 1st cut for "live-search-nodes" (wip)
   - initial commit with basic support for 'term' (and optional 'rootNodeId' &/or 'nodeType')


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126572 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:31:18 +00:00
Jamal Kaabi-Mofrad
079b2e3750 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124586 gjames: RA-884: Moved ActivitiesPostingTest up the APITest suite to avoid a permissions error


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126571 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:30:59 +00:00
Jamal Kaabi-Mofrad
58785cf185 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124580 gjames: RA-884: Adding ActivitiesPostingTest to the APITest suite


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126570 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:30:53 +00:00
Jamal Kaabi-Mofrad
78bb09840c Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124565 gjames: RA-884: Posting DOWNLOAD activities in a new (non-readonly) transaction


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126569 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:30:47 +00:00
Jamal Kaabi-Mofrad
2c01c845e6 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124564 gjames: RA-884: Added non-file activity tests


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126568 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:30:37 +00:00
Jamal Kaabi-Mofrad
767da9105c Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124563 gjames: RA-884: Posting activities for file/folder deleted


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126566 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:30:19 +00:00
Jamal Kaabi-Mofrad
e333004090 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124562 gjames: RA-884: Posting activities for file/folder added/updated


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126565 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:30:06 +00:00
Jamal Kaabi-Mofrad
a2378b1422 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124548 jvonka: RA-834, RA-678: create "renditions" request only applicable when creating/uploading file via multipart/form-data (not when creating empty file via json request)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126564 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:29:54 +00:00
Jamal Kaabi-Mofrad
43f3777e99 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124538 jvonka: RA-896: Nodes API - fix list children filter
   - return all results if no filter specified
   - return 400 if both isFile and isFolder are true, or nodeType is specified along with isFile or isFolder


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126563 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:29:47 +00:00
Jamal Kaabi-Mofrad
46a6a657c2 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124337 jvonka: RA-834, RA-678: Optionally request generation of a rendition on content creation (eg. file upload)
   - for some reason works locally but not on build machine


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126562 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:29:40 +00:00
Jamal Kaabi-Mofrad
f4bbfa35d4 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/HEAD/root@126561 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:29:25 +00:00
Jamal Kaabi-Mofrad
205ee78b7a 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/HEAD/root@126560 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:29:08 +00:00
Jamal Kaabi-Mofrad
5ff4c963c0 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/HEAD/root@126559 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:28:49 +00:00
Jamal Kaabi-Mofrad
158cafb9cc 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/HEAD/root@126558 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:28:37 +00:00
Jamal Kaabi-Mofrad
23caf308ae 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/HEAD/root@126557 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:28:21 +00:00
Jamal Kaabi-Mofrad
c1d3421cc8 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/HEAD/root@126556 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:28:14 +00:00
Jamal Kaabi-Mofrad
d310207b05 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/HEAD/root@126555 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:28:06 +00:00
Jamal Kaabi-Mofrad
77d48bae9e 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/HEAD/root@126553 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:27:49 +00:00
Jamal Kaabi-Mofrad
114c591c55 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/HEAD/root@126552 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:27:27 +00:00
Jamal Kaabi-Mofrad
ad72fa0045 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/HEAD/root@126550 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:27:00 +00:00
Jamal Kaabi-Mofrad
ce817d90b0 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/HEAD/root@126549 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:26:52 +00:00
Jamal Kaabi-Mofrad
938438add9 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/HEAD/root@126548 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:26:45 +00:00
Jamal Kaabi-Mofrad
82a06e6a02 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/HEAD/root@126546 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:25:40 +00:00
Jamal Kaabi-Mofrad
f752a61061 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/HEAD/root@126545 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:25:32 +00:00
Jamal Kaabi-Mofrad
f79e7be94d 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/HEAD/root@126543 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:24:48 +00:00
Jamal Kaabi-Mofrad
27fe28b906 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/HEAD/root@126542 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:24:28 +00:00
Jamal Kaabi-Mofrad
d139aad885 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/HEAD/root@126540 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:24:04 +00:00
Jamal Kaabi-Mofrad
0f16b721e1 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/HEAD/root@126539 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:23:56 +00:00