Cristian Turlica
4941efdeda
REPO-1506: Update Person - implement
...
- restrict rest api update person password for no authorization
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132406 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-04 14:19:31 +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
Cristian Turlica
c70a9f960e
REPO-1459: Make NodesImpl.isSpecialNode protected
...
- changed isSpecialNode method signature to protected and updated Java doc
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131893 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-31 13:05:57 +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
Cristian Turlica
aab5a5e6be
REPO-1404: Improve extensibility of NodesImpl
...
- refactored method buildSearchTypesAndIgnoreAspects based on feedback from IG team member
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131837 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-27 15:00:57 +00:00
Raluca Munteanu
18b534b4ac
REPO-1390 , REPO-1391: Add support for retrieving site presets
...
- Fixed issue causing build failure;
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131796 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-26 13:56:49 +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
Cristian Turlica
ad7911fad9
REPO-1404: Improve extensibility of NodesImpl
...
- refactored the listChildren by adding dedicated filter and sort methods, also added protected getters for the services and repositoryHelper.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131716 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-24 14:36:44 +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
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
Cristian Turlica
65053c2c7a
REPO-1416: Allow Discovery to be disabled - implement
...
- implemented changes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131463 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-17 09:13:21 +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
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
e2763c007f
SEARCH-181: Sending CountDocsMissingFacetField to solr
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131324 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-11 15:48:10 +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
7ca76a9101
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/BRANCHES/DEV/5.2.N/root@131302 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-11 10:32:47 +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
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
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
Cristian Turlica
fe279c2eb6
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/BRANCHES/DEV/5.2.N/root@131172 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-04 11:43:34 +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
533e948222
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/BRANCHES/DEV/5.2.N/root@130871 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-22 09:27:50 +00:00
Jan Vonka
62f10172a6
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/BRANCHES/DEV/5.2.N/root@130868 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-22 08:49:27 +00:00
Jan Vonka
77b1eac3d5
REST API: Nodes - trivial (JavaDoc correction)
...
- replace "select" & "properties" (with "include" & "fields")
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130856 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-21 12:08:59 +00:00
Jan Vonka
0aed749b05
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/BRANCHES/DEV/5.2.N/root@130854 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-21 10:13:59 +00:00
Jan Vonka
6242e57e6c
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/BRANCHES/DEV/5.2.N/root@130783 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-19 13:03:35 +00:00
Jan Vonka
660d46a829
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/BRANCHES/DEV/5.2.N/root@130774 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-19 10:56:09 +00:00
Gethin James
f1b0d77105
SEARCH-121: Facet fields need to return a List in the search context
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130683 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-15 11:15:20 +00:00
Jan Vonka
08eb4aa4dc
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/BRANCHES/DEV/5.2.N/root@130681 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-15 10:47:00 +00:00
Gethin James
7e85c8ac0f
SEARCH-171:Search api default language should be Afts
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130565 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-12 12:30:26 +00:00
Alexandru Epure
dd1aebb5ef
REPO-1158: Removed extra space from the received message.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130543 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-12 08:15:19 +00:00
Gethin James
b7e25980f3
SEARCH-168, Fixed search api parameters so include and fields work together
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130515 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-09 11:54:33 +00:00
Gethin James
4b1963c489
SEARCH-166:Filter queries should not be supported with CMIS QL
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130507 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-09 10:21:28 +00:00
Gethin James
44f2d7136e
SEARCH-114: Switching to use limit rather then maxItems for searchparameters
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130502 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-09 07:55:05 +00:00