Commit Graph

499 Commits

Author SHA1 Message Date
Ralf Haferkamp
5ba1b8f2c1 Remove "glauth" service
The "glauth" service is no longer used. After we switched to
libregraph/idm.
2022-05-11 15:29:34 +02:00
Michael Barz
f6e2f46ebb Exit when encountering config parsing errors 2022-05-09 11:49:15 +02:00
Michael Barz
071db57f14 bump core commitID 2022-05-07 22:24:41 +02:00
Michael Barz
5f0c635f92 make status values configurable 2022-05-07 15:40:51 +02:00
Jörn Friedrich Dreyer
51e1aa2978 rename users and groups extensions
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-05 09:14:27 +00:00
Michael Barz
20e687f094 fix naming in error message 2022-05-04 17:36:43 +02:00
Michael Barz
4b71cd40af Merge pull request #3678 from owncloud/v2
Update ocis packages and imports to V2
2022-05-04 16:36:01 +02:00
kobergj
eb59d2291e MachineAuthAPIKey -> SystemUserAPIKey (#3672)
* split machineauthapikey and systemuserapikey

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* changelog

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* specific errors and some reverts

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* use correct machine auth api key

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-04 15:48:02 +02:00
Michael Barz
5ab09764aa Change ocis package in reflect test 2022-05-04 15:29:30 +02:00
Michael Barz
189987bcbd Bump major version to v2 2022-05-04 14:49:59 +02:00
Ralf Haferkamp
d6bf26c744 Rename ADMIN_USER_ID env var to OCIS_ADMIN_USER_ID
Also let the top-level ocis config validator error out if admin_user_id
is unset at start.
2022-05-04 12:42:28 +02:00
Ralf Haferkamp
7ef205d232 Get rid of hardcoded admin user uuid
The UUID is generated by `ocs init` now and stored in the config file.
To avoid that every ocis install uses the same UUID

Closes: #3524
2022-05-04 12:42:28 +02:00
Christian Richter
55d28f45c6 Merge pull request #3670 from owncloud/yaml-underscores
make yaml tags always use underscore
2022-05-04 12:28:03 +02:00
kobergj
5346299e6d MetadataUserID -> SystemUserID (#3671)
* replace MetadataUserID with SystemUserID

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* the missing change

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* changelog

Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-05-04 11:41:37 +02:00
Jörn Friedrich Dreyer
edd3adcf1d make yaml tags always use underscore
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-04 08:54:46 +00:00
Jörn Friedrich Dreyer
565548ebce storage-metadata -> storage-system
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-04 08:14:13 +00:00
Jörn Friedrich Dreyer
449a0169f6 approvider -> app-provider
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-04 06:39:28 +00:00
Willy Kloucek
26a92f2bad add app-registry service 2022-05-03 15:12:35 +02:00
Willy Kloucek
977c4fd9e9 ensure commands for all services 2022-05-03 15:12:34 +02:00
Willy Kloucek
ef6d32a12a remove extensions/storage leftovers 2022-05-03 15:12:34 +02:00
Jörn Friedrich Dreyer
1c8b353d44 Merge pull request #3635 from aduffeck/search
Add initial version of the search extension
2022-05-02 19:25:07 +02:00
Michael Barz
b08eb44c5b fix env variable for metadata user ID 2022-05-02 17:44:21 +02:00
Jörn Friedrich Dreyer
bfc8196ac2 Merge branch 'master' into search
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-02 13:43:24 +00:00
Jörn Friedrich Dreyer
398caeed2c Merge pull request #3602 from owncloud/metadata-gateway
introduce metadata gateway
2022-05-02 15:16:27 +02:00
Jörn Friedrich Dreyer
f88c000bac generate metadata user id
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-02 12:36:30 +00:00
Jörn Friedrich Dreyer
0642a5e0ca Align service naming (#3606)
* use configured names as service names in ocis runtime

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* add changelog

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* correct service names for group and storage-shares

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* use correct service names in .drone.star

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* align ocis-pkg/config/config.go

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-02 12:44:21 +02:00
Willy Kloucek
1cdb81bd3e add fixes from review 2022-04-29 16:10:21 +02:00
Christian Richter
59c96413d9 beautify error messages
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-29 13:45:12 +02:00
Willy Kloucek
4ff313b0a5 check for more secrets need to be set 2022-04-29 13:07:25 +02:00
André Duffeck
08df2e32d9 Merge remote-tracking branch 'upstream/master' into search 2022-04-29 13:00:01 +02:00
Christian Richter
bc6cd9141d [WIP] add missing secret checks
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-29 11:55:56 +02:00
Christian Richter
72688b3650 move generic secret errors to shared, fix edgecase in cli flags
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-29 11:15:13 +02:00
Willy Kloucek
4e531ca442 fix ocis startup with debugging config / environment variables only 2022-04-28 16:28:12 +02:00
Willy Kloucek
3a9ba10dc4 fix and restructure ocis-pkg config parser 2022-04-28 15:34:31 +02:00
Willy Kloucek
1b2cc6df3e revert empty yaml tags 2022-04-28 15:14:56 +02:00
Willy Kloucek
ab254b05d0 remove all "omitempty" from config structs to bring back full configuration file documentation 2022-04-28 15:08:40 +02:00
Willy Kloucek
83f75bf089 fix ginko testsuite 2022-04-28 10:05:51 +02:00
Willy Kloucek
9095b11d6c load reva gateway and token manager from common config 2022-04-27 13:58:59 +02:00
Willy Kloucek
48a6978e24 move TokenManager back to extension config 2022-04-27 11:04:18 +02:00
Christian Richter
c5d0791f53 add password generator
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-27 10:58:27 +02:00
Christian Richter
fb5ca006e4 Merge remote-tracking branch 'origin/master' into ocis-init
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-26 16:28:12 +02:00
Willy Kloucek
0f12ffbabe Merge pull request #3587 from wkloucek/single-config-file-location
load configuration only from one directory
2022-04-26 15:28:17 +02:00
Christian Richter
58a24e620e Move reva transfer secret to shared.Commons
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-26 14:10:03 +02:00
David Christofas
e2ea74c9bc remove commented out code 2022-04-26 13:52:40 +02:00
Willy Kloucek
c710e1f794 load configuration only from one directory 2022-04-26 12:04:12 +02:00
Christian Richter
a4d7696232 Move machine-auth-api-key to shared.Commons
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-26 10:20:15 +02:00
Christian Richter
acf75afebc Move Tokenmanager to shared.Commons
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-25 16:35:10 +02:00
Willy Kloucek
b26b68b943 fix sharing yaml tag 2022-04-25 15:44:29 +02:00
David Christofas
60bf000308 make gateway config similar to other services 2022-04-25 15:44:15 +02:00
David Christofas
76a6588d88 make frontend config similar to other services 2022-04-25 15:44:10 +02:00