Commit Graph

451 Commits

Author SHA1 Message Date
Martin
1f53ec5253 Improve Auth Basic service descriptions (#4971) 2022-11-03 17:00:34 +01:00
Jörn Friedrich Dreyer
0f7dba53fb use min tls 1.2 (#4969)
* use min tls 1.2

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

* add changelog

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

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-11-03 16:08:56 +01:00
Michael Barz
353240ed7c Merge pull request #4599 from owncloud/privatelink-capability
enable private links
2022-11-03 15:58:09 +01:00
jkoberg
2443d7d687 use private link syntax for spaceinvite link
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-11-03 15:18:03 +01:00
kobergj
d55d132f26 Merge pull request #4966 from kobergj/ReadmeForAuthBasic
Improve AuthBasic Readme
2022-11-03 15:15:49 +01:00
kobergj
69c60135e4 Merge pull request #4965 from kobergj/MaxAcuireLockCycles
Max AcquireLock Cycles and Bump Reva
2022-11-03 15:11:18 +01:00
jkoberg
c2cc1e105c improve auth-basic docu and rename envvar
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-11-03 14:40:21 +01:00
jkoberg
12c7308fdf update envvar description
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-11-03 14:27:54 +01:00
kobergj
92d3f77ab8 Readme for Auth-Basic (#4919)
* readme for the auth-basic service

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

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* Update services/auth-basic/README.md

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

Signed-off-by: jkoberg <jkoberg@owncloud.com>
Co-authored-by: Martin <github@diemattels.at>
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-11-03 14:24:22 +01:00
Florian Schade
51376b584b add option to configure max_acquire_lock_cycles 2022-11-03 14:22:46 +01:00
Michael Barz
8371de7056 Merge pull request #4964 from aduffeck/rescan-less-aggressively
Reindex less aggressively
2022-11-03 14:11:53 +01:00
David Christofas
3125459415 [full-ci]fallback to stored roles (#4890)
* fallback to stored roles

If there are no roles in the current context load the user's roles from the storage.

* some code clean up
2022-11-03 13:25:21 +01:00
André Duffeck
cfb4f45f8d Fix indentation 2022-11-03 13:22:44 +01:00
André Duffeck
12bdf29ac4 Change the default reindex debounce duration to 1s.
Also make it configurable using an env var.
2022-11-03 13:15:54 +01:00
Martin
5602668634 Add the missing auth providers to AUTH_BASIC_AUTH_PROVIDER description (#4923)
* Add the missing auth providers to AUTH_BASIC_AUTH_PROVIDER description

* fix strings on more locations

* WOPIDriver

* Apply suggestions from code review

* Update services/users/pkg/config/config.go
2022-11-03 12:31:57 +01:00
Ralf Haferkamp
b24d126b30 Introduce TLS Settings for go-micro based http services
TLS for the services can be configure by setting the "OCIS_HTTP_TLS_ENABLED",
"OCIS_HTTP_TLS_CERTIFICATE" and "OCIS_HTTP_TLS_KEY" environment variables.
Currently the ocis proxy is this only service that directly accesses backend
services. It determines whether to use TLS or not by looking a the new registry
metadata "use_tls". As specific CA Cert for certificate verification
can be set with the "PROXY_HTTPS_CACERT" environment variable.
2022-11-03 11:58:53 +01:00
Ralf Haferkamp
a4f5682851 Switch proxy defaults to use go-micro registry everywhere
This makes the default configuration somewhat easier. There doesn't
seem to be a specific reason why some services were still using a
static backend configuration.
2022-11-03 11:58:53 +01:00
kobergj
a5bccc2807 Validate Space Names (#4955)
* validate space names

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

* Update services/graph/pkg/service/v0/drives.go

Co-authored-by: Michael Barz <michael.barz@zeitgestalten.eu>

Signed-off-by: jkoberg <jkoberg@owncloud.com>
Co-authored-by: Michael Barz <michael.barz@zeitgestalten.eu>
2022-11-03 11:39:02 +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
Jörn Friedrich Dreyer
ed42a02606 clarify wording
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-11-02 11:06:15 +01:00
Martin
1abcc8eb17 Apply suggestions from code review
Co-authored-by: Ralf Haferkamp <rhaferkamp@owncloud.com>
2022-11-02 11:06:15 +01:00
Jörn Friedrich Dreyer
0ace006291 add frontend readme
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-11-02 11:06:15 +01:00
Florian Schade
52d618ef50 remove expires header in no-cache cases (#4942) 2022-11-01 15:06:17 +01:00
Jörn Friedrich Dreyer
c61b959f4d fix CORS in frontend service (#4948)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-11-01 13:33:22 +01:00
Martin
ef4900d221 Merge pull request #4935 from owncloud/fix_missing_REVA_description
Add REVA_ env description for WebDav
2022-10-28 15:13:38 +02:00
Martin
bc06dfb20a Merge pull request #4911 from owncloud/proxy-readme
add proxy README
2022-10-28 14:33:00 +02:00
mmattel
cea3431634 Add REVA_ env description for WebDav 2022-10-28 14:22:26 +02:00
Michael Barz
361efa6804 update reva and add config 2022-10-28 10:43:54 +02:00
mmattel
bdcbe3e0c2 Proxy env var description rephrasing 2022-10-27 13:09:37 +02:00
Martin
3d5a6c36fc Update services/proxy/README.md 2022-10-27 12:56:06 +02:00
Martin
6c4b54015a Merge pull request #4909 from kobergj/ReadmeForNats
Readme for Nats service
2022-10-27 12:51:13 +02:00
Edith Parzefall
982856b7e4 Apply suggestions from code review 2022-10-27 12:24:39 +02:00
kobergj
141779c463 Merge pull request #4912 from kobergj/ReadmeForWebdav
Readme for Webdav service
2022-10-27 12:18:10 +02:00
jkoberg
1fa147fa36 readme for nats service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-10-27 12:14:05 +02:00
Martin
0f2b427f03 Update services/proxy/README.md 2022-10-27 12:11:00 +02:00
David Christofas
453acf3d66 add proxy README 2022-10-27 11:53:13 +02:00
jkoberg
452be7e9db readme for webdav service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-10-27 10:42:03 +02:00
Benedikt Kulmann
2b27b0c8bf Merge pull request #4892 from owncloud/pnpm-2
[full-ci] Build idp and settings frontends with pnpm
2022-10-27 10:35:12 +02:00
Martin
2a210357ae Merge pull request #4737 from owncloud/thumbnails-readme
add a readme file for the thumbnails service
2022-10-26 09:27:15 +02:00
Martin
c67b457308 Update services/thumbnails/README.md 2022-10-26 09:17:14 +02:00
Edith Parzefall
152967320d Update services/thumbnails/README.md 2022-10-26 09:16:05 +02:00
Edith Parzefall
9436dfe4d1 Apply suggestions from code review
Co-authored-by: Phil Davis <phil@jankaritech.com>
2022-10-26 09:10:18 +02:00
Michael Barz
88386dedab Merge pull request #4897 from owncloud/settings-values
prohibit users form setting and listing other user's values
2022-10-25 23:39:23 +02:00
mmattel
2836395a29 update and text restructuring 2022-10-25 17:21:50 +02:00
David Christofas
778c84cf17 add a readme file for the thumbnails service 2022-10-25 15:01:11 +02:00
Benedikt Kulmann
b3225a0dc9 fix: clear loading state if consent or logon received 2022-10-25 14:53:00 +02:00
David Christofas
73e50ae84b prohibit users form setting and listing other user's values 2022-10-25 14:13:47 +02:00
Ralf Haferkamp
89f2f2a87f Add documentation tags for grpc server TLS options 2022-10-25 11:50:08 +02:00
Ralf Haferkamp
fbb3382a42 Revert backwards incompatible reva config changes
The commit of unifying the Reva Client config introduced some backwards
incompatible changes to the config structures and yaml config tags. For
the "thumbnails", "webdav" and "notifications" service. This reverts the
changes on the service and introduces TLS options in a backwards
compatible manner.
2022-10-25 11:50:08 +02:00
Ralf Haferkamp
8cead4557f Explicitly disable TLS for the permissions client
This is needed as the permission server (provided by the settings service)
is not TLS enabled yet.
2022-10-25 11:50:08 +02:00