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
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
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
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
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
118663 jvonka: Merge from DEV/SABRE_JANV1 (part 1)
File Folder API (PoC - experimental WIP)
- relates to RA-613
- initial file folder CRUD including
- * list folder children (minimal info by default)
with sorting, paging & optional isFolder=true/false
- * create folders or (empty) files
- * get node info
with id, name, nodeType, auditable props, properties (not sys:referencable), aspectNames, ...
- * put node info
- * put content (upload file)
- * get content (download file)
- * delete node (cascade for folder)
- * support for well-known folder alias, -root-, -my-, -shared-
- TODO add tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126348 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
113520: SFS-179: Added multipart upload support into Public API framework.
114561: SFS-179: Added tests for upload API, as well as minor fixes.
114732: SFS-179: Changed the assert import from 3.X to 4.X.
114734: SFS-179: Added unit tests for Public API framework multiPart support.
114735: SFS-179: Fixed unit test failure.
- Also removed mergeinfo added in r112639
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@114736 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
107541: Merged 5.0.N (5.0.3) to HEAD-BUG-FIX (5.1/Cloud) (PARTIAL MERGE)
107413: Merged DEV to 5.0.N (5.0.3)
106858 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Cleaning of Javadoc,
107565: MNT-13545 Fix compilation after merge of Javadoc
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@107633 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
99981: Merged 5.0.N (5.0.2) to HEAD-BUG-FIX (5.1/Cloud) (PARTIAL MERGE)
99482: Merged DEV to 5.0.N (5.0.1)
99198 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc typo in project alfresco-jlan
99413 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc parameters inconsistence in project alfresco-jlan
99205 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc parameters inconsistence in project core
99415 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc parameters inconsistence in project data-model
99227 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc parameters inconsistence in project file-transfer-receiver
99416 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc parameters inconsistence in project legacy-lucene
99417 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc parameters inconsistence in project qa-share
99418 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc parameters inconsistence in project remote-api
99427 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc in project Repository, letters S..Z
99433 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc in project Repository, letters A..R
99421 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc parameters inconsistence in project share-po
99247 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc typo in project slingshot
99248 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc parameters inconsistence in project slingshot
99424 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc parameters inconsistence in project solr
99426 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc parameters inconsistence in project solr4
99253 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc parameters inconsistence in project solr-client
99259 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc parameters inconsistence in project web-client
99260 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc parameters inconsistence in project web-framework-commons
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@100501 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
83757: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
<< Bringing back the commit just reverted. Needed to revert another commit
80358 which changed pom.xml files to include the correct versions of
external libs including open cmiss 0.11 >>
80966: Revere merged HEAD-BUG-FIX (5.0/Cloud)
<< Take out all OpenCMIS changes merged to HEAD-BUG-FIX that have come from V4.2-BUG-FIX >>
80355: Reverse Merge HEAD-BUG-FIX (5.0/Cloud)
<< And added alfresco-opencmis-extension 1.0 >>
79170: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
<< Commit is actually a reverse merge of the original merges from V4.2-BUG-FIX 79113,79128
rather than the changes from V4.2-BUG-FIX >>
79166: Reverse merged V4.2-BUG-FIX (4.2.4)
<< Need a new version of alfresco-opencmis-extension as 0.9 is incompatible with OpenCMIS 0.11.0
and Steve is on holiday for a week. >>
<< The original commits are already merged to HBF for ACE-484 so will revert them too. >>
79070: Merged DEV to V4.2-BUG-FIX (4.2.4)
67851: MNT-11223 : Upgrade OpenCMIS library to 0.11.0 on 4.2 code line
Updated OpenCMIS to 0.11 version.
79120: MNT-11223: Merged V4.1-BUG-FIX (4.1.10) to V4.2-BUG-FIX (4.2.4)
79117: MNT-11596 Fix dependencies declared in pom files after upgrade of OpenCMIS to 0.11.0, and all related upgrades
80358: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
79166: Reverse merged V4.2-BUG-FIX (4.2.4)
<< Need a new version of alfresco-opencmis-extension as 0.9 is incompatible with OpenCMIS 0.11.0
and Steve is on holiday for a week. >>
<< The original commits are already merged to HBF for ACE-484 so will revert them too. >>
79070: Merged DEV to V4.2-BUG-FIX (4.2.4)
67851: MNT-11223 : Upgrade OpenCMIS library to 0.11.0 on 4.2 code line
Updated OpenCMIS to 0.11 version.
79120: MNT-11223: Merged V4.1-BUG-FIX (4.1.10) to V4.2-BUG-FIX (4.2.4)
79117: MNT-11596 Fix dependencies declared in pom files after upgrade of OpenCMIS to 0.11.0, and all related upgrades
80365: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
80356: MNT-11223 : Upgrade OpenCMIS library to 0.11.0 on 4.2 code line
- Commit missed delete of old alfresco-opencmis-extension-0.9 sources/javadoc
80366: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
80337: MNT-11223 follow-up: bring back test dependencies in web-framework-commons pom, to make the Maven build pass again
80814: MNT-11223: Fix build (pt1)
- 80366: pom.xml contained a reference to an external surf which is now back in house.
80858: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
80373: MNT-11223 : Upgrade OpenCMIS library to 0.11.0 on 4.2 code line
- Found another reference to version 0.9 rather than 1.0 of alfresco-opencmis-extensions
80861: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
80397: MNT-11223 : Upgrade OpenCMIS library to 0.11.0 on 4.2 code line
Fixed TestCMIS.testMNT10430. Excluded sys:localized aspect from returned set in CMIS.
80865: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
80840: MNT-11223 : Upgrade OpenCMIS library to 0.11.0 on 4.2 code line
Fix for CMISTCKCRUD test. Added special handling of content stream file name property via accessor.
80866: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
80841: MNT-11223 : Upgrade OpenCMIS library to 0.11.0 on 4.2 code line
Changed Solr to Lucene for tests.
83745: Reverse Merge HEAD-BUG-FIX (5.0/Cloud)
83699: ACE-484: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud) VIA EOL
81016: MNT-11223 : Upgrade OpenCMIS library to 0.11.0 on 4.2 code line
Fixed TestCMIS to check for secondary types list to be null.
81017: MNT-11223 : Upgrade OpenCMIS library to 0.11.0 on 4.2 code line
Disabled assert for tests run by maven.
82255: Merged V4.2-BUG-FIX (4.2.4) to EOL (5.0/Cloud)
82252: MNT-11223 : Upgrade OpenCMIS library to 0.11.0 on 4.2 code line
Disabled QueryRootFolderTest.
- RECORD ONLY merge from V4.2-BUG-FIX extra commits not required on HEAD-BUG-FIX: 80373,80397,80840-80841,81707,81741,82245
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@84575 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
80966: Revere merged HEAD-BUG-FIX (5.0/Cloud)
<< Take out all OpenCMIS changes merged to HEAD-BUG-FIX that have come from V4.2-BUG-FIX >>
80355: Reverse Merge HEAD-BUG-FIX (5.0/Cloud)
<< And added alfresco-opencmis-extension 1.0 >>
79170: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
<< Commit is actually a reverse merge of the original merges from V4.2-BUG-FIX 79113,79128
rather than the changes from V4.2-BUG-FIX >>
79166: Reverse merged V4.2-BUG-FIX (4.2.4)
<< Need a new version of alfresco-opencmis-extension as 0.9 is incompatible with OpenCMIS 0.11.0
and Steve is on holiday for a week. >>
<< The original commits are already merged to HBF for ACE-484 so will revert them too. >>
79070: Merged DEV to V4.2-BUG-FIX (4.2.4)
67851: MNT-11223 : Upgrade OpenCMIS library to 0.11.0 on 4.2 code line
Updated OpenCMIS to 0.11 version.
79120: MNT-11223: Merged V4.1-BUG-FIX (4.1.10) to V4.2-BUG-FIX (4.2.4)
79117: MNT-11596 Fix dependencies declared in pom files after upgrade of OpenCMIS to 0.11.0, and all related upgrades
80358: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
79166: Reverse merged V4.2-BUG-FIX (4.2.4)
<< Need a new version of alfresco-opencmis-extension as 0.9 is incompatible with OpenCMIS 0.11.0
and Steve is on holiday for a week. >>
<< The original commits are already merged to HBF for ACE-484 so will revert them too. >>
79070: Merged DEV to V4.2-BUG-FIX (4.2.4)
67851: MNT-11223 : Upgrade OpenCMIS library to 0.11.0 on 4.2 code line
Updated OpenCMIS to 0.11 version.
79120: MNT-11223: Merged V4.1-BUG-FIX (4.1.10) to V4.2-BUG-FIX (4.2.4)
79117: MNT-11596 Fix dependencies declared in pom files after upgrade of OpenCMIS to 0.11.0, and all related upgrades
80365: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
80356: MNT-11223 : Upgrade OpenCMIS library to 0.11.0 on 4.2 code line
- Commit missed delete of old alfresco-opencmis-extension-0.9 sources/javadoc
80366: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
80337: MNT-11223 follow-up: bring back test dependencies in web-framework-commons pom, to make the Maven build pass again
80814: MNT-11223: Fix build (pt1)
- 80366: pom.xml contained a reference to an external surf which is now back in house.
80858: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
80373: MNT-11223 : Upgrade OpenCMIS library to 0.11.0 on 4.2 code line
- Found another reference to version 0.9 rather than 1.0 of alfresco-opencmis-extensions
80861: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
80397: MNT-11223 : Upgrade OpenCMIS library to 0.11.0 on 4.2 code line
Fixed TestCMIS.testMNT10430. Excluded sys:localized aspect from returned set in CMIS.
80865: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
80840: MNT-11223 : Upgrade OpenCMIS library to 0.11.0 on 4.2 code line
Fix for CMISTCKCRUD test. Added special handling of content stream file name property via accessor.
80866: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
80841: MNT-11223 : Upgrade OpenCMIS library to 0.11.0 on 4.2 code line
Changed Solr to Lucene for tests.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@83142 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
80355: Reverse Merge HEAD-BUG-FIX (5.0/Cloud)
<< And added alfresco-opencmis-extension 1.0 >>
79170: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
<< Commit is actually a reverse merge of the original merges from V4.2-BUG-FIX 79113,79128
rather than the changes from V4.2-BUG-FIX >>
79166: Reverse merged V4.2-BUG-FIX (4.2.4)
<< Need a new version of alfresco-opencmis-extension as 0.9 is incompatible with OpenCMIS 0.11.0
and Steve is on holiday for a week. >>
<< The original commits are already merged to HBF for ACE-484 so will revert them too. >>
79070: Merged DEV to V4.2-BUG-FIX (4.2.4)
67851: MNT-11223 : Upgrade OpenCMIS library to 0.11.0 on 4.2 code line
Updated OpenCMIS to 0.11 version.
79120: MNT-11223: Merged V4.1-BUG-FIX (4.1.10) to V4.2-BUG-FIX (4.2.4)
79117: MNT-11596 Fix dependencies declared in pom files after upgrade of OpenCMIS to 0.11.0, and all related upgrades
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82736 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261