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
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
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
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
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
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
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
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
126450 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122127 jvonka: Nodes (FileFolder) API - update/add -ve tests for move & copy operations
- also fix-up error messages to show nodeId (rather than full nodeRef)
RA-684, RA-806
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126795 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126441 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121928 jvonka: Nodes (File/Folder) API - minor cleanup (remove experimental code)
- will be replaced by move/copy operations (and also batch/bulk operation in the future)
RA-684 RA-806, RA-668
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126787 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
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
126423 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121833 jvonka: FileFolder (Node) API - tweak validation error messages
- also extra checks to prevent manipulation of cm:systemfolder (create/update/specialise)
RA-741, RA-672, RA-753
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126769 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
126415 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121745 jvonka: FileFolder (Node) API - allow creation (and listing) of other custom node types
- no longer limited to (sub-classes of) cm:folder/cm:content, also cm:cmobject
- TODO extra unit tests for non-folder/non-content
RA-741
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126761 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126410 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121557 jvonka: FileFolder API - experimental support for multi move/copy via post to target folder
- please note: API (including uri endpoint) is subject to change
RA-683, RA-684
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126756 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
126402 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121221 jvonka: FileFolder API - minor update for get/list node info (aspectNames & properties)
- now hides all "sys" aspects & properties (not just "referenceable" & "localizable")
- pre-work (eg. before implementing "move")
- in the future, we could add advanced query option to also return these
RA-634, RA-638
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126747 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126399 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121139 jvonka: FileFolder API - create/delete Public/Quick share link
- TODO ability to access content + limited metadata (also add sanity tests)
- ... for now can 'demo' access to link via existing APIs &/or Share ;-)
RA-708
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126744 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