Ralf Haferkamp
4bdb3bf70f
proxy(sign_url_auth): Allow to verify server signed URLs
...
With the ocdav service being able to provided signed download URLs we
need the proxy to be able to verify the signatures.
This should also be a first step towards phasing out the weird ocs based
client side signed urls.
Related Tickets: #1104
2025-07-17 12:01:59 +02:00
Jannik Stehle
8290d8bf9d
Revert "Completely remove "edition" from capabilities"
...
This reverts commit 0c2da6e8fd .
2025-04-07 16:41:34 +02:00
Ralf Haferkamp
0c2da6e8fd
Completely remove "edition" from capabilities
...
This removes the "edition" value for the capabilities. We don't need that
anymore.
2025-03-19 15:34:38 +01:00
Jannik Stehle
08bba95428
feat: clear edition fallback
...
Clears the `edition` fallback on "Community" in the capabilities. We want to have this as empty string without any fallback.
2025-03-18 14:12:02 +01:00
Ralf Haferkamp
8e1f68f315
Reset 'introductionVersion" struct tag to 1.0.0
2025-02-24 11:40:33 +01:00
Jörn Friedrich Dreyer
d478ed424e
ocdav
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-16 17:10:34 +01:00
Jörn Friedrich Dreyer
db39b8ed3b
use opencloudurl
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-16 11:13:08 +01:00
Ralf Haferkamp
213e9663a9
Rename go-micro services
2025-01-16 09:45:46 +01:00
Jörn Friedrich Dreyer
5aa5ab843a
ociscfg -> occfg
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-14 12:44:00 +01:00
Jörn Friedrich Dreyer
b07b5a1149
use plain pkg module
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-13 16:42:19 +01:00
Jörn Friedrich Dreyer
a46fd132bd
use OC_ env prefix
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-13 16:11:11 +01:00
Jörn Friedrich Dreyer
8e028f17e9
change module name
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-13 09:58:18 +01:00
Christian Richter
aeb09f03e3
add new range for ocdav
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2024-10-23 12:28:56 +02:00
Christian Richter
26bf70a5b1
remove random default ports
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2024-10-23 11:12:20 +02:00
Thomas Müller
a8cbc612cc
chore: remove unused return value from BindSourcesToStructs ( #9033 )
2024-04-30 18:18:31 +02:00
Christian Richter
fe4cd7a901
make code more readable
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2024-03-19 14:21:21 +01:00
Christian Richter
b5ca297f54
prevent nil pointer
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2024-03-19 13:56:10 +01:00
Christian Richter
72916dc53c
adapt cors headers
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-03-19 10:54:58 +01:00
Phil Davis
0984c4af13
chore: set introductionVersion 5.0 in services/notifications and ocdav
2024-03-06 17:50:21 +05:45
Phil Davis
366b03e6e2
chore: adjust env var descriptions
...
Co-authored-by: Christian Richter <1058116+dragonchaser@users.noreply.github.com >
2024-03-06 17:50:20 +05:45
Phil Davis
6fcd049eb7
chore: add missing descriptions to env vars
2024-03-06 17:50:20 +05:45
Phil Davis
9d2be66a85
chore: add introductionVersion pre5.0 to environment variable docs
2024-03-06 17:50:20 +05:45
mmattel
5e74b50efb
[docs-only] Fix envvars with a array slice ([]string)
2023-11-09 12:22:59 +01:00
André Duffeck
668f917dba
Add an ocm service exposing the ocm related http and grpc APIs
2023-10-24 10:29:29 +02:00
Daniel Swärd
f805589e9d
Update sharing and ocdav tracing. ( #7014 )
2023-08-21 12:27:37 +02:00
Roman Perekhod
fb199e6fbf
Fix CORS issues
2023-07-28 11:12:42 +02:00
Christian Richter
b6b7d67121
Apply suggestions from code review
...
Co-authored-by: Martin <github@diemattels.at >
2023-07-24 17:07:37 +02:00
Christian Richter
df10baf339
fix typo
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2023-07-24 15:46:27 +02:00
Christian Richter
3eb6e74535
add missing options
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2023-07-24 15:15:01 +02:00
mmattel
6ad53971ef
[docs-only] Increase readability for log level values in the description
2023-07-07 10:33:42 +02:00
mmattel
d7b447b791
[docs-only] Increase readability for tracing values in the description
2023-07-07 09:50:39 +02:00
mmattel
758192bd6d
[docs-only] Fix some envvar descriptions
2023-06-09 13:03:17 +02:00
Michael Barz
86fbfa5d8c
make edition configurable
2023-05-08 09:46:41 +02:00
Michael Barz
e313248cee
add missing cors config
2023-04-03 17:29:49 +02: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
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
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
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
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
Willy Kloucek
02774a5378
add missing config descriptions
2022-07-08 15:32:26 +02:00
mmattel
246377b35b
Env variable text fixes
2022-07-07 19:53:27 +05:45
André Duffeck
9b40b6b152
Fix setting the ocdav machine auth api key from the common config
2022-07-05 11:46:01 +02:00
André Duffeck
c2b163afe6
Improve description of the machine auth api key config options
2022-07-05 11:05:33 +02:00
André Duffeck
17d7bee37d
Enable machine auth in ocdav
2022-07-05 11:01:48 +02:00
Willy Kloucek
f13d559eb5
Apply suggestions from code review
...
Co-authored-by: Martin <github@diemattels.at >
Co-authored-by: Phil Davis <phil@jankaritech.com >
2022-06-29 07:40:22 +02:00
Willy Kloucek
8f3b0c50cd
Merge branch 'master' into config-doc-descriptions
2022-06-28 13:03:19 +02:00
Christian Richter
f8f1320501
refactor extensions -> services
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2022-06-27 14:05:36 +02:00
Christian Richter
78064e6bab
rename folder extensions -> services
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2022-06-27 14:05:36 +02:00