126575 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124672 jkaabimofrad: Added check for spring bean DI (as before it caused SFS cloud to fail when downloading or creating docs as we are extending the NodesImpl in the cloud overlay). Also, minor fixes to NodesImpl.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126920 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126572 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126917 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126564 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126910 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126563 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126909 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
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
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
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
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
126541 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
123404 jkaabimofrad: RA-865: Fixed concurrency issue. (concurrent requests for the same folder path creation can sometimes return "File or folder xyz already exists")
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126886 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
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
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
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
126525 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
123064 jvonka: Nodes (FileFolder) API - WIP create or update (versionable) content with optional majorVersion &/or comment
- via query params for PUT
- via form-data fields for POST (when overwrite field is true)
- return updated "cm:versionLabel"
- TODO tests + api def (hence WIP)
RA-690, RA-637, RA-640
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126869 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
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
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
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