Commit Graph

165 Commits

Author SHA1 Message Date
Benedikt Kulmann
16a74c8a7e Docblocks and refactoring 2020-10-23 16:15:52 +02:00
Benedikt Kulmann
6eaa04ee9e Rebuild groups index 2020-10-23 16:09:00 +02:00
Benedikt Kulmann
8ac50f9839 Fix loading all accounts 2020-10-23 16:03:03 +02:00
Benedikt Kulmann
03a0c3d5e5 Rebuild index for accounts 2020-10-23 14:45:37 +02:00
A.Unger
f89c05cf61 raw implementation of index Delete 2020-10-23 14:11:20 +02:00
Benedikt Kulmann
a518a51f72 Extract creating indices on the indexer into a function 2020-10-23 12:55:01 +02:00
A.Unger
17b7c82425 basic wiring 2020-10-23 12:23:33 +02:00
A.Unger
50b0e6568b Merge branch 'master' into rebuild-index 2020-10-23 12:19:38 +02:00
Benedikt Kulmann
4206071af6 First part of index reset 2020-10-23 11:54:07 +02:00
A.Unger
859012cb4c extend accounts.proto file with rebuild index definition 2020-10-23 11:40:19 +02:00
Benedikt Kulmann
d2e011b744 Disable deprecation warning for proto package 2020-10-23 10:30:21 +02:00
Benedikt Kulmann
be9f6e574b Use proto.Merge 2020-10-23 10:19:17 +02:00
A.Unger
0fc5dbb688 skip cs3 index in favor of integration tests. running them require a locally running storage-metadata service 2020-10-22 16:11:18 +02:00
A.Unger
28329f5573 revert b1ae83c0 ..de851f80 2020-10-22 16:09:15 +02:00
A.Unger
b1ae83c021 start metadata service as a step on the accounts pipeline 2020-10-22 15:36:26 +02:00
A.Unger
b232e9f46f make vet happy, use protobuf generated merger 2020-10-22 13:39:54 +02:00
Benedikt Kulmann
7644c5a9c6 User service user uuid in indexes 2020-10-22 11:35:51 +02:00
A.Unger
7ded7e2720 Merge branch 'master' into autoincrement-index 2020-10-22 11:34:04 +02:00
A.Unger
cbf13d0972 fix build 2020-10-21 12:16:25 +02:00
A.Unger
a08d94e8b3 fix staticcheck + linter 2020-10-21 12:12:23 +02:00
Jörn Friedrich Dreyer
5a9a9ce86a set ocis storage owner on startup, account fixes
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-10-21 10:15:09 +02:00
A.Unger
400de19ab0 use strcase to transform queries to camel case 2020-10-20 11:38:28 +02:00
Benedikt Kulmann
9de9769544 Move implementation for case insensitive index handling to indexes 2020-10-20 11:14:40 +02:00
A.Unger
590dd8660b fix arguments to index search 2020-10-20 10:58:52 +02:00
Benedikt Kulmann
dee9959e69 Make indexes configurable for being case insensitive 2020-10-19 17:53:53 +02:00
Benedikt Kulmann
759f519cb3 Merge branch 'autoincrement-index' of github.com:owncloud/ocis into autoincrement-index 2020-10-19 15:43:52 +02:00
Benedikt Kulmann
48b30a3efc Close response bodies 2020-10-19 15:43:38 +02:00
A.Unger
b55ba64488 Merge branch 'master' into autoincrement-index 2020-10-19 14:47:43 +02:00
Benedikt Kulmann
cb5a78f0dd Allow email on auth queries 2020-10-19 12:29:10 +02:00
A.Unger
d902f50b42 fix vet 2020-10-19 11:36:19 +02:00
A.Unger
b9695c01c1 fix static check 2020-10-19 11:28:47 +02:00
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
27dfcc8733 Change default apps for ownCloud Web 2020-10-19 09:44:22 +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
79a4b81147 Get rid of checkError test function and fix account update validation 2020-10-15 22:58:07 +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