Commit Graph

295 Commits

Author SHA1 Message Date
Jörn Friedrich Dreyer 2c98d3246c minimal webfinger (#5373)
* initial webfinger stub

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

* add webfinger to proxy, return current host

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

* some cleanup

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

* allow passing multiple rel params

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

* introduce interfaces

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

* parse oidc auth token

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

* add templating, drop chain, use map of relation providers

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

* fix ocis url yaml

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

* fix typos

Co-authored-by: Dominik Schmidt <dschmidt@owncloud.com>

* switch to userinfo claims

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

* readme cleanup

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

* add TODO.md with ideas

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

* replace subject on authenticated request responses

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

* Apply suggestions from code review

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

* markdown lint

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

* return a 401 when bearer token expired, some more docs

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

* Apply suggestions from code review

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

* fix docs

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

* clarify env var

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

* extract handler func

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

* use correct service in reflex.conf

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

* test relations

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

* Update services/webfinger/pkg/config/config.go

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Co-authored-by: Dominik Schmidt <dschmidt@owncloud.com>
Co-authored-by: Martin <github@diemattels.at>
2023-02-13 11:05:20 +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
David Christofas 3babaf1a4d remove the graph-explorer servier from ocis (#4733) 2022-10-04 15:55:30 +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
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
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
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
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 68a6f43538 fix version info 2022-06-13 10:43:52 +02:00
Willy Kloucek 27b2fbe7e0 fix configuration validation for extensions' server commands 2022-06-02 09:57:45 +02:00
Willy Kloucek 44c909b31d unify ocis subcommands 2022-05-16 07:59:18 +02: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
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 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
Michael Barz 189987bcbd Bump major version to v2 2022-05-04 14:49:59 +02:00
kobergj ebf39a6a90 fix the first contact typo (#3676)
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-05-04 14:44:37 +02: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
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
Willy Kloucek 18e9661a24 fix ocis config parsing for subcommands 2022-05-02 13:13:29 +02: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
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 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