Commit Graph

6517 Commits

Author SHA1 Message Date
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
Phil Davis
56af517d87 Remove passing trashbin tests for OCIS-storage 2020-10-16 22:30:00 +05:45
Phil Davis
19ab785d05 Reorganise expected failures 2020-10-16 22:30:00 +05:45
Phil Davis
df8227c75d Adjust OCIS_REVA_DATA_ROOT and STORAGE_DRIVER 2020-10-16 18:15:23 +05:45
Phil Davis
11aa9343fb Bump core commit 20201016 2020-10-16 17:58:38 +05:45
Artur Neumann
0e132ce678 Merge pull request #712 from owncloud/sync-tests-with-cs3org-reva
[tests-only] Sync tests with cs3org reva
2020-10-16 15:02:57 +05:45
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
Phil Davis
314eff4e94 Reformat gherkin tables 2020-10-16 13:30:54 +05:45
Phil Davis
3014e53ee1 Sync test scenarios from cs3org/reva 2020-10-16 13:30:58 +05:45
Benedikt Kulmann
567ed1edbd Fix Remove for empty values on indexes 2020-10-16 09:44:39 +02:00
Phil Davis
8b1b0b49d5 Adjust top comments in expected-failures-on-OWNCLOUD-storage 2020-10-16 10:30:07 +05:45
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
Phil Davis
38358ba4d4 Merge pull request #707 from owncloud/bump-core-commit-20201015
[tests-only] Bump core commit for tests as at 20201015
2020-10-15 17:54:21 +05:45
Phil Davis
15d6d38ad2 Bump core commit for tests as at 20201015 2020-10-15 16:29:20 +05:45
Michael Barz
b5c149af59 Merge pull request #605 from owncloud/dependabot/npm_and_yarn/accounts/lodash-4.17.20
Bump lodash from 4.17.15 to 4.17.20 in /accounts
2020-10-15 12:37:50 +02:00