Commit Graph

379 Commits

Author SHA1 Message Date
Alan Davis
271e40d2f3 Merged 5.2.N (5.2.1) to HEAD (5.2)
132587 rmunteanu: REPO-1543: Refactor tests for list site filtering
      - site are now created with a default site preset
      - refactored tests


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132681 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-10 17:01:06 +00:00
Alan Davis
12d7f0ff0c Merged 5.2.N (5.2.1) to HEAD (5.2)
132482 rmunteanu: REPO-556, REPO-1534: List People - OrderBy not working with "id"
      - fixed orderBy issue, now people list can be ordered by "id" key
      - added more tests for list people endpoint


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132671 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-10 16:59:14 +00:00
Alan Davis
7cf3d8ed99 Merged 5.2.N (5.2.1) to HEAD (5.2)
132475 cturlica: REPO-894: Disable Person
      - updated so we receive an error when trying to disable an admin authority


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132669 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-10 16:58:51 +00:00
Alexandra Leahu
ec936bf5ae REPO-1529: Ignore tests that fail recurrently on certain DBs for now
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132567 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-08 14:59:14 +00:00
Alan Davis
97195d1534 Merged 5.2.N (5.2.1) to HEAD (5.2)
132343 rmunteanu: REPO-556: List People - Allow people to be retrieved via the /people collection
      - added implementation for get people endpoint
      - added tests


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132362 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 20:06:41 +00:00
Alan Davis
edf2c25c42 Merged 5.2.N (5.2.1) to HEAD (5.2)
132249 rmunteanu: REPO-1523: REGRESS: Site created from API cannot be accessed via Share


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132361 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 20:06:29 +00:00
Alan Davis
a6fa33a24a Merged 5.2.N (5.2.1) to HEAD (5.2)
132120 mward: REPO-892: removed PersonUpdate class.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132340 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 14:05:13 +00:00
Alan Davis
a77b7e3173 Merged 5.2.N (5.2.1) to HEAD (5.2)
132117 cturlica: REPO-1506: Update Person - implement
      - added implementation for update personService
      - added tests


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132338 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 14:04:53 +00:00
Alan Davis
0e5f80f4eb Merged 5.2.N (5.2.1) to HEAD (5.2)
132027 mward: REPO-1503: password is now mandatory.
   First check in at my new desk!
   I've also removed the auto-generation of passwords (UUID) since this is no longer needed with a mandatory password field.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132327 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 14:03:00 +00:00
Alan Davis
21356a4eaa Merged 5.2.N (5.2.1) to HEAD (5.2)
131939 mward: REPO-1503: allow setting of password


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132326 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 14:02:51 +00:00
Alan Davis
3d481e8df0 Merged 5.2.N (5.2.1) to HEAD (5.2)
131909 mward: REPO-892: allow creation of enabled/disabled users


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132319 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 14:01:42 +00:00
Alan Davis
a5e799aecf Merged 5.2.N (5.2.1) to HEAD (5.2)
131902 mward: REPO-892: correctly store and retrieve cm:persondescription as a cm:content blob.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132318 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 14:01:32 +00:00
Alan Davis
887d066424 Merged 5.2.N (5.2.1) to HEAD (5.2)
131886 mward: REPO-892: ensure presence of mandatory fields


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132312 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 14:00:29 +00:00
Alan Davis
d0be29e8d0 Merged 5.2.N (5.2.1) to HEAD (5.2)
131866 jvonka: Minor - re-formatting only (fix tabs to spaces)
   - noted via REPO-1390


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132310 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 14:00:07 +00:00
Alan Davis
d2322f56a2 Merged 5.2.N (5.2.1) to HEAD (5.2)
131862 mward: Merged 131680:131794 from DEV/mward/5.2.n-createperson to 5.2.N
     REPO-892: make sure not all fields need to be supplied during create.
     REPO-892: throws error if fields exclusively belonging to Person (that are not part of PersonUpdate) are sent in request.
     REPO-892: cleaned up PersonUpdateJSONSerializer a little, by removing unnecessary 'fullVisibility' switch.
     REPO-892: improved test for optional fields; added test for too few fields.
     REPO-892: added tests (and impl where needed) for -ve response codes as given in the open api spec for create person.
     REPO-892: fixed broken test due to reuse of username.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132308 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:59:46 +00:00
Alan Davis
373d976faa Merged 5.2.N (5.2.1) to HEAD (5.2)
131858 mward: Merged 131464:131680 from DEV/mward/5.2.n_createperson to 5.2.n
     Creating branch for REPO-892 (Create person REST API)
     REPO-892: create person - initial commit, bare-bones implementation and test.
     REPO-892: refactored test versions of Person and Company to reduce duplication.
     REPO-892: further refactoring to reduce prod/test duplication.
     REPO-892: add missing fields to the 'create person' operation.
     REPO-892: introduced PersonUpdate class for create (and I'm assuming update) operations.
     REPO-892: missing license header
     REPO-892: very minor refactoring - extract field in tests.
     REPO-892: make sure not all fields need to be supplied during create.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132307 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:59:35 +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
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
5137e22dd4 Merged 5.2.N (5.2.1) to HEAD (5.2)
131502 cturlica: REPO-1438: Add thumbnail generation status to discoverability response - implement
      - added implementation, updated test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132266 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:52:34 +00:00
Alan Davis
35d61fea98 Merged 5.2.N (5.2.1) to HEAD (5.2)
131470 idanea: ACE-5463: 500 error: GET /nodes/{nodeId}/comments?skipCount=XXX
      -implemented fix and added new unit test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132263 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:52:01 +00:00
Alan Davis
807a53b48f Merged 5.2.N (5.2.1) to HEAD (5.2)
131465 cturlica: REPO-1417: Allow Discovery to be disabled - add -ve test(s)
      - added test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132262 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:51:51 +00:00
Alan Davis
ed96d6387c Merged 5.2.N (5.2.1) to HEAD (5.2)
131408 mward: REPO-1348/REPO-1349: implemented checks to guard against invalid fields
   Explicitly rejects fields: id, guid and role


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132257 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:51:00 +00:00
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
4834ef1e51 Merged 5.2.N (5.2.1) to HEAD (5.2)
131344 cturlica: REPO-1394: Discovery: merge back to 5.2.N (from feature branch)
      Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
         130980 jkaabimofrad: REPO-224: API for retrieving detailed repository information.
      Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
         131056 jkaabimofrad: REPO-224: Removed "transformationServerExpiresAt" attribute from the license JSON response as it is not part of AC.
      Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
         131179 jkaabimofrad: REPO-224: Modified the license's entitlement response to always return "isClusterEnabled" and "isCryptodocEnabled".


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132248 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:49:30 +00:00
Alan Davis
7778664fda Merged 5.2.N (5.2.1) to HEAD (5.2)
131303 rmunteanu: REPO-1355: Get Rendition info - add automated tests
      - added tests for /shared-link/{sharedLinkId}/renditions/{renditionId} endpoint


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132241 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:48:14 +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
4630626a95 Merged 5.2.N (5.2.1) to HEAD (5.2)
131278 cmocanu: REPO-1360 - Filter sites by visibility - add automated test for NOT in where clause


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132230 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:33:17 +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
a6885716c4 Merged 5.2.N (5.2.1) to HEAD (5.2)
131138 jvonka: REST API Tests: minor - update TestNodeRatings to use new V1 create site
   - REPO-112


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132216 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:31:09 +00:00
Alan Davis
2b6dea5bbc Merged 5.2.N (5.2.1) to HEAD (5.2)
131113 jvonka: REST API Tests: minor pre-work (mark RepoService.createSite as deprecated, remove exists/delete)
   - build attempt
   - REPO-1344, REPO-112


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132214 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:30:53 +00:00
Alan Davis
df49027de6 Merged 5.2.N (5.2.1) to HEAD (5.2)
131044 jvonka: REST API Tests: minor
   - build attempt (to move CMIS-related tests to appropriate test suite) 
   - REPO-414, REPO-968


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132212 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:30:34 +00:00
Alan Davis
309ce5b5ef Merged 5.2.N (5.2.1) to HEAD (5.2)
130928 amorarasu: REPO-484: [REST API] Added more comprehensive tests for the 'where' predicate - covered most of the endpoints, except the workflow ones.
      - More tests should be added in REPO-1249


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132209 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:30:06 +00:00
Alan Davis
491b6f2f21 Merged 5.2.N (5.2.1) to HEAD (5.2)
130918 jvonka: REPO-1027: V1 REST API - minor: tweak TestSiteMembers
   - to make it repeatable (TODO further splitting/refactoring)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132206 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:29:42 +00:00
Alan Davis
ac42e10d6a Merged 5.2.N (5.2.1) to HEAD (5.2)
130888 jvonka: REPO-1027: V1 REST API - fix error handling (update / remove site member)
   - already fix on 5.2(.N) so simply add -ve api tests
   - ACE-5444


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132202 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:29:11 +00:00
Alan Davis
57b96f4b38 Merged 5.2.N (5.2.1) to HEAD (5.2)
130872 jvonka: REPO-1027: V1 REST API - fix error handling (update site member)
   - already fix on 5.2(.N) so simply add -ve api tests
   - ACE-5443


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132197 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:28:31 +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
d253797fc5 Merged 5.2.N (5.2.1) to HEAD (5.2)
130836 jvonka: REPO-1058: REST API - minor fix for "fields" param (fka "properties") to handle field names with spaces
   - bump the test count, thanks Ancuta :-)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132188 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:27:16 +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
4abc64a3e2 Merged 5.2.N (5.2.1) to HEAD (5.2)
130796 jvonka: REPO-1058 / REPO-1244: REST API - list Sites - orderBy
   - add automated unit tests


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132183 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:26:33 +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
29c15b132b Merged 5.2.N (5.2.1) to HEAD (5.2)
130677 jvonka: REPO-1058: REST API - minor refactor of TestSites to split the existing test
   - prep' for REPO-1058 / REPO-1244


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132166 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:14:34 +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
2896dc6b83 Merged 5.2.N (5.2.1) to HEAD (5.2)
130639 amorarasu: REPO-1059: Fix tests number.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132158 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:13:36 +00:00
Alan Davis
9e82c8a568 Merged 5.2.N (5.2.1) to HEAD (5.2)
130614 jvonka: REPO-1059: REST API: Invalid orderBy field is ignored
   - minor follow-on (comment in the specific test when this issue was found - in addition to the new generic tests)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132154 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:13:03 +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