Commit Graph

726 Commits

Author SHA1 Message Date
kobergj
341cdc9dd3 Merge pull request #5207 from kobergj/AsyncPostprocessing
[full-ci] Async Postprocessing
2022-12-16 11:58:24 +01:00
Jörn Friedrich Dreyer
53d15d329e remove deprecated use of ioutil (#5205)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-12-08 14:44:53 +01:00
jkoberg
06f3f5adb3 start pp service in single binary
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-12-08 11:49:04 +01:00
Michael Barz
7e6b57e138 make storage users mount id configurable (#5091) 2022-11-25 13:47:41 +01:00
Willy Kloucek
86a108ac49 switch to a more recent alpine image for image builds (#5123) 2022-11-25 13:35:24 +01:00
David Christofas
ac6d53d317 Merge pull request #4960 from owncloud/ocis-readme
add a README to the ocis package
2022-11-03 10:44:58 +01:00
Ralf Haferkamp
ee974afebf [full-ci] Introduce TLS Settings for go-micro based grpc services and clients (#4901)
* Introduce TLS Settings for go-micro based grpc services and clients

TLS for the services can be configure by setting the OCIS_MICRO_GRPC_TLS_ENABLED"
"OCIS_MICRO_GRPC_TLS_CERTIFICATE" and "OCIS_MICRO_GRPC_TLS_KEY"
enviroment variables.

TLS for the clients can configured by setting the "OCIS_MICRO_GRPC_CLIENT_TLS_MODE"
and "OCIS_MICRO_GRPC_CLIENT_TLS_CACERT" variables.

By default TLS is disabled.

Co-authored-by: Martin <github@diemattels.at>

* Unify TLS configuration for all grpc services

All grpc service (whether they're based on reva) or go-micro use the
same set of config vars now.

TLS for the services can be configure by setting the OCIS_GRPC_TLS_ENABLED,
OCIS_GRPC_TLS_CERTIFICATE and OCIS_GRPC_TLS_KEY enviroment variables.

TLS for the clients can configured by setting the OCIS_GRPC_CLIENT_TLS_MODE
and OCIS_MICRO_GRPC_CLIENT_TLS_CACERT variables.

There are no individual per service config vars currently. If really
needed, per service tls configurations can be specified via config file.

Co-authored-by: Martin <github@diemattels.at>

Co-authored-by: Martin <github@diemattels.at>
2022-11-03 10:17:08 +01:00
Edith Parzefall
2e22d00801 Apply suggestions from code review
language review
2022-11-03 09:42:47 +01:00
David Christofas
56c3d9d76f add a README to the ocis package 2022-11-03 09:42:39 +01:00
David Christofas
ab5ceb1928 add nats tls insecure flags to ocis init 2022-10-12 17:24:16 +02:00
Willy Kloucek
503c8a38eb add curl to the oCIS OCI image 2022-10-07 07:14:37 +02:00
David Christofas
3babaf1a4d remove the graph-explorer servier from ocis (#4733) 2022-10-04 15:55:30 +02:00
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