Jörn Friedrich Dreyer
|
76c63ef696
|
close request bodies
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
|
2020-11-05 13:06:05 +01:00 |
|
Jörn Friedrich Dreyer
|
99ecc4ea2a
|
fix staticcheck
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
|
2020-11-05 13:06:05 +01:00 |
|
Jörn Friedrich Dreyer
|
f1d970145b
|
implement add group
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
|
2020-11-05 13:06:05 +01:00 |
|
Jörn Friedrich Dreyer
|
aac932b6e0
|
fix tons of ocs tests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
|
2020-11-05 13:06:05 +01:00 |
|
Jörn Friedrich Dreyer
|
fc9cdf3bc8
|
fix nil reference
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
|
2020-11-05 13:06:05 +01:00 |
|
Benedikt Kulmann
|
b622e18f9a
|
Fix role service mock
|
2020-11-05 13:06:05 +01:00 |
|
Benedikt Kulmann
|
59be0d02c6
|
Use roleIDs instead of permissionIDs in tests
|
2020-11-05 13:06:05 +01:00 |
|
Benedikt Kulmann
|
3e0eb3edc2
|
Fix staticcheck
|
2020-11-05 13:06:05 +01:00 |
|
Jörn Friedrich Dreyer
|
7c7cefef9e
|
mock roles and settings, mint token
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
|
2020-11-05 13:06:05 +01:00 |
|
Jörn Friedrich Dreyer
|
f4116b2318
|
ocs v2 appframework quirks
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
|
2020-11-05 13:06:05 +01:00 |
|
Jörn Friedrich Dreyer
|
c3d8a5bf51
|
ocs: allow users to look up other users
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
|
2020-11-05 13:06:05 +01:00 |
|
Jörn Friedrich Dreyer
|
abce279355
|
allow self updating
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
|
2020-11-05 13:06:05 +01:00 |
|
Jörn Friedrich Dreyer
|
1e02105101
|
ocs: enable/disable users
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
|
2020-11-05 13:06:05 +01:00 |
|
Jörn Friedrich Dreyer
|
b16f0d4d2c
|
fix typo
Co-authored-by: Phil Davis <phil@jankaritech.com>
|
2020-11-05 13:06:05 +01:00 |
|
Jörn Friedrich Dreyer
|
cac8f2ef04
|
distinguish badrequest and conflict / already exists errors
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
|
2020-11-05 13:06:05 +01:00 |
|
Jörn Friedrich Dreyer
|
538e2df026
|
partly fix unit tests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
|
2020-11-05 13:06:05 +01:00 |
|
Jörn Friedrich Dreyer
|
6f46e1bccb
|
use the account.id as ocis userid, tests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
|
2020-11-05 13:06:05 +01:00 |
|
Jörn Friedrich Dreyer
|
8af7d0979e
|
adjust tests, add stubs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
|
2020-11-05 13:06:05 +01:00 |
|
Jörn Friedrich Dreyer
|
8e39d8b873
|
actually check permissions to fix tests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
|
2020-11-05 13:06:05 +01:00 |
|
A.Unger
|
6cd48e711f
|
fix linter
|
2020-10-22 14:22:58 +02:00 |
|
A.Unger
|
69ce603a83
|
fix failing scenario
|
2020-10-22 14:15:13 +02:00 |
|
A.Unger
|
9d4a8ac52f
|
make list group users work with uuid and usernames
|
2020-10-22 13:10:06 +02:00 |
|
A.Unger
|
e0f59034cf
|
fix test scenario when getting user default groups
|
2020-10-22 12:50:09 +02:00 |
|
Benedikt Kulmann
|
0403264aef
|
Fix tests for adding users to group in OCS
|
2020-10-22 12:44:44 +02:00 |
|
Benedikt Kulmann
|
1d66c22fc1
|
Fix other OCS group queries to use the account id instead of the username
|
2020-10-22 12:36:55 +02:00 |
|
A.Unger
|
66e6673714
|
fix groups endpoint
|
2020-10-22 12:25:43 +02:00 |
|
Benedikt Kulmann
|
66894b9360
|
Fix test behaviour for empty displaynames in user provisioning
|
2020-10-21 16:58:05 +02:00 |
|
A.Unger
|
4033ba887d
|
set account displayname fallback to userid if not present
|
2020-10-21 15:14:00 +02:00 |
|
Benedikt Kulmann
|
6d903e8f21
|
fix OCS tests
|
2020-10-21 12:26:57 +02:00 |
|
Benedikt Kulmann
|
0991898815
|
Map userid to on_premises_sam_account_name in ocs
|
2020-10-21 12:26:57 +02:00 |
|
Benedikt Kulmann
|
fead8d7534
|
Fix OCS test for allowing empty emails on account update
|
2020-10-19 12:43:52 +02:00 |
|
Benedikt Kulmann
|
2dc659ac56
|
Fix update user test in OCS
|
2020-10-15 23:43:43 +02:00 |
|
Benedikt Kulmann
|
63bf5f6ede
|
Fix GID in OCS AddUser response
|
2020-10-15 23:29:59 +02:00 |
|
Benedikt Kulmann
|
48a1a2819d
|
Fix uid/gid and default group tests in OCS
|
2020-10-15 23:11:31 +02:00 |
|
Ilja Neumann
|
755bbd7817
|
Create absolute accounts dir for tests and recreate it on each test
|
2020-10-14 18:03:52 +02:00 |
|
Ilja Neumann
|
f84892a2c2
|
Fix test to not rely on ordering
|
2020-10-14 18:03:52 +02:00 |
|
Ilja Neumann
|
cc0a141dc6
|
go fmt
|
2020-10-14 18:03:52 +02:00 |
|
Phil Davis
|
45716fb121
|
Refactor svc_test to add constants for repeated strings
|
2020-10-09 18:44:01 +05:45 |
|
Phil Davis
|
79ded27431
|
Fix minor typos in svc_test
|
2020-10-09 16:14:42 +05:45 |
|
Phil Davis
|
d41844767d
|
Fix provisioning API groups endpoint
|
2020-10-09 16:14:42 +05:45 |
|
Dipak Acharya
|
127b434577
|
[Tests-Only] ocs http tests for groups endpoints
|
2020-10-06 10:39:33 +05:45 |
|
Dipak Acharya
|
a81cc71ec5
|
[Tests-Only] ocs http tests for config and capabilities endpoints
|
2020-10-06 09:44:16 +05:45 |
|
Benedikt Kulmann
|
3081dd1a7b
|
Fix OCS test infrastructure
|
2020-10-05 15:22:12 +02:00 |
|
Dipak Acharya
|
34efea30de
|
[Tests-Only] enable ocs http integration tests
|
2020-10-02 20:52:04 +05:45 |
|
David Christofas
|
be71b844f2
|
add version command and add build information to metrics
Signed-off-by: David Christofas <dchristofas@owncloud.com>
|
2020-09-25 13:52:03 +02:00 |
|
A.Unger
|
fa2643f60b
|
comment out ocs http test
|
2020-09-18 15:14:00 +02:00 |
|
A.Unger
|
aff4396927
|
ocs working
|
2020-09-18 15:12:18 +02:00 |
|
A.Unger
|
7ffaa859b3
|
update ocs import paths and module name
|
2020-09-18 12:55:52 +02:00 |
|
A.Unger
|
adcfca1712
|
Add 'ocs/' from commit '7ca52baa61c4370a1bad0e2f74e85073798bdde9'
git-subtree-dir: ocs
git-subtree-mainline: b274cac8c2
git-subtree-split: 7ca52baa61
|
2020-09-18 12:53:21 +02:00 |
|