Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ac399eb8d8 | ||
|
|
fe6a3f5d0a | ||
|
|
85ffd6e943 | ||
|
|
49c897e37a | ||
|
|
4ea18e907d | ||
|
|
1d41c091a9 |
No files matched your search
@@ -0,0 +1,11 @@
|
||||
Bugfix: Keep the web session on transient network errors during context init
|
||||
|
||||
We've fixed a bug in the web frontend where a temporary connectivity failure (e.g. a
|
||||
fast page reload cancelling in-flight requests, or a short offline period) while
|
||||
re-establishing the authenticated context on page load was treated like an expired or
|
||||
invalid token. This forced a full logout and redirected the user to the "trouble
|
||||
connecting to the login service" page. Network/connectivity errors now preserve the
|
||||
existing session, while genuine authentication rejections (e.g. a 401) still trigger
|
||||
the regular logout flow as before.
|
||||
|
||||
https://github.com/owncloud/web/issues/12980
|
||||
@@ -0,0 +1,7 @@
|
||||
Enhancement: Configurable logo click-through URL
|
||||
|
||||
We've added an optional `href` field to the `logo` theme configuration. When set,
|
||||
clicking the topbar logo navigates to the configured URL instead of the default
|
||||
files navigation. When not set, the existing default behavior is unchanged.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/OCISDEV-950
|
||||
@@ -0,0 +1,16 @@
|
||||
Enhancement: Allow disabling the last sign-in timestamp update
|
||||
|
||||
The graph service maintains the 'oCLastSignInTimestamp' LDAP attribute of a user
|
||||
on every sign-in (when the LDAP identity backend has write access). This can
|
||||
cause a significant amount of LDAP write load, especially when the proxy's OIDC
|
||||
userinfo cache has a short TTL and sign-in events are emitted frequently.
|
||||
|
||||
A new setting 'OCIS_LDAP_UPDATE_LAST_SIGNIN_DATE' / 'GRAPH_LDAP_UPDATE_LAST_SIGNIN_DATE'
|
||||
(default 'true') allows disabling the update of the last sign-in timestamp
|
||||
without having to disable all LDAP writes ('OCIS_LDAP_SERVER_WRITE_ENABLED') or
|
||||
the graph events consumer. When set to 'false' the graph service no longer
|
||||
listens for 'UserSignedIn' events and does not write the 'oCLastSignInTimestamp'
|
||||
attribute.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12522
|
||||
https://github.com/owncloud/ocis/issues/9942
|
||||
@@ -31,21 +31,21 @@ from urllib.request import urlopen
|
||||
# tagged versions must be of format: 'tags/v7.1.0'
|
||||
# branches are different, master or stable-x.y: 'heads/master'
|
||||
# stick with master because the follow up process is much easier and you avoid confusion
|
||||
versionOld: str = 'tags/v8.0.0'
|
||||
versionOld: str = 'tags/v8.1.0'
|
||||
versionNew: str = 'heads/master'
|
||||
|
||||
# CHANGE according your needs
|
||||
from_version: str = '8.0.0'
|
||||
to_version: str = '8.1.0'
|
||||
from_version: str = '8.1.0'
|
||||
to_version: str = '8.2.0'
|
||||
|
||||
# CHANGE according your needs
|
||||
# this will create files like 5.0.0-7.0.0-added and 5.0.0-7.0.0-removed
|
||||
# this should match which versions you compare. master is ok if that is the base for a named release
|
||||
nameComponent: str = '8.0.0-8.1.0'
|
||||
nameComponent: str = '8.1.0-8.2.0'
|
||||
|
||||
# ADD new elements when a new version has been published so that it gets excluded
|
||||
# array of version patterns to be excluded for added items. we dont need patch versions
|
||||
excludePattern: list[str] = ['pre5.0', '5.0', '6.0', '6.0.0', '6.0.1', '6.1.0', '6.7', '7.0', '7.0.0', '7.1.0', '7.2.0', '7.3.0', '8.0.0']
|
||||
excludePattern: list[str] = ['pre5.0', '5.0', '6.0', '6.0.0', '6.0.1', '6.1.0', '6.7', '7.0', '7.0.0', '7.1.0', '7.2.0', '7.3.0', '8.0.0', '8.1.0']
|
||||
|
||||
# DO NOT CHANGE
|
||||
# this is the path the added/removed result is written to
|
||||
|
||||
+165
-146
@@ -5412,6 +5412,21 @@ GRAPH_MAX_CONCURRENCY:
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
GRAPH_RECEIVED_SHARES_STAT_TIMEOUT:
|
||||
name: GRAPH_RECEIVED_SHARES_STAT_TIMEOUT
|
||||
defaultValue: 10s
|
||||
type: Duration
|
||||
description: The maximum duration to wait for the storage to respond while resolving
|
||||
a single received share's resource when listing 'sharedWithMe'. Bounding each
|
||||
resource lookup individually prevents one slow or unreachable resource from consuming
|
||||
the request deadline shared by all the other shares. A share whose resource cannot
|
||||
be statted within this time is still listed as a degraded item instead of being
|
||||
dropped. Defaults to '10s'. See the Environment Variable Types description for
|
||||
more details.
|
||||
introductionVersion: NEXT
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
GRAPH_SERVICE_ACCOUNT_ID:
|
||||
name: OCIS_SERVICE_ACCOUNT_ID;GRAPH_SERVICE_ACCOUNT_ID
|
||||
defaultValue: ""
|
||||
@@ -7946,12 +7961,12 @@ OCDAV_WEBDAV_NAMESPACE:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_ADMIN_USER_ID:
|
||||
name: OCIS_ADMIN_USER_ID;SETTINGS_ADMIN_USER_ID
|
||||
name: OCIS_ADMIN_USER_ID;STORAGE_USERS_PURGE_TRASH_BIN_USER_ID
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: ID of the user that should receive admin privileges. Consider that
|
||||
the UUID can be encoded in some LDAP deployment configurations like in .ldif files.
|
||||
These need to be decoded beforehand.
|
||||
description: ID of the user who collects all necessary information for deletion.
|
||||
Consider that the UUID can be encoded in some LDAP deployment configurations like
|
||||
in .ldif files. These need to be decoded beforehand.
|
||||
introductionVersion: pre5.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
@@ -7967,7 +7982,7 @@ OCIS_ASSET_THEMES_PATH:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_ASYNC_UPLOADS:
|
||||
name: OCIS_ASYNC_UPLOADS;SEARCH_EVENTS_ASYNC_UPLOADS
|
||||
name: OCIS_ASYNC_UPLOADS
|
||||
defaultValue: "true"
|
||||
type: bool
|
||||
description: Enable asynchronous file uploads.
|
||||
@@ -7976,28 +7991,28 @@ OCIS_ASYNC_UPLOADS:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_CACHE_AUTH_PASSWORD:
|
||||
name: OCIS_CACHE_AUTH_PASSWORD;GRAPH_CACHE_AUTH_PASSWORD
|
||||
name: OCIS_CACHE_AUTH_PASSWORD;STORAGE_USERS_ID_CACHE_AUTH_PASSWORD
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The password to authenticate with the cache. Only applies when store
|
||||
type 'nats-js-kv' is configured.
|
||||
description: The password to authenticate with the cache store. Only applies when
|
||||
store type 'nats-js-kv' is configured.
|
||||
introductionVersion: "5.0"
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_CACHE_AUTH_USERNAME:
|
||||
name: OCIS_CACHE_AUTH_USERNAME;GRAPH_CACHE_AUTH_USERNAME
|
||||
name: OCIS_CACHE_AUTH_USERNAME;STORAGE_USERS_ID_CACHE_AUTH_USERNAME
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The username to authenticate with the cache. Only applies when store
|
||||
type 'nats-js-kv' is configured.
|
||||
description: The username to authenticate with the cache store. Only applies when
|
||||
store type 'nats-js-kv' is configured.
|
||||
introductionVersion: "5.0"
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_CACHE_DATABASE:
|
||||
name: OCIS_CACHE_DATABASE
|
||||
defaultValue: cache-providers
|
||||
defaultValue: ids-storage-users
|
||||
type: string
|
||||
description: The database name the configured store should use.
|
||||
introductionVersion: pre5.0
|
||||
@@ -8005,7 +8020,7 @@ OCIS_CACHE_DATABASE:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_CACHE_DISABLE_PERSISTENCE:
|
||||
name: OCIS_CACHE_DISABLE_PERSISTENCE;GRAPH_CACHE_DISABLE_PERSISTENCE
|
||||
name: OCIS_CACHE_DISABLE_PERSISTENCE;STORAGE_USERS_ID_CACHE_DISABLE_PERSISTENCE
|
||||
defaultValue: "false"
|
||||
type: bool
|
||||
description: Disables persistence of the cache. Only applies when store type 'nats-js-kv'
|
||||
@@ -8015,7 +8030,7 @@ OCIS_CACHE_DISABLE_PERSISTENCE:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_CACHE_STORE:
|
||||
name: OCIS_CACHE_STORE;GRAPH_CACHE_STORE
|
||||
name: OCIS_CACHE_STORE;STORAGE_USERS_ID_CACHE_STORE
|
||||
defaultValue: memory
|
||||
type: string
|
||||
description: 'The type of the cache store. Supported values are: ''memory'', ''redis-sentinel'',
|
||||
@@ -8025,11 +8040,11 @@ OCIS_CACHE_STORE:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_CACHE_STORE_NODES:
|
||||
name: OCIS_CACHE_STORE_NODES;GRAPH_CACHE_STORE_NODES
|
||||
name: OCIS_CACHE_STORE_NODES;STORAGE_USERS_ID_CACHE_STORE_NODES
|
||||
defaultValue: '[127.0.0.1:9233]'
|
||||
type: '[]string'
|
||||
description: A list of nodes to access the configured store. This has no effect
|
||||
when 'memory' store are configured. Note that the behaviour how nodes are used
|
||||
when 'memory' store is configured. Note that the behaviour how nodes are used
|
||||
is dependent on the library of the configured store. See the Environment Variable
|
||||
Types description for more details.
|
||||
introductionVersion: pre5.0
|
||||
@@ -8037,11 +8052,13 @@ OCIS_CACHE_STORE_NODES:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_CACHE_TTL:
|
||||
name: OCIS_CACHE_TTL;GRAPH_CACHE_TTL
|
||||
defaultValue: 336h0m0s
|
||||
name: OCIS_CACHE_TTL;STORAGE_USERS_ID_CACHE_TTL
|
||||
defaultValue: 24m0s
|
||||
type: Duration
|
||||
description: Time to live for cache records in the graph. Defaults to '336h' (2
|
||||
weeks). See the Environment Variable Types description for more details.
|
||||
description: Default time to live for user info in the user info cache. Only applied
|
||||
when access tokens have no expiration. Defaults to 300s which is derived from
|
||||
the underlaying package though not explicitly set as default. See the Environment
|
||||
Variable Types description for more details.
|
||||
introductionVersion: pre5.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
@@ -8084,8 +8101,8 @@ OCIS_CLAIM_MANAGED_SPACES_REGEXP:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_CORS_ALLOW_CREDENTIALS:
|
||||
name: OCIS_CORS_ALLOW_CREDENTIALS;ACTIVITYLOG_CORS_ALLOW_CREDENTIALS
|
||||
defaultValue: "true"
|
||||
name: OCIS_CORS_ALLOW_CREDENTIALS;STORAGE_USERS_CORS_ALLOW_CREDENTIALS
|
||||
defaultValue: "false"
|
||||
type: bool
|
||||
description: 'Allow credentials for CORS.See following chapter for more details:
|
||||
*Access-Control-Allow-Credentials* at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials.'
|
||||
@@ -8094,9 +8111,10 @@ OCIS_CORS_ALLOW_CREDENTIALS:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_CORS_ALLOW_HEADERS:
|
||||
name: OCIS_CORS_ALLOW_HEADERS;ACTIVITYLOG_CORS_ALLOW_HEADERS
|
||||
defaultValue: '[Authorization Origin Content-Type Accept X-Requested-With X-Request-Id
|
||||
Ocs-Apirequest]'
|
||||
name: OCIS_CORS_ALLOW_HEADERS;STORAGE_USERS_CORS_ALLOW_HEADERS
|
||||
defaultValue: '[Authorization Origin X-Requested-With X-Request-Id X-HTTP-Method-Override
|
||||
Content-Type Upload-Length Upload-Offset Tus-Resumable Upload-Metadata Upload-Defer-Length
|
||||
Upload-Concat Upload-Incomplete Upload-Draft-Interop-Version]'
|
||||
type: '[]string'
|
||||
description: '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.
|
||||
@@ -8106,8 +8124,8 @@ OCIS_CORS_ALLOW_HEADERS:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_CORS_ALLOW_METHODS:
|
||||
name: OCIS_CORS_ALLOW_METHODS;ACTIVITYLOG_CORS_ALLOW_METHODS
|
||||
defaultValue: '[GET]'
|
||||
name: OCIS_CORS_ALLOW_METHODS;STORAGE_USERS_CORS_ALLOW_METHODS
|
||||
defaultValue: '[POST HEAD PATCH OPTIONS GET DELETE]'
|
||||
type: '[]string'
|
||||
description: '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.
|
||||
@@ -8117,8 +8135,8 @@ OCIS_CORS_ALLOW_METHODS:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_CORS_ALLOW_ORIGINS:
|
||||
name: OCIS_CORS_ALLOW_ORIGINS;ACTIVITYLOG_CORS_ALLOW_ORIGINS
|
||||
defaultValue: '[*]'
|
||||
name: OCIS_CORS_ALLOW_ORIGINS;STORAGE_USERS_CORS_ALLOW_ORIGINS
|
||||
defaultValue: '[https://localhost:9200]'
|
||||
type: '[]string'
|
||||
description: 'A list of allowed CORS origins. See following chapter for more details:
|
||||
*Access-Control-Allow-Origin* at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin.
|
||||
@@ -8167,7 +8185,7 @@ OCIS_DEFAULT_LANGUAGE:
|
||||
type: string
|
||||
description: The default language used by services and the WebUI. If not defined,
|
||||
English will be used as default. See the documentation for more details.
|
||||
introductionVersion: 7.0.0
|
||||
introductionVersion: "5.0"
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
@@ -8213,7 +8231,7 @@ OCIS_DISABLE_VERSIONING:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_EDITION:
|
||||
name: OCIS_EDITION;OCDAV_EDITION
|
||||
name: OCIS_EDITION;FRONTEND_EDITION
|
||||
defaultValue: Community
|
||||
type: string
|
||||
description: Edition of oCIS. Used for branding purposes.
|
||||
@@ -8251,7 +8269,7 @@ OCIS_ENABLE_VAULT_MODE:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_EVENTS_AUTH_PASSWORD:
|
||||
name: OCIS_EVENTS_AUTH_PASSWORD;SEARCH_EVENTS_AUTH_PASSWORD
|
||||
name: OCIS_EVENTS_AUTH_PASSWORD;STORAGE_USERS_EVENTS_AUTH_PASSWORD
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The password to authenticate with the events broker. The events broker
|
||||
@@ -8261,7 +8279,7 @@ OCIS_EVENTS_AUTH_PASSWORD:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_EVENTS_AUTH_USERNAME:
|
||||
name: OCIS_EVENTS_AUTH_USERNAME;SEARCH_EVENTS_AUTH_USERNAME
|
||||
name: OCIS_EVENTS_AUTH_USERNAME;STORAGE_USERS_EVENTS_AUTH_USERNAME
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The username to authenticate with the events broker. The events broker
|
||||
@@ -8271,7 +8289,7 @@ OCIS_EVENTS_AUTH_USERNAME:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_EVENTS_CLUSTER:
|
||||
name: OCIS_EVENTS_CLUSTER;SEARCH_EVENTS_CLUSTER
|
||||
name: OCIS_EVENTS_CLUSTER;STORAGE_USERS_EVENTS_CLUSTER
|
||||
defaultValue: ocis-cluster
|
||||
type: string
|
||||
description: The clusterID of the event system. The event system is the message
|
||||
@@ -8282,7 +8300,7 @@ OCIS_EVENTS_CLUSTER:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_EVENTS_ENABLE_TLS:
|
||||
name: OCIS_EVENTS_ENABLE_TLS;SEARCH_EVENTS_ENABLE_TLS
|
||||
name: OCIS_EVENTS_ENABLE_TLS;STORAGE_USERS_EVENTS_ENABLE_TLS
|
||||
defaultValue: "false"
|
||||
type: bool
|
||||
description: Enable TLS for the connection to the events broker. The events broker
|
||||
@@ -8292,7 +8310,7 @@ OCIS_EVENTS_ENABLE_TLS:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_EVENTS_ENDPOINT:
|
||||
name: OCIS_EVENTS_ENDPOINT;SEARCH_EVENTS_ENDPOINT
|
||||
name: OCIS_EVENTS_ENDPOINT;STORAGE_USERS_EVENTS_ENDPOINT
|
||||
defaultValue: 127.0.0.1:9233
|
||||
type: string
|
||||
description: The address of the event system. The event system is the message queuing
|
||||
@@ -8302,21 +8320,21 @@ OCIS_EVENTS_ENDPOINT:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_EVENTS_TLS_ROOT_CA_CERTIFICATE:
|
||||
name: OCIS_EVENTS_TLS_ROOT_CA_CERTIFICATE;SEARCH_EVENTS_TLS_ROOT_CA_CERTIFICATE
|
||||
name: OCIS_EVENTS_TLS_ROOT_CA_CERTIFICATE;STORAGE_USERS_EVENTS_TLS_ROOT_CA_CERTIFICATE
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The root CA certificate used to validate the server's TLS certificate.
|
||||
If provided SEARCH_EVENTS_TLS_INSECURE will be seen as false.
|
||||
If provided STORAGE_USERS_EVENTS_TLS_INSECURE will be seen as false.
|
||||
introductionVersion: pre5.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_GATEWAY_GRPC_ADDR:
|
||||
name: OCIS_GATEWAY_GRPC_ADDR;GATEWAY_GRPC_ADDR
|
||||
name: OCIS_GATEWAY_GRPC_ADDR;STORAGE_USERS_GATEWAY_GRPC_ADDR
|
||||
defaultValue: 127.0.0.1:9142
|
||||
type: string
|
||||
description: The bind address of the GRPC service.
|
||||
introductionVersion: pre5.0
|
||||
description: The bind address of the gateway GRPC address.
|
||||
introductionVersion: "5.0"
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
@@ -8344,10 +8362,10 @@ OCIS_GRPC_CLIENT_TLS_MODE:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_GRPC_PROTOCOL:
|
||||
name: OCIS_GRPC_PROTOCOL;GROUPS_GRPC_PROTOCOL
|
||||
name: OCIS_GRPC_PROTOCOL;STORAGE_USERS_GRPC_PROTOCOL
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The transport protocol of the GRPC service.
|
||||
description: The transport protocol of the GPRC service.
|
||||
introductionVersion: pre5.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
@@ -8384,16 +8402,16 @@ OCIS_HTTP_TLS_KEY:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_INSECURE:
|
||||
name: OCIS_INSECURE;SEARCH_EXTRACTOR_CS3SOURCE_INSECURE
|
||||
name: OCIS_INSECURE;STORAGE_USERS_EVENTS_TLS_INSECURE
|
||||
defaultValue: "false"
|
||||
type: bool
|
||||
description: Ignore untrusted SSL certificates when connecting to the CS3 source.
|
||||
description: Whether to verify the server TLS certificates.
|
||||
introductionVersion: pre5.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_JWT_SECRET:
|
||||
name: OCIS_JWT_SECRET;SEARCH_JWT_SECRET
|
||||
name: OCIS_JWT_SECRET;STORAGE_USERS_JWT_SECRET
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The secret to mint and validate jwt tokens.
|
||||
@@ -8402,7 +8420,7 @@ OCIS_JWT_SECRET:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_KEYCLOAK_BASE_PATH:
|
||||
name: OCIS_KEYCLOAK_BASE_PATH;INVITATIONS_KEYCLOAK_BASE_PATH
|
||||
name: OCIS_KEYCLOAK_BASE_PATH;GRAPH_KEYCLOAK_BASE_PATH
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The URL to access keycloak.
|
||||
@@ -8411,16 +8429,16 @@ OCIS_KEYCLOAK_BASE_PATH:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_KEYCLOAK_CLIENT_ID:
|
||||
name: OCIS_KEYCLOAK_CLIENT_ID;INVITATIONS_KEYCLOAK_CLIENT_ID
|
||||
name: OCIS_KEYCLOAK_CLIENT_ID;GRAPH_KEYCLOAK_CLIENT_ID
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The client ID to authenticate with keycloak.
|
||||
description: The client id to authenticate with keycloak.
|
||||
introductionVersion: pre5.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_KEYCLOAK_CLIENT_REALM:
|
||||
name: OCIS_KEYCLOAK_CLIENT_REALM;INVITATIONS_KEYCLOAK_CLIENT_REALM
|
||||
name: OCIS_KEYCLOAK_CLIENT_REALM;GRAPH_KEYCLOAK_CLIENT_REALM
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The realm the client is defined in.
|
||||
@@ -8429,7 +8447,7 @@ OCIS_KEYCLOAK_CLIENT_REALM:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_KEYCLOAK_CLIENT_SECRET:
|
||||
name: OCIS_KEYCLOAK_CLIENT_SECRET;INVITATIONS_KEYCLOAK_CLIENT_SECRET
|
||||
name: OCIS_KEYCLOAK_CLIENT_SECRET;GRAPH_KEYCLOAK_CLIENT_SECRET
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The client secret to use in authentication.
|
||||
@@ -8438,7 +8456,7 @@ OCIS_KEYCLOAK_CLIENT_SECRET:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_KEYCLOAK_INSECURE_SKIP_VERIFY:
|
||||
name: OCIS_KEYCLOAK_INSECURE_SKIP_VERIFY;INVITATIONS_KEYCLOAK_INSECURE_SKIP_VERIFY
|
||||
name: OCIS_KEYCLOAK_INSECURE_SKIP_VERIFY;GRAPH_KEYCLOAK_INSECURE_SKIP_VERIFY
|
||||
defaultValue: "false"
|
||||
type: bool
|
||||
description: Disable TLS certificate validation for Keycloak connections. Do not
|
||||
@@ -8448,7 +8466,7 @@ OCIS_KEYCLOAK_INSECURE_SKIP_VERIFY:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_KEYCLOAK_USER_REALM:
|
||||
name: OCIS_KEYCLOAK_USER_REALM;INVITATIONS_KEYCLOAK_USER_REALM
|
||||
name: OCIS_KEYCLOAK_USER_REALM;GRAPH_KEYCLOAK_USER_REALM
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The realm users are defined.
|
||||
@@ -8457,8 +8475,8 @@ OCIS_KEYCLOAK_USER_REALM:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_BIND_DN:
|
||||
name: OCIS_LDAP_BIND_DN;GROUPS_LDAP_BIND_DN
|
||||
defaultValue: uid=reva,ou=sysusers,o=libregraph-idm
|
||||
name: OCIS_LDAP_BIND_DN;GRAPH_LDAP_BIND_DN
|
||||
defaultValue: uid=libregraph,ou=sysusers,o=libregraph-idm
|
||||
type: string
|
||||
description: LDAP DN to use for simple bind authentication with the target LDAP
|
||||
server.
|
||||
@@ -8467,7 +8485,7 @@ OCIS_LDAP_BIND_DN:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_BIND_PASSWORD:
|
||||
name: OCIS_LDAP_BIND_PASSWORD;GROUPS_LDAP_BIND_PASSWORD
|
||||
name: OCIS_LDAP_BIND_PASSWORD;GRAPH_LDAP_BIND_PASSWORD
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: Password to use for authenticating the 'bind_dn'.
|
||||
@@ -8476,7 +8494,7 @@ OCIS_LDAP_BIND_PASSWORD:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_CACERT:
|
||||
name: OCIS_LDAP_CACERT;GROUPS_LDAP_CACERT
|
||||
name: OCIS_LDAP_CACERT;GRAPH_LDAP_CACERT
|
||||
defaultValue: /var/lib/ocis/idm/ldap.crt
|
||||
type: string
|
||||
description: Path/File name for the root CA certificate (in PEM format) used to
|
||||
@@ -8497,20 +8515,20 @@ OCIS_LDAP_CROSS_INSTANCE_REFERENCE_TEMPLATE:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_DISABLE_USER_MECHANISM:
|
||||
name: OCIS_LDAP_DISABLE_USER_MECHANISM;AUTH_BASIC_DISABLE_USER_MECHANISM
|
||||
name: OCIS_LDAP_DISABLE_USER_MECHANISM;GRAPH_DISABLE_USER_MECHANISM
|
||||
defaultValue: attribute
|
||||
type: string
|
||||
description: An option to control the behavior for disabling users. Valid options
|
||||
description: An option to control the behavior for disabling users. Supported options
|
||||
are 'none', 'attribute' and 'group'. If set to 'group', disabling a user via API
|
||||
will add the user to the configured group for disabled users, if set to 'attribute'
|
||||
this will be done in the ldap user entry, if set to 'none' the disable request
|
||||
is not processed.
|
||||
is not processed. Default is 'attribute'.
|
||||
introductionVersion: pre5.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_DISABLED_USERS_GROUP_DN:
|
||||
name: OCIS_LDAP_DISABLED_USERS_GROUP_DN;AUTH_BASIC_DISABLED_USERS_GROUP_DN
|
||||
name: OCIS_LDAP_DISABLED_USERS_GROUP_DN;GRAPH_DISABLED_USERS_GROUP_DN
|
||||
defaultValue: cn=DisabledUsersGroup,ou=groups,o=libregraph-idm
|
||||
type: string
|
||||
description: The distinguished name of the group to which added users will be classified
|
||||
@@ -8540,7 +8558,7 @@ OCIS_LDAP_GROUP_AFFILIATION_ATTRIBUTE:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_GROUP_BASE_DN:
|
||||
name: OCIS_LDAP_GROUP_BASE_DN;GROUPS_LDAP_GROUP_BASE_DN
|
||||
name: OCIS_LDAP_GROUP_BASE_DN;GRAPH_LDAP_GROUP_BASE_DN
|
||||
defaultValue: ou=groups,o=libregraph-idm
|
||||
type: string
|
||||
description: Search base DN for looking up LDAP groups.
|
||||
@@ -8549,7 +8567,7 @@ OCIS_LDAP_GROUP_BASE_DN:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_GROUP_FILTER:
|
||||
name: OCIS_LDAP_GROUP_FILTER;GROUPS_LDAP_GROUP_FILTER
|
||||
name: OCIS_LDAP_GROUP_FILTER;GRAPH_LDAP_GROUP_FILTER
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: LDAP filter to add to the default filters for group searches.
|
||||
@@ -8558,7 +8576,7 @@ OCIS_LDAP_GROUP_FILTER:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_GROUP_OBJECTCLASS:
|
||||
name: OCIS_LDAP_GROUP_OBJECTCLASS;GROUPS_LDAP_GROUP_OBJECTCLASS
|
||||
name: OCIS_LDAP_GROUP_OBJECTCLASS;GRAPH_LDAP_GROUP_OBJECTCLASS
|
||||
defaultValue: groupOfNames
|
||||
type: string
|
||||
description: The object class to use for groups in the default group search filter
|
||||
@@ -8578,7 +8596,7 @@ OCIS_LDAP_GROUP_SCHEMA_DISPLAYNAME:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_GROUP_SCHEMA_GROUPNAME:
|
||||
name: OCIS_LDAP_GROUP_SCHEMA_GROUPNAME;GROUPS_LDAP_GROUP_SCHEMA_GROUPNAME
|
||||
name: OCIS_LDAP_GROUP_SCHEMA_GROUPNAME;GRAPH_LDAP_GROUP_NAME_ATTRIBUTE
|
||||
defaultValue: cn
|
||||
type: string
|
||||
description: LDAP Attribute to use for the name of groups.
|
||||
@@ -8587,8 +8605,8 @@ OCIS_LDAP_GROUP_SCHEMA_GROUPNAME:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_GROUP_SCHEMA_ID:
|
||||
name: OCIS_LDAP_GROUP_SCHEMA_ID;GROUPS_LDAP_GROUP_SCHEMA_ID
|
||||
defaultValue: ownclouduuid
|
||||
name: OCIS_LDAP_GROUP_SCHEMA_ID;GRAPH_LDAP_GROUP_ID_ATTRIBUTE
|
||||
defaultValue: owncloudUUID
|
||||
type: string
|
||||
description: LDAP Attribute to use as the unique id for groups. This should be a
|
||||
stable globally unique ID like a UUID.
|
||||
@@ -8597,12 +8615,12 @@ OCIS_LDAP_GROUP_SCHEMA_ID:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_GROUP_SCHEMA_ID_IS_OCTETSTRING:
|
||||
name: OCIS_LDAP_GROUP_SCHEMA_ID_IS_OCTETSTRING;GROUPS_LDAP_GROUP_SCHEMA_ID_IS_OCTETSTRING
|
||||
name: OCIS_LDAP_GROUP_SCHEMA_ID_IS_OCTETSTRING;GRAPH_LDAP_GROUP_SCHEMA_ID_IS_OCTETSTRING
|
||||
defaultValue: "false"
|
||||
type: bool
|
||||
description: Set this to true if the defined 'id' attribute for groups is of the
|
||||
'OCTETSTRING' syntax. This is e.g. required when using the 'objectGUID' attribute
|
||||
of Active Directory for the group ID's.
|
||||
description: Set this to true if the defined 'ID' attribute for groups is of the
|
||||
'OCTETSTRING' syntax. This is required when using the 'objectGUID' attribute of
|
||||
Active Directory for the group ID's.
|
||||
introductionVersion: pre5.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
@@ -8617,7 +8635,7 @@ OCIS_LDAP_GROUP_SCHEMA_MAIL:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_GROUP_SCHEMA_MEMBER:
|
||||
name: OCIS_LDAP_GROUP_SCHEMA_MEMBER;GROUPS_LDAP_GROUP_SCHEMA_MEMBER
|
||||
name: OCIS_LDAP_GROUP_SCHEMA_MEMBER;GRAPH_LDAP_GROUP_MEMBER_ATTRIBUTE
|
||||
defaultValue: member
|
||||
type: string
|
||||
description: LDAP Attribute that is used for group members.
|
||||
@@ -8626,7 +8644,7 @@ OCIS_LDAP_GROUP_SCHEMA_MEMBER:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_GROUP_SCOPE:
|
||||
name: OCIS_LDAP_GROUP_SCOPE;GROUPS_LDAP_GROUP_SCOPE
|
||||
name: OCIS_LDAP_GROUP_SCOPE;GRAPH_LDAP_GROUP_SEARCH_SCOPE
|
||||
defaultValue: sub
|
||||
type: string
|
||||
description: LDAP search scope to use when looking up groups. Supported scopes are
|
||||
@@ -8636,7 +8654,7 @@ OCIS_LDAP_GROUP_SCOPE:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_INSECURE:
|
||||
name: OCIS_LDAP_INSECURE;GROUPS_LDAP_INSECURE
|
||||
name: OCIS_LDAP_INSECURE;GRAPH_LDAP_INSECURE
|
||||
defaultValue: "false"
|
||||
type: bool
|
||||
description: Disable TLS certificate validation for the LDAP connections. Do not
|
||||
@@ -8716,7 +8734,7 @@ OCIS_LDAP_SERVER_WRITE_ENABLED:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_URI:
|
||||
name: OCIS_LDAP_URI;GROUPS_LDAP_URI
|
||||
name: OCIS_LDAP_URI;GRAPH_LDAP_URI
|
||||
defaultValue: ldaps://localhost:9235
|
||||
type: string
|
||||
description: URI of the LDAP Server to connect to. Supported URI schemes are 'ldaps://'
|
||||
@@ -8726,7 +8744,7 @@ OCIS_LDAP_URI:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_USER_BASE_DN:
|
||||
name: OCIS_LDAP_USER_BASE_DN;GROUPS_LDAP_USER_BASE_DN
|
||||
name: OCIS_LDAP_USER_BASE_DN;GRAPH_LDAP_USER_BASE_DN
|
||||
defaultValue: ou=users,o=libregraph-idm
|
||||
type: string
|
||||
description: Search base DN for looking up LDAP users.
|
||||
@@ -8735,16 +8753,16 @@ OCIS_LDAP_USER_BASE_DN:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_USER_ENABLED_ATTRIBUTE:
|
||||
name: OCIS_LDAP_USER_ENABLED_ATTRIBUTE;AUTH_BASIC_LDAP_USER_ENABLED_ATTRIBUTE
|
||||
name: OCIS_LDAP_USER_ENABLED_ATTRIBUTE;GRAPH_USER_ENABLED_ATTRIBUTE
|
||||
defaultValue: ownCloudUserEnabled
|
||||
type: string
|
||||
description: LDAP attribute to use as a flag telling if the user is enabled or disabled.
|
||||
description: LDAP Attribute to use as a flag telling if the user is enabled or disabled.
|
||||
introductionVersion: pre5.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_USER_FILTER:
|
||||
name: OCIS_LDAP_USER_FILTER;GROUPS_LDAP_USER_FILTER
|
||||
name: OCIS_LDAP_USER_FILTER;GRAPH_LDAP_USER_FILTER
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: LDAP filter to add to the default filters for user search like '(objectclass=ownCloud)'.
|
||||
@@ -8756,8 +8774,9 @@ OCIS_LDAP_USER_GUEST_ATTRIBUTE:
|
||||
name: OCIS_LDAP_USER_GUEST_ATTRIBUTE
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: LDAP attribute that marks a user as a guest of an instance.
|
||||
introductionVersion: "7.0"
|
||||
description: LDAP Attribute to signal the user is guest of an instance. Requires
|
||||
OCIS_MULTI_INSTANCE_ENABLED.
|
||||
introductionVersion: 8.0.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
@@ -8765,13 +8784,14 @@ OCIS_LDAP_USER_MEMBER_ATTRIBUTE:
|
||||
name: OCIS_LDAP_USER_MEMBER_ATTRIBUTE
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: LDAP attribute that marks a user as a member of an instance.
|
||||
introductionVersion: "7.0"
|
||||
description: LDAP Attribute to signal the user is member of an instance. Requires
|
||||
OCIS_MULTI_INSTANCE_ENABLED.
|
||||
introductionVersion: 8.0.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_USER_OBJECTCLASS:
|
||||
name: OCIS_LDAP_USER_OBJECTCLASS;GROUPS_LDAP_USER_OBJECTCLASS
|
||||
name: OCIS_LDAP_USER_OBJECTCLASS;GRAPH_LDAP_USER_OBJECTCLASS
|
||||
defaultValue: inetOrgPerson
|
||||
type: string
|
||||
description: The object class to use for users in the default user search filter
|
||||
@@ -8781,14 +8801,14 @@ OCIS_LDAP_USER_OBJECTCLASS:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_USER_SCHEMA_DISPLAYNAME:
|
||||
name: OCIS_LDAP_USER_SCHEMA_DISPLAYNAME;GROUPS_LDAP_USER_SCHEMA_DISPLAYNAME
|
||||
defaultValue: displayname
|
||||
name: OCIS_LDAP_USER_SCHEMA_DISPLAYNAME;GRAPH_LDAP_USER_DISPLAYNAME_ATTRIBUTE
|
||||
defaultValue: displayName
|
||||
type: string
|
||||
description: LDAP Attribute to use for the displayname of users.
|
||||
description: LDAP Attribute to use for the display name of users.
|
||||
introductionVersion: pre5.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: 'LDAP_USER_SCHEMA_DISPLAY_NAME changing name for consistency | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '
|
||||
deprecationInfo: 'LDAP_USER_SCHEMA_DISPLAY_NAME changing name for consistency | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '
|
||||
OCIS_LDAP_USER_SCHEMA_EXTERNAL_ID:
|
||||
name: OCIS_LDAP_USER_SCHEMA_EXTERNAL_ID;GRAPH_LDAP_EXTERNAL_ID_ATTRIBUTE
|
||||
defaultValue: owncloudExternalID
|
||||
@@ -8801,28 +8821,28 @@ OCIS_LDAP_USER_SCHEMA_EXTERNAL_ID:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_USER_SCHEMA_ID:
|
||||
name: OCIS_LDAP_USER_SCHEMA_ID;GROUPS_LDAP_USER_SCHEMA_ID
|
||||
defaultValue: ownclouduuid
|
||||
name: OCIS_LDAP_USER_SCHEMA_ID;GRAPH_LDAP_USER_UID_ATTRIBUTE
|
||||
defaultValue: owncloudUUID
|
||||
type: string
|
||||
description: LDAP Attribute to use as the unique id for users. This should be a
|
||||
stable globally unique id like a UUID.
|
||||
description: LDAP Attribute to use as the unique ID for users. This should be a
|
||||
stable globally unique ID like a UUID.
|
||||
introductionVersion: pre5.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_USER_SCHEMA_ID_IS_OCTETSTRING:
|
||||
name: OCIS_LDAP_USER_SCHEMA_ID_IS_OCTETSTRING;GROUPS_LDAP_USER_SCHEMA_ID_IS_OCTETSTRING
|
||||
name: OCIS_LDAP_USER_SCHEMA_ID_IS_OCTETSTRING;GRAPH_LDAP_USER_SCHEMA_ID_IS_OCTETSTRING
|
||||
defaultValue: "false"
|
||||
type: bool
|
||||
description: Set this to true if the defined 'ID' attribute for users is of the
|
||||
'OCTETSTRING' syntax. This is e.g. required when using the 'objectGUID' attribute
|
||||
of Active Directory for the user ID's.
|
||||
'OCTETSTRING' syntax. This is required when using the 'objectGUID' attribute of
|
||||
Active Directory for the user ID's.
|
||||
introductionVersion: pre5.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_USER_SCHEMA_MAIL:
|
||||
name: OCIS_LDAP_USER_SCHEMA_MAIL;GROUPS_LDAP_USER_SCHEMA_MAIL
|
||||
name: OCIS_LDAP_USER_SCHEMA_MAIL;GRAPH_LDAP_USER_EMAIL_ATTRIBUTE
|
||||
defaultValue: mail
|
||||
type: string
|
||||
description: LDAP Attribute to use for the email address of users.
|
||||
@@ -8841,7 +8861,7 @@ OCIS_LDAP_USER_SCHEMA_USER_TYPE:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_USER_SCHEMA_USERNAME:
|
||||
name: OCIS_LDAP_USER_SCHEMA_USERNAME;GROUPS_LDAP_USER_SCHEMA_USERNAME
|
||||
name: OCIS_LDAP_USER_SCHEMA_USERNAME;GRAPH_LDAP_USER_NAME_ATTRIBUTE
|
||||
defaultValue: uid
|
||||
type: string
|
||||
description: LDAP Attribute to use for username of users.
|
||||
@@ -8850,7 +8870,7 @@ OCIS_LDAP_USER_SCHEMA_USERNAME:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_USER_SCOPE:
|
||||
name: OCIS_LDAP_USER_SCOPE;GROUPS_LDAP_USER_SCOPE
|
||||
name: OCIS_LDAP_USER_SCOPE;GRAPH_LDAP_USER_SCOPE
|
||||
defaultValue: sub
|
||||
type: string
|
||||
description: LDAP search scope to use when looking up users. Supported scopes are
|
||||
@@ -8860,7 +8880,7 @@ OCIS_LDAP_USER_SCOPE:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LOG_COLOR:
|
||||
name: OCIS_LOG_COLOR;SEARCH_LOG_COLOR
|
||||
name: OCIS_LOG_COLOR;STORAGE_USERS_LOG_COLOR
|
||||
defaultValue: "false"
|
||||
type: bool
|
||||
description: Activates colorized log output.
|
||||
@@ -8869,7 +8889,7 @@ OCIS_LOG_COLOR:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LOG_FILE:
|
||||
name: OCIS_LOG_FILE;SEARCH_LOG_FILE
|
||||
name: OCIS_LOG_FILE;STORAGE_USERS_LOG_FILE
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The path to the log file. Activates logging to this file if set.
|
||||
@@ -8878,7 +8898,7 @@ OCIS_LOG_FILE:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LOG_LEVEL:
|
||||
name: OCIS_LOG_LEVEL;SEARCH_LOG_LEVEL
|
||||
name: OCIS_LOG_LEVEL;STORAGE_USERS_LOG_LEVEL
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: 'The log level. Valid values are: ''panic'', ''fatal'', ''error'',
|
||||
@@ -8888,7 +8908,7 @@ OCIS_LOG_LEVEL:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LOG_PRETTY:
|
||||
name: OCIS_LOG_PRETTY;SEARCH_LOG_PRETTY
|
||||
name: OCIS_LOG_PRETTY;STORAGE_USERS_LOG_PRETTY
|
||||
defaultValue: "false"
|
||||
type: bool
|
||||
description: Activates pretty log output.
|
||||
@@ -8897,23 +8917,23 @@ OCIS_LOG_PRETTY:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_MACHINE_AUTH_API_KEY:
|
||||
name: OCIS_MACHINE_AUTH_API_KEY;OCDAV_MACHINE_AUTH_API_KEY
|
||||
name: OCIS_MACHINE_AUTH_API_KEY;STORAGE_USERS_MACHINE_AUTH_API_KEY
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: Machine auth API key used to validate internal requests necessary for
|
||||
the access to resources from other services.
|
||||
introductionVersion: pre5.0
|
||||
introductionVersion: "5.0"
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_MAX_CONCURRENCY:
|
||||
name: OCIS_MAX_CONCURRENCY;SHARING_USER_JSONCS3_MAX_CONCURRENCY
|
||||
defaultValue: "1"
|
||||
name: OCIS_MAX_CONCURRENCY;STORAGE_USERS_S3NG_MAX_CONCURRENCY
|
||||
defaultValue: "5"
|
||||
type: int
|
||||
description: Maximum number of concurrent go-routines. Higher values can potentially
|
||||
get work done faster but will also cause more load on the system. Values of 0
|
||||
or below will be ignored and the default value will be used.
|
||||
introductionVersion: 7.0.0
|
||||
or below will be ignored and the default value of 100 will be used.
|
||||
introductionVersion: pre5.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
@@ -9001,9 +9021,10 @@ OCIS_MULTI_INSTANCE_MASTER_ID:
|
||||
name: OCIS_MULTI_INSTANCE_MASTER_ID
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The master instance ID for multi-instance setups. When set, LDAP user
|
||||
filters are enhanced to also match users belonging to the master instance.
|
||||
introductionVersion: "7.0"
|
||||
description: The master ID that grants access to all instances. Users with this
|
||||
ID in their memberOf or guestOf claims can access any instance. Leave empty to
|
||||
disable.
|
||||
introductionVersion: 8.1.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
@@ -9038,11 +9059,10 @@ OCIS_OIDC_CLIENT_ID:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_OIDC_ISSUER:
|
||||
name: OCIS_URL;OCIS_OIDC_ISSUER;GROUPS_IDP_URL
|
||||
name: OCIS_URL;OCIS_OIDC_ISSUER;AUTH_BEARER_OIDC_ISSUER
|
||||
defaultValue: https://localhost:9200
|
||||
type: string
|
||||
description: The identity provider value to set in the group IDs of the CS3 group
|
||||
objects for groups returned by this group provider.
|
||||
description: URL of the OIDC issuer. It defaults to URL of the builtin IDP.
|
||||
introductionVersion: pre5.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
@@ -9115,54 +9135,54 @@ OCIS_PASSWORD_POLICY_MIN_UPPERCASE_CHARACTERS:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_PERSISTENT_STORE:
|
||||
name: OCIS_PERSISTENT_STORE;COLLABORATION_STORE
|
||||
name: OCIS_PERSISTENT_STORE;NOTIFICATIONS_STORE
|
||||
defaultValue: nats-js-kv
|
||||
type: string
|
||||
description: 'The type of the store. Supported values are: ''memory'', ''nats-js-kv'',
|
||||
''redis-sentinel'', ''noop''. See the text description for details.'
|
||||
introductionVersion: 7.0.0
|
||||
introductionVersion: 7.1.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_PERSISTENT_STORE_AUTH_PASSWORD:
|
||||
name: OCIS_PERSISTENT_STORE_AUTH_PASSWORD;COLLABORATION_STORE_AUTH_PASSWORD
|
||||
name: OCIS_PERSISTENT_STORE_AUTH_PASSWORD;NOTIFICATIONS_STORE_AUTH_PASSWORD
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The password to authenticate with the store. Only applies when store
|
||||
type 'nats-js-kv' is configured.
|
||||
introductionVersion: 7.0.0
|
||||
introductionVersion: 7.1.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_PERSISTENT_STORE_AUTH_USERNAME:
|
||||
name: OCIS_PERSISTENT_STORE_AUTH_USERNAME;COLLABORATION_STORE_AUTH_USERNAME
|
||||
name: OCIS_PERSISTENT_STORE_AUTH_USERNAME;NOTIFICATIONS_STORE_AUTH_USERNAME
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The username to authenticate with the store. Only applies when store
|
||||
type 'nats-js-kv' is configured.
|
||||
introductionVersion: 7.0.0
|
||||
introductionVersion: 7.1.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_PERSISTENT_STORE_NODES:
|
||||
name: OCIS_PERSISTENT_STORE_NODES;COLLABORATION_STORE_NODES
|
||||
name: OCIS_PERSISTENT_STORE_NODES;NOTIFICATIONS_STORE_NODES
|
||||
defaultValue: '[127.0.0.1:9233]'
|
||||
type: '[]string'
|
||||
description: A list of nodes to access the configured store. This has no effect
|
||||
when 'memory' store is configured. Note that the behaviour how nodes are used
|
||||
is dependent on the library of the configured store. See the Environment Variable
|
||||
Types description for more details.
|
||||
introductionVersion: 7.0.0
|
||||
introductionVersion: 7.1.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_PERSISTENT_STORE_TTL:
|
||||
name: OCIS_PERSISTENT_STORE_TTL;COLLABORATION_STORE_TTL
|
||||
defaultValue: 30m0s
|
||||
name: OCIS_PERSISTENT_STORE_TTL;NOTIFICATIONS_STORE_TTL
|
||||
defaultValue: 336h0m0s
|
||||
type: Duration
|
||||
description: Time to live for events in the store. Defaults to '30m' (30 minutes).
|
||||
See the Environment Variable Types description for more details.
|
||||
introductionVersion: 7.0.0
|
||||
description: Time to live for notifications in the store. Defaults to '336h' (2
|
||||
weeks). See the Environment Variable Types description for more details.
|
||||
introductionVersion: 7.1.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
@@ -9207,7 +9227,7 @@ OCIS_REVA_GATEWAY_TLS_MODE:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_SERVICE_ACCOUNT_ID:
|
||||
name: OCIS_SERVICE_ACCOUNT_ID;SEARCH_SERVICE_ACCOUNT_ID
|
||||
name: OCIS_SERVICE_ACCOUNT_ID;STORAGE_USERS_SERVICE_ACCOUNT_ID
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The ID of the service account the service should use. See the 'auth-service'
|
||||
@@ -9217,7 +9237,7 @@ OCIS_SERVICE_ACCOUNT_ID:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_SERVICE_ACCOUNT_SECRET:
|
||||
name: OCIS_SERVICE_ACCOUNT_SECRET;SEARCH_SERVICE_ACCOUNT_SECRET
|
||||
name: OCIS_SERVICE_ACCOUNT_SECRET;STORAGE_USERS_SERVICE_ACCOUNT_SECRET
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The service account secret.
|
||||
@@ -9256,7 +9276,7 @@ OCIS_SPACES_MAX_QUOTA:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_SYSTEM_USER_API_KEY:
|
||||
name: OCIS_SYSTEM_USER_API_KEY;SHARING_PUBLIC_CS3_SYSTEM_USER_API_KEY
|
||||
name: OCIS_SYSTEM_USER_API_KEY
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: API key for the STORAGE-SYSTEM system user.
|
||||
@@ -9265,10 +9285,10 @@ OCIS_SYSTEM_USER_API_KEY:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_SYSTEM_USER_ID:
|
||||
name: OCIS_SYSTEM_USER_ID;SHARING_PUBLIC_CS3_SYSTEM_USER_ID
|
||||
name: OCIS_SYSTEM_USER_ID
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: ID of the oCIS STORAGE-SYSTEM system user. Admins need to set the ID
|
||||
description: 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.
|
||||
@@ -9277,7 +9297,7 @@ OCIS_SYSTEM_USER_ID:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_SYSTEM_USER_IDP:
|
||||
name: OCIS_SYSTEM_USER_IDP;SHARING_PUBLIC_CS3_SYSTEM_USER_IDP
|
||||
name: OCIS_SYSTEM_USER_IDP;SETTINGS_SYSTEM_USER_IDP
|
||||
defaultValue: internal
|
||||
type: string
|
||||
description: IDP of the oCIS STORAGE-SYSTEM system user.
|
||||
@@ -9286,7 +9306,7 @@ OCIS_SYSTEM_USER_IDP:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_TRACING_COLLECTOR:
|
||||
name: OCIS_TRACING_COLLECTOR;SEARCH_TRACING_COLLECTOR
|
||||
name: OCIS_TRACING_COLLECTOR;STORAGE_USERS_TRACING_COLLECTOR
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The HTTP endpoint for sending spans directly to a collector, i.e. http://jaeger-collector:14268/api/traces.
|
||||
@@ -9296,7 +9316,7 @@ OCIS_TRACING_COLLECTOR:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_TRACING_ENABLED:
|
||||
name: OCIS_TRACING_ENABLED;SEARCH_TRACING_ENABLED
|
||||
name: OCIS_TRACING_ENABLED;STORAGE_USERS_TRACING_ENABLED
|
||||
defaultValue: "false"
|
||||
type: bool
|
||||
description: Activates tracing.
|
||||
@@ -9305,7 +9325,7 @@ OCIS_TRACING_ENABLED:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_TRACING_ENDPOINT:
|
||||
name: OCIS_TRACING_ENDPOINT;SEARCH_TRACING_ENDPOINT
|
||||
name: OCIS_TRACING_ENDPOINT;STORAGE_USERS_TRACING_ENDPOINT
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The endpoint of the tracing agent.
|
||||
@@ -9314,7 +9334,7 @@ OCIS_TRACING_ENDPOINT:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_TRACING_TYPE:
|
||||
name: OCIS_TRACING_TYPE;SEARCH_TRACING_TYPE
|
||||
name: OCIS_TRACING_TYPE;STORAGE_USERS_TRACING_TYPE
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The type of tracing. Defaults to '', which is the same as 'jaeger'.
|
||||
@@ -9333,22 +9353,21 @@ OCIS_TRANSFER_SECRET:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_TRANSLATION_PATH:
|
||||
name: OCIS_TRANSLATION_PATH;ACTIVITYLOG_TRANSLATION_PATH
|
||||
name: OCIS_TRANSLATION_PATH;NOTIFICATIONS_TRANSLATION_PATH
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: (optional) Set this to a path with custom translations to overwrite
|
||||
the builtin translations. Note that file and folder naming rules apply, see the
|
||||
documentation for more details.
|
||||
introductionVersion: 7.0.0
|
||||
introductionVersion: pre5.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_URL:
|
||||
name: OCIS_URL;OCIS_OIDC_ISSUER;GROUPS_IDP_URL
|
||||
name: OCIS_URL;OCIS_OIDC_ISSUER;AUTH_BEARER_OIDC_ISSUER
|
||||
defaultValue: https://localhost:9200
|
||||
type: string
|
||||
description: The identity provider value to set in the group IDs of the CS3 group
|
||||
objects for groups returned by this group provider.
|
||||
description: URL of the OIDC issuer. It defaults to URL of the builtin IDP.
|
||||
introductionVersion: pre5.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
@@ -13732,10 +13751,10 @@ STORAGE_USERS_DRIVER:
|
||||
defaultValue: ocis
|
||||
type: string
|
||||
description: 'The storage driver which should be used by the service. Defaults to
|
||||
''ocis'', Supported values are: ''ocis'', ''s3ng'' and ''owncloudsql'' (deprecated). The ''ocis''
|
||||
driver stores all data (blob and meta data) in an POSIX compliant volume. The
|
||||
''s3ng'' driver stores metadata in a POSIX compliant volume and uploads blobs
|
||||
to the s3 bucket.'
|
||||
''ocis'', Supported values are: ''ocis'', ''s3ng'' and ''owncloudsql'' (deprecated).
|
||||
The ''ocis'' driver stores all data (blob and meta data) in an POSIX compliant
|
||||
volume. The ''s3ng'' driver stores metadata in a POSIX compliant volume and uploads
|
||||
blobs to the s3 bucket.'
|
||||
introductionVersion: pre5.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
|
||||
@@ -161,7 +161,7 @@ variables:
|
||||
section in the documentation for more details on defaults.
|
||||
do_ignore: false
|
||||
- rawname: OCIS_INSECURE
|
||||
path: ocis-pkg/service/grpc/client.go:77
|
||||
path: ocis-pkg/service/grpc/client.go:79
|
||||
foundincode: true
|
||||
name: OCIS_INSECURE
|
||||
type: bool
|
||||
@@ -169,6 +169,14 @@ variables:
|
||||
description: Insecure TLS mode is only allowed in development environments with
|
||||
OCIS_INSECURE=true
|
||||
do_ignore: false
|
||||
- rawname: OCIS_INSECURE
|
||||
path: services/idp/pkg/service/v0/service.go:366
|
||||
foundincode: true
|
||||
name: OCIS_INSECURE
|
||||
type: ""
|
||||
default_value: ""
|
||||
description: ""
|
||||
do_ignore: true
|
||||
- rawname: RUN_CMD_TEST
|
||||
path: internal/testenv/test.go:32
|
||||
foundincode: true
|
||||
|
||||
@@ -34,7 +34,7 @@ type Config struct {
|
||||
UnifiedRoles UnifiedRoles `yaml:"unified_roles"`
|
||||
MaxConcurrency int `yaml:"max_concurrency" env:"OCIS_MAX_CONCURRENCY;GRAPH_MAX_CONCURRENCY" desc:"The maximum number of concurrent requests the service will handle." introductionVersion:"7.0.0"`
|
||||
|
||||
ReceivedSharesStatTimeout time.Duration `yaml:"received_shares_stat_timeout" env:"GRAPH_RECEIVED_SHARES_STAT_TIMEOUT" desc:"The maximum duration to wait for the storage to respond while resolving a single received share's resource when listing 'sharedWithMe'. Bounding each resource lookup individually prevents one slow or unreachable resource from consuming the request deadline shared by all the other shares. A share whose resource cannot be statted within this time is still listed as a degraded item instead of being dropped. Defaults to '10s'. See the Environment Variable Types description for more details." introductionVersion:"NEXT"`
|
||||
ReceivedSharesStatTimeout time.Duration `yaml:"received_shares_stat_timeout" env:"GRAPH_RECEIVED_SHARES_STAT_TIMEOUT" desc:"The maximum duration to wait for the storage to respond while resolving a single received share's resource when listing 'sharedWithMe'. Bounding each resource lookup individually prevents one slow or unreachable resource from consuming the request deadline shared by all the other shares. A share whose resource cannot be statted within this time is still listed as a degraded item instead of being dropped. Defaults to '10s'. See the Environment Variable Types description for more details." introductionVersion:"8.2.0"`
|
||||
|
||||
Keycloak Keycloak `yaml:"keycloak"`
|
||||
ServiceAccount ServiceAccount `yaml:"service_account" mask:"struct"`
|
||||
@@ -61,15 +61,16 @@ type Spaces struct {
|
||||
}
|
||||
|
||||
type LDAP struct {
|
||||
URI string `yaml:"uri" env:"OCIS_LDAP_URI;GRAPH_LDAP_URI" desc:"URI of the LDAP Server to connect to. Supported URI schemes are 'ldaps://' and 'ldap://'" introductionVersion:"pre5.0"`
|
||||
CACert string `yaml:"cacert" env:"OCIS_LDAP_CACERT;GRAPH_LDAP_CACERT" desc:"Path/File name for the root CA certificate (in PEM format) used to validate TLS server certificates of the LDAP service. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH/idm." introductionVersion:"pre5.0"`
|
||||
Insecure bool `yaml:"insecure" env:"OCIS_LDAP_INSECURE;GRAPH_LDAP_INSECURE" desc:"Disable TLS certificate validation for the LDAP connections. Do not set this in production environments." introductionVersion:"pre5.0"`
|
||||
BindDN string `yaml:"bind_dn" env:"OCIS_LDAP_BIND_DN;GRAPH_LDAP_BIND_DN" desc:"LDAP DN to use for simple bind authentication with the target LDAP server." introductionVersion:"pre5.0"`
|
||||
BindPassword string `yaml:"bind_password" env:"OCIS_LDAP_BIND_PASSWORD;GRAPH_LDAP_BIND_PASSWORD" desc:"Password to use for authenticating the 'bind_dn'." introductionVersion:"pre5.0"`
|
||||
UseServerUUID bool `yaml:"use_server_uuid" env:"GRAPH_LDAP_SERVER_UUID" desc:"If set to true, rely on the LDAP Server to generate a unique ID for users and groups, like when using 'entryUUID' as the user ID attribute." introductionVersion:"pre5.0"`
|
||||
UsePasswordModExOp bool `yaml:"use_password_modify_exop" env:"GRAPH_LDAP_SERVER_USE_PASSWORD_MODIFY_EXOP" desc:"Use the 'Password Modify Extended Operation' for updating user passwords." introductionVersion:"pre5.0"`
|
||||
WriteEnabled bool `yaml:"write_enabled" env:"OCIS_LDAP_SERVER_WRITE_ENABLED;GRAPH_LDAP_SERVER_WRITE_ENABLED" desc:"Allow creating, modifying and deleting LDAP users via the GRAPH API. This can only be set to 'true' when keeping default settings for the LDAP user and group attribute types (the 'OCIS_LDAP_USER_SCHEMA_* and 'OCIS_LDAP_GROUP_SCHEMA_* variables)." introductionVersion:"pre5.0"`
|
||||
RefintEnabled bool `yaml:"refint_enabled" env:"GRAPH_LDAP_REFINT_ENABLED" desc:"Signals that the server has the refint plugin enabled, which makes some actions not needed." introductionVersion:"pre5.0"`
|
||||
URI string `yaml:"uri" env:"OCIS_LDAP_URI;GRAPH_LDAP_URI" desc:"URI of the LDAP Server to connect to. Supported URI schemes are 'ldaps://' and 'ldap://'" introductionVersion:"pre5.0"`
|
||||
CACert string `yaml:"cacert" env:"OCIS_LDAP_CACERT;GRAPH_LDAP_CACERT" desc:"Path/File name for the root CA certificate (in PEM format) used to validate TLS server certificates of the LDAP service. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH/idm." introductionVersion:"pre5.0"`
|
||||
Insecure bool `yaml:"insecure" env:"OCIS_LDAP_INSECURE;GRAPH_LDAP_INSECURE" desc:"Disable TLS certificate validation for the LDAP connections. Do not set this in production environments." introductionVersion:"pre5.0"`
|
||||
BindDN string `yaml:"bind_dn" env:"OCIS_LDAP_BIND_DN;GRAPH_LDAP_BIND_DN" desc:"LDAP DN to use for simple bind authentication with the target LDAP server." introductionVersion:"pre5.0"`
|
||||
BindPassword string `yaml:"bind_password" env:"OCIS_LDAP_BIND_PASSWORD;GRAPH_LDAP_BIND_PASSWORD" desc:"Password to use for authenticating the 'bind_dn'." introductionVersion:"pre5.0"`
|
||||
UseServerUUID bool `yaml:"use_server_uuid" env:"GRAPH_LDAP_SERVER_UUID" desc:"If set to true, rely on the LDAP Server to generate a unique ID for users and groups, like when using 'entryUUID' as the user ID attribute." introductionVersion:"pre5.0"`
|
||||
UsePasswordModExOp bool `yaml:"use_password_modify_exop" env:"GRAPH_LDAP_SERVER_USE_PASSWORD_MODIFY_EXOP" desc:"Use the 'Password Modify Extended Operation' for updating user passwords." introductionVersion:"pre5.0"`
|
||||
WriteEnabled bool `yaml:"write_enabled" env:"OCIS_LDAP_SERVER_WRITE_ENABLED;GRAPH_LDAP_SERVER_WRITE_ENABLED" desc:"Allow creating, modifying and deleting LDAP users via the GRAPH API. This can only be set to 'true' when keeping default settings for the LDAP user and group attribute types (the 'OCIS_LDAP_USER_SCHEMA_* and 'OCIS_LDAP_GROUP_SCHEMA_* variables)." introductionVersion:"pre5.0"`
|
||||
UpdateUserLastSignInDate bool `yaml:"update_user_last_sign_in_date" env:"OCIS_LDAP_UPDATE_LAST_SIGNIN_DATE;GRAPH_LDAP_UPDATE_LAST_SIGNIN_DATE" desc:"Update the 'oCLastSignInTimestamp' LDAP attribute of a user when the user signs in. The attribute is only persisted when 'OCIS_LDAP_SERVER_WRITE_ENABLED' is also enabled. Set this to 'false' to avoid an LDAP write on every sign-in, e.g. when the last sign-in timestamp is not needed or the LDAP write load should be reduced." introductionVersion:"8.2.0"`
|
||||
RefintEnabled bool `yaml:"refint_enabled" env:"GRAPH_LDAP_REFINT_ENABLED" desc:"Signals that the server has the refint plugin enabled, which makes some actions not needed." introductionVersion:"pre5.0"`
|
||||
|
||||
UserBaseDN string `yaml:"user_base_dn" env:"OCIS_LDAP_USER_BASE_DN;GRAPH_LDAP_USER_BASE_DN" desc:"Search base DN for looking up LDAP users." introductionVersion:"pre5.0"`
|
||||
UserSearchScope string `yaml:"user_search_scope" env:"OCIS_LDAP_USER_SCOPE;GRAPH_LDAP_USER_SCOPE" desc:"LDAP search scope to use when looking up users. Supported scopes are 'base', 'one' and 'sub'." introductionVersion:"pre5.0"`
|
||||
|
||||
@@ -91,6 +91,7 @@ func DefaultConfig() *config.Config {
|
||||
UseServerUUID: false,
|
||||
UsePasswordModExOp: true,
|
||||
WriteEnabled: true,
|
||||
UpdateUserLastSignInDate: true,
|
||||
UserBaseDN: "ou=users,o=libregraph-idm",
|
||||
UserSearchScope: "sub",
|
||||
UserFilter: "",
|
||||
|
||||
@@ -0,0 +1,74 @@
|
||||
package svc_test
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
. "github.com/onsi/ginkgo/v2"
|
||||
. "github.com/onsi/gomega"
|
||||
mevents "go-micro.dev/v4/events"
|
||||
|
||||
"github.com/owncloud/ocis/v2/ocis-pkg/log"
|
||||
"github.com/owncloud/ocis/v2/ocis-pkg/shared"
|
||||
"github.com/owncloud/ocis/v2/services/graph/pkg/config/defaults"
|
||||
identitymocks "github.com/owncloud/ocis/v2/services/graph/pkg/identity/mocks"
|
||||
service "github.com/owncloud/ocis/v2/services/graph/pkg/service/v0"
|
||||
)
|
||||
|
||||
// fakeConsumer records whether the service subscribes for events.
|
||||
type fakeConsumer struct{ calls int }
|
||||
|
||||
func (f *fakeConsumer) Consume(_ string, _ ...mevents.ConsumeOption) (<-chan mevents.Event, error) {
|
||||
f.calls++
|
||||
// never emit, so the dispatch goroutine (if started) stays idle until ctx is cancelled
|
||||
return make(chan mevents.Event), nil
|
||||
}
|
||||
|
||||
var _ = Describe("logon event subscription", func() {
|
||||
var (
|
||||
ctx context.Context
|
||||
cancel context.CancelFunc
|
||||
identityBackend *identitymocks.Backend
|
||||
consumer *fakeConsumer
|
||||
)
|
||||
|
||||
// newService constructs the graph service, which subscribes for logon events
|
||||
// during initialization depending on the UpdateUserLastSignInDate setting.
|
||||
newService := func(updateLastSignIn bool) {
|
||||
cfg := defaults.FullDefaultConfig()
|
||||
cfg.Commons = &shared.Commons{}
|
||||
cfg.GRPCClientTLS = &shared.GRPCClientTLS{}
|
||||
// avoid the LDAP backend construction path; inject a mock instead
|
||||
cfg.Identity.LDAP.CACert = ""
|
||||
cfg.Identity.LDAP.UpdateUserLastSignInDate = updateLastSignIn
|
||||
|
||||
_, err := service.NewService(
|
||||
service.Config(cfg),
|
||||
service.Context(ctx),
|
||||
service.Logger(log.NewLogger()),
|
||||
service.WithIdentityBackend(identityBackend),
|
||||
service.EventsConsumer(consumer),
|
||||
)
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
}
|
||||
|
||||
BeforeEach(func() {
|
||||
ctx, cancel = context.WithCancel(context.Background())
|
||||
identityBackend = &identitymocks.Backend{}
|
||||
consumer = &fakeConsumer{}
|
||||
})
|
||||
|
||||
AfterEach(func() {
|
||||
// stop any dispatch goroutine started during service initialization
|
||||
cancel()
|
||||
})
|
||||
|
||||
It("does not subscribe for logon events when UpdateUserLastSignInDate is disabled", func() {
|
||||
newService(false)
|
||||
Expect(consumer.calls).To(Equal(0), "Consume must not be called when UpdateUserLastSignInDate is false")
|
||||
})
|
||||
|
||||
It("subscribes for logon events when UpdateUserLastSignInDate is enabled (default)", func() {
|
||||
newService(true)
|
||||
Expect(consumer.calls).To(Equal(1), "Consume must be called once when UpdateUserLastSignInDate is true")
|
||||
})
|
||||
})
|
||||
@@ -562,6 +562,10 @@ func (g *Graph) StartListenForLogonEvents(ctx context.Context, l log.Logger) err
|
||||
if g.eventsConsumer == nil {
|
||||
return nil
|
||||
}
|
||||
if !g.config.Identity.LDAP.UpdateUserLastSignInDate {
|
||||
l.Info().Msg("Updating the last sign-in date is disabled. Not listening for logon events.")
|
||||
return nil
|
||||
}
|
||||
var _registeredEvents = []events.Unmarshaller{
|
||||
events.UserSignedIn{},
|
||||
}
|
||||
|
||||
@@ -145,6 +145,19 @@ Here, you can specify the images to be used in the `"topbar"`, for the `"favicon
|
||||
},
|
||||
```
|
||||
|
||||
Optionally, you can set `"href"` to a URL. If set, clicking the logo in the topbar
|
||||
navigates to that URL instead of the default behavior of navigating to the user's
|
||||
files. If not set, the default navigation behavior is used.
|
||||
|
||||
```json
|
||||
"logo": {
|
||||
"topbar": "themes/owncloud/assets/logo.svg",
|
||||
"favicon": "themes/owncloud/assets/favicon.jpg",
|
||||
"login": "themes/owncloud/assets/logo.svg",
|
||||
"href": "https://example.com"
|
||||
},
|
||||
```
|
||||
|
||||
##### The "loginPage" options
|
||||
|
||||
You can set the background image for the login page by providing an image file in the `"backgroundImg"` option.
|
||||
|
||||
@@ -54,7 +54,8 @@ const Logo = z.object({
|
||||
topbarSm: z.string().optional(),
|
||||
favicon: z.string(),
|
||||
login: z.string(),
|
||||
notFound: z.string().optional()
|
||||
notFound: z.string().optional(),
|
||||
href: z.string().optional()
|
||||
})
|
||||
|
||||
const Icons = z.object({
|
||||
|
||||
@@ -9,7 +9,18 @@
|
||||
v-if="appMenuExtensions.length && !isEmbedModeEnabled && !hideAppSwitcher"
|
||||
:menu-items="appMenuExtensions"
|
||||
/>
|
||||
<router-link v-if="!hideLogo" :to="homeLink" class="oc-logo-href">
|
||||
<!-- eslint-disable-next-line vuejs-accessibility/anchor-has-content -->
|
||||
<a v-if="!hideLogo && logoHref" :href="logoHref" class="oc-logo-href">
|
||||
<oc-responsive-image
|
||||
:src="{
|
||||
xs: currentTheme.logo.topbarSm,
|
||||
md: currentTheme.logo.topbar
|
||||
}"
|
||||
:alt="sidebarLogoAlt"
|
||||
class="oc-logo-image"
|
||||
/>
|
||||
</a>
|
||||
<router-link v-else-if="!hideLogo" :to="homeLink" class="oc-logo-href">
|
||||
<oc-responsive-image
|
||||
:src="{
|
||||
xs: currentTheme.logo.topbarSm,
|
||||
@@ -149,6 +160,8 @@ export default {
|
||||
)
|
||||
})
|
||||
|
||||
const logoHref = computed(() => unref(currentTheme).logo.href)
|
||||
|
||||
const homeLink = computed(() => {
|
||||
if (authStore.publicLinkContextReady && !authStore.userContextReady) {
|
||||
return {
|
||||
@@ -228,6 +241,7 @@ export default {
|
||||
isEmbedModeEnabled,
|
||||
isSideBarToggleVisible,
|
||||
isSideBarToggleDisabled,
|
||||
logoHref,
|
||||
homeLink,
|
||||
topBarCenterExtensionPoint,
|
||||
appMenuExtensions,
|
||||
|
||||
@@ -26,6 +26,40 @@ import { PublicLinkType } from '@ownclouders/web-client'
|
||||
import { WebWorkersStore } from '@ownclouders/web-pkg'
|
||||
import { isSilentRedirectRoute } from '../../helpers/silentRedirect'
|
||||
|
||||
/**
|
||||
* Distinguishes a transient network/connectivity failure from a genuine
|
||||
* authentication rejection.
|
||||
*
|
||||
* When the context is (re-)established on page reload, user data is fetched over
|
||||
* HTTP. If that request fails because of a temporary connectivity issue (offline,
|
||||
* DNS, a page refresh cancelling in-flight requests, ...) we must NOT treat it like
|
||||
* an expired/invalid token and tear down the session. Only errors that carry an HTTP
|
||||
* response (e.g. a `401`) are real auth rejections.
|
||||
*
|
||||
* Recognised connectivity failures:
|
||||
* - Axios errors without an HTTP `response`, with code `ERR_NETWORK` (connection
|
||||
* refused / DNS / CORS / offline) or `ECONNABORTED` (timeout).
|
||||
* - Browser `fetch` failures, which surface as a `TypeError` (Safari: "Load failed",
|
||||
* Chromium: "Failed to fetch", Firefox: "NetworkError when attempting to fetch ...").
|
||||
*/
|
||||
export const isNetworkError = (e: unknown): boolean => {
|
||||
if (e instanceof TypeError) {
|
||||
return /load failed|failed to fetch|networkerror/i.test(e.message)
|
||||
}
|
||||
|
||||
if (e && typeof e === 'object') {
|
||||
const err = e as { response?: unknown; code?: string }
|
||||
// An error that carries an HTTP response is an answered request, not a
|
||||
// connectivity failure - let the regular auth-error handling deal with it.
|
||||
if (err.response) {
|
||||
return false
|
||||
}
|
||||
return err.code === 'ERR_NETWORK' || err.code === 'ECONNABORTED'
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
export class AuthService implements AuthServiceInterface {
|
||||
private clientService: ClientService
|
||||
private configStore: ConfigStore
|
||||
@@ -194,7 +228,11 @@ export class AuthService implements AuthServiceInterface {
|
||||
this.updateMfaExpiryTimer()
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
await this.handleAuthError(unref(this.router.currentRoute))
|
||||
// A transient connectivity failure must not force a logout - keep the
|
||||
// session and let the regular auth flow recover once back online.
|
||||
if (!isNetworkError(e)) {
|
||||
await this.handleAuthError(unref(this.router.currentRoute))
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
@@ -259,7 +297,11 @@ export class AuthService implements AuthServiceInterface {
|
||||
}
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
await this.handleAuthError(unref(this.router.currentRoute))
|
||||
// A transient connectivity failure must not force a logout - keep the
|
||||
// session and let the regular auth flow recover once back online.
|
||||
if (!isNetworkError(e)) {
|
||||
await this.handleAuthError(unref(this.router.currentRoute))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,11 +2,13 @@ import { Capabilities } from '@ownclouders/web-client/ocs'
|
||||
import {
|
||||
ApplicationInformation,
|
||||
AppMenuItemExtension,
|
||||
useExtensionRegistry
|
||||
useExtensionRegistry,
|
||||
WebThemeType
|
||||
} from '@ownclouders/web-pkg'
|
||||
import { mock } from 'vitest-mock-extended'
|
||||
import { computed } from 'vue'
|
||||
import TopBar from '../../../../src/components/Topbar/TopBar.vue'
|
||||
import defaultTheme from '@ownclouders/web-test-helpers/src/mocks/theme.json'
|
||||
import {
|
||||
defaultComponentMocks,
|
||||
defaultPlugins,
|
||||
@@ -14,6 +16,11 @@ import {
|
||||
shallowMount
|
||||
} from '@ownclouders/web-test-helpers'
|
||||
|
||||
const defaultOwnCloudTheme = {
|
||||
...defaultTheme.clients.web.defaults,
|
||||
...defaultTheme.clients.web.themes[0]
|
||||
}
|
||||
|
||||
const mockUseEmbedMode = vi.fn().mockReturnValue({ isEnabled: computed(() => false) })
|
||||
|
||||
vi.mock('@ownclouders/web-pkg', async (importOriginal) => ({
|
||||
@@ -90,16 +97,37 @@ describe('Top Bar component', () => {
|
||||
expect(wrapper.find(`${componentName}-stub`).exists()).toBeFalsy()
|
||||
}
|
||||
)
|
||||
describe('logo', () => {
|
||||
it('links to the internal home route when no href is configured', () => {
|
||||
const { wrapper } = getWrapper()
|
||||
expect(wrapper.find('.oc-logo-href').attributes('href')).toBeUndefined()
|
||||
expect(wrapper.find('router-link-stub').exists()).toBeTruthy()
|
||||
})
|
||||
it('links to the configured href when set', () => {
|
||||
const { wrapper } = getWrapper({ logoHref: 'https://example.com' })
|
||||
expect(wrapper.find('router-link-stub').exists()).toBeFalsy()
|
||||
expect(wrapper.find('.oc-logo-href').attributes('href')).toBe('https://example.com')
|
||||
})
|
||||
it('is not rendered when hideLogo is "true", even if href is configured', () => {
|
||||
const { wrapper } = getWrapper({
|
||||
options: { hideLogo: true },
|
||||
logoHref: 'https://example.com'
|
||||
})
|
||||
expect(wrapper.find('.oc-logo-href').exists()).toBeFalsy()
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
const getWrapper = ({
|
||||
capabilities = {},
|
||||
userContextReady = true,
|
||||
options
|
||||
options,
|
||||
logoHref
|
||||
}: {
|
||||
capabilities?: Partial<Capabilities['capabilities']>
|
||||
userContextReady?: boolean
|
||||
options?: PiniaMockOptions['configState']['options']
|
||||
logoHref?: string
|
||||
} = {}) => {
|
||||
const mocks = { ...defaultComponentMocks() }
|
||||
|
||||
@@ -107,7 +135,13 @@ const getWrapper = ({
|
||||
piniaOptions: {
|
||||
authState: { userContextReady },
|
||||
capabilityState: { capabilities },
|
||||
configState: { options: { disableFeedbackLink: false, ...options } }
|
||||
configState: { options: { disableFeedbackLink: false, ...options } },
|
||||
themeState: {
|
||||
currentTheme: mock<WebThemeType>({
|
||||
...defaultOwnCloudTheme,
|
||||
logo: { ...defaultOwnCloudTheme.logo, href: logoHref }
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { ConfigStore, useAuthStore, useConfigStore } from '@ownclouders/web-pkg'
|
||||
import { mock } from 'vitest-mock-extended'
|
||||
import { Router } from 'vue-router'
|
||||
import { AuthService } from '../../../../src/services/auth/authService'
|
||||
import { AuthService, isNetworkError } from '../../../../src/services/auth/authService'
|
||||
import { UserManager } from '../../../../src/services/auth/userManager'
|
||||
import { RouteLocation, createRouter, createTestingPinia } from '@ownclouders/web-test-helpers'
|
||||
import { User } from 'oidc-client-ts'
|
||||
@@ -224,4 +224,106 @@ describe('AuthService', () => {
|
||||
expect(mockSignInRedirect).not.toHaveBeenCalled()
|
||||
})
|
||||
})
|
||||
|
||||
describe('isNetworkError', () => {
|
||||
it.each([
|
||||
['axios ERR_NETWORK (offline / connection refused)', { code: 'ERR_NETWORK' }, true],
|
||||
['axios ECONNABORTED (timeout)', { code: 'ECONNABORTED' }, true],
|
||||
['fetch TypeError - Safari "Load failed"', new TypeError('Load failed'), true],
|
||||
['fetch TypeError - Chromium "Failed to fetch"', new TypeError('Failed to fetch'), true],
|
||||
[
|
||||
'fetch TypeError - Firefox "NetworkError ..."',
|
||||
new TypeError('NetworkError when attempting to fetch resource.'),
|
||||
true
|
||||
],
|
||||
['an answered request carrying an HTTP response (401)', { response: { status: 401 } }, false],
|
||||
[
|
||||
'an ERR_NETWORK code that nonetheless carries a response',
|
||||
{ code: 'ERR_NETWORK', response: { status: 500 } },
|
||||
false
|
||||
],
|
||||
['an unrelated TypeError (real bug)', new TypeError('foo is not a function'), false],
|
||||
['an error with an unknown code', { code: 'ERR_BAD_REQUEST' }, false],
|
||||
['a null error', null, false],
|
||||
['a plain string error', 'boom', false]
|
||||
])('returns %s => %s', (_desc, error, expected) => {
|
||||
expect(isNetworkError(error)).toBe(expected)
|
||||
})
|
||||
})
|
||||
|
||||
describe('initializeContext auth-error classification', () => {
|
||||
const buildAuthService = (rejection: unknown) => {
|
||||
const authService = new AuthService()
|
||||
Object.defineProperty(authService, 'userManager', {
|
||||
value: mock<UserManager>({
|
||||
getAccessToken: vi.fn().mockResolvedValue('access-token'),
|
||||
getUser: vi.fn().mockResolvedValue(mock<User>({ expires_in: 3600 })),
|
||||
updateContext: vi.fn().mockRejectedValue(rejection)
|
||||
})
|
||||
})
|
||||
const router = createRouter()
|
||||
initAuthService({ authService, router })
|
||||
const handleAuthErrorSpy = vi
|
||||
.spyOn(authService, 'handleAuthError')
|
||||
.mockResolvedValue(undefined)
|
||||
return { authService, handleAuthErrorSpy }
|
||||
}
|
||||
|
||||
it('preserves the session (no handleAuthError) when updateContext fails with a network error on reload', async () => {
|
||||
const { authService, handleAuthErrorSpy } = buildAuthService({ code: 'ERR_NETWORK' })
|
||||
|
||||
await authService.initializeContext(mock<RouteLocation>({}))
|
||||
|
||||
expect(handleAuthErrorSpy).not.toHaveBeenCalled()
|
||||
})
|
||||
|
||||
it('triggers handleAuthError when updateContext fails with a 401 on reload', async () => {
|
||||
const { authService, handleAuthErrorSpy } = buildAuthService({ response: { status: 401 } })
|
||||
|
||||
await authService.initializeContext(mock<RouteLocation>({}))
|
||||
|
||||
expect(handleAuthErrorSpy).toHaveBeenCalled()
|
||||
})
|
||||
|
||||
it('addUserLoaded handler preserves the session on a network error but logs out on an auth rejection', async () => {
|
||||
const authService = new AuthService()
|
||||
let userLoadedCb: (user: User) => Promise<void>
|
||||
const updateContext = vi.fn()
|
||||
Object.defineProperty(authService, 'userManager', {
|
||||
value: mock<UserManager>({
|
||||
// skip the reload branch, we drive the addUserLoaded handler directly
|
||||
getAccessToken: vi.fn().mockResolvedValue(null),
|
||||
// force event-handler registration (mock<> would otherwise make this truthy)
|
||||
areEventHandlersRegistered: false,
|
||||
updateContext,
|
||||
events: {
|
||||
addAccessTokenExpired: vi.fn(),
|
||||
addAccessTokenExpiring: vi.fn(),
|
||||
addUserLoaded: vi.fn().mockImplementation((cb) => {
|
||||
userLoadedCb = cb
|
||||
}),
|
||||
addUserUnloaded: vi.fn(),
|
||||
addSilentRenewError: vi.fn()
|
||||
} as unknown as UserManager['events']
|
||||
})
|
||||
})
|
||||
const router = createRouter()
|
||||
initAuthService({ authService, router })
|
||||
const handleAuthErrorSpy = vi
|
||||
.spyOn(authService, 'handleAuthError')
|
||||
.mockResolvedValue(undefined)
|
||||
|
||||
await authService.initializeContext(mock<RouteLocation>({}))
|
||||
|
||||
// network error -> session preserved
|
||||
updateContext.mockRejectedValueOnce({ code: 'ERR_NETWORK' })
|
||||
await userLoadedCb(mock<User>({ access_token: 'tok', expires_in: 3600 }))
|
||||
expect(handleAuthErrorSpy).not.toHaveBeenCalled()
|
||||
|
||||
// auth rejection -> existing logout flow
|
||||
updateContext.mockRejectedValueOnce({ response: { status: 401 } })
|
||||
await userLoadedCb(mock<User>({ access_token: 'tok', expires_in: 3600 }))
|
||||
expect(handleAuthErrorSpy).toHaveBeenCalledTimes(1)
|
||||
})
|
||||
})
|
||||
})
|
||||
Reference in new issue
Block a user