Cristian Turlica
216d34a03e
REPO-1800: Create group with an id that contains "/" does not return an error
...
- added validation
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134748 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-25 09:04:42 +00:00
Cristian Turlica
5f20a39cee
REPO-1305: Delete a group
...
- restrict delete group to group authority
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134747 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-25 08:56:11 +00:00
Jan Vonka
cc0b2e2157
Merged 5.2.N-LAST-T-MOD (5.2.1) to 5.2.N (5.2.1)
...
134696 jvonka: REPO-1644: Add REST API level test to check lastThumbnailModification property update (on upload new version)
- fix local vs build
- also logged REPO-1834
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134718 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-23 14:04:42 +00:00
Jan Vonka
0cf4d0793d
Merged 5.2.N-LAST-T-MOD (5.2.1) to 5.2.N (5.2.1)
...
134684 jvonka: REPO-1644: Add REST API level test to check lastThumbnailModification property update (on upload new version)
- note: will fail until we implement fix
- see also REPO-1580 / MNT-17113 (we need to confirm it's the same/related issue on 5.0.N)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134715 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-23 14:04:10 +00:00
Matt Ward
6a0be6cd7a
REPO-1813: 500 Response Code when creating a person without id
...
Now returns 400. Also fixed to return 400 when user id starts with GROUP_ or ROLE_
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134714 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-23 11:39:01 +00:00
Cristian Turlica
688a068f2a
REPO-1305: Delete a group
...
- first version
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134676 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-20 13:46:59 +00:00
Constantin Popa
debae96be4
Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
...
134665 cpopa: APPSREPO-105 : Add an API to download multiple file/folders as a zip
- test fixes to get rid of unpredictable failures
- fixes after Gavin's OpenAPI spec review
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134674 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-20 12:57:32 +00:00
Constantin Popa
79a98c1cfe
Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
...
134653 cpopa: APPSREPO-105 : Add an API to download multiple file/folders as a zip
- Fixed a test which failed due to an incorrect wait time.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134673 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-20 12:57:06 +00:00
Constantin Popa
671b712a47
Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
...
134630 cpopa: APPSREPO-105 : Add an API to download multiple file/folders as a zip
- Added an API for creating a download, retrieving download info and canceling a download
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134671 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-20 12:56:01 +00:00
Matt Ward
681c1c074a
REPO-1583: fix test, broken due to introduction of sorting/paging.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134425 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-18 09:55:44 +00:00
Cristian Turlica
d4f2773e68
REPO-1303: Update a group
...
- added update group capabilities.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134418 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-18 08:46:38 +00:00
Matt Ward
c096c60c22
Merged mward/5.2.n-repo-1583-groupmem (5.2.1) to 5.2.N (5.2.1)
...
134379 mward: REPO-1583: added tests for sorting
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134402 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-17 14:22:24 +00:00
Matt Ward
3b41c8a4eb
Merged mward/5.2.n-repo-1583-groupmem (5.2.1) to 5.2.N (5.2.1)
...
134377 mward: REPO-1583: non-admin now supported
Also added tests for paging.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134401 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-17 14:22:12 +00:00
Matt Ward
897cd62fa2
Merged mward/5.2.n-repo-1583-groupmem (5.2.1) to 5.2.N (5.2.1)
...
134375 mward: REPO-1583: added -me- support and improved implementation
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134400 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-17 14:20:15 +00:00
Matt Ward
4acd852e05
Merged mward/5.2.n-repo-1583-groupmem (5.2.1) to 5.2.N (5.2.1)
...
134294 mward: REPO-1583: add test and implementation details
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134399 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-17 14:13:49 +00:00
Alex Mukha
0d8bfe6aa7
Merged DEV to 5.2.N (5.2.1)
...
133903 sglover: MNT-17247 "Disabled user can log into Alfresco Share using external authentication" take user disabled status in to account for external authentication subsystem + tests
133907 sglover: MNT-17247 "Disabled user can log into Alfresco Share using external authentication" don't propagate user disabled exception
133930 sglover: MNT-17247 "Disabled user can log into Alfresco Share using external authentication" move test class and add to a test suite
134295 amukha: MNT-17247: Disabled user can log into Alfresco Share using external authentication
- Added a test to simulate creation of missing person during external auth log in.
134315 amukha: MNT-17247: Disabled user can log into Alfresco Share using external authentication
- Added a fallback to supprt the logging in by non provisioned users.
134354 amukha: MNT-17247: Disabled user can log into Alfresco Share using external authentication
- Added a test with deauthorized user. Refactored existing test to start context once.
134359 jvonka: REPO-1227: External authentication - prevent disabled user from authenticating
- add log warning (with masked username, similar to brute force attack) if authentication bypassed when setting user details
134372 amukha: MNT-17247: Disabled user can log into Alfresco Share using external authentication
- Updated core and data model (contain new logging)
134390 amukha: MNT-17247: Disabled user can log into Alfresco Share using external authentication
- isEnabled flag for users is returned correctly
- Added tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134396 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-17 13:57:05 +00:00
Cristian Turlica
93fc6fe945
REPO-1304: Create a group
...
- added create group logic; fixed a sorting bug for get groups/group members; updated test framework - post/create action; fix toJSON issue for parentIds and zones.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134310 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-12 16:11:40 +00:00
Matt Ward
abc74f54f6
REPO-1780: always use the primary parent ID regardless of context
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134111 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-09 15:50:56 +00:00
Cristian Turlica
236cd318aa
REPO-1684: We should not return properties that are empty
...
- Empty (zero length) string values are considered to be null values, and will be represented the same as null values (i.e. by non-existence of the property).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134045 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-05 08:24:09 +00:00
Matt Ward
dee0895e4a
REPO-1773: Validate ticket API call returns incorrect body with 404 status code
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134044 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-04 15:39:39 +00:00
Raluca Munteanu
d7177c4d34
REPO-1752, REPO-1753: Create person with an id that contains "/" does not return an error
...
- Added username validation on create person.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134040 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-01-04 11:59:25 +00:00
Matt Ward
9164399615
REPO-1660: REST API - update person should also accept "-me-"
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133997 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-22 09:28:25 +00:00
Ancuta Morarasu
0bb9f231ad
REPO-1681 / MNT-17228: CMIS: Attempt to delete non-current version throws "Unexpected: current version does not appear ..."
...
- Fixed the misuse of the version node instead of live node
- Added permission check for deleting a version
- Uncommented the test added by JanV (REPO-1228) + added testcase for deleting with no permission
- PublicApiCallContextHandler inherits basic auth parameters from BasicAuthCallContextHandler, to ensure proper exceptions are thrown by CMIS servlets (in this case, CmisPermissionDeniedException instead of CmisUnauthorizedException).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133954 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-21 07:25:38 +00:00
Matt Ward
7d07045d52
REPO-1747: speeds up TestPeople from around 5 mins to 1.
...
The changes aren't pretty, but do improve the speed considerably. Creating networks is expensive and people are cheap, so I've changed the emphasis from creating fresh networks to creating people and caching networks.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133932 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-20 11:36:03 +00:00
Jan Vonka
075a8a286d
REPO-1666: V1 REST API - minor update to "testDeleteVersion" only
...
- follow-on to exercise the fix via API-level sanity test
- note: do not backport since new API is for 5.2+
- MNT-13097
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133852 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-16 14:35:13 +00:00
Matt Ward
65849b1f8d
REPO-1636: fixed bug when updating person with aspects/props.
...
See https://issues.alfresco.com/jira/browse/REPO-1636?focusedCommentId=495557&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-495557
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133721 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-15 11:51:07 +00:00
Cristian Turlica
27c10ab1d7
REPO-1301: Retrieve a group
...
- first commit
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133709 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-15 10:33:41 +00:00
Matt Ward
e7f48f90f8
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/BRANCHES/DEV/5.2.N/root@133703 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-15 09:48:31 +00:00
Cristian Turlica
ae0ccec726
REPO-1300: Retrieve list of groups
...
- set default order by to displayName ASC
- updated tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133697 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-15 07:27:15 +00:00
Jan Vonka
cfdbdd6c29
REPO-908: V1 REST API - minor test fwk improvement
...
- change default port from 8081 to 8765 (to avoid clash with Share, if already running in local dev env)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133650 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-14 10:09:53 +00:00
Jan Vonka
f65ce88f03
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/BRANCHES/DEV/5.2.N/root@133619 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-13 14:47:15 +00:00
Jan Vonka
337d7a9c8c
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/BRANCHES/DEV/5.2.N/root@133603 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-13 11:11:56 +00:00
Cristian Turlica
fe3eec905c
REPO-1302: Retrieve list of group members
...
- added group members api
- fixed order by issue when using post processing ordering by id
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133574 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-12 14:37:27 +00:00
Cristian Turlica
81a720ebb0
REPO-1300: Retrieve list of groups
...
- Fixed build failure
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133522 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-08 22:11:57 +00:00
Gethin James
d8c47d60e1
ACE-5622: Search api scope now uses "locations"
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133518 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-08 15:49:24 +00:00
Cristian Turlica
ffdb176db2
REPO-1300: Retrieve list of groups
...
- added groups api
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133515 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-08 15:29:45 +00:00
Jan Vonka
dc5427d920
REPO-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/BRANCHES/DEV/5.2.N/root@133423 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-07 11:19:20 +00:00
Jan Vonka
01406a1b04
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/BRANCHES/DEV/5.2.N/root@133351 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-06 15:20:15 +00:00
Raluca Munteanu
bf47206dab
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/BRANCHES/DEV/5.2.N/root@133336 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-05 13:43:14 +00:00
Matt Ward
c80a7674ce
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/BRANCHES/DEV/5.2.N/root@133310 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-01 11:29:19 +00:00
Matt Ward
2fc6bda87a
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/BRANCHES/DEV/5.2.N/root@133309 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-01 11:29:11 +00:00
Jan Vonka
8288699b52
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/BRANCHES/DEV/5.2.N/root@133307 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-12-01 11:18:36 +00:00
Jan Vonka
7aaf5f6841
REPO-1646: V1 REST API - cannot unset optional fields (eg. when updating person / site details ...)
...
- fix test fallout (Person returns empty Company object by default - as per existing V1 getPerson API)
- TODO review the way we match expected results QueriesPeopleApiTest (vs other test patterns)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133297 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-30 15:52:13 +00:00
Jan Vonka
e3355b881b
REPO-1646: V1 REST API - cannot unset optional fields (eg. when updating person / site details ...)
...
- fix test fallout (Person returns empty Company object by default - as per existing V1 getPerson API)
- TODO review the way we match expected results QueriesPeopleApiTest (vs other test patterns)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133296 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-30 15:51:00 +00:00
Jan Vonka
78a7208ad7
REPO-1646: V1 REST API - cannot unset optional fields (eg. when updating person / site details ...)
...
- part 2 (Update Person)
- REPO-1268, REPO-893
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133293 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-30 13:33:55 +00:00
Jan Vonka
c6a643ae99
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/BRANCHES/DEV/5.2.N/root@133290 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-30 12:03:30 +00:00
Jamal Kaabi-Mofrad
f15ab178da
Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
...
133185 jkaabimofrad: APPSREPO-61: As part of code review, renamed the quick share expiry date period flag.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133222 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-28 16:54:32 +00:00
Jamal Kaabi-Mofrad
3930d7051a
Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
...
133163 jkaabimofrad: APPSREPO-54: Fixed build failure.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133221 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-28 16:54:22 +00:00
Jamal Kaabi-Mofrad
50f50eeecf
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/BRANCHES/DEV/5.2.N/root@133219 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-28 16:54:07 +00:00
Jan Vonka
3f6c638929
REPO-1635: V1 REST API - minor fix for error code (update node/people details)
...
- invalid data type conversion should return 400 instead of 500
- REPO-1635, REPO-1641
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133168 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-28 09:37:35 +00:00