Commit Graph

85 Commits

Author SHA1 Message Date
Andre Duffeck
129489203b Cleanup and improve the caching config (#6148)
* Cleanup and improve the caching config

* bump reva

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

* disable stat cache

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

* Bump reva

* Linter fixes

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-04-27 12:35:30 +02:00
Andre Duffeck
be569b7c59 [full-ci] More cache cleanup (#6134)
* Make env var names consistent with the others

* Remove unused OCS cache

* Use the same cache database for shared caches

* Bump reva
2023-04-25 15:46:59 +02:00
Martin
9bf4b3eb18 Merge pull request #6119 from owncloud/update_readme_caching
[docs-only] Add caching/storing info to services where missing
2023-04-24 15:13:49 +02:00
Andre Duffeck
77bb3d8bcd [full-ci] Refactor stores (#6019)
* Streamline the store implementation with and into reva

* Adapt to the cache/store refactoring in reva

* Streamline config options and their env vars

* Apply suggestions from code review

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

* Use the same database for all stores

* Bump reva

* Configure stat and filemetadata cache separately

* Fix default config

---------

Co-authored-by: Martin <github@diemattels.at>
2023-04-24 15:13:35 +02:00
EParzefall
e2686f90b9 spelling fixes 2023-04-24 13:55:10 +02:00
Edith Parzefall
6d7b13c7a5 Apply suggestions from code review
language review
2023-04-24 12:33:37 +02:00
mmattel
3d12979dd1 Add caching/storing info to services where missing 2023-04-24 12:13:44 +02:00
mmattel
84d2d8dae9 [docs-only] Fix texts and typos in README.md files 2023-04-23 10:02:27 +02:00
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
78d7381a71 Apply suggestions from code review
Co-authored-by: Martin <github@diemattels.at>
2023-04-19 09:32:53 +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
mmattel
b2504035e0 fix readme service names 2023-04-12 18:40:41 +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
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