feat: limit concurrent processing of thumbnail requests (#9252)

This commit is contained in:
Thomas Müller committed 2024-05-24 12:49:15 +00:00
1 parent e1226cb220
commit 45921cd49e
89 files changed
+145 -133

No files matched your search

@@ -1,7 +1,7 @@
---
title: "ocis.messages.eventhistory.v0"
url: /apis/grpc_apis/ocis_messages_eventhistory_v0
date: 2024-05-24T00:44:12Z
date: 2024-05-24T12:47:22Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.messages.policies.v0"
url: /apis/grpc_apis/ocis_messages_policies_v0
date: 2024-05-24T00:44:12Z
date: 2024-05-24T12:47:22Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.messages.search.v0"
url: /apis/grpc_apis/ocis_messages_search_v0
date: 2024-05-24T00:44:12Z
date: 2024-05-24T12:47:22Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.messages.settings.v0"
url: /apis/grpc_apis/ocis_messages_settings_v0
date: 2024-05-24T00:44:12Z
date: 2024-05-24T12:47:22Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.messages.store.v0"
url: /apis/grpc_apis/ocis_messages_store_v0
date: 2024-05-24T00:44:12Z
date: 2024-05-24T12:47:22Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.messages.thumbnails.v0"
url: /apis/grpc_apis/ocis_messages_thumbnails_v0
date: 2024-05-24T00:44:12Z
date: 2024-05-24T12:47:22Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.services.eventhistory.v0"
url: /apis/grpc_apis/ocis_services_eventhistory_v0
date: 2024-05-24T00:44:12Z
date: 2024-05-24T12:47:22Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.services.policies.v0"
url: /apis/grpc_apis/ocis_services_policies_v0
date: 2024-05-24T00:44:12Z
date: 2024-05-24T12:47:22Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.services.search.v0"
url: /apis/grpc_apis/ocis_services_search_v0
date: 2024-05-24T00:44:12Z
date: 2024-05-24T12:47:22Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.services.settings.v0"
url: /apis/grpc_apis/ocis_services_settings_v0
date: 2024-05-24T00:44:12Z
date: 2024-05-24T12:47:22Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.services.store.v0"
url: /apis/grpc_apis/ocis_services_store_v0
date: 2024-05-24T00:44:12Z
date: 2024-05-24T12:47:22Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.services.thumbnails.v0"
url: /apis/grpc_apis/ocis_services_thumbnails_v0
date: 2024-05-24T00:44:12Z
date: 2024-05-24T12:47:22Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
+8 -8
View File
@@ -59,6 +59,14 @@ variables:
and ''mdns'' are deprecated and will be removed in a later version. Only change
on supervision of ownCloud Support.'
do_ignore: false
- rawname: _registryAddressEnv
path: ocis-pkg/registry/registry.go:118
foundincode: true
name: MICRO_REGISTRY_ADDRESS
type: ""
default_value: ""
description: ""
do_ignore: true
- rawname: _registryAddressEnv
path: ocis-pkg/natsjsregistry/registry.go:145
foundincode: false
@@ -68,14 +76,6 @@ variables:
description: The bind address of the internal go micro framework. Only change on
supervision of ownCloud Support.
do_ignore: false
- rawname: _registryAddressEnv
path: ocis-pkg/registry/registry.go:118
foundincode: true
name: MICRO_REGISTRY_ADDRESS
type: ""
default_value: ""
description: ""
do_ignore: true
- rawname: _registryPasswordEnv
path: ocis-pkg/natsjsregistry/registry.go:163
foundincode: false
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the antivirus service
[width="100%",cols="~,~,~,~",options="header"]
@@ -245,7 +245,7 @@ a| [subs=-attributes]
The socket clamav is running on. Note the default value is an example which needs adaption according your OS.
a|`ANTIVIRUS_ICAP_TIMEOUT` +
xref:deprecation-note-2024-05-24-00-44-31[Deprecation Note]
xref:deprecation-note-2024-05-24-12-47-41[Deprecation Note]
a| [subs=-attributes]
++int64 ++
a| [subs=-attributes]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the app-provider service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the app-registry service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the audit service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the auth-basic service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the auth-bearer service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the auth-machine service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-32]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the auth-service service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the clientlog service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the eventhistory service
[width="100%",cols="~,~,~,~",options="header"]
@@ -43,6 +43,7 @@ a| [subs=-attributes]
++nats-js-kv ++
a| [subs=-attributes]
++The Go micro registry type to use. Supported types are: 'memory', 'nats-js-kv' (default) and 'kubernetes'. Note that 'nats', 'etcd', 'consul' and 'mdns' are deprecated and will be removed in a later version. Only change on supervision of ownCloud Support. ++
a| `MICRO_REGISTRY_ADDRESS` +
a| [subs=-attributes]
@@ -51,7 +52,6 @@ a| [subs=-attributes]
++127.0.0.1:9233 ++
a| [subs=-attributes]
++The bind address of the internal go micro framework. Only change on supervision of ownCloud Support. ++
a| `MICRO_REGISTRY_AUTH_PASSWORD` +
a| [subs=-attributes]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the frontend service
[width="100%",cols="~,~,~,~",options="header"]
@@ -327,7 +327,7 @@ The default upload protocol to use in clients. Currently only 'tus' is avaliable
a|`OCIS_ENABLE_RESHARING` +
`FRONTEND_ENABLE_RESHARING` +
xref:deprecation-note-2024-05-24-00-44-31[Deprecation Note]
xref:deprecation-note-2024-05-24-12-47-41[Deprecation Note]
a| [subs=-attributes]
++bool ++
a| [subs=-attributes]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the gateway service
[width="100%",cols="~,~,~,~",options="header"]
+11 -11
View File
@@ -24,7 +24,7 @@ a| [subs=-attributes]
++false ++
a| [subs=-attributes]
The default role assignments the demo users should be setup.
Flag to enable or disable the creation of the demo users.
a| `OCIS_ADMIN_USER_ID`
a| [subs=attributes+]
@@ -278,7 +278,7 @@ a| [subs=-attributes]
++[]string ++
a| [subs=-attributes]
++[Origin Accept Content-Type Depth Authorization Ocs-Apirequest If-None-Match If-Match Destination Overwrite X-Request-Id X-Requested-With Tus-Resumable Tus-Checksum-Algorithm Upload-Concat Upload-Length Upload-Metadata Upload-Defer-Length Upload-Expires Upload-Checksum Upload-Offset X-HTTP-Method-Override Cache-Control] ++
++[Authorization Origin Content-Type Accept X-Requested-With X-Request-Id Ocs-Apirequest] ++
a| [subs=-attributes]
A list of allowed CORS headers. See following chapter for more details: *Access-Control-Request-Headers* at \https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Headers. See the Environment Variable Types description for more details.
@@ -303,7 +303,7 @@ a| [subs=-attributes]
++[]string ++
a| [subs=-attributes]
++[OPTIONS HEAD GET PUT POST DELETE MKCOL PROPFIND PROPPATCH MOVE COPY REPORT SEARCH] ++
++[GET] ++
a| [subs=-attributes]
A list of allowed CORS methods. See following chapter for more details: *Access-Control-Request-Method* at \https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Method. See the Environment Variable Types description for more details.
@@ -402,7 +402,7 @@ a| [subs=-attributes]
++Community ++
a| [subs=-attributes]
Edition of oCIS. Used for branding purposes.
Edition of oCIS. Used for branding pruposes.
a| `OCIS_ENABLE_RESHARING`
a| [subs=attributes+]
@@ -417,7 +417,7 @@ a| [subs=-attributes]
++true ++
a| [subs=-attributes]
Changing this value is NOT supported. Enables the support for resharing.
Changing this value is NOT supported. Enables the support for resharing in the clients.
a| `OCIS_EVENTS_AUTH_PASSWORD`
a| [subs=attributes+]
@@ -573,7 +573,7 @@ a| [subs=-attributes]
++ ++
a| [subs=-attributes]
The root CA certificate used to validate the server's TLS certificate. If provided STORAGE_USERS_EVENTS_TLS_INSECURE will be seen as false.
The root CA certificate used to validate the server's TLS certificate. If provided NOTIFICATIONS_EVENTS_TLS_INSECURE will be seen as false.
a| `OCIS_GATEWAY_GRPC_ADDR`
a| [subs=attributes+]
@@ -757,7 +757,7 @@ a| [subs=-attributes]
++false ++
a| [subs=-attributes]
Allow insecure connections to the GATEWAY service.
Whether to verify the server TLS certificates.
a| `OCIS_JWT_SECRET`
a| [subs=attributes+]
@@ -1890,7 +1890,7 @@ a| [subs=-attributes]
++false ++
a| [subs=-attributes]
Set this to true if you want to enforce passwords on Uploader, Editor or Contributor shares. If not using the global OCIS_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD, you must define the FRONTEND_OCS_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD in the frontend service.
Set this to true if you want to enforce passwords for writable shares. Only effective if the setting for 'passwords on all public shares' is set to false.
a| `OCIS_SPACES_MAX_QUOTA`
a| [subs=attributes+]
@@ -1940,7 +1940,7 @@ a| [subs=-attributes]
++ ++
a| [subs=-attributes]
ID of the oCIS STORAGE-SYSTEM system user. Admins need to set the ID for the STORAGE-SYSTEM system user in this config option which is then used to reference the user. Any reasonable long string is possible, preferably this would be an UUIDv4 format.
ID of the oCIS storage-system system user. Admins need to set the ID for the STORAGE-SYSTEM system user in this config option which is then used to reference the user. Any reasonable long string is possible, preferably this would be an UUIDv4 format.
a| `OCIS_SYSTEM_USER_IDP`
a| [subs=attributes+]
@@ -2179,7 +2179,7 @@ a| [subs=-attributes]
++ ++
a| [subs=-attributes]
The storage transfer secret.
Transfer secret for signing file up- and download requests.
a| `OCIS_TRANSLATION_PATH`
a| [subs=attributes+]
@@ -2223,7 +2223,7 @@ a| [subs=-attributes]
++https://localhost:9200 ++
a| [subs=-attributes]
URL where oCIS is reachable for users.
The public facing URL of the oCIS Web UI, used e.g. when sending notification eMails
a| `STORAGE_USERS_ASYNC_PROPAGATOR_PROPAGATION_DELAY`
a| [subs=attributes+]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the graph service
[width="100%",cols="~,~,~,~",options="header"]
@@ -1023,7 +1023,7 @@ The service account secret.
a|`OCIS_ENABLE_RESHARING` +
`GRAPH_ENABLE_RESHARING` +
xref:deprecation-note-2024-05-24-00-44-31[Deprecation Note]
xref:deprecation-note-2024-05-24-12-47-41[Deprecation Note]
a| [subs=-attributes]
++bool ++
a| [subs=-attributes]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the groups service
[width="100%",cols="~,~,~,~",options="header"]
+1 -1
View File
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the idm service
[width="100%",cols="~,~,~,~",options="header"]
+1 -1
View File
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the idp service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the invitations service
[width="100%",cols="~,~,~,~",options="header"]
+1 -1
View File
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the nats service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the notifications service
[width="100%",cols="~,~,~,~",options="header"]
@@ -221,7 +221,7 @@ a| [subs=-attributes]
Authentication method for the SMTP communication. Possible values are 'login', 'plain', 'crammd5', 'none' or 'auto'. If set to 'auto' or unset, the authentication method is automatically negotiated with the server.
a|`NOTIFICATIONS_SMTP_ENCRYPTION` +
xref:deprecation-note-2024-05-24-00-44-31[Deprecation Note]
xref:deprecation-note-2024-05-24-12-47-41[Deprecation Note]
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the ocdav service
[width="100%",cols="~,~,~,~",options="header"]
+1 -1
View File
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the ocm service
[width="100%",cols="~,~,~,~",options="header"]
+1 -1
View File
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the ocs service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the policies service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the postprocessing service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the proxy service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-32]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the search service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the settings service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the sharing service
[width="100%",cols="~,~,~,~",options="header"]
@@ -283,7 +283,7 @@ Disables the loading of user's group memberships from the reva access token.
a|`OCIS_ENABLE_RESHARING` +
`SHARING_ENABLE_RESHARING` +
xref:deprecation-note-2024-05-24-00-44-31[Deprecation Note]
xref:deprecation-note-2024-05-24-12-47-41[Deprecation Note]
a| [subs=-attributes]
++bool ++
a| [subs=-attributes]
+1 -1
View File
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the sse service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the storage-publiclink service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the storage-shares service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the storage-system service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the storage-users service
[width="100%",cols="~,~,~,~",options="header"]
+15 -15
View File
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the store service
[width="100%",cols="~,~,~,~",options="header"]
@@ -98,7 +98,7 @@ endif::[]
a|`OCIS_TRACING_ENABLED` +
`STORE_TRACING_ENABLED` +
xref:deprecation-note-2024-05-24-00-44-31[Deprecation Note]
xref:deprecation-note-2024-05-24-12-47-41[Deprecation Note]
a| [subs=-attributes]
++bool ++
a| [subs=-attributes]
@@ -108,7 +108,7 @@ Activates tracing.
a|`OCIS_TRACING_TYPE` +
`STORE_TRACING_TYPE` +
xref:deprecation-note-2024-05-24-00-44-31[Deprecation Note]
xref:deprecation-note-2024-05-24-12-47-41[Deprecation Note]
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
@@ -118,7 +118,7 @@ The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed trac
a|`OCIS_TRACING_ENDPOINT` +
`STORE_TRACING_ENDPOINT` +
xref:deprecation-note-2024-05-24-00-44-31[Deprecation Note]
xref:deprecation-note-2024-05-24-12-47-41[Deprecation Note]
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
@@ -128,7 +128,7 @@ The endpoint of the tracing agent.
a|`OCIS_TRACING_COLLECTOR` +
`STORE_TRACING_COLLECTOR` +
xref:deprecation-note-2024-05-24-00-44-31[Deprecation Note]
xref:deprecation-note-2024-05-24-12-47-41[Deprecation Note]
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
@@ -138,7 +138,7 @@ The HTTP endpoint for sending spans directly to a collector, i.e. \http://jaeger
a|`OCIS_LOG_LEVEL` +
`STORE_LOG_LEVEL` +
xref:deprecation-note-2024-05-24-00-44-31[Deprecation Note]
xref:deprecation-note-2024-05-24-12-47-41[Deprecation Note]
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
@@ -148,7 +148,7 @@ The log level. Valid values are: 'panic', 'fatal', 'error', 'warn', 'info', 'deb
a|`OCIS_LOG_PRETTY` +
`STORE_LOG_PRETTY` +
xref:deprecation-note-2024-05-24-00-44-31[Deprecation Note]
xref:deprecation-note-2024-05-24-12-47-41[Deprecation Note]
a| [subs=-attributes]
++bool ++
a| [subs=-attributes]
@@ -158,7 +158,7 @@ Activates pretty log output.
a|`OCIS_LOG_COLOR` +
`STORE_LOG_COLOR` +
xref:deprecation-note-2024-05-24-00-44-31[Deprecation Note]
xref:deprecation-note-2024-05-24-12-47-41[Deprecation Note]
a| [subs=-attributes]
++bool ++
a| [subs=-attributes]
@@ -168,7 +168,7 @@ Activates colorized log output.
a|`OCIS_LOG_FILE` +
`STORE_LOG_FILE` +
xref:deprecation-note-2024-05-24-00-44-31[Deprecation Note]
xref:deprecation-note-2024-05-24-12-47-41[Deprecation Note]
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
@@ -177,7 +177,7 @@ a| [subs=-attributes]
The path to the log file. Activates logging to this file if set.
a|`STORE_DEBUG_ADDR` +
xref:deprecation-note-2024-05-24-00-44-31[Deprecation Note]
xref:deprecation-note-2024-05-24-12-47-41[Deprecation Note]
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
@@ -186,7 +186,7 @@ a| [subs=-attributes]
Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed.
a|`STORE_DEBUG_TOKEN` +
xref:deprecation-note-2024-05-24-00-44-31[Deprecation Note]
xref:deprecation-note-2024-05-24-12-47-41[Deprecation Note]
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
@@ -195,7 +195,7 @@ a| [subs=-attributes]
Token to secure the metrics endpoint.
a|`STORE_DEBUG_PPROF` +
xref:deprecation-note-2024-05-24-00-44-31[Deprecation Note]
xref:deprecation-note-2024-05-24-12-47-41[Deprecation Note]
a| [subs=-attributes]
++bool ++
a| [subs=-attributes]
@@ -204,7 +204,7 @@ a| [subs=-attributes]
Enables pprof, which can be used for profiling.
a|`STORE_DEBUG_ZPAGES` +
xref:deprecation-note-2024-05-24-00-44-31[Deprecation Note]
xref:deprecation-note-2024-05-24-12-47-41[Deprecation Note]
a| [subs=-attributes]
++bool ++
a| [subs=-attributes]
@@ -213,7 +213,7 @@ a| [subs=-attributes]
Enables zpages, which can be used for collecting and viewing in-memory traces.
a|`STORE_GRPC_ADDR` +
xref:deprecation-note-2024-05-24-00-44-31[Deprecation Note]
xref:deprecation-note-2024-05-24-12-47-41[Deprecation Note]
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
@@ -222,7 +222,7 @@ a| [subs=-attributes]
The bind address of the GRPC service.
a|`STORE_DATA_PATH` +
xref:deprecation-note-2024-05-24-00-44-31[Deprecation Note]
xref:deprecation-note-2024-05-24-12-47-41[Deprecation Note]
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the thumbnails service
[width="100%",cols="~,~,~,~",options="header"]
@@ -196,6 +196,15 @@ a| [subs=-attributes]
a| [subs=-attributes]
Subdirectory that serves as the root for this HTTP service.
a|`THUMBNAILS_MAX_CONCURRENT_REQUESTS` +
a| [subs=-attributes]
++int ++
a| [subs=-attributes]
++0 ++
a| [subs=-attributes]
Number of maximum concurrent thumbnail requests. Default is 0 which is unlimited.
a|`THUMBNAILS_RESOLUTIONS` +
a| [subs=-attributes]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the userlog service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the users service
[width="100%",cols="~,~,~,~",options="header"]
+1 -1
View File
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the web service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-32]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the webdav service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-05-24-00-44-31]
[#deprecation-note-2024-05-24-12-47-41]
[caption=]
.Deprecation notes for the webfinger service
[width="100%",cols="~,~,~,~",options="header"]
@@ -26,6 +26,7 @@ http:
cert: ""
key: ""
root: /thumbnails
max_concurrent_requests: 0
grpc_client_tls: null
thumbnail:
resolutions:
@@ -20,6 +20,7 @@
| OCIS_HTTP_TLS_CERTIFICATE | string | | Path/File name of the TLS server certificate (in PEM format) for the http services.|
| OCIS_HTTP_TLS_KEY | string | | Path/File name for the TLS certificate key (in PEM format) for the server certificate to use for the http services.|
| THUMBNAILS_HTTP_ROOT | string | /thumbnails | Subdirectory that serves as the root for this HTTP service.|
| THUMBNAILS_MAX_CONCURRENT_REQUESTS | int | 0 | Number of maximum concurrent thumbnail requests. Default is 0 which is unlimited.|
| THUMBNAILS_RESOLUTIONS | []string | [16x16 32x32 64x64 128x128 1080x1920 1920x1080 2160x3840 3840x2160 4320x7680 7680x4320] | The supported list of target resolutions in the format WidthxHeight like 32x32. You can define any resolution as required. See the Environment Variable Types description for more details.|
| THUMBNAILS_FILESYSTEMSTORAGE_ROOT | string | /var/lib/ocis/thumbnails | The directory where the filesystem storage will store the thumbnails. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH:/thumbnails.|
| OCIS_INSECURE<br/>THUMBNAILS_WEBDAVSOURCE_INSECURE | bool | false | Ignore untrusted SSL certificates when connecting to the webdav source.|
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Antivirus
date: 2024-05-24T00:44:35.486089077Z
date: 2024-05-24T12:47:42.514105343Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/antivirus
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Audit
date: 2024-05-24T00:44:35.486274293Z
date: 2024-05-24T12:47:42.514281974Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/audit
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Auth-Basic
date: 2024-05-24T00:44:35.486362998Z
date: 2024-05-24T12:47:42.514366262Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/auth-basic
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Auth-Bearer
date: 2024-05-24T00:44:35.486475768Z
date: 2024-05-24T12:47:42.51447218Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/auth-bearer
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Auth-Machine
date: 2024-05-24T00:44:35.486562198Z
date: 2024-05-24T12:47:42.514562842Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/auth-machine
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Auth-Service
date: 2024-05-24T00:44:35.486695737Z
date: 2024-05-24T12:47:42.514650756Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/auth-service
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Clientlog Service
date: 2024-05-24T00:44:35.486828866Z
date: 2024-05-24T12:47:42.514808933Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/clientlog
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Eventhistory
date: 2024-05-24T00:44:35.486941415Z
date: 2024-05-24T12:47:42.514936973Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/eventhistory
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Frontend
date: 2024-05-24T00:44:35.487055829Z
date: 2024-05-24T12:47:42.515051669Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/frontend
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Gateway
date: 2024-05-24T00:44:35.487205898Z
date: 2024-05-24T12:47:42.515181283Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/gateway
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Graph
date: 2024-05-24T00:44:35.487294503Z
date: 2024-05-24T12:47:42.51530265Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/graph
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: IDM
date: 2024-05-24T00:44:35.487399739Z
date: 2024-05-24T12:47:42.515406204Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/idm
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: IDP
date: 2024-05-24T00:44:35.487483755Z
date: 2024-05-24T12:47:42.515495081Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/idp
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Invitations
date: 2024-05-24T00:44:35.487567631Z
date: 2024-05-24T12:47:42.515575923Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/invitations
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Nats
date: 2024-05-24T00:44:35.48768457Z
date: 2024-05-24T12:47:42.515691189Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/nats
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Notification
date: 2024-05-24T00:44:35.487786941Z
date: 2024-05-24T12:47:42.515794663Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/notifications
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: ocDAV
date: 2024-05-24T00:44:35.487892136Z
date: 2024-05-24T12:47:42.515902616Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/ocdav
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: OCM
date: 2024-05-24T00:44:35.488019584Z
date: 2024-05-24T12:47:42.515993977Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/ocm
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: OCS Service
date: 2024-05-24T00:44:35.488127374Z
date: 2024-05-24T12:47:42.51609626Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/ocs
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Policies
date: 2024-05-24T00:44:35.488244403Z
date: 2024-05-24T12:47:42.516210795Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/policies
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Postprocessing
date: 2024-05-24T00:44:35.488397297Z
date: 2024-05-24T12:47:42.516358702Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/postprocessing
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Proxy
date: 2024-05-24T00:44:35.489242703Z
date: 2024-05-24T12:47:42.516532979Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/proxy
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Search
date: 2024-05-24T00:44:35.489446112Z
date: 2024-05-24T12:47:42.516770946Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/search
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Settings
date: 2024-05-24T00:44:35.48966537Z
date: 2024-05-24T12:47:42.516945093Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/settings
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: SSE
date: 2024-05-24T00:44:35.489783471Z
date: 2024-05-24T12:47:42.517061561Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/sse
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Storage-System
date: 2024-05-24T00:44:35.489866265Z
date: 2024-05-24T12:47:42.517150028Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/storage-system
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Storage-Users
date: 2024-05-24T00:44:35.48999278Z
date: 2024-05-24T12:47:42.517983482Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/storage-users
+12 -11
View File
@@ -1,6 +1,6 @@
---
title: Thumbnails
date: 2024-05-24T00:44:35.491762197Z
date: 2024-05-24T12:47:42.518742307Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/thumbnails
@@ -68,19 +68,19 @@ Thumbnails can either be generated as `png`, `jpg` or `gif` files. These types a
## Thumbnail Query String Parameters
Clients can request thumbnail previews for files by adding `?preview=1` to the file URL. Requests for files with thumbnail availabe respond with HTTP status `404`.
Clients can request thumbnail previews for files by adding `?preview=1` to the file URL. Requests for files with thumbnail available respond with HTTP status `404`.
The following query parameters are supported:
| Parameter | Required | Default Value | Description |
| --------- | -------- | ---------------------------------------------------- | ------------------------------------------------------------------------------- |
|-----------|----------|------------------------------------------------------|---------------------------------------------------------------------------------|
| preview | YES | 1 | generates preview |
| x | YES | first x-value configured in `THUMBNAILS_RESOLUTIONS` | horizontal target size |
| y | YES | first y-value configured in `THUMBNAILS_RESOLUTIONS` | vertical target size |
| scalingup | NO | 0 | prevents upscaling of small images |
| scalingup | NO | 0 | prevents up-scaling of small images |
| a | NO | 1 | aspect ratio |
| c | NO | Caching string | Clients should send the etag, so they get a fresh thumbnail after a file change |
| processor | NO | `resize` for gif's and `thumbnail` for all others | preferred thumbnail processor |
| processor | NO | `resize` for gifs and `thumbnail` for all others | preferred thumbnail processor |
## Thumbnail Resolution
@@ -88,21 +88,21 @@ Various resolutions can be defined via `THUMBNAILS_RESOLUTIONS`. A requestor can
Example:
Requested: 18x12
Available: 30x20, 15x10, 9x6
Returned: 15x10
Requested: 18x12
Available: 30x20, 15x10, 9x6
Returned: 15x10
## Thumbnail Processors
Normally, an image might get cropped when creating a preview, depending on the aspect ratio of the original image. This can have negative
Normally, an image might get cropped when creating a preview, depending on the aspect ratio of the original image. This can have negative
impacts on previews as only a part of the image will be shown. When using an _optional_ processor in the request, cropping can be avoided by defining on how the preview image generation will be done. The following processors are available:
* `resize` resizes the image to the specified width and height and returns the transformed image. If one of width or height is 0, the image aspect ratio is preserved.
* `fit` scales down the image to fit the specified maximum width and height and returns the transformed image.
* `fill`: creates an image with the specified dimensions and fills it with the scaled source image. To achieve the correct aspect ratio without stretching, the source image will be cropped.
* `thumbnail` scales the image up or down, crops it to the specified width and hight and returns the transformed image.
* `thumbnail` scales the image up or down, crops it to the specified width and height and returns the transformed image.
To apply one of those, a query parameter has to be added to the request, like `?processor=fit`. If no query parameter or processor is added, the default behaviour applies which is `resize` for gif's and `thumbnail` for all others.
To apply one of those, a query parameter has to be added to the request, like `?processor=fit`. If no query parameter or processor is added, the default behaviour applies which is `resize` for gifs and `thumbnail` for all others.
## Deleting Thumbnails
@@ -111,6 +111,7 @@ As of now, there is no automated thumbnail deletion. This is especially true whe
## Memory Considerations
Since source files need to be loaded into memory when generating thumbnails, large source files could potentially crash this service if there is insufficient memory available. For bigger instances when using container orchestration deployment methods, this service can be dedicated to its own server(s) with more memory.
To have more control over memory (and CPU) consumption the maximum number of concurrent requests can be limited by setting the environment variable `THUMBNAILS_MAX_CONCURRENT_REQUESTS`. The default value is 0 which does not apply any restrictions to the number of concurrent requests. As soon as the number of concurrent requests is reached any further request will be responded with `429/Too Many Requests` and the client can retry at a later point in time.
## Example Yaml Config
{{< include file="services/_includes/thumbnails-config-example.yaml" language="yaml" >}}
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Userlog
date: 2024-05-24T00:44:35.491943575Z
date: 2024-05-24T12:47:42.518890645Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/userlog
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Web
date: 2024-05-24T00:44:35.492084006Z
date: 2024-05-24T12:47:42.519012674Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/web
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Webdav
date: 2024-05-24T00:44:35.492183091Z
date: 2024-05-24T12:47:42.519104175Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/webdav
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Webfinger
date: 2024-05-24T00:44:35.492286484Z
date: 2024-05-24T12:47:42.519259126Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/webfinger