Commit Graph

72 Commits

Author SHA1 Message Date
Martin e34e0b5a5c Merge pull request #6083 from owncloud/define_readonly_attrobute_list
[docs-only] Add supported values at FRONTEND_READONLY_USER_ATTRIBUTES envvar
2023-04-19 16:28:29 +02:00
Martin 0c48a565cf Merge pull request #6079 from owncloud/fix_removal_version
[docs-only] Correct the removal version according semver to 4.0.0
2023-04-19 15:21:13 +02:00
mmattel 32c6b3bdb4 [docs-only] Add supported values at FRONTEND_READONLY_USER_ATTRIBUTES envvar 2023-04-19 12:36:49 +02:00
mmattel 8ed34926ef [docs-only] Correct the removal version according semver to 4.0.0 2023-04-19 10:16:06 +02:00
Daniel Swärd 8e5ff030f7 Change config value to list of strings and bump reva. 2023-04-18 12:25:45 +02:00
Daniel Swärd 1938495a89 Change to single env variable and list of strings as suggested in review. 2023-04-17 11:10:27 +02:00
Daniel Swärd 6433fc8d80 Apply suggestions from code review
Co-authored-by: Martin <github@diemattels.at>
2023-04-17 10:07:24 +02:00
Daniel Swärd 68f1d5897b reva/frontend: Add capabilities to indicate attributes that are read-only. 2023-04-17 10:07:24 +02:00
Daniel Swärd 32937d0977 Apply suggestions from code review
Co-authored-by: Martin <github@diemattels.at>
2023-04-05 12:48:37 +02:00
Daniel Swärd afbfd2d6b2 Deprecating and renaming many environment variables
Fixes #5767
Fixes #5905
Fixes #5532
2023-04-05 11:05:48 +02:00
jkoberg ec6f236118 add capability for personal data export
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-31 16:42:35 +02:00
Michael Barz 8332244383 add read_write_delete key to public link pw enforcement capabilites 2023-03-15 23:11:03 +01:00
mmattel dd372203d3 [docs-only] Syncing one frontend envvar description from backport 2023-03-14 16:33:24 +01:00
jkoberg ee96c516d7 add capability
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-09 09:24:16 +01:00
David Christofas c17d9eb19e add config options to enforce passwords on public links 2023-03-08 15:22:57 +01:00
Martin 08c3d8a857 Update services/frontend/pkg/config/config.go
Co-authored-by: David Christofas <dchristofas@owncloud.com>
2023-03-08 14:30:01 +01:00
Martin e4ba83e77e Update services/frontend/pkg/config/config.go
Co-authored-by: kobergj <jkoberg@owncloud.com>
2023-03-08 12:15:47 +01:00
mmattel 8ca9a4a114 fix descriptions 2023-03-08 12:12:46 +01:00
David Christofas 924c2ca346 add missing comments 2023-03-06 19:01:16 +01:00
David Christofas 63fa35fa50 reduce duplication in configuration code 2023-03-06 16:52:44 +01:00
mmattel 7f706f38cc update quota text 2023-02-23 10:19:07 +01:00
David Christofas 17b5706cc9 add config options for the max_quota and add the capability value 2023-02-22 16:22:51 +01:00
David Christofas 958ba28db3 add expiration to user and group shares (#5389) 2023-01-12 17:26:06 +01:00
Florian Schade 78637a2f00 enable tags in capabilities (#5271) 2022-12-22 14:20:46 +01:00
Michael Barz 6bf14aaa5d bump spaces version to 1.0.0 in capabilities 2022-11-25 15:08:54 +01:00
Michael Barz 6c2a1999c4 add requestID middleware (#4974)
* add requestID middleware

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

* remove unnecessary config structs

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

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Co-authored-by: Jörn Friedrich Dreyer <jfd@owncloud.com>
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-11-04 13:01:18 +01:00
Jörn Friedrich Dreyer d4643bf98c fix typo
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-11-03 17:18:16 +01:00
Jörn Friedrich Dreyer b559466703 document default preferred sha1 checksum
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-11-03 17:18:16 +01:00
Jörn Friedrich Dreyer 13dbbd8440 fix env var name
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-11-03 17:18:16 +01:00
mmattel d8de307fda fix checksum type descriptions 2022-11-03 17:18:16 +01:00
mmattel a23eaf9395 Improve frontend env descriptions 2022-11-03 17:18:16 +01:00
Michael Barz 353240ed7c Merge pull request #4599 from owncloud/privatelink-capability
enable private links
2022-11-03 15:58:09 +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 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
Michael Barz 361efa6804 update reva and add config 2022-10-28 10:43:54 +02:00
Ralf Haferkamp 3d57f5cc21 Introduce TLS Settings for all reva grpc services and clients 2022-10-25 11:50:08 +02:00
Ralf Haferkamp e373e48383 Get rid of duplicated Reva config struct
Consolidate all services to use the Reva config struct for the shared package.
This works because all services (except 'notifications', 'thumbnails' and
'webdav') where using the same config keys and environment variables for
setting the reva gateway.
2022-10-25 11:50:08 +02:00
Michael Barz 6f12c769dd Apply suggestions from code review
Co-authored-by: Martin <github@diemattels.at>
2022-10-21 11:52:58 +02:00
Michael Barz 78be28433a disable federation capabilities 2022-10-20 14:40:09 +02:00
Jörn Friedrich Dreyer 2197489c26 enable request tracking prometheus middleware in reva (#4571)
* enable request tracking prometheus middleware in reva

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

* enable metrics for ocdav

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

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-10-13 13:08:34 +02:00
Benedikt Kulmann de0b8f8ee3 Revert "Set the alias link capability to false"
This reverts commit 492ac5ced4.
2022-10-11 20:55:17 +02:00
Jörn Friedrich Dreyer e9e9947f88 bring back CORS env vars (#4723)
* bring back CORS env vars

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

* update CORS descriptions

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

* align writing of 'A comma-separated ...'

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

* fix some desc quotes

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

* Apply suggestions from code review

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

* Apply more suggestions from code review

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

* Apply final suggestions from code review

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

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Co-authored-by: Martin <github@diemattels.at>
2022-10-04 16:56:05 +02:00
Michael Barz 29b5c976fa enable private links 2022-09-15 15:12:15 +02:00
Jörn Friedrich Dreyer b0fa917eae enable a 300sec in memory cache for resource infos when listing shares on the ocs API (#4438)
* enable a 300sec in memory cache for resource infos when listing shares on the ocs API

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

* lint

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

* disable ocs cache by default

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

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-09-12 16:05:24 +02:00
Benedikt Kulmann 0341097430 fix: disable misconfigured default expiration date public links 2022-08-31 08:23:28 +02: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 46706fff32 Merge pull request #4407 from wkloucek/rename-extensions-to-services-reloaded
rename extensions to services (leftover occurences)
2022-08-18 14:03:20 +02:00
Willy Kloucek 60689c9c1a improve unsupervised description 2022-08-18 10:59:35 +02:00
Willy Kloucek 70bce6b3f0 remove leading slash 2022-08-18 09:35:48 +02:00