Commit Graph

64 Commits

Author SHA1 Message Date
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 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
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
Willy Kloucek 6154466bbc rename extensions to services (leftover occurences) 2022-08-17 15:36:52 +02:00
Willy Kloucek 067e614713 implement review feedback 2022-08-17 12:25:55 +02:00
Willy Kloucek 5730ad6d5b add documentation, wire configuration 2022-08-17 12:13:47 +02:00
Willy Kloucek 0a9790105d introduce staticurlparams 2022-08-17 12:13:47 +02:00
Willy Kloucek f9a25c0625 add open-with-web endpoint, needs cs3org/reva#3143 2022-08-17 12:13:47 +02:00
Jannik Stehle 492ac5ced4 Set the alias link capability to false 2022-08-03 12:17:27 +02:00
Ralf Haferkamp 288b76d955 Add config for setting search_min_length capability
This adds the "search_min_length" setting to the frontend service which
allows to set the search_min_length capabilty which is e.g. used by
web.

Partial: #547
2022-07-20 11:55:04 +02:00
Ralf Haferkamp 946f3e8feb Remove unused BindEnv code
We dropped this in favour of envdecode a while ago.
2022-07-14 16:34:25 +02:00