Commit Graph

714 Commits

Author SHA1 Message Date
Ralf Haferkamp
5d121b4bad Do not start auth-bearer service by default
The auth-bearer service is currently not needed by ocis. Reva tookens
for oidc authenticated clients are currently minted via the auth-machine
service.  This commit does not completely remove the service as we shoud
consider to rework the proxy's oidc middleware to use the auth-bearer
service in the future (see #4701)

Fixes: #4692
2022-09-28 12:11:06 +02:00
Ralf Haferkamp
8f2bf0ed9c Default to in-memory registry in single-binary mode
This avoids various issues of the old "mdns" default. At least for the simple
single process setup (#3134, #4597). When starting the services individually we
still default to "mdns".
2022-09-26 16:25:56 +02:00
Willy Kloucek
c997e50b8d add insecure option to ocis init 2022-09-26 09:26:04 +02:00
Andre Duffeck
8bdfe5f6d1 Update ocis/pkg/command/migrate.go
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-09-09 15:33:20 +02:00
André Duffeck
1f68321acc Add support for the jsoncs3 public share manager 2022-09-09 13:07:01 +02:00
Jörn Friedrich Dreyer
38b2a9a487 Merge branch 'master' into jsoncs3-share-manager 2022-08-25 15:24:20 +00:00
Jörn Friedrich Dreyer
1287d1ba52 migration fixes
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-08-25 15:19:02 +00:00
Willy Kloucek
9f2be9f4f9 remove Log prefix from configlog functions 2022-08-22 08:08:18 +02:00
Willy Kloucek
e58eaabdeb move config parse error logging into function to ensure new lines and don't parse config for help 2022-08-18 15:27:28 +02:00
Willy Kloucek
6154466bbc rename extensions to services (leftover occurences) 2022-08-17 15:36:52 +02:00
jkoberg
f64ea7dc1b make runset a map
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-07-21 16:19:36 +02:00
jkoberg
4b8d1acdf4 allow providing list of services not to start
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-07-21 15:51:17 +02:00
Willy Kloucek
c68039185a relax folder permissions in the dockerfile for
- /var/lib/ocis
- /etc/ocis
from 750 to 751, to allow oCIS running with uid/pid != 1000 to traverse
these directories for eg. the case that a volume is mounted in these
directories.
2022-07-18 10:12:28 +02:00
Willy Kloucek
9f0a31140f Merge pull request #4102 from wkloucek/fix-logging-levels
fix logging levels and go micro default log level
2022-07-11 09:31:19 +02:00
Bishop Clark
155baa83cb Update README.md
adjective order
2022-07-09 12:45:02 -07:00
Willy Kloucek
83bbabac3c remove leftover setMicroLogger from runtime 2022-07-08 07:55:11 +02:00
Ralf Haferkamp
875ad911db Fixup previous commit to avoid using blank imports 2022-07-07 17:16:28 +02:00
Ralf Haferkamp
4a09d8a948 Remove redundant setting of cli.HelpFlag
The help flag is configured automatically by default already. We don't
need to redo that for every single service.

This also addresses one of the finding of "go race" (#4088)
2022-07-05 14:59:06 +02:00
Willy Kloucek
33f6ee34fc fix logging levels and go-micro logging format 2022-07-05 13:49:30 +02:00
Willy Kloucek
8f3b0c50cd Merge branch 'master' into config-doc-descriptions 2022-06-28 13:03:19 +02:00
Christian Richter
3b87f75132 further refactoring & add changelog
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-06-27 14:07:02 +02:00
Christian Richter
f8f1320501 refactor extensions -> services
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-06-27 14:05:36 +02:00
Willy Kloucek
8e19a83e36 Merge branch 'master' into config-doc-descriptions 2022-06-27 10:56:16 +02:00
André Duffeck
f290330dbc Actually use the sharing configuraion from the config file 2022-06-27 10:14:11 +02:00
André Duffeck
f2cbffa938 Incorporate review suggestions 2022-06-21 14:33:20 +02:00
André Duffeck
42e32e5b69 Implement migrating public shares 2022-06-21 12:06:53 +02:00
André Duffeck
df6f00ffbb Make the source and destination managers configurable 2022-06-21 12:06:53 +02:00
André Duffeck
f15aec8859 Implement a "migrate" command for migrating between share managers 2022-06-21 12:06:53 +02:00
Willy Kloucek
9bf2661395 add more config doc descriptions 2022-06-21 09:13:38 +02:00
Willy Kloucek
68a6f43538 fix version info 2022-06-13 10:43:52 +02:00
Jörn Friedrich Dreyer
c714f29fd1 lint init.go
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-06-09 14:36:23 +02:00
Willy Kloucek
27b2fbe7e0 fix configuration validation for extensions' server commands 2022-06-02 09:57:45 +02:00
Willy Kloucek
6394ec2823 Merge pull request #3796 from wkloucek/unify-ocis-commands
unify ocis subcommands
2022-05-16 09:46:32 +02:00
Willy Kloucek
44c909b31d unify ocis subcommands 2022-05-16 07:59:18 +02:00
Jörn Friedrich Dreyer
acab143050 use command -v instead of which
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-13 11:16:40 +00:00
Christian Richter
9df12fe3ac Merge remote-tracking branch 'origin/master' into fix-commands 2022-05-11 16:58:11 +02:00
Ralf Haferkamp
d25aa7b20f Remove "accounts" service 2022-05-11 15:29:34 +02:00
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
Christian Richter
87b7a102ba remove returns from the commands to prevent silent crash
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-05-11 14:58:52 +02:00
David Christofas
4b7a365781 add description tags to thumbnails config 2022-05-10 10:31:36 +02:00
Willy Kloucek
faa818385b Merge pull request #3740 from wkloucek/remove-run-kill-runtime
remove run and kill commands from the runtime
2022-05-09 14:58:41 +02:00
Willy Kloucek
0453dba7a3 remove rpc side of kill and run commands 2022-05-09 13:23:17 +02:00
Willy Kloucek
43d74f276b Merge branch 'master' into reenable-parallel-deployment-in-ci 2022-05-09 11:52:55 +02:00
Willy Kloucek
a793a4d1e6 remove run and kill commands from the runtime 2022-05-09 11:31:26 +02:00
Christian Richter
3047e48add reword ocis init from ocis to Infinite Scale
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-05-09 09:47:54 +02:00
Willy Kloucek
0e2c85d635 fix nats command naming 2022-05-05 15:45:56 +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
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
Jörn Friedrich Dreyer
2bd63509e3 align more storage-system names (#3674)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-04 15:19:35 +02:00