From 8692cb34a3cd02bdfddaabddaaa49179ba852134 Mon Sep 17 00:00:00 2001 From: Michael Barz Date: Thu, 23 Jun 2022 14:16:57 +0000 Subject: [PATCH] commit a03c0239fe0fabb90446826a71bff1bb7e539733 Merge: 889acbfbf 2ac4a8090 Author: Michael Barz Date: Thu Jun 23 16:13:19 2022 +0200 Merge pull request #4023 from owncloud/resharing-conf add option to enable resharing --- extensions/_includes/adoc/frontend_configvars.adoc | 7 +++++++ extensions/_includes/frontend-config-example.yaml | 1 + extensions/_includes/frontend_configvars.md | 1 + grpc_apis/ocis/messages/search/v0/grpc.md | 2 +- grpc_apis/ocis/messages/settings/v0/grpc.md | 2 +- grpc_apis/ocis/messages/store/v0/grpc.md | 2 +- grpc_apis/ocis/messages/thumbnails/v0/grpc.md | 2 +- grpc_apis/ocis/services/search/v0/grpc.md | 2 +- grpc_apis/ocis/services/settings/v0/grpc.md | 2 +- grpc_apis/ocis/services/store/v0/grpc.md | 2 +- grpc_apis/ocis/services/thumbnails/v0/grpc.md | 2 +- 11 files changed, 17 insertions(+), 8 deletions(-) diff --git a/extensions/_includes/adoc/frontend_configvars.adoc b/extensions/_includes/adoc/frontend_configvars.adoc index 95ee53a069f..84acb02ac32 100644 --- a/extensions/_includes/adoc/frontend_configvars.adoc +++ b/extensions/_includes/adoc/frontend_configvars.adoc @@ -199,6 +199,13 @@ tus a| [subs=-attributes] The default upload protocol to use in the frontend (e.g. tus). +|`FRONTEND_ENABLE_RESHARING` +| bool +a| [subs=-attributes] +false +a| [subs=-attributes] +Disables the support for resharing in the frontend. + |`OCIS_URL` + `FRONTEND_PUBLIC_URL` | string diff --git a/extensions/_includes/frontend-config-example.yaml b/extensions/_includes/frontend-config-example.yaml index 78ecb068626..34ab8c9323b 100644 --- a/extensions/_includes/frontend-config-example.yaml +++ b/extensions/_includes/frontend-config-example.yaml @@ -33,6 +33,7 @@ enable_share_jail: true upload_max_chunk_size: 100000000 upload_http_method_override: "" default_upload_protocol: tus +enable_resharing: false public_url: https://localhost:9200 app_handler: insecure: false diff --git a/extensions/_includes/frontend_configvars.md b/extensions/_includes/frontend_configvars.md index 5cdd43dbd80..15d8d7ce1bb 100644 --- a/extensions/_includes/frontend_configvars.md +++ b/extensions/_includes/frontend_configvars.md @@ -28,6 +28,7 @@ | FRONTEND_UPLOAD_MAX_CHUNK_SIZE | int | 100000000 | Sets the max chunk sizes for uploads via the frontend.| | FRONTEND_UPLOAD_HTTP_METHOD_OVERRIDE | string | | Advise TUS to replace PATCH requests by POST requests.| | FRONTEND_DEFAULT_UPLOAD_PROTOCOL | string | tus | The default upload protocol to use in the frontend (e.g. tus).| +| FRONTEND_ENABLE_RESHARING | bool | false | Disables the support for resharing in the frontend.| | OCIS_URL
FRONTEND_PUBLIC_URL | string | https://localhost:9200 | The public facing url of the ocis frontend.| | OCIS_INSECURE
FRONTEND_APP_HANDLER_INSECURE | bool | false | Allow insecure connections to the frontend.| | FRONTEND_ARCHIVER_MAX_NUM_FILES | int64 | 10000 | Max number of files that can be packed into an archive.| diff --git a/grpc_apis/ocis/messages/search/v0/grpc.md b/grpc_apis/ocis/messages/search/v0/grpc.md index 6dec65aad88..0a1ecf0ec9d 100644 --- a/grpc_apis/ocis/messages/search/v0/grpc.md +++ b/grpc_apis/ocis/messages/search/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.search.v0" url: /grpc_apis/ocis_messages_search_v0 -date: 2022-06-23T13:29:00Z +date: 2022-06-23T14:15:31Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/messages/settings/v0/grpc.md b/grpc_apis/ocis/messages/settings/v0/grpc.md index ffdd724345a..c3bf39c13d3 100644 --- a/grpc_apis/ocis/messages/settings/v0/grpc.md +++ b/grpc_apis/ocis/messages/settings/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.settings.v0" url: /grpc_apis/ocis_messages_settings_v0 -date: 2022-06-23T13:29:00Z +date: 2022-06-23T14:15:31Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/messages/store/v0/grpc.md b/grpc_apis/ocis/messages/store/v0/grpc.md index d10899a2057..462a33bfbf8 100644 --- a/grpc_apis/ocis/messages/store/v0/grpc.md +++ b/grpc_apis/ocis/messages/store/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.store.v0" url: /grpc_apis/ocis_messages_store_v0 -date: 2022-06-23T13:29:00Z +date: 2022-06-23T14:15:31Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/messages/thumbnails/v0/grpc.md b/grpc_apis/ocis/messages/thumbnails/v0/grpc.md index 4a6fba50a4c..26f08a1bef8 100644 --- a/grpc_apis/ocis/messages/thumbnails/v0/grpc.md +++ b/grpc_apis/ocis/messages/thumbnails/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.thumbnails.v0" url: /grpc_apis/ocis_messages_thumbnails_v0 -date: 2022-06-23T13:29:00Z +date: 2022-06-23T14:15:31Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/search/v0/grpc.md b/grpc_apis/ocis/services/search/v0/grpc.md index e097a1ddcb4..3cb2913d353 100644 --- a/grpc_apis/ocis/services/search/v0/grpc.md +++ b/grpc_apis/ocis/services/search/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.search.v0" url: /grpc_apis/ocis_services_search_v0 -date: 2022-06-23T13:29:00Z +date: 2022-06-23T14:15:31Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/settings/v0/grpc.md b/grpc_apis/ocis/services/settings/v0/grpc.md index da9867a0d32..28086751bec 100644 --- a/grpc_apis/ocis/services/settings/v0/grpc.md +++ b/grpc_apis/ocis/services/settings/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.settings.v0" url: /grpc_apis/ocis_services_settings_v0 -date: 2022-06-23T13:29:00Z +date: 2022-06-23T14:15:31Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/store/v0/grpc.md b/grpc_apis/ocis/services/store/v0/grpc.md index 084ec4c00e5..ed9c1580bbe 100644 --- a/grpc_apis/ocis/services/store/v0/grpc.md +++ b/grpc_apis/ocis/services/store/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.store.v0" url: /grpc_apis/ocis_services_store_v0 -date: 2022-06-23T13:29:00Z +date: 2022-06-23T14:15:31Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/thumbnails/v0/grpc.md b/grpc_apis/ocis/services/thumbnails/v0/grpc.md index 33ae8e131f6..8dca6856233 100644 --- a/grpc_apis/ocis/services/thumbnails/v0/grpc.md +++ b/grpc_apis/ocis/services/thumbnails/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.thumbnails.v0" url: /grpc_apis/ocis_services_thumbnails_v0 -date: 2022-06-23T13:29:00Z +date: 2022-06-23T14:15:31Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis ---