Raluca Munteanu
a41343b0a8
REPO-1543: Refactor tests for list site filtering
...
- Fixed build failure by clearing the authentication context on a previous test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132608 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-10 07:36:33 +00:00
Jamal Kaabi-Mofrad
bb4a6cbbae
Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
...
132578 jkaabimofrad: APPSREPO-59: Modified the model validator to ignore the TYPE_NAMESPACE when there is a DIFF_DELETED type.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132589 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-09 10:45:19 +00:00
Raluca Munteanu
1eba269df5
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/BRANCHES/DEV/5.2.N/root@132587 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-09 09:20:07 +00:00
Ramona Neamtu
280bcff174
SHA-1875 : Link cannot be deleted if the original node is locked
...
- Removed aspect Lockable when the links are deleted
- In case of the user try to create links for locked or checked out nodes, throw an error
- Disabled audit when add marker aspect Linked
- Added tests for case
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132551 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-08 12:48:09 +00:00
Ramona Neamtu
3ff3ba22c7
SHA-1867 : Unable to create links in Shared Files / My Files root node from the Search Results page
...
- Added method WebScriptUtil.resolveNodeReference() which will resolve nodeRef
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132544 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-08 11:47:03 +00:00
Raluca Munteanu
f39e851d7b
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/BRANCHES/DEV/5.2.N/root@132482 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-07 14:51:48 +00:00
Cristian Turlica
104fd25dcc
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/BRANCHES/DEV/5.2.N/root@132475 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-07 13:42:55 +00:00
Alexandra Leahu
b4aed89bde
REPO-1529: Ignore tests that fail recurrently on certain DBs for now
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132426 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-04 16:20:22 +00:00
Raluca Munteanu
bb0296b851
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/BRANCHES/DEV/5.2.N/root@132343 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 15:34:33 +00:00
Raluca Munteanu
8e553ec442
REPO-1523: REGRESS: Site created from API cannot be accessed via Share
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132249 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:49:34 +00:00
Matt Ward
1d20c23a67
REPO-892: removed PersonUpdate class.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132120 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 11:42:08 +00:00
Cristian Turlica
e0005cebcf
REPO-1506: Update Person - implement
...
- added implementation for update personService
- added tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132117 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 10:17:58 +00:00
Gethin James
010643ebbd
SEARCH-227: Adding additional display information for facetting api
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132107 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-02 16:01:30 +00:00
Matt Ward
1a8fe7785f
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/BRANCHES/DEV/5.2.N/root@132027 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-01 15:02:25 +00:00
Matt Ward
247d2ad97a
REPO-1503: allow setting of password
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131939 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-01 12:29:29 +00:00
Matt Ward
a8d705bb8c
REPO-892: allow creation of enabled/disabled users
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131909 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-31 16:56:32 +00:00
Matt Ward
4d8673f058
REPO-892: correctly store and retrieve cm:persondescription as a cm:content blob.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131902 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-31 15:58:22 +00:00
Matt Ward
9fd17791ff
REPO-892: ensure presence of mandatory fields
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131886 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-31 11:12:19 +00:00
Jan Vonka
0e7a674d41
Minor - re-formatting only (fix tabs to spaces)
...
- noted via REPO-1390
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131866 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-28 14:35:42 +00:00
Matt Ward
96953c1bb7
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/BRANCHES/DEV/5.2.N/root@131862 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-28 13:14:41 +00:00
Matt Ward
8328ca78ab
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/BRANCHES/DEV/5.2.N/root@131858 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-28 12:21:31 +00:00
Ramona Neamtu
55e3a4c76c
SHA-1629 : Creating a link to file in a different location
...
- Added support for multiple files in doclink.post webscript
- Added unit test for api/node/doclink api
- Added marker aspect app:linked for nodes that have links attached
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131857 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-28 12:09:59 +00:00
Raluca Munteanu
723d380c3b
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/BRANCHES/DEV/5.2.N/root@131764 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-26 07:29:29 +00:00
Jan Vonka
befcb4acf0
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/BRANCHES/DEV/5.2.N/root@131582 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-19 20:35:14 +00:00
Gethin James
f37a8b2660
SEARCH-107: Extend search public API for multi-select facets
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131528 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-19 07:58:16 +00:00
Gethin James
78f4353c6b
SEARCH-195: Adding a basic POJO creation test
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131527 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-19 07:58:11 +00:00
Cristian Turlica
a361cfb32f
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/BRANCHES/DEV/5.2.N/root@131502 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-18 11:04:11 +00:00
Iuliana Danea
0177f33896
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/BRANCHES/DEV/5.2.N/root@131470 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-17 10:55:17 +00:00
Cristian Turlica
0ffa19ad19
REPO-1417: Allow Discovery to be disabled - add -ve test(s)
...
- added test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131465 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-17 09:14:09 +00:00
Matt Ward
ba33a435d4
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/BRANCHES/DEV/5.2.N/root@131408 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-13 16:19:00 +00:00
Iuliana Danea
82f2708aa7
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/BRANCHES/DEV/5.2.N/root@131385 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-13 06:52:01 +00:00
Cristian Turlica
3f6a5d9e81
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/BRANCHES/DEV/5.2.N/root@131344 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-12 05:14:58 +00:00
Gethin James
4d5b8671fb
SEARCH-181: Sending CountDocsMissingFacetField, confirming the default value
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131327 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-11 15:48:17 +00:00
Gethin James
bf41d2bbcd
SEARCH-121: Changing facetfield mincount to 1 by default.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131326 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-11 15:48:15 +00:00
Gethin James
61cb98278c
SEARCH-195: Updating hightlight test
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131325 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-11 15:48:12 +00:00
Gethin James
069f2c717b
SEARCH-106: Fix highlighting typo
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131308 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-11 10:59:54 +00:00
Raluca Munteanu
316a9644d4
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/BRANCHES/DEV/5.2.N/root@131303 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-11 10:33:59 +00:00
Gethin James
7fe14f340a
SEARCH-195: Adding highlighting to the public api
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131295 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-11 07:12:35 +00:00
Gethin James
2182b59806
SEARCH-195: Implementing hightlighting for the search public API
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131292 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-11 07:12:26 +00:00
Alex Mukha
c20cc9f602
Merged DEV to 5.2.N (5.2.1)
...
131050 skopf: REPO-483 - The repository does not contain any code or data related to JBPM / ACE-1659 - Remove JBPM and Hibernate
131057 skopf: REPO-483 - The repository does not contain any code or data related to JBPM / ACE-1659 - Remove JBPM and Hibernate / fix test CMISTest.testModelAvailability
131064 skopf: REPO-483 - The repository does not contain any code or data related to JBPM / ACE-1659 - Remove JBPM and Hibernate
- added patch to remove JBPM database tables
131169 skopf: REPO-483 - The repository does not contain any code or data related to JBPM / ACE-1659 - Remove JBPM and Hibernate
- replaced generic DB script with database specific scripts
131171 skopf: REPO-483 - The repository does not contain any code or data related to JBPM / ACE-1659 - Remove JBPM and Hibernate
- Fix DB2 patch
131213 skopf: REPO-483 - The repository does not contain any code or data related to JBPM / ACE-1659 - Remove JBPM and Hibernate
- Fix JBPM table removal patch
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131286 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-10 17:34:57 +00:00
Matt Ward
eba3054605
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/BRANCHES/DEV/5.2.N/root@131282 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-10 16:03:58 +00:00
Cristina Mocanu
aa6f02fbc2
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/BRANCHES/DEV/5.2.N/root@131278 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-10 15:23:47 +00:00
Cristian Turlica
66c78c8dcd
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/BRANCHES/DEV/5.2.N/root@131275 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-10 12:48:37 +00:00
Matt Ward
8d91423894
REPO-1348: initial check-in for "update site" API implementation.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131224 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-06 11:17:16 +00:00
Jan Vonka
2ab6aa4676
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/BRANCHES/DEV/5.2.N/root@131138 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-03 14:02:34 +00:00
Jan Vonka
5b4b7e00dd
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/BRANCHES/DEV/5.2.N/root@131113 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-30 14:11:28 +00:00
Gethin James
9975042571
SEARCH-189: Always return skipCount and maxItems
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131073 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-30 11:22:15 +00:00
Jan Vonka
33c60f39c5
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/BRANCHES/DEV/5.2.N/root@131044 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-29 10:36:05 +00:00
Ancuta Morarasu
f5a3fa3a3f
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/BRANCHES/DEV/5.2.N/root@130928 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-27 12:03:34 +00:00
Jan Vonka
114ce8b02c
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/BRANCHES/DEV/5.2.N/root@130918 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-26 15:26:57 +00:00