Jamal Kaabi-Mofrad
4a60699161
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
124826 gjames: Updated the comments
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126593 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:43:44 +00:00
Jamal Kaabi-Mofrad
840fd93569
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
124208 gjames: RA-892: Improved the error message handling
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126554 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:27:59 +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
f79e7be94d
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/HEAD/root@126543 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:24:48 +00:00
Jamal Kaabi-Mofrad
d9144eb712
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
123214 gjames: RA-812: Changed http 400 to 404
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126536 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:23:22 +00:00
Jamal Kaabi-Mofrad
1e4f80cb61
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
123025 gjames: RA-757: Handle integrity exceptions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126522 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:19:41 +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
f5212b0c8c
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
122967 jvonka: RA-766: Update REST fwk - implement "fields" (synonym for deprecated "properties") query param
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126519 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:18:59 +00:00
Jamal Kaabi-Mofrad
119a8acf4d
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
122817 jvonka: (Quick) Shared Links API - retrieve rendition content (no auth required)
- TODO add extra test
RA-830
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126511 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:17:21 +00:00
Jamal Kaabi-Mofrad
4bdc30e566
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/HEAD/root@126509 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:16:54 +00:00
Jamal Kaabi-Mofrad
dfdba82274
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
122759 gjames: RA-211: Changing execution actions to handle WithResponse. Rework>Java7
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126504 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:14:27 +00:00
Jamal Kaabi-Mofrad
26201557fc
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
122758 gjames: RA-211: Added new interface for WithResponse. Revert>Java7
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126503 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:14:02 +00:00
Jamal Kaabi-Mofrad
6bec9bb1b8
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
122700 gjames: RA-211: Response header handling
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126496 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:12:45 +00:00
Jamal Kaabi-Mofrad
691d4999b7
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
122640 gjames: RA-211: Renamed ResponseCallBack to WithResponse (because its not a callback)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126493 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:12:05 +00:00
Jamal Kaabi-Mofrad
81d364f4e4
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
122636 gjames: RA-211: Adding the ResponseCallBack to the Multipart actions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126490 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:11:27 +00:00
Jamal Kaabi-Mofrad
6d8e8e5ecd
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/HEAD/root@126489 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:11:15 +00:00
Jamal Kaabi-Mofrad
72dacb9c79
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
122630 gjames: RA-211: Moving the response callback down a level
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126488 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:10:50 +00:00
Jamal Kaabi-Mofrad
5e0d82127d
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
122629 gjames: RA-211: Adding a response callback for setting the response outside a transaction
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126487 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:10:32 +00:00
Jamal Kaabi-Mofrad
63b7a24c69
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
122596 gjames: RA-211: Post-processing (carefully) embedded/related resources
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126485 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:09:54 +00:00
Jamal Kaabi-Mofrad
6e2fbe27e3
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
122594 jvonka: REST api fwk: pass through query params for DELETE method
- also update REST api test fwk
RA-837
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126483 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:09:33 +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
7ae93de90a
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
122568 gjames: RA-211: Re-enabling binaryresource without post-processing
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126480 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:08:58 +00:00
Jamal Kaabi-Mofrad
1da6179926
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
122547 gjames: RA-823: Allow the implementation to specify the "source entity" first.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126479 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:08:46 +00:00
Jamal Kaabi-Mofrad
e3068608bc
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
122543 gjames: RA-211: Moving around execution logic in preparation for more flexible respoonse handling
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126478 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:08:37 +00:00
Jamal Kaabi-Mofrad
e1e80ff823
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
122518 gjames: RA-211: Added the webscriptrequest to the Params interface
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126477 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:08:24 +00:00
Jamal Kaabi-Mofrad
f7d7bef19d
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/HEAD/root@126476 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:08:09 +00:00
Jamal Kaabi-Mofrad
c03efd351c
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
122418 gjames: RA-827 Supporting custom status codes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126473 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:05:56 +00:00
Jamal Kaabi-Mofrad
7d99e1aa4a
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
122241 gjames: RA-833: Added a RelationshipResourceBinaryAction
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126462 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:03:52 +00:00
Jamal Kaabi-Mofrad
05757c9773
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
122240 gjames: RA-833: Initial framework changes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126461 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:03:39 +00:00
Jamal Kaabi-Mofrad
fd7690b5c7
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
122167 gjames: RA-823 adding "source" into the collection output
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126455 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:57:58 +00:00
Jamal Kaabi-Mofrad
c35f8c0a24
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
122166 gjames: Changed the method name because Jan didn't like it.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126454 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:57:50 +00:00
Jamal Kaabi-Mofrad
9446c8938a
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
122165 gjames: RA-823 Adding an interface
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126453 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:57:42 +00:00
Jamal Kaabi-Mofrad
3b6cad99e6
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
122164 gjames: RA-823 adding "includeSource" param
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126452 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:57:28 +00:00
Jamal Kaabi-Mofrad
412880e8d9
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/HEAD/root@126448 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:56:49 +00:00
Jamal Kaabi-Mofrad
bd65bbf529
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
121907 gjames: RA-774 Renaming action to operation
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126435 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:54:32 +00:00
Jamal Kaabi-Mofrad
7c27b2070f
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
121864 gjames: RA-774 Allow the use of "Void" parameter type
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126429 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:53:24 +00:00
Jamal Kaabi-Mofrad
06f639f03d
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
121844 jvonka: Quick Share Link API - initial commit (work-in-progress)
- demonstrate WebApiNoAuth
- auth required to create &/or delete quick share link
- no auth required to get &/or download content for a quick share link
- TODO review detailed api & impl (+ add tests)
RA-775, RA-773, RA-750, RA-708, RA-776
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126427 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:52:51 +00:00
Jamal Kaabi-Mofrad
d5159fb57b
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
121809 gjames: RA-774 New ActionResourceMetaData
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126422 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:51:59 +00:00
Jamal Kaabi-Mofrad
3a6d18ba6a
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
121808 gjames: RA-774 Improving action tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126421 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:51:36 +00:00
Jamal Kaabi-Mofrad
6e0f375fb5
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
121807 gjames: RA-774 Added basic action support
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126420 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:51:25 +00:00
Jamal Kaabi-Mofrad
5474d0a70f
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
121614 jvonka: REST fwk - allow select clause properties to take precedence (ie. be included) when using properties 'filter'
- eg. select=abc,def&properties=id,name, ghi ... should return all five (not just id,name,ghi)
RA-739
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126413 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:50:07 +00:00
Jamal Kaabi-Mofrad
7e62487fcb
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/HEAD/root@126389 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:38:36 +00:00
Jamal Kaabi-Mofrad
f8a7dcfd4d
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
120445 jvonka: RA-631, RA-641: REST fwk - fix GET node binary resource (set content-disposition/attachment header)
- by default, set attachment header when downloading content
- unless "attachment=false" *and* content type is in nonAttachContentTypes white list (eg. pdf, images)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126383 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:37:00 +00:00
Jamal Kaabi-Mofrad
2f84bce7f7
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
120441 jvonka: RA-727: REST fwk - fix GET node binary resource (setting of content info response headers)
- including encoding (Content-Type charset) & locale (Content-Language)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126382 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:36:50 +00:00
Jamal Kaabi-Mofrad
9ec0c640f3
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
120084 jkaabimofrad: RA-640, RA-681: made "update node content" API to return the default JSON representation of the file node. Also added a test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126380 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:36:18 +00:00
Jamal Kaabi-Mofrad
744ca56709
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
119858 jvonka: RA-632: REST fwk - minor tweak to be consistent with existing exception handling
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126375 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:34:36 +00:00
Jamal Kaabi-Mofrad
04239107de
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
119775 jkaabimofrad: RA-635: Fixed Resource API fwk, where a resource is used to create a node via both JSON and multipart/form-data.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126365 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:32:47 +00:00
Jamal Kaabi-Mofrad
0b75a49b73
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
119623 jvonka: RA-663: Update REST fwk - fix BinaryResource update (currently masks entity PUT operation)
- use "updateProperty" (instead of "update") to be consistent with other binary resource methods
- note: REST fwk relies on unique method names across the resource actions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126358 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:30:30 +00:00
Jamal Kaabi-Mofrad
840c1ba969
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
119504 jkaabimofrad: RA-637, SFS-260: Added multipart upload REST API.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126357 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:30:20 +00:00
Jamal Kaabi-Mofrad
17012b17b6
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
118692 jvonka: Merge from DEV/SABRE_JANV1 (part 2) - RA-613 / RA-655
- File Folder API (PoC - experimental WIP)
- TODO add tests +review backwards compat' (eg. favs)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126349 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:26:33 +00:00