Commit Graph

104 Commits

Author SHA1 Message Date
Alan Davis
cc1598b3d1 Merged 5.2.N (5.2.1) to HEAD (5.2)
132357 adavis: Merged 5.2.N-SERVLET-3.0 (5.2.1) to 5.2.N (5.2.1)
      131490: REPO-1238 / REPO-1413: Use data-model with the OpenCMIS upgrade.,
      131493: REPO-1238 / REPO-1413: OpenCMIS upgrade to 1.0.0.
          - Compilation errors fixed
          - Removed old JAX-WS listener from web.xml + sun-jaxws.xml - obsolete after the upgrade (OpenCMIS has replaced JAX-WS with Apache CXF)
          - Set chemistry-opencmis-test-browser version to 0.14.0, since it was removed in 1.0.0 (TODO: see if something from 1.0.0 can be used instead)
          - Changed dependency on XmlSchema 1.4.7 to xmlschema-core 2.2.1 (required by Apache CXF) - implications of this change still to be addressed.,
      131569: REPO-1238 / REPO-1413: OpenCMIS upgrade to 1.0.0.
          - Possible fix for the browser binding - since OpenCMIS 0.13.0, repository URLs always require a cmisselector parameter (see CMIS-893).,
      131671: REPO-843 Upgrade our Servlet API usage to 3.0.1 (from 2.4 / 2.5)
         - Modifications to weblogic-application.xml to allow Weblogic 12.2.1.1 to start with the changes
           made so far for the 1.0 Open CMIS upgrade (REPO-1238). This follows the Servlet 3.0 upgrade
           which resulted in WebLogic not starting. The Open CMIS upgrade has helped with fixing the WebLogic
           start up issue, however...
         - Some of the changes are TEMPORARY to pick up classes and resources from either the JRE or WebLogic
           rather than the alfresco.war. These should be coming from the alfresco.war, but we will still need to
           upgrade the jars that we package. See comments being added to REPO-1413 related to the CMIS upgrade.
         - It is likely that there are other entries in this file that are not needed.,
      131758: REPO-1238 / REPO-1413: OpenCMIS upgrade to 1.0.0 - Fix for CMISTCKVersioning tests.
          - The VersioningSmokeTest from the OpenCMIS TCK has been enhanced with the case of checking-in documents with new properties (not just new content). This touches the part of code in CMISConnector that parses the secondary types (aspects), removes the old ones and adds the new. The problem was that even the working copy aspect was removed for checked out documents. This is illegal and an error was thrown.
          - Applies to CMIS 1.1.,
      131815: REPO-1238 / REPO-1413: OpenCMIS upgrade to 1.0.0 - Fix for CMISTCKVersioning tests.
          - The VersioningSmokeTest from the OpenCMIS TCK has been enhanced with the case of checking-in documents with new properties (not just new content). So the tests check-in a document with the same name as the original name causing the rename of the working copy to fail. I added an extra check on the name format for working copies.
          - Applies to CMIS 1.0.,
      131843: REPO-1238 / REPO-1413: OpenCMIS upgrade to 1.0.0 - Fix for CMISTCKCRUD tests.
          - The SetAndDeleteContentTest from the OpenCMIS TCK has been enhanced with tests that append content. The case where the content was 0 bytes failed, because of an "unnecessary" (hopefully) check on the content data length.,
      131859: REPO-1413 : Upgrade to OpenCMIS 1.0 - update dependencies and fix compilation and/or build test failures
         - fixed failing testVersioningPropertiesHaveDefaultValue ,
      131868: REPO-1413 : Upgrade to OpenCMIS 1.0 - update dependencies and fix compilation and/or build test failures
         - fixed new failing tests,
      131876: REPO-1238 / REPO-1413: OpenCMIS upgrade to 1.0.0
          - Fix for versioning related tests.,
      131907: REPO-1238 / REPO-1413: OpenCMIS upgrade to 1.0.0
          - Removed unused dependency on chemistry-opencmis-test-browser,
      132064: REPO-1238 / REPO-1413: OpenCMIS upgrade to 1.0.0
          - Removed unnecessary excludes, updated data-model, added junit dependency for legacy-lucene which was relying on a now unused dependency to get the junit.,
      132069: REPO-1238 / REPO-1413: OpenCMIS upgrade to 1.0.0
          - Upgrade jaxb libraries to 2.2.11, alfresco-core to 6.7.,
      132110: REPO-843 Upgrade our Servlet API usage to 3.0.1 (from 2.4 / 2.5)
         - Further modifications to weblogic-application.xml
           - Checked file only contains references to files that we actually package in alfresco.war.
           - Add additional entries identified by WebLogic's CAT
             - Exclude myfaces-api-1.1.10.jar classes (used by the Explorer UI, removed in 5.0 but still used by Cloud).
             - Exclude classes that cause start up exception. We must use the RT or Weblogic versions.,
      132161: REPO-1238 / REPO-1413: OpenCMIS upgrade to 1.0.0
          - code review changes
      132356: Change to using data-model 6.6


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132365 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 20:07:41 +00:00
Alan Davis
7d606bd6eb Merged 5.2.N (5.2.1) to HEAD (5.2)
131764 rmunteanu: REPO-1390 , REPO-1391: Add support for retrieving site presets
      -  Implemented the API;
      -  Added automated tests.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132294 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:57:18 +00:00
Alan Davis
04c7261d59 Merged 5.2.N (5.2.1) to HEAD (5.2)
131073 gjames: SEARCH-189: Always return skipCount and maxItems


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132213 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:30:45 +00:00
Alan Davis
99ff22c738 Merged 5.2.N (5.2.1) to HEAD (5.2)
130835 jvonka: REPO-1058: REST API - minor fix for "fields" param (fka "properties") to handle field names with spaces


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132187 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:27:07 +00:00
Alan Davis
ef04cb8bcf Merged 5.2.N (5.2.1) to HEAD (5.2)
130645 amorarasu: REPO-484: Code formatting.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132160 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:13:52 +00:00
Alan Davis
07fe704500 Merged 5.2.N (5.2.1) to HEAD (5.2)
130610 amorarasu: REPO-484: [REST API] 400 error for unsupported NOT operator in the 'where' predicate.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132152 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:12:44 +00:00
Alan Davis
dd91ce3629 Merged 5.2.N (5.2.1) to HEAD (5.2)
130593 jvonka: REPO-1059: REST API: Invalid orderBy field is ignored
   - additional fix + test case


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132150 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:12:26 +00:00
Alan Davis
d1350aecb8 Merged 5.2.N (5.2.1) to HEAD (5.2)
130555 jvonka: REPO-1059: REST API: Invalid orderBy field direction is ignored (hence defaults to ascending rather than returning an error)
   - implement fix & update test
   - note: InvalidArgumentException maps to HTTP 400
   - note: we already have tests for case-insensitive (ie. we allow ASC, Asc, AsC, DESC, Desc, DeSC, or similar)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132144 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:11:34 +00:00
Alan Davis
56ea8655c8 Merged 5.2.N (5.2.1) to HEAD (5.2)
130291 gjames: Merged searchapi (5.2.1) to 5.2.N (5.2.1)
      130030 gjames: Manual merge of r129730 and r129731:mmuller:Add a specific error message for invalid maxItem and skipCount. REPO-1061


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130363 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:09:33 +00:00
Alan Davis
58a632a3f2 Merged 5.2.N (5.2.1) to HEAD (5.2)
130290 gjames: Merged searchapi (5.2.1) to 5.2.N (5.2.1)
      130029 gjames: Manual merge of r129701:mmuller:Add a specific error message for the maxItem=0. REPO-890


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130362 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:09:24 +00:00
Alan Davis
bdca31ff6a Merged 5.2.N (5.2.1) to HEAD (5.2)
130289 gjames: Merged searchapi (5.2.1) to 5.2.N (5.2.1)
      130028 gjames: SEARCH-120: Moving SearchContext and facets to its own package


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130361 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:09:16 +00:00
Alan Davis
c80a95d755 Merged 5.2.N (5.2.1) to HEAD (5.2)
130288 gjames: Merged searchapi (5.2.1) to 5.2.N (5.2.1)
      130027 gjames: SEARCH-120: Implementing facet queries


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130360 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:09:06 +00:00
Alan Davis
a0a62612f4 Merged 5.2.N (5.2.1) to HEAD (5.2)
130178 gjames: Merged searchapi (5.2.1) to 5.2.N (5.2.1)
      129808 gjames: SEARCH-112: Adding SearchContext to the response


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130329 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:04:24 +00:00
Alan Davis
898757661e Merged 5.2.N (5.2.1) to HEAD (5.2)
130172 gjames: Merged searchapi (5.2.1) to 5.2.N (5.2.1)
      129780 gjames: SEARCH-114: Adding paging support


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130323 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:03:28 +00:00
Alan Davis
17a3b8912f Merged 5.2.N (5.2.1) to HEAD (5.2)
130168 gjames: Merged searchapi (5.2.1) to 5.2.N (5.2.1)
      129777 gjames: Reformatted to Alfresco standards


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130320 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:02:59 +00:00
Alan Davis
a492b4eb04 Merged 5.2.N (5.2.1) to HEAD (5.2)
130167 gjames: Merged searchapi (5.2.1) to 5.2.N (5.2.1)
      129776 gjames: SEARCH-113: Adding a default success response


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130319 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:02:51 +00:00
Alan Davis
f1905cd23a Merged 5.2.N (5.2.1) to HEAD (5.2)
130166 gjames: Merged searchapi (5.2.1) to 5.2.N (5.2.1)
      129775 gjames: Updated the auto-generated headers using mvn license:update-file-header


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130318 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:02:42 +00:00
Alan Davis
c6dda1e7fa Merged 5.2.N (5.2.1) to HEAD (5.2)
130165 gjames: Merged searchapi (5.2.1) to 5.2.N (5.2.1)
      129774 gjames: SEARCH-113: Moving more api logic to helper classes, using a "trait" style


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130317 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:02:33 +00:00
Alan Davis
94b18c174f Merged 5.2.N (5.2.1) to HEAD (5.2)
129731 mmuller: Add a specific error message for invalid maxItem and skipCount. REPO-1061. (small optimation)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130222 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:42:03 +00:00
Alan Davis
fc99db194d Merged 5.2.N (5.2.1) to HEAD (5.2)
129730 mmuller: Add a specific error message for invalid maxItem and skipCount. REPO-1061.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130221 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:41:53 +00:00
Alan Davis
2a5218afb8 Merged 5.2.N (5.2.1) to HEAD (5.2)
129701 mmuller: Add a specific error message for the maxItem=0. REPO-890


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130218 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:41:21 +00:00
Alexandru Epure
8076a3abb3 Merged 5.2.N (5.2.1) to HEAD (5.2)
129169 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      128525 jvonka: REPO-874: Improve REST fwk: improve error message if a POST operation is attempted with multiple items
      - follow-on to fix fallout


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129343 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:12:52 +00:00
Alexandru Epure
c3eeea134f Merged 5.2.N (5.2.1) to HEAD (5.2)
129168 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      128517 jvonka: REPO-874: Improve REST fwk: improve error message if a POST operation is attempted with multiple items
      - rationalise the code when handling POST for an API "operation" or POST to a collection that is marked as "allowMultiple=false"
      - they should now consistently return the same existing error message: "Only 1 entity is supported in the HTTP request body"
      - add api sanity tests to "create site", "create rating" and some of the node op's, such as "/move" & "/copy"


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129342 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:12:44 +00:00
Alexandru Epure
d73d4e1a71 Merged 5.2.N (5.2.1) to HEAD (5.2)
128510 mmuller: Fixed some javadoc errors. REPO-466


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129291 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 13:56:54 +00:00
Alan Davis
41ae7f2d10 Update source headers that came from API-STRIKES-BACK
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127899 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-06 11:11:00 +00:00
Alan Davis
6131de1c58 Merged 5.2.N (5.2.1) to HEAD (5.2)
127000 rneamtu: Update source headers - add new Copyrights for new Java files synced from Head (part 4).


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127856 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-06 09:17:38 +00:00
Alan Davis
3e1e1edbaa Merged 5.2.N (5.2.1) to HEAD (5.2)
125788 rmunteanu: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
      125606 rmunteanu: Merged 5.1.1 (5.1.1) to 5.1.N (5.1.2)
         125515 slanglois: MNT-16155 Update source headers - add new Copyrights for Java and JSP source files + automatic check in the build


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127810 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-03 17:08:06 +00:00
Alan Davis
19fcf2c411 Merged 5.2.N (5.2.1) to HEAD (5.2)
125783 rmunteanu: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
      125605 rmunteanu: Merged 5.1.1 (5.1.1) to 5.1.N (5.1.2)
         125498 slanglois: MNT-16155 Update source headers - remove svn:eol-style property on Java and JSP source files


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127809 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-03 16:45:04 +00:00
Alan Davis
da8101a5ba Merged 5.2.N (5.2.1) to HEAD (5.2)
125781 rmunteanu: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
      125603 rmunteanu: Merged 5.1.1 (5.1.1) to 5.1.N (5.1.2)
         125484 slanglois: MNT-16155 Update source headers - remove old Copyrights from Java and JSP dource files


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127808 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-03 16:40:56 +00:00
Jamal Kaabi-Mofrad
d5cb47936f Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
127226 gjames: RA-1064: Added a WebScriptExceptionResolver


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127592 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 22:16:49 +00:00
Jamal Kaabi-Mofrad
f17a4d19cf Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
126242 gjames: RA-878:All api errors should return the standard error object


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127571 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:40:03 +00:00
Jamal Kaabi-Mofrad
f9eb72c7ef Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125761 gjames: RA-652: new stack trace message and logId property


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127564 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:38:35 +00:00
Jamal Kaabi-Mofrad
f31d286c8c Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125666 jkaabimofrad: RA-933: Fixed API tests failures by refactoring the noAuth functionality.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127560 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:37:21 +00:00
Jamal Kaabi-Mofrad
d29575ff1b Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125604 jkaabimofrad: RA-933: Initial commit for ticket base authentication.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127556 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:26:29 +00:00
Jamal Kaabi-Mofrad
46c3f3eb30 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125552 gjames: RA-652: Stack traces not returned, but in the log, only for 500 or debugging


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127536 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:19:27 +00:00
Jamal Kaabi-Mofrad
9472ad7d30 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125551 gjames: RA-652: Stack traces not returned, but in the log.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127535 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:19:20 +00:00
Jamal Kaabi-Mofrad
90920131ca Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125406 jvonka: RA-779 / RA-780: Sites API - initial commit for create site [default/functional Share site ;-)] & delete site


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127528 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:17:46 +00:00
Jamal Kaabi-Mofrad
d0a4334536 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
125129 gjames: RA-675: Added https to the front of the descriptionURL


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126612 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:50:39 +00:00
Jamal Kaabi-Mofrad
186236813e Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
125121 gjames: RA-675: Fixed the descriptionURL in error response


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126609 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:49:57 +00:00
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