Commit Graph

1704 Commits

Author SHA1 Message Date
Alan Davis
26a1e7b69f Merged 5.2.N (5.2.1) to HEAD (5.2)
129886 jvonka: REPO-1090: fix regress (V1 REST API - list children within the context of a smart folder)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130236 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:44:20 +00:00
Alan Davis
caf1c1c8ca Merged 5.2.N (5.2.1) to HEAD (5.2)
129804 amorarasu: REPO-340 / REPO-1136 - V1 REST API: Unlock Node
      - Removed the allowCheckedOut option from the unlock body


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130232 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:43:45 +00:00
Alan Davis
d6491804d0 Merged 5.2.N (5.2.1) to HEAD (5.2)
129791 amorarasu: REPO-340 / REPO-1136 - V1 REST API: Unlock Node
      - Unlock with includeChildren=true - fixed + testcases


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130231 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:43:34 +00:00
Alan Davis
65f1f05d1f Merged 5.2.N (5.2.1) to HEAD (5.2)
129790 jvonka: REPO-164 / REPO-1141: fix error mapping when unable to update content due to locked node (should be 409 not 500)
   - also minor cleanup of error handling/mapping (handle within common "writeContent")


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130230 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:43:25 +00:00
Alan Davis
2e47b0cce2 Merged 5.2.N (5.2.1) to HEAD (5.2)
129764 jvonka: REPO-1144: LockService - add isLocked & isLockedAndReadOnly common helper methods to public API
   - remove duplicated code from various locations to use the new methods
   - add sanity checks to Lock*Test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130225 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:42:34 +00:00
Alan Davis
604969ed0e Merged 5.2.N (5.2.1) to HEAD (5.2)
129751 amorarasu: REPO-164 / REPO-1086 - V1 REST API: Lock Node
      - review suggestions
      - added more test cases + utility methods


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130223 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:42:13 +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
bd54639d22 Merged 5.2.N (5.2.1) to HEAD (5.2)
129716 amorarasu: REPO-340 / REPO-1136 - V1 REST API: Unlock Node


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130220 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:41:44 +00:00
Alan Davis
2953ce53de Merged 5.2.N (5.2.1) to HEAD (5.2)
129711 jvonka: REPO-1138 / REPO-983: Add support for the isLocked property
   - can optionally "include" when getting node info, listing children, ...


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130219 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:41:32 +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
Alan Davis
bf4d313a50 Merged 5.2.N (5.2.1) to HEAD (5.2)
129643 amorarasu: REPO-164 / REPO-1086 - V1 REST API: Lock Node


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130216 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:41:02 +00:00
Alan Davis
f968da0d26 Merged 5.2.N (5.2.1) to HEAD (5.2)
129501 jcule: REPO-1023: Service Pack: MNT-16454 Can't use WebDAV to delete files which have the versionable aspect
     - check that node is is actually locked before unlocking to avoid access denied


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130207 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:33:44 +00:00
Kevin Roast
064b771ae0 Merged 5.2.N (5.2.1) to HEAD (5.2)
129874 kroast: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
      129680 kroast: Merged 5.0.N (5.0.5) to 5.1.N (5.1.2) (PARTIAL MERGE)
         129458 cpopa: Merged 5.0.2 (5.0.2.24) to 5.0.N (5.0.4)
            129454 cpopa: MNT-15376 : NTLM authentication sometimes fails with IE10+ (chrome OK) - concurrent socket threads   
               - Synchronize the processing of Type1 and Type3 messages on the same session.
               - Synchronize safely by using WebUtils.getSessionMutex(session) than the session object directly
               - Reuse the previously cached Type2Message in the Share SSOAuthenticationFilter


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129879 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-25 10:41:18 +00:00
Kevin Roast
b0fe463739 Merged 5.2.N (5.2.1) to HEAD (5.2)
129608 mmuller: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
      129597 mmuller: Merged 5.0.N (5.0.5) to 5.1.N (5.1.2) (PARTIAL MERGE)
         129593 mmuller: Merged 5.0.4 (5.0.4) to 5.0.N (5.0.5)
            129585 mmuller: Merged 5.0.3 (5.0.3.9) to 5.0.4 (5.0.4)
               129514 mmuller: MNT-16380, REPO-927, ESC-469 Regression fix from 4.2 --> 5.0. Can now use relative paths again.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129876 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-25 10:39:50 +00:00
Alexandru Epure
82cd8e6038 Merged 5.2.N (5.2.1) to HEAD (5.2)
129253 adavis: REPO-1069 Review live search sort order / sort type (sites and also people)
      - Removal of parameter sortType - we are going to be using the POST_QUERY_SORT
      - Removal of tests using IN_QUERY_SORT except for the one to do with the default sort.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129380 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:18:28 +00:00
Alexandru Epure
061e91e491 Merged 5.2.N (5.2.1) to HEAD (5.2)
129252 adavis: REPO-1079 Rename "Live Search" API endpoints
      - Changes to end points to reflect the rename of:
        /queries/live-search-nodes  to /queries/nodes
        /queries/live-search-people to /queries/people
        /queries/live-search-sites  to /queries/sites


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129379 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:18:20 +00:00
Alexandru Epure
b456267c47 Merged 5.2.N (5.2.1) to HEAD (5.2)
129220 kroast: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
      129145 kroast: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
         128659 cpopa: Merged 5.0.2 (5.0.2.22) to 5.0.N (5.0.4)
            128657 cpopa: MNT-15376 : NTLM authentication sometimes fails with IE10+ (chrome OK) - concurrent socket threads   
               - Reuse the previously created NTLM details cache when a type1 request is being reissued on the same session.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129377 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:18:03 +00:00
Alexandru Epure
e420e9b477 Merged 5.2.N (5.2.1) to HEAD (5.2)
129216 kroast: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
      128735 kroast: MNT-16510 - Chrome/Firefox Download action issue for document name without extension


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129375 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:17:47 +00:00
Alexandru Epure
3ff6c66203 Merged 5.2.N (5.2.1) to HEAD (5.2)
129199 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      129059 adavis: REPO-243 People Live Search
         - Use id (in fields and orderBy) rather than userName as it is an id that is returned in the Person entity
         - Added tests to test id can be used in fields and orderBy
         - Added 'wildcard' tests created by Alexandru-Eusebiu Epure


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129373 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:17:31 +00:00
Alexandru Epure
e82b481e97 Merged 5.2.N (5.2.1) to HEAD (5.2)
129198 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      129058 jvonka: V1 REST API: Sites Live Search (/queries/live-search-sites)
      - additional tweaks based on ADs review comments
      REPO-232, REPO-883


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129372 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:17:22 +00:00
Alexandru Epure
b127bd5178 Merged 5.2.N (5.2.1) to HEAD (5.2)
129197 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      129054 adavis: REPO-232,REPO-883 V1 REST API: Sites Live Search (/queries/live-search-sites)
         - Moved getSite() into the class that uses it.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129371 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:17:13 +00:00
Alexandru Epure
87f28f265b Merged 5.2.N (5.2.1) to HEAD (5.2)
129196 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      129052 adavis: REPO-232,REPO-883 V1 REST API: Sites Live Search (/queries/live-search-sites)
         - As part of code review: Added generics to listPage method and moved it inside AbstractQuery.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129370 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:17:05 +00:00
Alexandru Epure
6722deffbf Merged 5.2.N (5.2.1) to HEAD (5.2)
129194 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      129050 jvonka: V1 REST API: fix 500 (NPE) when trying to get a version (info or content) for a node that has no version history
      REPO-1051, REPO-327, REPO-229


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129368 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:16:49 +00:00
Alexandru Epure
5fd392b1ce Merged 5.2.N (5.2.1) to HEAD (5.2)
129193 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      129042 jvonka: V1 REST API: Sites Live Search (/queries/live-search-sites)
      - add experimental option (for review) to choose sort type
      - fix post query sort to use AlfrescoCollator rather than RuleBasedCollator (latter ignores spaces)
      - fix post query sort to apply paging correctly (get results first) - TODO add test
      REPO-232, REPO-882, REPO-883


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129367 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:16:40 +00:00
Alexandru Epure
139f3137b4 Merged 5.2.N (5.2.1) to HEAD (5.2)
129192 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      129037 adavis: REPO-243 People Live Search
         - Added another orderBy test following a question from Jan.
         - Minor change in post order code to replace a Map lookup with a List lookup. Logically the same but faster.
         - Replaced a NPE test failure with a failure message if TEST_COUNT is too small


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129366 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:16:32 +00:00
Alexandru Epure
c1875e3083 Merged 5.2.N (5.2.1) to HEAD (5.2)
129190 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      129017 adavis: REPO-243 People Live Search
         - Added additional tests
         - Removed check in Person constructor for no id as we want to be able to create a Person from json which might not have the id.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129364 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:16:15 +00:00
Alexandru Epure
a6606ee147 Merged 5.2.N (5.2.1) to HEAD (5.2)
129188 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      129010 jvonka: V1 REST API: 1st-cut of Sites Live Search
      - TODO api sanity test
      - open-question, re: orderBy
      REPO-232, REPO-882


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129362 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:15:56 +00:00
Alexandru Epure
9927a7ae60 Merged 5.2.N (5.2.1) to HEAD (5.2)
129187 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      129004 adavis: REPO-243 People Live Search
         - First cut of this code
         - Includes a re-factor of the code used by GET /queries/live-search-nodes as there is much in common.
         - Still have some tests to write and there are bound to be comments from the review.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129361 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:15:47 +00:00
Alexandru Epure
c6fa0fd2f6 Merged 5.2.N (5.2.1) to HEAD (5.2)
129186 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      128790 mmuller: Fix for REPO-855 + Sanity test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129360 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:15:37 +00:00
Alexandru Epure
dbf2ae6c03 Merged 5.2.N (5.2.1) to HEAD (5.2)
129184 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      128681 jvonka: V1 REST API: version history - add api sanity check for auto-version on metadata-only updates
      REPO-348, REPO-313, REPO-905


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129358 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:15:11 +00:00
Alexandru Epure
4498ab0a4a Merged 5.2.N (5.2.1) to HEAD (5.2)
129175 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      128597 jvonka: REPO-900: Fix "autoRename not working if using a relativePath (with create/add node via json request)"


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129349 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:13:47 +00:00
Alexandru Epure
575183a5ac Merged 5.2.N (5.2.1) to HEAD (5.2)
129173 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      128583 jvonka: V1 REST API: Node Version History - tweak "delete version" operation
      - cannot delete last version for now (return 422)
      REPO-835


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129347 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:13:29 +00:00
Alexandru Epure
b3eda064b3 Merged 5.2.N (5.2.1) to HEAD (5.2)
129170 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      128526 amorarasu: REPO-853: Improve REST fwk: Where parameter with invalid operator like where=(inval=true)
          - Added proper error message.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129344 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:13:02 +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
e770d11be4 Merged 5.2.N (5.2.1) to HEAD (5.2)
129166 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      128489 jvonka: V1 REST API: Node Version History - minor tweak for "delete version" 
      - re: fix-up versionType if deleting last version
      REPO-835


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129340 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:12:27 +00:00
Alexandru Epure
345f785239 Merged 5.2.N (5.2.1) to HEAD (5.2)
129164 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      128487 jvonka: V1 REST API: Node Version History - add basic paging
      - follow-on fix for NPE
      REPO-313


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129338 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:12:10 +00:00
Alexandru Epure
6a7984c98f Merged 5.2.N (5.2.1) to HEAD (5.2)
129162 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      128479 jvonka: V1 REST API: Node Version History - add basic paging
      REPO-313


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129336 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:11:52 +00:00
Alexandru Epure
224629cec0 Merged 5.2.N (5.2.1) to HEAD (5.2)
129160 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      128460 jvonka: REPO-341: Minor fix to site creation to return generic error message, if try to create multiple sites in a single call.
      - also relates to REPO-874


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129334 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:11:34 +00:00
Alexandru Epure
6e49b00e89 Merged 5.2.N (5.2.1) to HEAD (5.2)
129159 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      128442 jvonka: V1 REST API: Update binary content - add optional name param (to allow rename on upload of a new version)
      - api implementation + api sanity tests (+ve/-ve)
      REPO-518


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129333 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:11:25 +00:00
Alexandru Epure
dc0ead983d Merged 5.2.N (5.2.1) to HEAD (5.2)
129136 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      128232 jvonka: V1 REST API: Node Version History - add "delete version" operation
      - DELETE /nodes/nodeId/versions/versionId
      REPO-835


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129330 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:10:54 +00:00
Alexandru Epure
66911c842b Merged 5.2.N (5.2.1) to HEAD (5.2)
129135 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      128208 jvonka: V1 REST API: Node Version History - test update
      - test to show that optionally can create new file as a minor version (0.1)
      REPO-156, REPO-159


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129329 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:10:45 +00:00
Alexandru Epure
8fa8efbee6 Merged 5.2.N (5.2.1) to HEAD (5.2)
129134 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      128207 jvonka: V1 REST API: Node Version History - add "revert version" operation
      - ie. promote a previous version to become a new (most recent) version
      - POST /nodes/nodeId/versions/versionId/revert (with request body, optionally majorVersion &/or comment)
      REPO-236


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129328 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:10:35 +00:00
Alexandru Epure
99ae11c173 Merged 5.2.N (5.2.1) to HEAD (5.2)
129133 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      128173 jvonka: REPO-839: Fix guess mimetype (if no file ext) - on upload and/or update (after a rename)
      - improvement to REPO-495
      - will also apply to REPO-518 when implemented


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129327 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:10:26 +00:00
Alexandru Epure
66c7905ee2 Merged 5.2.N (5.2.1) to HEAD (5.2)
129130 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      128162 jvonka: V1 REST API: Node Version History - initial api tests
      - REPO-313: list version history
      - REPO-327: get version info
      - REPO-229: download version content


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129324 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:10:00 +00:00
Alexandru Epure
2664aa509c Merged 5.2.N (5.2.1) to HEAD (5.2)
129127 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      128135 jvonka: v1 REST API:  fix possible NPE when optionally listing allowable ops for non-file/non-file (+ add sanity api test)
      REPO-488, REPO-514


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129321 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:09:33 +00:00
Alexandru Epure
d95958cf76 Merged 5.2.N (5.2.1) to HEAD (5.2)
129126 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      128134 jvonka: v1 REST API:  minor bug fix(es) to error handling when creating node with assocs + sanity api tests
      REPO-476, REPO-477


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129320 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:09:24 +00:00
Alexandru Epure
98485e7723 Merged 5.2.N (5.2.1) to HEAD (5.2)
129125 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      128122 jvonka: v1 REST API:  minor bug fix(es) to update http error code mappings (to 4xx rather than 500) + sanity api tests
      REPO-475, REPO-512, REPO-516, REPO-473


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129319 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:09:16 +00:00
Alexandru Epure
3a81d7d288 Merged 5.2.N (5.2.1) to HEAD (5.2)
129124 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      128090 jvonka: Node Version History - 1st-cut impl (for initial review)
      - REPO-313: list version history
      - REPO-327: get version info
      - REPO-229: download version content
      - TODO api tests + spec updates


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129318 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:09:07 +00:00