Commit Graph

92 Commits

Author SHA1 Message Date
Ancuta Morarasu
5fe5afaf0b Merged HEAD (5.2) to 5.2.N (5.2.1)
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
2016-05-11 11:47:33 +00:00
Ancuta Morarasu
f4be36dc55 Merged HEAD (5.2) to 5.2.N (5.2.1)
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
2016-05-11 11:46:49 +00:00
Ancuta Morarasu
f0a700bcc2 Merged HEAD (5.2) to 5.2.N (5.2.1)
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
2016-05-11 11:45:46 +00:00
Ancuta Morarasu
45089abfb7 Merged HEAD (5.2) to 5.2.N (5.2.1)
126500 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      122727 jvonka: (Quick) Shared Links API - update shared links api tests for create, get & delete
      RA-708, RA-776, RA-750


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126844 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:45:37 +00:00
Ancuta Morarasu
b157388816 Merged HEAD (5.2) to 5.2.N (5.2.1)
126497 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      122702 jvonka: (Quick) Shared Links API - update shared links api tests for create & delete (+ve & -ve)
      RA-708, RA-776


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126841 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:45:13 +00:00
Ancuta Morarasu
b6eec668c7 Merged HEAD (5.2) to 5.2.N (5.2.1)
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
2016-05-11 11:44:55 +00:00
Ancuta Morarasu
a6f75435a2 Merged HEAD (5.2) to 5.2.N (5.2.1)
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
2016-05-11 11:44:46 +00:00
Ancuta Morarasu
a6cf35a715 Merged HEAD (5.2) to 5.2.N (5.2.1)
126492 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      122638 jvonka: (Quick) Shared Links API - minor: for sending email, check if enabled else throw 501
      RA-778


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126836 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:44:26 +00:00
Ancuta Morarasu
c55515cb10 Merged HEAD (5.2) to 5.2.N (5.2.1)
126491 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      122637 jvonka: (Quick) Shared Links API - return 501 (instead of 404) as per updated A/Cs
      RA-733, RA-775, RA-750, RA-708


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126835 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:44:17 +00:00
Ancuta Morarasu
f053fca565 Merged HEAD (5.2) to 5.2.N (5.2.1)
126489 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      122631 jkaabimofrad: RA-676: Added node's renditions REST API.
              - Download renditioned content + test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126833 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:43:54 +00:00
Ancuta Morarasu
22f901e0dd Merged HEAD (5.2) to 5.2.N (5.2.1)
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
2016-05-11 11:42:25 +00:00
Ancuta Morarasu
8a9bbe855b Merged HEAD (5.2) to 5.2.N (5.2.1)
126484 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126828 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:42:04 +00:00
Ancuta Morarasu
66e21fc302 Merged HEAD (5.2) to 5.2.N (5.2.1)
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
2016-05-11 11:38:01 +00:00
Ancuta Morarasu
fbe19dfc15 Merged HEAD (5.2) to 5.2.N (5.2.1)
126481 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126825 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:37:52 +00:00
Ancuta Morarasu
3d71d8c3ee Merged HEAD (5.2) to 5.2.N (5.2.1)
126476 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      122483 jkaabimofrad: RA-678: Updated create rendition Api + tests.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126820 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:37:00 +00:00
Ancuta Morarasu
88b0a9159f Merged HEAD (5.2) to 5.2.N (5.2.1)
126472 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      122394 jkaabimofrad: RA-677: Added node's renditions REST API.
              - Retrieve information about a rendition of a node + test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126816 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:35:46 +00:00
Ancuta Morarasu
775380563a Merged HEAD (5.2) to 5.2.N (5.2.1)
126468 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126812 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:35:12 +00:00
Ancuta Morarasu
4d8abff435 Merged HEAD (5.2) to 5.2.N (5.2.1)
126466 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126810 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:25:26 +00:00
Ancuta Morarasu
c7c51c4ec4 Merged HEAD (5.2) to 5.2.N (5.2.1)
126451 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126796 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:22:40 +00:00
Ancuta Morarasu
5b8acc631d Merged HEAD (5.2) to 5.2.N (5.2.1)
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
2016-05-11 11:22:31 +00:00
Ancuta Morarasu
1c7a2ac93c Merged HEAD (5.2) to 5.2.N (5.2.1)
126449 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126794 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:22:22 +00:00
Ancuta Morarasu
7cf61675a8 Merged HEAD (5.2) to 5.2.N (5.2.1)
126448 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      122008 jvonka: (Quick) Shared Links API - limit @WebApiNoAuth to specific GET methods (not complete resource)
      RA-775, RA-750


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126793 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:21:10 +00:00
Ancuta Morarasu
930b2a21fc Merged HEAD (5.2) to 5.2.N (5.2.1)
126446 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126791 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:20:52 +00:00
Ancuta Morarasu
21ea65d14a Merged HEAD (5.2) to 5.2.N (5.2.1)
126445 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126790 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:20:43 +00:00
Ancuta Morarasu
3d68aeb1ac Merged HEAD (5.2) to 5.2.N (5.2.1)
126443 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126789 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:20:34 +00:00
Ancuta Morarasu
5c366acd2f Merged HEAD (5.2) to 5.2.N (5.2.1)
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
2016-05-11 11:20:14 +00:00
Ancuta Morarasu
cca46335c4 Merged HEAD (5.2) to 5.2.N (5.2.1)
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
2016-05-11 11:20:04 +00:00
Ancuta Morarasu
fda99837d8 Merged HEAD (5.2) to 5.2.N (5.2.1)
126439 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126785 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:19:55 +00:00
Ancuta Morarasu
b5ec3f056d Merged HEAD (5.2) to 5.2.N (5.2.1)
126436 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      121917 jkaabimofrad: RA-778: Added support for QuickShare service to email users notifying them that a content has been shared with them.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126782 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:19:27 +00:00
Ancuta Morarasu
0d077586da Merged HEAD (5.2) to 5.2.N (5.2.1)
126433 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      121874 jvonka: (Quick) Shared Links API - improvements
      - permission checks, return sharedByUser etc
      - updated design notes & JIRAs to be in-sync
      - TODO review api/impl (& add api tests)
      RA-775, RA-773, RA-750, RA-708, RA-776


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126779 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:18:35 +00:00
Ancuta Morarasu
74638e0086 Merged HEAD (5.2) to 5.2.N (5.2.1)
126428 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      121851 jvonka: (Quick) Shared Links API - update resource name to "/shared-links"
      - also add REST impl layer
      - TODO review impl (+ add tests)
      RA-775, RA-773, RA-750, RA-708, RA-776


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126774 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:17:51 +00:00
Ancuta Morarasu
7651db37f1 Merged HEAD (5.2) to 5.2.N (5.2.1)
126425 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126771 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:15:44 +00:00
Ancuta Morarasu
6a44732238 Merged HEAD (5.2) to 5.2.N (5.2.1)
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
2016-05-11 11:15:27 +00:00
Ancuta Morarasu
6eb2d40fb9 Merged HEAD (5.2) to 5.2.N (5.2.1)
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
2016-05-11 11:14:51 +00:00
Ancuta Morarasu
743a4be99b Merged HEAD (5.2) to 5.2.N (5.2.1)
126417 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126763 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:14:34 +00:00
Ancuta Morarasu
fc7cea8ad5 Merged HEAD (5.2) to 5.2.N (5.2.1)
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
2016-05-11 11:14:17 +00:00
Ancuta Morarasu
f920f588b5 Merged HEAD (5.2) to 5.2.N (5.2.1)
126414 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126760 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:14:09 +00:00
Ancuta Morarasu
c8b6320632 Merged HEAD (5.2) to 5.2.N (5.2.1)
126412 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126758 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:12:23 +00:00
Ancuta Morarasu
cb90942321 Merged HEAD (5.2) to 5.2.N (5.2.1)
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
2016-05-11 11:10:51 +00:00
Ancuta Morarasu
3914ebcfcc Merged HEAD (5.2) to 5.2.N (5.2.1)
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
2016-05-11 11:03:36 +00:00
Ancuta Morarasu
7799b7b262 Merged HEAD (5.2) to 5.2.N (5.2.1)
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
2016-05-11 11:03:11 +00:00
Ancuta Morarasu
a8920053db Merged HEAD (5.2) to 5.2.N (5.2.1)
126403 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126748 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:03:02 +00:00
Ancuta Morarasu
a4b84d0d05 Merged HEAD (5.2) to 5.2.N (5.2.1)
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
2016-05-11 11:02:54 +00:00
Ancuta Morarasu
92dbce46aa Merged HEAD (5.2) to 5.2.N (5.2.1)
126400 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126745 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:02:04 +00:00
Ancuta Morarasu
ee9dd6465f Merged HEAD (5.2) to 5.2.N (5.2.1)
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
2016-05-11 11:01:55 +00:00
Ancuta Morarasu
b1c54a804f Merged HEAD (5.2) to 5.2.N (5.2.1)
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
2016-05-11 11:01:47 +00:00
Ancuta Morarasu
0c62289cd5 Merged HEAD (5.2) to 5.2.N (5.2.1)
126392 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      120603 jkaabimofrad: FileFolder API – cleanup + minor modification to satisfy the IDEA's code analysis.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126738 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:00:21 +00:00
Ancuta Morarasu
de251c86e8 Merged HEAD (5.2) to 5.2.N (5.2.1)
126390 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      120550 jkaabimofrad: RA-638: Changed the "validateOrLookupNode" method visibility, in order to override it for Cloud.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126736 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 10:59:06 +00:00
Ancuta Morarasu
60979d0ab3 Merged HEAD (5.2) to 5.2.N (5.2.1)
126389 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      120545 jvonka: FileFolder API - minor (fix formatting style - primarily opening curly brace on next line)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126735 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 10:58:58 +00:00
Ancuta Morarasu
a9d888baa9 Merged HEAD (5.2) to 5.2.N (5.2.1)
126388 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      120483 jvonka: FileFolder API - minor (fix typo)
      - edge-case, eg. unknown type of cm:link


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126734 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 10:57:54 +00:00