Commit Graph
36 Commits
Author SHA1 Message Date
Martin a02e5b74af fix: [master only] correct the introduction version of one envvar (#12873) 2026-09-02 11:41:27 +00:00
Matteo 380273bb84 Feat/ocisdev 949/disable direct sharing (#12542)
* build(deps): [OCISDEV-949] bump reva to v2.0.0-20260709150645-a9d5432e6f7f

Includes owncloud/reva#651, which adds the enable_user_sharing and
enable_public_sharing config options this feature depends on.

* feat: [OCISDEV-949] add options to disable direct and public sharing

Adds two independent, per-deployment config options:

- OCIS_ENABLE_USER_SHARING (default true), read by the frontend, graph,
  sharing and ocm services. When false, creating new user, group or
  federated shares is rejected (via reva's usershareprovider and
  ocmshareprovider, and via the graph Invite endpoint for the modern web
  client), the legacy sharees search endpoint returns no results, and
  the files_sharing.user.enabled / user_enumeration.enabled capabilities
  report false so the web UI hides the "share with people" search.
  Space membership invites are exempt.

- OCIS_ENABLE_PUBLIC_SHARING (default true), read by the frontend and
  sharing services. When false, creating new public links is rejected
  via reva's publicshareprovider, and files_sharing.public.enabled
  reports false so the web UI hides public link creation.

The two settings are fully independent of each other.
2026-07-10 11:59:08 +02:00
Roman Perekhod f110944ef2 fix: [OCISDEV-879] fix the config mask (#12397) 2026-06-12 10:21:59 +02:00
Juan Pablo Villafáñez 7f4aaac0d1 fix: change "ocisConfig" to "yaml" var tags in the config files 2025-07-16 10:00:01 +02:00
Juan Pablo Villafáñez 641fa42f8d chore: add otlp as supported tracing type
This is just for documentation purposes. There is no code change.
2025-07-14 15:29:16 +02:00
Ralf Haferkamp 0d88a68c79 fix(ocm): add data_server_url to ocm storage provider
Fixes: #10358
2024-10-30 16:45:51 +01:00
Jörn Friedrich Dreyer ad43ae824c delete unused trap
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-10-28 14:47:11 +01:00
Ralf Haferkamp f48e549929 Remove 'OCM_OCM_PROVIDER_AUTHORIZER_VERIFY_REQUEST_HOSTNAME' setting
The feature never really worked correctly and it's added value is at least
arguable.

Fixes #10355
2024-10-28 11:29:35 +01:00
Ralf Haferkamp 04c2dcd427 Revert "use secure config defaults for OCM"
This reverts commit 59589cd7d3.
2024-10-28 11:06:17 +01:00
Jörn Friedrich Dreyer 59589cd7d3 use secure config defaults for OCM
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-10-15 16:49:57 +02:00
Juergen Weigert 33f5ed9035 fix: remove colons after an env var, to form proper path names in descriptions. 2024-10-02 09:09:47 +02:00
Jörn Friedrich Dreyer dbf87bb880 fix ocm token
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-09-13 15:21:07 +02:00
Florian Schade 194921eb0c enhancement: handle ocm event notifications 2024-09-05 17:28:27 +02:00
Martin Mattel aa58143fb6 [docs-only] Small fix for ocm envvar description text 2024-09-03 08:59:35 +02:00
Martin Mattel cb033222f4 [docs-only] Small ocm text fix 2024-09-02 13:18:38 +02:00
Jörn Friedrich DreyerandMartin e552196042 update gateway service endpoint descriptions
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Update services/gateway/README.md

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

fix env tag

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-26 11:03:44 +02:00
mmattel 1a5d49c04d [docs-only] Update ennvar text and readme in ocm 2024-08-19 13:52:05 +02:00
Jörn Friedrich Dreyer b7fdc59f21 change ocmproviders defaultconfig path
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-12 12:27:05 +02:00
Jörn Friedrich Dreyer 9d0af6f281 configurable ocm timeouts
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-06-24 10:49:49 +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 4cfb0fd504 chore: set introductionVersion 5.0 in services/ocm 2024-03-06 17:50:21 +05:45
Phil Davis 9d2be66a85 chore: add introductionVersion pre5.0 to environment variable docs 2024-03-06 17:50:20 +05:45
Jörn Friedrich Dreyer 972adafd29 verify all system accounts are set
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-02-29 15:51:37 +01:00
Andre Duffeck 5749348b11 [full-ci] Ocm tus (#7998)
* Add service account configuration for the ocm service

* Bump reva

* Add changelog
2023-12-18 10:05:31 +01:00
André Duffeck 5cb059db46 Fix yaml tag 2023-12-14 12:58:22 +01:00
André Duffeck 2ffec5c79f Give the ocm storage provider some storage space 2023-12-14 09:30:41 +01:00
André Duffeck 15051c99ad Allow for disabling the certificate check for webdav connections 2023-12-14 09:30:41 +01:00
André Duffeck 4a16b3b644 Expose variable to configure webapp template 2023-12-14 09:30:41 +01:00
André Duffeck 73c0b022b3 Make mesh directory URL configurable (empty by default) 2023-12-14 09:30:41 +01:00
mmattel 23d71bc957 [docs-only] Fix ocm service envvar descriptions 2023-11-10 13:19:48 +01:00
André Duffeck 2233394f24 Fix env var 2023-11-06 08:29:55 +01:00
André Duffeck c5560a75d7 Streamline ocm env vars 2023-10-25 09:04:45 +02:00
André Duffeck 668f917dba Add an ocm service exposing the ocm related http and grpc APIs 2023-10-24 10:29:29 +02:00