126440 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121926 jvonka: Nodes (File/Folder) API - prevent move via PUT (change of parentId)
- will be replaced shortly by POST /nodes/{nodeId}/move (RA-806)
RA-683
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126786 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126426 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121839 jvonka: FileFolder (Node) API - update test for node type other than folder/content
- sanity test app:filelink & app:folderlink (and remove TODO comment)
RA-741
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126772 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126424 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121834 jvonka: FileFolder (Node) API - test updates
- add sanity checks for node type that extend cm:cmobject (other than cm:folder / cm:content)
- also add -ve test if attempting to use relative path lookup to get node info (if path parent is not a folder)
RA-741, RA-672
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126770 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126419 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121799 jvonka: FileFolder API - minor validation fix when listing children via "relativePath"
- also check type of parentId (to be a folder) before (as well as after) resolving relative path
RA-753
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126765 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126407 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121438 jvonka: FileFolder API - support "relativePath" when listing children, eg. /nodes/{parentId}/children?relativePath=f1/f2
- also add tests both for list children & get node info
- TODO investigate/fix RA-755
RA-672, RA-753
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126752 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126404 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121328 jvonka: FileFolder API - add additional (-ve) "move" tests
- also rationalise some of the other tests (start removing dependency on repoService/repositoryHelper)
RA-683
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126749 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126401 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121206 jvonka: FileFolder API - NodeApiTest - minor updates around 'expected' checks
- pre-work (eg. before implementing "move" and also hiding "sys" namespace aspects/props, etc)
RA-638, RA-683
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126746 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126398 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
120807 jvonka: FileFolder API - create/update node will return 400 for unknown property or aspect (not in dictionary models)
- we no longer ignore invalid property and now also return correct error code for invalid aspect
- update NodeApiTest and A/C of JIRAs ( RA-635, RA-636, RA-637, RA-638 )
- note: in the future, we could consider option (eg. via query param) to allow residual props on create or update (or at least ability to nullify)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126743 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
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