133882 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)
133704 mward: Merged mward/5.2.n-repo1636-customonly (5.2.1) to 5.2.N (5.2.1)
133687 mward: REPO-1636 no longer require explicit list of cm:person properties to exclude.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@134195 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
133881 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)
133703 mward: Merged mward/5.2.n-repo1636-customonly (5.2.1) to 5.2.N (5.2.1)
133683 mward: REPO-1636 (initial commit): Properties from the "cm", "usr", "sys" namespaces should not be exposed
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@134194 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
133870 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)
133310 mward: Merged mward/5.2.n-repo1636-contentinfo (5.2.1) to 5.2.N (5.2.1)
133306 mward: REPO-1636: Now filter the entire "usr" namespace, rather than just usr:enabled
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@134193 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
133869 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)
133309 mward: Merged mward/5.2.n-repo1636-contentinfo (5.2.1) to 5.2.N (5.2.1)
133294 mward: REPO-1636: Filter cm:preferenceValues and usr:enabled properties when getting people
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@134192 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
133868 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)
133552 mward: REPO-1661: properties and aspects no longer appear in /comments listing.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@134191 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
133861 rmunteanu: REPO-1746: Merge fixes for 5.2 GA issues to 5.2.0 branch (Solved compilation issues after conflict)
Merged 5.2.N (5.2.1) to 5.2.0 (5.2.0)
133307 jvonka: V1 REST API - update person (password)
- REPO-1627 - Update password for a person with empty string
- REPO-1643 - Missing 'oldPassword' field accompanies 403 status code, but should be 400
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@134190 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
133856 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)
133307 jvonka: V1 REST API - update person (password)
- REPO-1627 - Update password for a person with empty string
- REPO-1643 - Missing 'oldPassword' field accompanies 403 status code, but should be 400
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@134189 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
133849 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)
133351 jvonka: REPO-1646: V1 REST API - cannot unset optional fields (eg. when updating person / site details ...) - minor fixes with tests (update person)
- ensure enabled & emailNotificationsEnabled cannot be null
- null/empty company object should unset all fields (fix for empty case)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@134188 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
133845 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)
133290 jvonka: REPO-1646: V1 REST API - cannot unset optional fields (eg. when updating person / site details ...)
- part 1 (Update Site)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@134184 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
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
133843 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)
133423 jvonka: REPPO-1579: V1 REST API - create person fix
- expect 403 instead of 409, if a non-admin tries to create a person that already exists
- REPO-892
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@134182 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
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