From da4a69b2f3a91cb9be5728e111c7664624526eb0 Mon Sep 17 00:00:00 2001 From: kobergj Date: Tue, 14 Mar 2023 15:05:13 +0000 Subject: [PATCH] Merge pull request #5753 from kobergj/TranslateNotifications Translate Notifications --- content/helpers/extended_vars.yaml | 4 +-- .../_includes/adoc/global_configvars.adoc | 34 +++++++++---------- .../_includes/adoc/userlog_configvars.adoc | 9 +++++ .../_includes/userlog-config-example.yaml | 1 + .../services/_includes/userlog_configvars.md | 1 + 5 files changed, 30 insertions(+), 19 deletions(-) diff --git a/content/helpers/extended_vars.yaml b/content/helpers/extended_vars.yaml index a6728235dc1..2f7b8583510 100644 --- a/content/helpers/extended_vars.yaml +++ b/content/helpers/extended_vars.yaml @@ -33,7 +33,7 @@ variables: description: "" do_ignore: true - rawname: MICRO_LOG_LEVEL - path: ocis-pkg/log/log.go:31 + path: ocis-pkg/log/log.go:35 foundincode: true name: MICRO_LOG_LEVEL type: "" @@ -41,7 +41,7 @@ variables: description: "" do_ignore: false - rawname: MICRO_LOG_LEVEL - path: ocis-pkg/log/log.go:35 + path: ocis-pkg/log/log.go:31 foundincode: true name: MICRO_LOG_LEVEL type: "" diff --git a/content/services/_includes/adoc/global_configvars.adoc b/content/services/_includes/adoc/global_configvars.adoc index 210d7aab476..e3c4d1c26f7 100644 --- a/content/services/_includes/adoc/global_configvars.adoc +++ b/content/services/_includes/adoc/global_configvars.adoc @@ -163,7 +163,7 @@ a| [subs=-attributes] ++groupOfNames ++ a| [subs=-attributes] -The object class to use for groups in the default group search filter ('groupOfNames'). +The object class to use for groups in the default group search filter like 'groupOfNames'. a| `LDAP_GROUP_SCHEMA_DISPLAYNAME` @@ -213,7 +213,7 @@ a| [subs=-attributes] ++ownclouduuid ++ a| [subs=-attributes] -LDAP Attribute to use as the unique id for groups. This should be a stable globally unique ID like a UUID. +LDAP Attribute to use as the unique ID for groups. This should be a stable globally unique ID like a UUID. a| `LDAP_GROUP_SCHEMA_ID_IS_OCTETSTRING` @@ -278,7 +278,7 @@ a| [subs=-attributes] ++sub ++ a| [subs=-attributes] -LDAP search scope to use when looking up groups. Supported scopes are 'base', 'one' and 'sub'. +LDAP search scope to use when looking up groups. Supported values are 'base', 'one' and 'sub'. a| `LDAP_INSECURE` @@ -385,7 +385,7 @@ a| [subs=-attributes] ++inetOrgPerson ++ a| [subs=-attributes] -The object class to use for users in the default user search filter ('inetOrgPerson'). +The object class to use for users in the default user search filter like 'inetOrgPerson'. a| `LDAP_USER_SCHEMA_DISPLAYNAME` @@ -435,7 +435,7 @@ a| [subs=-attributes] ++false ++ a| [subs=-attributes] -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. +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. a| `LDAP_USER_SCHEMA_MAIL` @@ -489,7 +489,7 @@ a| [subs=-attributes] ++sub ++ a| [subs=-attributes] -LDAP search scope to use when looking up users. Supported scopes are 'base', 'one' and 'sub'. +LDAP search scope to use when looking up users. Supported values are 'base', 'one' and 'sub'. a| `OCIS_ADMIN_USER_ID` @@ -505,7 +505,7 @@ a| [subs=-attributes] ++ ++ a| [subs=-attributes] -ID of the user who collects all necessary information for deletion. +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. a| `OCIS_CACHE_STORE_ADDRESS` @@ -517,13 +517,13 @@ a| [subs=attributes+] * xref:{s-path}/storage-users.adoc[storage-users] + a| [subs=-attributes] -++[]string ++ +++string ++ a| [subs=-attributes] -++[] ++ +++ ++ a| [subs=-attributes] -Node addresses to use for the cache store. +A comma-separated list of addresses to connect to. Only valid if the above setting is set to "etcd" a| `OCIS_CACHE_STORE_SIZE` @@ -553,10 +553,10 @@ a| [subs=-attributes] ++string ++ a| [subs=-attributes] -++memory ++ +++ ++ a| [subs=-attributes] -Store implementation for the cache. Valid values are "memory" (default), "redis", and "etcd". +The type of the cache store. Valid options are "noop", "ocmem", "etcd" and "memory" a| `OCIS_CORS_ALLOW_CREDENTIALS` @@ -828,7 +828,7 @@ a| [subs=-attributes] ++false ++ a| [subs=-attributes] -Whether to verify the server TLS certificates. +Allow insecure connections to the frontend. a| `OCIS_JWT_SECRET` @@ -1067,7 +1067,7 @@ a| [subs=-attributes] ++ ++ a| [subs=-attributes] -Machine auth API key used to validate internal requests necessary for the access to resources from other services. +The machine auth API key used to validate internal requests necessary to access resources from other services. a| `OCIS_OIDC_ISSUER` @@ -1103,7 +1103,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 on Uploader, Editor or Contributor shares. a| `OCIS_SPACES_MAX_QUOTA` @@ -1118,7 +1118,7 @@ a| [subs=-attributes] ++0 ++ a| [subs=-attributes] -Set a global max quota for spaces in bytes. A value of 0 equals unlimited. If not using the global OCIS_SPACES_MAX_QUOTA, you must define the FRONTEND_MAX_QUOTA in the frontend service. +Set the global max quota value in bytes. A value of 0 equals unlimited. The value is provided via capabilities. a| `OCIS_SYSTEM_USER_API_KEY` @@ -1416,7 +1416,7 @@ a| [subs=-attributes] ++ ++ a| [subs=-attributes] -The storage transfer secret. +Transfer secret for signing file up- and download requests. a| `STORAGE_USERS_OCIS_ASYNC_UPLOADS` diff --git a/content/services/_includes/adoc/userlog_configvars.adoc b/content/services/_includes/adoc/userlog_configvars.adoc index 8732c0656fc..1f4f0493944 100644 --- a/content/services/_includes/adoc/userlog_configvars.adoc +++ b/content/services/_includes/adoc/userlog_configvars.adoc @@ -216,6 +216,15 @@ a| [subs=-attributes] a| [subs=-attributes] CS3 gateway used to look up user metadata +a|`USERLOG_TRANSLATION_PATH` + + +a| [subs=-attributes] +++string ++ +a| [subs=-attributes] +++ ++ +a| [subs=-attributes] +(optional) Set this to a path with custom translations to overwrite the builtin translations. See the documentation for more details. + a|`USERLOG_EVENTS_ENDPOINT` + a| [subs=-attributes] diff --git a/content/services/_includes/userlog-config-example.yaml b/content/services/_includes/userlog-config-example.yaml index 1e45dbfcaf4..66e83c0e3e7 100644 --- a/content/services/_includes/userlog-config-example.yaml +++ b/content/services/_includes/userlog-config-example.yaml @@ -35,6 +35,7 @@ token_manager: jwt_secret: "" machine_auth_api_key: "" reva_gateway: 127.0.0.1:9142 +translation_path: "" events: endpoint: 127.0.0.1:9233 cluster: ocis-cluster diff --git a/content/services/_includes/userlog_configvars.md b/content/services/_includes/userlog_configvars.md index 7af6559a635..91c32b79e0e 100644 --- a/content/services/_includes/userlog_configvars.md +++ b/content/services/_includes/userlog_configvars.md @@ -22,6 +22,7 @@ | OCIS_JWT_SECRET
USERLOG_JWT_SECRET | string | | The secret to mint and validate jwt tokens.| | OCIS_MACHINE_AUTH_API_KEY
USERLOG_MACHINE_AUTH_API_KEY | string | | Machine auth API key used to validate internal requests necessary to access resources from other services.| | REVA_GATEWAY | string | 127.0.0.1:9142 | CS3 gateway used to look up user metadata| +| USERLOG_TRANSLATION_PATH | string | | (optional) Set this to a path with custom translations to overwrite the builtin translations. See the documentation for more details.| | USERLOG_EVENTS_ENDPOINT | string | 127.0.0.1:9233 | The address of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture.| | USERLOG_EVENTS_CLUSTER | string | ocis-cluster | The clusterID of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture. Mandatory when using NATS as event system.| | OCIS_INSECURE
USERLOG_EVENTS_TLS_INSECURE | bool | false | Whether to verify the server TLS certificates.|