Commit Graph

228 Commits

Author SHA1 Message Date
Alan Davis
b3379f798e Merged 5.2.N (5.2.1) to HEAD (5.2)
131385 idanea: ACE-5453: 500 error: GET /nodes/{nodeId}/ratings?skipCount=XXX
      - implemented fix and added new unit test 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132255 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:50:40 +00:00
Alan Davis
0deb44526b Merged 5.2.N (5.2.1) to HEAD (5.2)
131302 rmunteanu: REPO-1354: Get Rendition info - implement the API
      - implemented get rendition info by id method


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132240 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:48:04 +00:00
Alan Davis
3d91d230d1 Merged 5.2.N (5.2.1) to HEAD (5.2)
131282 mward: Merged r131242:131277 from BRANCHES/DEV/mward/5.2.n-restapi into BRANCHES/DEV/5.2.N


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132232 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:33:37 +00:00
Alan Davis
68fc7c7cc1 Merged 5.2.N (5.2.1) to HEAD (5.2)
131275 cturlica: REPO-1360: Filter sites by visibility - add automated tests
      - added new tests for filter by visibility
      - updated getSites by personId because the value of totalItems wasn't calculated, also updated existing tests that where using the incorrect expected value.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132229 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:33:06 +00:00
Alan Davis
80daf219db Merged 5.2.N (5.2.1) to HEAD (5.2)
131224 mward: REPO-1348: initial check-in for "update site" API implementation.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132224 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:32:15 +00:00
Alan Davis
a9655d73e9 Merged 5.2.N (5.2.1) to HEAD (5.2)
131172 cturlica: REPO-1359: Filter sites by visibility - implement the API
      - added filter sites by visibility


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132219 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:31:33 +00:00
Alan Davis
6a5f88763f Merged 5.2.N (5.2.1) to HEAD (5.2)
130871 jvonka: REPO-1027: V1 REST API - fix error handling (add site member)
   - fix error code (should be 400 not 500) & add -ve api tests
   - ACE-5458


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132196 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:28:23 +00:00
Alan Davis
5e3d908af7 Merged 5.2.N (5.2.1) to HEAD (5.2)
130868 jvonka: REPO-1027: V1 REST API - fix error handling (get site membership request)
   - fix error code (should be 404 not 500) & add -ve api test
   - ACE-2049 / ACE-5442


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132194 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:28:07 +00:00
Alan Davis
f2b37ccce9 Merged 5.2.N (5.2.1) to HEAD (5.2)
130854 jvonka: REPO-1058 / REPO-1244: REST API - list Sites - orderBy
   - tweak the default (as agreed with GC)
   - update automated unit test (and also refactor to make it re-runnable and to consistently use create site api)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132191 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:27:42 +00:00
Alan Davis
b34bbcfccc Merged 5.2.N (5.2.1) to HEAD (5.2)
130783 jvonka: REPO-1058: REST API - list sites that person is member of ...
   - fix orderBy tests and backward compatibility
   - REPO-1242,  / REPO-1244


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132179 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:19:56 +00:00
Alan Davis
3a473a5d0d Merged 5.2.N (5.2.1) to HEAD (5.2)
130774 jvonka: REPO-1058 / REPO-1242: REST API - list sites that person is member of - fix orderBy (id, title or role)
   - fix orderBy validation as per existing capabilities
   - TODO add tests (see REPO-1244)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132177 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:19:38 +00:00
Alan Davis
7887fd9246 Merged 5.2.N (5.2.1) to HEAD (5.2)
130681 jvonka: REPO-1058 / REPO-1242: REST API - list sites - add option to orderBy (id, title or description)
   - initial implementation (note: default remains "id asc")
   - TODO add tests (see REPO-1244)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132168 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:14:50 +00:00
Alan Davis
8ec46e924c Merged 5.2.N (5.2.1) to HEAD (5.2)
130543 aepure: REPO-1158: Removed extra space from the received message.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132143 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:11:24 +00:00
Ancuta Morarasu
b5ec806baf Merged 5.2.N (5.2.1) to HEAD (5.2)
130424 amorarasu: Clean-up after merges to 5.2.N. 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130425 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-07 16:51:57 +00:00
Ancuta Morarasu
fea7f077e4 Merged 5.2.N (5.2.1) to HEAD (5.2)
130400 amorarasu: REPO-1164: 422 error when executing unlock on a node that is not locked


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130419 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-07 16:05:41 +00:00
Alan Davis
b10f889f29 Merged 5.2.N (5.2.1) to HEAD (5.2)
130297 gjames: Merged searchapi (5.2.1) to 5.2.N (5.2.1)
      130050 gjames: SEARCH-161: Supporting synonyms for sorting fieldNames


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130369 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:10:26 +00:00
Alan Davis
31a44c72aa Merged 5.2.N (5.2.1) to HEAD (5.2)
130278 gjames: Merged searchapi (5.2.1) to 5.2.N (5.2.1)
      130015 gjames: Merged 5.2.N-AHIND (5.2.1) to searchapi (5.2.1)
         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@130352 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:07:56 +00:00
Alan Davis
51b838e2ef Merged 5.2.N (5.2.1) to HEAD (5.2)
130261 gjames: Merged searchapi (5.2.1) to 5.2.N (5.2.1)
      129999 ahind: Merged 5.2.N-AHIND (5.2.1) to searchapi (5.2.1)
         129643 amorarasu: REPO-164 / REPO-1086 - V1 REST API: Lock Node


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130344 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:06:41 +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
dd8adcbd2f Merged 5.2.N (5.2.1) to HEAD (5.2)
129897 mmuller: Restrict lock method to content types. REPO-1158


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130239 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:44:50 +00:00
Alan Davis
772d2ffd57 Merged 5.2.N (5.2.1) to HEAD (5.2)
129893 jvonka: REPO-1090: fix regress (V1 REST API - list children within the context of a smart folder)
   - follow-on (re: NodeApiTest.getChildrenAssocType fallout - when returning any assoc, not just cm:contains)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130238 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:44:39 +00:00
Alan Davis
a98859b185 Merged 5.2.N (5.2.1) to HEAD (5.2)
129892 amorarasu: REPO-1155 / REPO-160 / REPO-340: Remove "includeChildren" option for Lock / Unlock in the rest api (REPO-1163)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130237 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:44:30 +00:00
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
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
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
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
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
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
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
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
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
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