Commit Graph

133 Commits

Author SHA1 Message Date
Andrei Rebegea
a3fcd7a5b3 Merged 5.2.N (5.2.2) to HEAD (5.2)
134045 cturlica: REPO-1684: We should not return properties that are empty
      - Empty (zero length) string values are considered to be null values, and will be represented the same as null values (i.e. by non-existence of the property).


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@137334 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-14 16:56:13 +00:00
Alan Davis
e58900ad81 Merged 5.2.0 (5.2.0) to HEAD (5.2)
133844 rmunteanu: REPO-1746: Merge fixes for 5.2 GA issues to 5.2.0 branch
      Merged 5.2.N (5.2.1) to 5.2.0 (5.2.0)
         133603 jvonka: REPO-1713: V1 REST API - simplify exception handling for multi-part upload
         - was: exceptions from behaviour beans are being returned as 500 during upload (as per RM extended use-case)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@134183 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-11 10:34:13 +00:00
Alan Davis
342fe6f26c Merged 5.2.0 (5.2.0) to HEAD (5.2)
133842 rmunteanu: REPO-1746: Merge fixes for 5.2 GA issues to 5.2.0 branch
      Merged 5.2.N (5.2.1) to 5.2.0 (5.2.0)
         133336 rmunteanu: REPO-1654, REPO-1655: Update one permission field returns 500
            - Changed status code and message in case one of the required permission fields is missing.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@134181 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-11 10:33:53 +00:00
Alan Davis
62038af3ee Merged 5.2.0 (5.2.0) to HEAD (5.2)
133746 cturlica: REPO-1758: 5.2 (merge): ACE-5706: Users are denied access to content they should be able to see in v1 REST API
      Merged 5.2.N (5.2.1) to 5.2.0 (5.2.0)
         133619 jvonka: REPO-1709: V1 REST API -  fix download content (fails unexpectedly with 403)
            - introduced by REPO-265


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@134178 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-11 10:33:24 +00:00
Alan Davis
56f81c38b5 Merged 5.2.0 (5.2.0) to HEAD (5.2)
133168 jvonka: REPO-1635: V1 REST API - minor fix for error code (update node/people details)
   - invalid data type conversion should return 400 instead of 500
   - REPO-1635, REPO-1641


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@133398 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-06 17:21:37 +00:00
Alan Davis
69e596c5e0 Merged 5.2.0 (5.2.0) to HEAD (5.2)
133137 rmunteanu: REPO-557: Retrieve Permissions For Node
      -  Renamed field according to REST API code conventions


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@133393 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-06 17:18:25 +00:00
Alan Davis
4d6e3974f5 Merged 5.2.0 (5.2.0) to HEAD (5.2)
133112 rmunteanu: REPO-557: Retrieve Permissions For Node
      -  Fixed build failure


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@133392 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-06 17:18:14 +00:00
Alan Davis
4a6cc66b2b Merged 5.2.0 (5.2.0) to HEAD (5.2)
133082 rmunteanu: REPO-557: Retrieve Permissions For Node
      -  Added tests and minor changes


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@133389 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-06 17:17:47 +00:00
Alan Davis
9416d65751 Merged 5.2.0 (5.2.0) to HEAD (5.2)
133030 rmunteanu: REPO-558, REPO-557: Update Permissions For Node
      - Fixed build failure, related to REPO-1538


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@133381 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-06 17:05:45 +00:00
Alan Davis
c6e2406976 Merged 5.2.0 (5.2.0) to HEAD (5.2)
133021 rmunteanu: REPO-558, REPO-557: Update Permissions For Node
      - Merged changes from branch 5.2.N-NODEPERMS-REST-API
      - Added tests for update node permissions


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@133380 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-06 17:05:36 +00:00
Alan Davis
2f5d71cbb4 Merged 5.2.N (5.2.1) to HEAD (5.2)
131582 jvonka: REPO-1443: V1 REST API - minor - accept well-known aliases for "update node info"


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132278 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:54:31 +00:00
Alan Davis
42b43437bc Merged 5.2.N (5.2.1) to HEAD (5.2)
130641 cmocanu: REPO-164 - Added new negative unit test for includeChildren: try to lock using includeChildren parameter that has been removed and 400 response code is retrieved.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132159 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:13:44 +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
3b2b5e17a3 Merged 5.2.N (5.2.1) to HEAD (5.2)
130574 cmocanu: REPO-164 - Added new unit test for timeToExpire parameter: locked a document, tried to delete while is locked, wait until expiration time has passed and delete the document.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132149 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:12:18 +00:00
Alan Davis
4f47d68c8b Merged 5.2.N (5.2.1) to HEAD (5.2)
130556 cmocanu: Added new negative test for Lock functionality: try to lock a folder. 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132145 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:11:42 +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
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
76e33da7f5 Merged 5.2.N (5.2.1) to HEAD (5.2)
130046 jvonka: REPO-1187 / REPO-164: V1 REST API to "lock content node" - initially, we will support one of two lock types, either ALLOW_OWNER_CHANGES (default, if not requested otherwise) or FULL
   - we will not support ALLOW_ADD_CHILDREN lock type (removed as part of this change request)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130244 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:45:36 +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
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
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
fa0020fa58 Merged 5.2.N (5.2.1) to HEAD (5.2)
129189 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      129011 adavis: REPO-243 People Live Search
         - Fix build failures
         - replace tabs in Person.java


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129363 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:16:06 +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
d0f3990dcc Merged 5.2.N (5.2.1) to HEAD (5.2)
129182 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      128651 jvonka: V1 REST API test improvements: minor fix to re-comment out known issue (see REPO-907)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129356 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:14:52 +00:00
Alexandru Epure
19ed99e63a Merged 5.2.N (5.2.1) to HEAD (5.2)
129181 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      128650 jvonka: V1 REST API: minor fixes (if running within default non-tenant context and single setup)
      - fix couple of failed tests to make sure they're no longer inter-dependent when run in this mode
      REPO-113


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129355 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:14:44 +00:00
Alexandru Epure
14b303bbca Merged 5.2.N (5.2.1) to HEAD (5.2)
129179 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      128640 jvonka: V1 REST API: cleanup and rationalise new api tests (re: remotable helpers & runAs user / admin) - round 5
      REPO-113 (also relates to REPO-28, REPO-114, REPO-825)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129353 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:14:27 +00:00
Alexandru Epure
d45f80e0c7 Merged 5.2.N (5.2.1) to HEAD (5.2)
129178 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      128608 jvonka: V1 REST API: cleanup and rationalise new api tests (re: remotable helpers & runAs user / admin) - round 4
      REPO-113 (also relates to REPO-28, REPO-114, REPO-825)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129352 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:14:17 +00:00
Alexandru Epure
5cba40f420 Merged 5.2.N (5.2.1) to HEAD (5.2)
129176 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      128601 jvonka: V1 REST API: cleanup and rationalise new api tests (re: remotable helpers & runAs user / admin) - round 3
      REPO-113 (also relates to REPO-28, REPO-825)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129350 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:13:57 +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
472785f0bd Merged 5.2.N (5.2.1) to HEAD (5.2)
129174 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      128594 jvonka: V1 REST API: cleanup and rationalise new api tests (re: remotable helpers & runAs user / admin) - round 2
      REPO-113


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129348 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:13:39 +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
e44796d1ec Merged 5.2.N (5.2.1) to HEAD (5.2)
129171 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      128537 jvonka: V1 REST API: Api Test cleanup and rationalisation (re: helper methods / runAs user / admin) - round 1
      REPO-113


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129345 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:13:11 +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
801f50689c Merged 5.2.N (5.2.1) to HEAD (5.2)
129161 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      128476 jvonka: REPO-839: Follow-on to fix subtle issue in mimeType guess (ie. application/octet-stream should be last resort, if magic bytes indicate text and there is no file ext)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129335 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:11:43 +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
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
37846a0c94 Merged 5.2.N (5.2.1) to HEAD (5.2)
129132 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      128172 jvonka: V1 REST API: Node Version History - minor: move relevant test from NodeApiTest to NodeVersionsApiTest
      - REPO-313: list version history
      - REPO-228: update node content/binary


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129326 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:10:17 +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
5d42543f51 Merged 5.2.N (5.2.1) to HEAD (5.2)
129129 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      128148 jvonka: v1 REST API:  additional sanity checks for paging query params
      REPO-390


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129323 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:09:51 +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
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
Jan Vonka
5c4a450d30 Merged RETURN-OF-THE-API (5.2.0) to HEAD (5.2)
128071: REPO-495: Update + add tests.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@128106 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-09 16:14:36 +00:00
Jan Vonka
939ed76c22 Merged RETURN-OF-THE-API (5.2.0) to HEAD (5.2)
128054: REPO-495: When uploading/updating binary content, guess mimetype and encoding
   - follow similar pattern to v0 Upload API (ignore Content-Type header)
   - in the future, we might wish to loosen this restriction [pending MNT-16381] and/or allow admin's option to update mimeType/encoding directly via node metadata update


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@128104 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-09 16:13:50 +00:00