Commit Graph

663 Commits

Author SHA1 Message Date
Michael Barz
189987bcbd Bump major version to v2 2022-05-04 14:49:59 +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
56261e3e63 Merge branch 'master' into config-env 2022-05-03 18:52:23 +02:00
Willy Kloucek
1e6b2fef38 change permission to 750 2022-05-03 17:18:03 +02:00
Willy Kloucek
b8ae9618c7 reduce docker image volume permissions and update alpine 2022-05-03 17:18:03 +02: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
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
Willy Kloucek
0bb830097c Merge pull request #3642 from wkloucek/fix-config-parsing-unsupervised
fix ocis config parsing for subcommands
2022-05-02 14:35:35 +02:00
Willy Kloucek
18e9661a24 fix ocis config parsing for subcommands 2022-05-02 13:13:29 +02:00
Jörn Friedrich Dreyer
e5577a1c97 fix service names in init
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-02 10:56:41 +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
Jörn Friedrich Dreyer
9d8072cda9 try to make lint happy
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-29 21:11:11 +00:00
Jörn Friedrich Dreyer
6474d46252 nitpicks and typo
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-29 19:09:03 +00:00
Willy Kloucek
1cdb81bd3e add fixes from review 2022-04-29 16:10:21 +02:00
Willy Kloucek
feda972487 add idm admin password variable to init command 2022-04-29 14:28:08 +02:00
Christian Richter
c47e43318a allow override of admin password wit ocis init
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-29 14:15:48 +02:00
Christian Richter
59c96413d9 beautify error messages
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-29 13:45:12 +02:00
André Duffeck
08df2e32d9 Merge remote-tracking branch 'upstream/master' into search 2022-04-29 13:00:01 +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
Christian Richter
767845d90a fix force overwrite bug
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-29 09:25:46 +02:00
Willy Kloucek
293dbac7b3 remove underscores from variable names and use yaml tags instead 2022-04-29 08:33:11 +02:00
Willy Kloucek
e582b609b5 fix startup with ocis init 2022-04-28 17:20:10 +02:00
Christian Richter
ed1c459d98 Merge branch 'ocis-init' of github.com:owncloud/ocis into ocis-init 2022-04-28 15:56:16 +02:00
Christian Richter
0330b431bb unclutter ocis init code
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-28 15:55:21 +02:00
Willy Kloucek
83b94cf82d log parsing errors to stdout 2022-04-28 15:52:26 +02:00
Christian Richter
5a6c44afa0 move config generator to own structures, to avoid having to fork the yaml package (omitempty issues)
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-28 15:43:40 +02:00
Christian Richter
fb6a8ffc7b add backup of config on force overwrite
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-28 11:12:22 +02:00
Willy Kloucek
5c159ee295 Merge branch 'master' into ocis-init 2022-04-28 10:12:46 +02:00
Willy Kloucek
31656e1a97 remove TODOs 2022-04-28 08:48:32 +02:00
David Christofas
6bd4330103 update reva to include go-chi workaround 2022-04-27 17:12:42 +02:00
Willy Kloucek
4043f181b1 set generate ldap secrets 2022-04-27 17:00:31 +02:00
Willy Kloucek
a37126f523 Merge branch 'master' into ocis-init 2022-04-27 15:50:26 +02:00
Willy Kloucek
5b572b3852 initialize insecure options 2022-04-27 15:46:17 +02:00
Willy Kloucek
a261fc8c88 cleanup 2022-04-27 15:01:31 +02:00
Willy Kloucek
b3f55765d8 use common transfer secrets 2022-04-27 14:13:17 +02:00
Willy Kloucek
9095b11d6c load reva gateway and token manager from common config 2022-04-27 13:58:59 +02:00
Christian Richter
d106c87c51 [WIP] adapt storage changes
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-27 10:37:40 +02:00
Ralf Haferkamp
45f0940071 Turn of "insecure" of built-in IDP
Setup idp to verify the LDAP server certificate. As this certificate
might be generated on startup, this also moved the IDP to the "delayed"
set of services. So it starts after "idm".
2022-04-26 18:59:10 +02:00
Ralf Haferkamp
1a38f3623c switch default config to idm
- The accounts and glauth service are turned off by default
- proxy is switch from "accounts" to "cs3" for the account backend
- The LDAP configuration (graph, idp, storage) of all services now
  points to idm instead of glauth
2022-04-26 18:59:10 +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