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
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
133219 jkaabimofrad: Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
133145 jkaabimofrad: APPSREPO-54: Added support to the quick-share V1 API to allow setting an optional expiry date when creating a shared link.
- Also, fixed the overloaded shareContent method which was missed during code clean-up.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@133404 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
133000 mward: Merged mward/5.2.n-repo1544-update-self (5.2.1) to 5.2.N (5.2.1)
132966 mward: REPO-1544: replaced use of unprotected person service with runAsSystem (review: CR-620)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@133377 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
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
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
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
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
131716 cturlica: 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/HEAD/root@132288 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
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
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
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