A.Unger
febd6fa65b
fix query order from more explicit to less
2020-10-19 11:25:22 +02:00
Benedikt Kulmann
eafd191fc3
Disable expected failures on ListAccounts until OData is supported
2020-10-19 10:59:09 +02:00
Benedikt Kulmann
cb7e98ecbc
Add another account search regex
2020-10-19 10:48:45 +02:00
Benedikt Kulmann
c340816953
Revert "WIP regexes for account search"
...
This reverts commit ad33ee7716 .
2020-10-19 10:35:05 +02:00
Benedikt Kulmann
ad33ee7716
WIP regexes for account search
2020-10-19 09:42:47 +02:00
Benedikt Kulmann
a6c2e808ae
Refactor auth request within ListAccounts
...
The auth request is a special case of ListAccounts with query. It must
only have one account as a result and doesn't need to go through the
full process of query matching. Refactored the function to take some
shortcuts for auth requests.
2020-10-17 13:08:17 +02:00
Benedikt Kulmann
a84eede915
Add failing test on ListAccounts with query for TDD
2020-10-17 12:41:56 +02:00
Benedikt Kulmann
9dbf77fad1
Fix more index tests
2020-10-16 09:57:08 +02:00
Benedikt Kulmann
37d7daf098
Remove old bleve types
2020-10-16 09:56:50 +02:00
Benedikt Kulmann
567ed1edbd
Fix Remove for empty values on indexes
2020-10-16 09:44:39 +02:00
Benedikt Kulmann
ae883908e5
Fix linters
2020-10-16 00:18:19 +02:00
Benedikt Kulmann
b75f4b745d
Fix more staticchecks
2020-10-16 00:03:52 +02:00
Benedikt Kulmann
16a190857f
Fix staticchecks
2020-10-15 23:59:53 +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
Benedikt Kulmann
56d2318387
Update go.mod
2020-10-15 22:59:42 +02:00
Benedikt Kulmann
79a4b81147
Get rid of checkError test function and fix account update validation
2020-10-15 22:58:07 +02:00
Benedikt Kulmann
021d7edf19
Add a first changelog item
2020-10-15 22:36:38 +02:00
Benedikt Kulmann
5f6b36c1db
prevent duplicate accounts and validate account update
2020-10-15 22:34:00 +02:00
Benedikt Kulmann
f53e022041
Handle empty value in cs3 indices
2020-10-15 21:27:05 +02:00
Ilja Neumann
ca1fa005a6
Return BadRequestError instead of InternalServerError
...
Apparently InternalServer errors are not returned back by the handler
2020-10-15 18:00:08 +02:00
A.Unger
da70231338
whatever dude
2020-10-15 17:08:16 +02:00
A.Unger
beade6b8c0
WIP fix tests
2020-10-15 16:18:26 +02:00
A.Unger
019b1070df
assign users to default users group (gid=30000) on creation
2020-10-15 15:43:10 +02:00
A.Unger
d5c5e519ba
fix TestCreateExistingUser test
2020-10-15 15:43:10 +02:00
A.Unger
97da31627f
refactor test suite
2020-10-15 15:43:10 +02:00
Benedikt Kulmann
441e7156f4
Add note regarding rollback
2020-10-15 15:43:10 +02:00
Benedikt Kulmann
f6d3425de8
Create default group for new accounts
2020-10-15 15:43:10 +02:00
Benedikt Kulmann
f3f9c3d9fb
Add rollback for CreateGroup when indexing fails
2020-10-15 15:43:10 +02:00
Benedikt Kulmann
37dc6c7db9
Rollback account creation on error
2020-10-15 15:43:10 +02:00
Benedikt Kulmann
ec84d7886a
Fix allowing predefined values in autoincrement index
2020-10-15 15:43:10 +02:00
A.Unger
c460908e44
add lower and upper bound to config
2020-10-15 15:43:08 +02:00
A.Unger
6928a9c409
add bounds to index
2020-10-15 15:40:13 +02:00
Benedikt Kulmann
6d39cedf08
Add failing test for indexer on autoincrement index
2020-10-15 15:36:06 +02:00
Benedikt Kulmann
d578a2603a
Fix service user
2020-10-15 15:36:06 +02:00
Benedikt Kulmann
629561833a
Write uid and gid from autoincrement index into accounts/groups
2020-10-15 15:36:04 +02:00
Benedikt Kulmann
6ac2e2669c
Copy functions of unique index to autoincrement index of disk package
2020-10-15 15:33:18 +02:00
Benedikt Kulmann
75c7a6e3df
Copy functions of unique index to autoincrement index of cs3 package
2020-10-15 15:33:18 +02:00
Benedikt Kulmann
19f1fd11c4
Align order of cuntions with index interface
2020-10-15 15:33:18 +02:00
Benedikt Kulmann
6c4ce0d53c
Fix PK in cs3 tests
2020-10-15 15:33:18 +02:00
Benedikt Kulmann
8abdb833d4
Implement Add for cs3 autoincrement index
2020-10-15 15:33:18 +02:00
A.Unger
5bdb94e92d
first draft autoincrement cs3 apis
2020-10-15 15:33:18 +02:00
A.Unger
b61f123cd7
first draft implementation of an autoincremental index
2020-10-15 15:33:18 +02:00
Ilja Neumann
c9f0cdd256
Disable ACCOUNTS_DATA_PATH
2020-10-14 19:07:56 +02:00
Ilja Neumann
f272bb243b
Add STORAGE_STORAGE_METADATA_ROOT
2020-10-14 18:40:14 +02:00
Ilja Neumann
3aa10fa8f0
Fix lint
2020-10-14 18:03:52 +02:00
Ilja Neumann
f651303866
Fix id or samaccount query
2020-10-14 18:03:52 +02:00
Ilja Neumann
20e3bd0826
Disable DISK_PATH temporarily
2020-10-14 18:03:52 +02:00
Ilja Neumann
199ad32e04
Temporarily disable groups query
2020-10-14 18:03:52 +02:00