Commit Graph

76 Commits

Author SHA1 Message Date
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
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
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
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
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
1c187217b3 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/HEAD/root@126541 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:24:21 +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
e040658433 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
123316 jvonka: Nodes (FileFolder) API - add optional include allowableOperations 
   RA-770


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126538 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:23:44 +00:00
Jamal Kaabi-Mofrad
335245acbc Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
123260 jkaabimofrad: RA-865: Added "relativePath" multi-part field to upload content API to automatically create sub-folders when it is provided.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126537 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:23:35 +00:00
Jamal Kaabi-Mofrad
4b07325b44 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
123185 jvonka: RA-706, ACE-5113: Revese merge 123162 & 123163 (needs more thought, re: impact on existing tests etc)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126535 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:23:09 +00:00
Jamal Kaabi-Mofrad
11177795e8 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/HEAD/root@126531 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:21:42 +00:00
Jamal Kaabi-Mofrad
ee3a942fc7 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/HEAD/root@126528 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:21:08 +00:00
Jamal Kaabi-Mofrad
8e728ea79c 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/HEAD/root@126525 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:20:27 +00:00
Jamal Kaabi-Mofrad
a2541568a8 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122978 jvonka: RA-766: Update REST fwk - implement "include" query param (used by nodes & shared-links) and deprecate "select" (still used by tasks & cmm).


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126520 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:19:16 +00:00
Jamal Kaabi-Mofrad
44f7dfb7de 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/HEAD/root@126514 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:17:59 +00:00
Jamal Kaabi-Mofrad
7f4425100c 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/HEAD/root@126508 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:16:31 +00:00
Jamal Kaabi-Mofrad
2ae2eb7e78 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/HEAD/root@126494 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:12:21 +00:00
Jamal Kaabi-Mofrad
f470bf8efa 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/HEAD/root@126486 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:10:24 +00:00
Jamal Kaabi-Mofrad
06fa651c38 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122595 jvonka: Nodes (FileFolder) API - add "permanent" option to delete node (to optionally bypass archive/trashcan)
   RA-837, RA-642


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126484 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:09:48 +00:00
Jamal Kaabi-Mofrad
256e3e5254 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/HEAD/root@126482 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:09:24 +00:00
Jamal Kaabi-Mofrad
50dffcc569 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122580 jvonka: Nodes (FileFolder) API - return isFile in node info (renamed from isContent) in addition to isFolder
   RA-828, RA-741


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126481 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:09:09 +00:00
Jamal Kaabi-Mofrad
cb6a9ce73e Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122327 jkaabimofrad: RA-673, RA-678: Added node's renditions REST API. 
                 - Retrieve Renditions For Node + tests
                 - Create Rendition


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126468 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:04:40 +00:00
Jamal Kaabi-Mofrad
484f6e355c Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122324 jkaabimofrad: FileFolder API minor update: Consistently use the Override annotation - Effective Java.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126466 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:04:19 +00:00
Jamal Kaabi-Mofrad
2795628608 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122140 jvonka: Nodes (FileFolder) API - update listChildren 'where' filtering (inc tests) for nodeType + optionally including sub-types
   - for example: where=(nodeType='cm:link includeSubTypes')
   RA-811, RA-634


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126451 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:57:20 +00:00
Jamal Kaabi-Mofrad
ac73cc618d 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/HEAD/root@126450 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:57:11 +00:00
Jamal Kaabi-Mofrad
df9a17f35f Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122013 jvonka: Nodes (FileFolder) API - add isContent (in addition to isFolder) to node info
   RA-828, RA-741


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126449 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:57:02 +00:00
Jamal Kaabi-Mofrad
e47c926b90 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121973 jvonka: Nodes (FileFolder) API - fix list children (fallout & tests -re: nodeType/subTypes 'where' filtering)
   RA-811, RA-634


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126446 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:56:29 +00:00
Jamal Kaabi-Mofrad
41fd384c44 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121972 jvonka: Nodes (FileFolder) API - add api tests when setting owner (cm:owner prop')
   RA-706, RA-639


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126445 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:56:22 +00:00
Jamal Kaabi-Mofrad
bba84f94b7 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121939 jvonka: Nodes (FileFolder) API - update listChildren 'where' filtering (inc tests) for nodeType + subTypes
   RA-811, RA-634


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126443 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:56:07 +00:00
Jamal Kaabi-Mofrad
6e89ab1ea3 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/HEAD/root@126441 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:55:39 +00:00
Jamal Kaabi-Mofrad
6775385f1f 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/HEAD/root@126440 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:55:25 +00:00
Jamal Kaabi-Mofrad
3adb8bbb06 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121925 jvonka: Nodes (File/Folder) API - ensure qshare:shared add/remove goes via correct permissions
   - should we prevent &/or improve underlying QuickShareService (re: permissions + aspect changes)
   RA-639, RA-708, RA-776


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126439 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:55:16 +00:00
Jamal Kaabi-Mofrad
127ca3ff32 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121836 jvonka: FileFolder (Node) API - minor tweak
   - code consistency (don't rely on underlying FileFolderService.getType)
   RA-741, RA-635


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126425 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:52:30 +00:00
Jamal Kaabi-Mofrad
3322c05170 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/HEAD/root@126423 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:52:13 +00:00
Jamal Kaabi-Mofrad
08b6ba84ad 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/HEAD/root@126419 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:51:11 +00:00
Jamal Kaabi-Mofrad
7112f4f507 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121782 jvonka: FileFolder (Node) API - enable nodeType filtering (optionally without subTypes), eg.
   - where=(nodeType='my:specialtype')
   - where=(nodeType='cm:content' and subtypes=false)
   - TODO extra tests
   RA-741, RA-685, RA-634


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126417 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:50:48 +00:00
Jamal Kaabi-Mofrad
ef15b3e765 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/HEAD/root@126415 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:50:30 +00:00
Jamal Kaabi-Mofrad
c721bb396e Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121705 jkaabimofrad: RA-751, RA-752: Added "autoRename" query parameter support when creating a folder/empty file.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126414 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:50:16 +00:00
Jamal Kaabi-Mofrad
ca1de05fe7 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121563 jkaabimofrad: RA-640: Fixed encoding issue when updating binary content, as well as, multipart uploading.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126412 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:49:57 +00:00
Jamal Kaabi-Mofrad
82f984e791 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/HEAD/root@126410 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:49:33 +00:00
Jamal Kaabi-Mofrad
08bb18b229 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/HEAD/root@126407 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:45:37 +00:00
Jamal Kaabi-Mofrad
88eef07069 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/HEAD/root@126404 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:44:41 +00:00
Jamal Kaabi-Mofrad
22f204941b Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121255 jvonka: FileFolder API - add move (with optional rename)
   - also add +ve/-ve tests
   RA-683


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126403 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:44:27 +00:00
Jamal Kaabi-Mofrad
71f802c2b9 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/HEAD/root@126402 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:44:19 +00:00
Jamal Kaabi-Mofrad
381c83facf Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121204 gcornwell: Very minor formatting and test fixes spotted during verification of various stories.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126400 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:43:59 +00:00
Jamal Kaabi-Mofrad
8a49f4efae 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/HEAD/root@126399 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:43:50 +00:00
Jamal Kaabi-Mofrad
9c2e9983ff 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/HEAD/root@126398 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:43:44 +00:00