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
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
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
2f420b6a16
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/HEAD/root@126501 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:13:41 +00:00
Jamal Kaabi-Mofrad
33cd988c18
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/HEAD/root@126500 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:13:27 +00:00
Jamal Kaabi-Mofrad
d5c7c07e85
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/HEAD/root@126497 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:12:54 +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
e4cab7d9b2
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/HEAD/root@126495 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:12:33 +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
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
a98dae9f53
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/HEAD/root@126492 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:11:49 +00:00
Jamal Kaabi-Mofrad
2a15a12ece
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/HEAD/root@126491 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:11:38 +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
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
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
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
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
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
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
84947ba6de
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/HEAD/root@126472 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:05:42 +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
f7f489f349
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
...
122275 gjames: Improving the tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126463 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:03:58 +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
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
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
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
4528d01986
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/HEAD/root@126436 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:54:46 +00:00