126391 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
120592 jvonka: FileFolder API - trivial (add/udpate lic header)
- note: at some point, we should do a sweep through the rest of the (remote-)api source code
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126737 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126385 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
120469 jvonka: FileFolder API - NodeApiTest - add test to retrieve content
- also update test fwk to support post request body as byte array (as well as string)
RA-641
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126731 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126383 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
120445 jvonka: RA-631, RA-641: REST fwk - fix GET node binary resource (set content-disposition/attachment header)
- by default, set attachment header when downloading content
- unless "attachment=false" *and* content type is in nonAttachContentTypes white list (eg. pdf, images)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126729 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126381 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
120439 jvonka: RA-630: FileFolder API - update antlr grammar in REST fwk for select/where clause
- to allow colon in property name identifier (json path)
- also update impl + test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126727 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126376 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
119921 jkaabimofrad: Finished the requirements in RA-637. Added nodeType form data, the client provided content-type will be used if it is not null, and also support for model properties in the form data.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126722 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126372 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
119837 jvonka: FileFolder API - fix build (BCK) & api tests
- as agreed, for now split test client api models from server-side impl
- rename existing Node/Document/Folder to FavouriteNode/Document/Folder (for backwards compat')
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126718 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126370 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
119801 jkaabimofrad: RA-637: Added autoRename form data for the multipart upload, so, on name clash, the API will try to autorename the file with an integer counter.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126715 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126369 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
119798 jvonka: FileFolder API - NodeApiTest - add tests (+ve & -ve) to create empty file node
- TODO subsequently show that file content can be updated
RA-636
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126714 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126361 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
119716 jvonka: FileFolder API - handle "select", eg. get node info, list folder children
- list folder children returns minimal info, select can be used to get additional info, eg. aspectNames, properties (or specific props)
- get node info returns basic info, select can be used to get additional info, eg. path
- RA-634, RA-638
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126707 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126360 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
119711 jvonka: FileFolder API - consistently handle node aspects &/or properties (on create or update)
- also allow specialise node type (when updating a node)
- minor tweaks to javadoc/comments
- RA-635, RA-636, RA-639
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126706 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126358 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
119623 jvonka: RA-663: Update REST fwk - fix BinaryResource update (currently masks entity PUT operation)
- use "updateProperty" (instead of "update") to be consistent with other binary resource methods
- note: REST fwk relies on unique method names across the resource actions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126704 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126356 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
119442 jvonka: RA-634 / RA-638 : FileFolder API - update handling of "select" as per design notes
- return all properties, if "select=properties" or no select (unless listing children => minimal info)
- also handle "select=properties/my:prop" (note: temporarily my_prop pending RA-630)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126702 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126355 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
119311 jvonka: RA-388 / RA-638 : FileFolder API - optimise userInfo lookup for cm:creator & cm:modifier (especially when getting folder children)
- also return userInfo for other in-built user props, eg. cm:owner, cm:lockOwner, cm:workingCopyOwner
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126701 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126348 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
118663 jvonka: Merge from DEV/SABRE_JANV1 (part 1)
File Folder API (PoC - experimental WIP)
- relates to RA-613
- initial file folder CRUD including
- * list folder children (minimal info by default)
with sorting, paging & optional isFolder=true/false
- * create folders or (empty) files
- * get node info
with id, name, nodeType, auditable props, properties (not sys:referencable), aspectNames, ...
- * put node info
- * put content (upload file)
- * get content (download file)
- * delete node (cascade for folder)
- * support for well-known folder alias, -root-, -my-, -shared-
- TODO add tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126693 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
124493 aleahu: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
124467 amorarasu: Reverse merged 5.0.N (5.0.4)
124430 aleahu: Merged V4.2-BUG-FIX (4.2.7) to 5.0.N (5.0.4)
124322 adragoi: Merged V4.2.6 (4.2.6) to V4.2-BUG-FIX (4.2.7)
124254 amorarasu: MNT-15848: The PublishingRestApiTest.testPublishingQueuePost intermittently fails on SQL Server
- scheduled post publishing after 1500 milliseconds, to have time to test the SCHEDULED status.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@124521 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
124488 aleahu: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
124430 aleahu: 124430 aleahu: Merged V4.2-BUG-FIX (4.2.7) to 5.0.N (5.0.4)
124322 adragoi: Merged V4.2.6 (4.2.6) to V4.2-BUG-FIX (4.2.7)
124254 amorarasu: MNT-15848: The PublishingRestApiTest.testPublishingQueuePost intermittently fails on SQL Server
- scheduled post publishing after 1500 milliseconds, to have time to test the SCHEDULED status.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@124516 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
124423 aleahu: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
124409 cturlica: MNT-15715: CLONE - The file extension of any unknown mimetype is lost during download and replaced by .bin.
- Merged V4.2-BUG-FIX (4.2.7) to 5.0.N (5.0.4)
122029 amukha: MNT-14412: The file extension of any unknown mimetype is lost during download and replaced by .bin.
- Now the mimetype guessing is not done for IE if the mimetype is binary (possibly unknown for Alfresco)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@124450 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261