Skip to content

Commit

Permalink
Merge pull request #5753 from kobergj/TranslateNotifications
Browse files Browse the repository at this point in the history
Translate Notifications
  • Loading branch information
kobergj committed Mar 14, 2023
1 parent df36994 commit da4a69b
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 19 deletions.
4 changes: 2 additions & 2 deletions content/helpers/extended_vars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ 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: ""
default_value: ""
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: ""
Expand Down
34 changes: 17 additions & 17 deletions content/services/_includes/adoc/global_configvars.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down Expand Up @@ -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`

Expand Down Expand Up @@ -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`

Expand Down Expand Up @@ -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`

Expand Down Expand Up @@ -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`

Expand Down Expand Up @@ -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`

Expand All @@ -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`

Expand All @@ -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`

Expand Down Expand Up @@ -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`

Expand Down Expand Up @@ -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`

Expand Down Expand Up @@ -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`

Expand Down Expand Up @@ -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`

Expand All @@ -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`

Expand Down Expand Up @@ -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`

Expand Down
9 changes: 9 additions & 0 deletions content/services/_includes/adoc/userlog_configvars.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
1 change: 1 addition & 0 deletions content/services/_includes/userlog-config-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions content/services/_includes/userlog_configvars.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
| OCIS_JWT_SECRET<br/>USERLOG_JWT_SECRET | string | | The secret to mint and validate jwt tokens.|
| OCIS_MACHINE_AUTH_API_KEY<br/>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<br/>USERLOG_EVENTS_TLS_INSECURE | bool | false | Whether to verify the server TLS certificates.|
Expand Down

0 comments on commit da4a69b

Please sign in to comment.