Commit Graph

108 Commits

Author SHA1 Message Date
Alan Davis
22d91cb857 Merged HEAD (5.2) to 5.2.N (5.2.1)
127606 jkaabimofrad: Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
      127419 jvonka: Node Associations - 1st cut for creating/listing primary child assoc type other than cm:contains
      - TODO sanity tests, api spec tweaks
      RA-1092


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127713 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-03 15:18:22 +00:00
Alan Davis
3f0bba6779 Merged HEAD (5.2) to 5.2.N (5.2.1)
127604 jkaabimofrad: Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
      127414 jvonka: Node Associations - create node with assocs (peer &/or secondary child)
      - can be optionally used to create (eg. mandatory) assoc(s) to other existing node(s)
      RA-925


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127711 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-03 15:18:10 +00:00
Alan Davis
9ebd44552d Merged HEAD (5.2) to 5.2.N (5.2.1)
127589 jkaabimofrad: Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
      127094 jvonka: Node Associations - child assocs - isPrimary filter (for /parents and /children)
      - RA-1053


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127681 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-03 14:16:16 +00:00
Alan Davis
8ccacdd032 Merged HEAD (5.2) to 5.2.N (5.2.1)
127587 jkaabimofrad: Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
      127040 jvonka: Node Associations - child & peer
      - exclude "sys" namespace
      - common code for listing
      - RA-745, 920, RA-921, RA-930, RA-742, RA-918, RA-919


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127679 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-03 14:15:20 +00:00
Alan Davis
50af2e5cc1 Merged HEAD (5.2) to 5.2.N (5.2.1)
127579 jkaabimofrad: Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
      126567 jvonka: Node Associations - further updates
      - for child assocs, do not expose assoc child qname (nominally like file/folder for primary child assoc)
      - additional api tests (+ve & -ve) for peer assocs & secondary child assocs
      - RA-745, RA-920, RA-921, RA-930, RA-742, RA-918, RA-919


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127672 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-03 14:14:43 +00:00
Alan Davis
437a01294c Merged HEAD (5.2) to 5.2.N (5.2.1)
127569 jkaabimofrad: Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
      126200 jvonka: Node Associations - follow-on to r126104 to provide initial impl for both peer & child assocs
      - experimental -> pending detailed review & discussion (and tests)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127663 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-03 14:09:38 +00:00
Alan Davis
3b51433eb8 Merged HEAD (5.2) to 5.2.N (5.2.1)
127568 jkaabimofrad: Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
      126104 jvonka: Node (Peer) Associations - initial wip
      - /nodes/{srcId}/targets (GET, POST)
      - /nodes/{srcId}/targets/{tgtId} (DELETE)
      - /nodes/{tgtId}/sources (GET)
      - TODO ... assoc tests !
      - RA-742, RA-918, RA-919


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127662 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-03 14:09:32 +00:00
Alan Davis
e82595fb8e Merged HEAD (5.2) to 5.2.N (5.2.1)
127557 jkaabimofrad: Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
      125609 jvonka: RA-952: If relative path cannot be resolved due to a permissionn error, return 404 (rather than 403)
      - when listing children or getting node info


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127651 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-03 14:03:50 +00:00
Alexandra Leahu
0fe50bd9f0 Merged HEAD (5.2) to 5.2.N (5.2.1)
127445 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      127427 jkaabimofrad: RA-1052: Modified the upload API so that the failure of the async request to create a rendition wouldn't fail the upload.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127475 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-01 13:37:58 +00:00
Raluca Munteanu
94215263cf Merged HEAD (5.2) to 5.2.N (5.2.1)
127316 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      127312 jkaabimofrad: SFS-577, SFS-581: Fixed the shared-link no-auth APIs issue with multi-tenancy.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127385 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-24 14:59:05 +00:00
Ancuta Morarasu
4383e6017b Merged HEAD (5.2) to 5.2.N (5.2.1)
126635 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      126115 jvonka: RA-1028: Fix copy bug - if same parent & name (ie. nothing copied) then return 409 rather than 201
      - see also SFS-554


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126986 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:41:31 +00:00
Ancuta Morarasu
366ed0fce0 Merged HEAD (5.2) to 5.2.N (5.2.1)
126608 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      125032 jvonka: RA-767: Queries API - bug fixes (and updated tests)
      - optional rootNodeId should allow well-known aliases (-root-,-my-,-shared-)
      - investigate and 'fix' apparent underlying issue with '.' which causes 500 in FTS query parser, eg. abc.txt


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126953 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:20:23 +00:00
Ancuta Morarasu
be9428619b Merged HEAD (5.2) to 5.2.N (5.2.1)
126607 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      125020 gjames: RA-884: Posting download activities and formatting


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126952 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:20:06 +00:00
Ancuta Morarasu
5fdb72ede0 Merged HEAD (5.2) to 5.2.N (5.2.1)
126605 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      124992 gjames: RA-847, RA-848: Showing orignal parent path but not parentid


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126950 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:19:38 +00:00
Ancuta Morarasu
9ae53d6770 Merged HEAD (5.2) to 5.2.N (5.2.1)
126604 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      124980 gjames: RA-910: Added a "restapi" clientType to alfresco-events


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126949 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:19:29 +00:00
Ancuta Morarasu
eca520df46 Merged HEAD (5.2) to 5.2.N (5.2.1)
126602 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      124972 gjames: RA-884: Posting download/delete activites using a transaction listener


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126947 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:15:19 +00:00
Ancuta Morarasu
f8d4813192 Merged HEAD (5.2) to 5.2.N (5.2.1)
126600 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      124911 jvonka: RA-767: Queries API - additional tests & fixes (re: tag hits & also optional "include" info in results)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126945 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:15:00 +00:00
Ancuta Morarasu
c0a435be1a Merged HEAD (5.2) to 5.2.N (5.2.1)
126598 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      124844 jvonka: RA-767: Queries API - optionally restrict by nodeType
      - also added tests (+ve/-ve)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126943 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:14:41 +00:00
Ancuta Morarasu
4fbea2881d Merged HEAD (5.2) to 5.2.N (5.2.1)
126595 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      124828 jvonka: RA-896 - List Node Children filtering - fix build/test fallout


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126940 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:14:14 +00:00
Ancuta Morarasu
8e5bf52024 Merged HEAD (5.2) to 5.2.N (5.2.1)
126594 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      124827 gjames: RA-884:Remove unused fileinfo


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126939 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:14:05 +00:00
Ancuta Morarasu
c7678ccd65 Merged HEAD (5.2) to 5.2.N (5.2.1)
126589 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      124819 jvonka: RA-896 - List Node Children filtering - additional fixes & tests, when filtering by isFile &/or isFolder


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126934 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:13:21 +00:00
Ancuta Morarasu
e4beb318b7 Merged HEAD (5.2) to 5.2.N (5.2.1)
126588 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      124813 jkaabimofrad: RA-889: Changed multipart field's name from "filename" to "name".


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126933 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:13:13 +00:00
Ancuta Morarasu
ac7d35a8a8 Merged HEAD (5.2) to 5.2.N (5.2.1)
126582 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      124741 jkaabimofrad: RA-895: fixed the error message when the relativePath does not exist.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126927 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:12:21 +00:00
Ancuta Morarasu
95affed365 Merged HEAD (5.2) to 5.2.N (5.2.1)
126581 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      124740 gjames: RA-847, RA-848 Retrieving deleted nodes


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126926 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:12:13 +00:00
Ancuta Morarasu
28fbcec66c Merged HEAD (5.2) to 5.2.N (5.2.1)
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
2016-05-11 12:11:16 +00:00
Ancuta Morarasu
ef82a92254 Merged HEAD (5.2) to 5.2.N (5.2.1)
126569 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      124565 gjames: RA-884: Posting DOWNLOAD activities in a new (non-readonly) transaction


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126914 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:10:20 +00:00
Ancuta Morarasu
8031ad0aa3 Merged HEAD (5.2) to 5.2.N (5.2.1)
126566 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      124563 gjames: RA-884: Posting activities for file/folder deleted


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126912 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:10:02 +00:00
Ancuta Morarasu
490e2345da Merged HEAD (5.2) to 5.2.N (5.2.1)
126565 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      124562 gjames: RA-884: Posting activities for file/folder added/updated


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126911 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:09:51 +00:00
Ancuta Morarasu
587a169e0e Merged HEAD (5.2) to 5.2.N (5.2.1)
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
2016-05-11 12:09:42 +00:00
Ancuta Morarasu
87bc714cfc Merged HEAD (5.2) to 5.2.N (5.2.1)
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
2016-05-11 12:09:33 +00:00
Ancuta Morarasu
e212513df3 Merged HEAD (5.2) to 5.2.N (5.2.1)
126556 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126902 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:08:24 +00:00
Ancuta Morarasu
e8cd9542c3 Merged HEAD (5.2) to 5.2.N (5.2.1)
126553 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126899 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:07:55 +00:00
Ancuta Morarasu
8d6a950702 Merged HEAD (5.2) to 5.2.N (5.2.1)
126550 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126896 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:07:27 +00:00
Ancuta Morarasu
7b4e9153d4 Merged HEAD (5.2) to 5.2.N (5.2.1)
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
2016-05-11 12:07:17 +00:00
Ancuta Morarasu
478ed2baae Merged HEAD (5.2) to 5.2.N (5.2.1)
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
2016-05-11 12:07:07 +00:00
Ancuta Morarasu
5f08bf7da5 Merged HEAD (5.2) to 5.2.N (5.2.1)
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
2016-05-11 12:06:45 +00:00
Ancuta Morarasu
7925bca309 Merged HEAD (5.2) to 5.2.N (5.2.1)
126542 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126887 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:04:50 +00:00
Ancuta Morarasu
f294882433 Merged HEAD (5.2) to 5.2.N (5.2.1)
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
2016-05-11 12:04:41 +00:00
Ancuta Morarasu
728b8739da Merged HEAD (5.2) to 5.2.N (5.2.1)
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
2016-05-11 12:04:32 +00:00
Ancuta Morarasu
543d2bbf1c Merged HEAD (5.2) to 5.2.N (5.2.1)
126538 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126882 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:04:10 +00:00
Ancuta Morarasu
fbd2ca5698 Merged HEAD (5.2) to 5.2.N (5.2.1)
126537 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126881 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:03:57 +00:00
Ancuta Morarasu
3461cfe219 Merged HEAD (5.2) to 5.2.N (5.2.1)
126535 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126879 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:03:25 +00:00
Ancuta Morarasu
2cfd6ee016 Merged HEAD (5.2) to 5.2.N (5.2.1)
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
2016-05-11 12:01:38 +00:00
Ancuta Morarasu
601aa347e9 Merged HEAD (5.2) to 5.2.N (5.2.1)
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
2016-05-11 12:00:33 +00:00
Ancuta Morarasu
4c026f6713 Merged HEAD (5.2) to 5.2.N (5.2.1)
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
2016-05-11 11:59:13 +00:00
Ancuta Morarasu
0f836e8090 Merged HEAD (5.2) to 5.2.N (5.2.1)
126520 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126864 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 11:58:26 +00:00
Ancuta Morarasu
d2fa56e4b1 Merged HEAD (5.2) to 5.2.N (5.2.1)
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
2016-05-11 11:48:19 +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
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
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