From 2455c37c08737e58e3bd69ca4ced795fcfef5e6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Thu, 5 May 2022 11:47:41 +0000 Subject: [PATCH] =?UTF-8?q?commit=2015f7c00186a7bdd54ea50b7f2f24b3fc074ee9?= =?UTF-8?q?2e=20Merge:=20ffb136574=209c120d075=20Author:=20J=C3=B6rn=20Fri?= =?UTF-8?q?edrich=20Dreyer=20=20Date:=20=20=20Thu=20May?= =?UTF-8?q?=205=2011:45:55=202022=20+0000?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Merge pull request #3695 from owncloud/notifications-config update notifications docs --- extensions/_includes/adoc/notifications_configvars.adoc | 8 ++++---- extensions/_includes/notifications-config-example.yaml | 4 ++-- extensions/_includes/notifications_configvars.md | 8 ++++---- extensions/notifications/_index.md | 1 + grpc_apis/ocis/messages/accounts/v0/grpc.md | 2 +- grpc_apis/ocis/messages/search/v0/grpc.md | 2 +- grpc_apis/ocis/messages/settings/v0/grpc.md | 2 +- grpc_apis/ocis/messages/store/v0/grpc.md | 2 +- grpc_apis/ocis/messages/thumbnails/v0/grpc.md | 2 +- grpc_apis/ocis/services/accounts/v0/grpc.md | 2 +- grpc_apis/ocis/services/search/v0/grpc.md | 2 +- grpc_apis/ocis/services/settings/v0/grpc.md | 2 +- grpc_apis/ocis/services/store/v0/grpc.md | 2 +- grpc_apis/ocis/services/thumbnails/v0/grpc.md | 2 +- 14 files changed, 21 insertions(+), 20 deletions(-) diff --git a/extensions/_includes/adoc/notifications_configvars.adoc b/extensions/_includes/adoc/notifications_configvars.adoc index 5c59b48f04c..1e23c9c1be3 100644 --- a/extensions/_includes/adoc/notifications_configvars.adoc +++ b/extensions/_includes/adoc/notifications_configvars.adoc @@ -52,11 +52,11 @@ NOTIFICATIONS_LOG_FILE` | | `NOTIFICATIONS_SMTP_SENDER` | string -| god@example.com +| noreply@example.com | | `NOTIFICATIONS_SMTP_PASSWORD` | string -| godisdead +| | | `NOTIFICATIONS_EVENTS_ENDPOINT` | string @@ -74,12 +74,12 @@ NOTIFICATIONS_LOG_FILE` NOTIFICATIONS_REVA_GATEWAY` | string | 127.0.0.1:9142 -| +| CS3 gateway used to look up user metadata | `OCIS_MACHINE_AUTH_API_KEY + NOTIFICATIONS_MACHINE_AUTH_API_KEY` | string | -| +| Machine auth API key used to impersonate users when looking up their email |=== Since Version: `+` added, `-` deprecated diff --git a/extensions/_includes/notifications-config-example.yaml b/extensions/_includes/notifications-config-example.yaml index b6d361568c9..7e25bd1f547 100644 --- a/extensions/_includes/notifications-config-example.yaml +++ b/extensions/_includes/notifications-config-example.yaml @@ -15,8 +15,8 @@ notifications: SMTP: smtp_host: 127.0.0.1 smtp_port: "1025" - smtp_sender: god@example.com - smtp_password: godisdead + smtp_sender: noreply@example.com + smtp_password: "" events: endpoint: 127.0.0.1:9233 cluster: ocis-cluster diff --git a/extensions/_includes/notifications_configvars.md b/extensions/_includes/notifications_configvars.md index 92b98bfde87..0228582d49d 100644 --- a/extensions/_includes/notifications_configvars.md +++ b/extensions/_includes/notifications_configvars.md @@ -12,10 +12,10 @@ | NOTIFICATIONS_DEBUG_ZPAGES | bool | false | | | NOTIFICATIONS_SMTP_HOST | string | 127.0.0.1 | | | NOTIFICATIONS_SMTP_PORT | string | 1025 | | -| NOTIFICATIONS_SMTP_SENDER | string | god@example.com | | -| NOTIFICATIONS_SMTP_PASSWORD | string | godisdead | | +| NOTIFICATIONS_SMTP_SENDER | string | noreply@example.com | | +| NOTIFICATIONS_SMTP_PASSWORD | string | | | | NOTIFICATIONS_EVENTS_ENDPOINT | string | 127.0.0.1:9233 | | | NOTIFICATIONS_EVENTS_CLUSTER | string | ocis-cluster | | | NOTIFICATIONS_EVENTS_GROUP | string | notifications | | -| REVA_GATEWAY
NOTIFICATIONS_REVA_GATEWAY | string | 127.0.0.1:9142 | | -| OCIS_MACHINE_AUTH_API_KEY
NOTIFICATIONS_MACHINE_AUTH_API_KEY | string | | | \ No newline at end of file +| REVA_GATEWAY
NOTIFICATIONS_REVA_GATEWAY | string | 127.0.0.1:9142 | CS3 gateway used to look up user metadata| +| OCIS_MACHINE_AUTH_API_KEY
NOTIFICATIONS_MACHINE_AUTH_API_KEY | string | | Machine auth API key used to impersonate users when looking up their email| \ No newline at end of file diff --git a/extensions/notifications/_index.md b/extensions/notifications/_index.md index c0ad0f7a596..0cc731856eb 100644 --- a/extensions/notifications/_index.md +++ b/extensions/notifications/_index.md @@ -10,6 +10,7 @@ geekdocCollapseSection: true ## Abstract +The notifications extension is responsible for making users aware of changes. It listens on the event bus, filters relevant events, looks up the recipients email address and then queues an email with an external MTA. ## Table of Contents diff --git a/grpc_apis/ocis/messages/accounts/v0/grpc.md b/grpc_apis/ocis/messages/accounts/v0/grpc.md index 8f223c49f09..4047660e4c2 100644 --- a/grpc_apis/ocis/messages/accounts/v0/grpc.md +++ b/grpc_apis/ocis/messages/accounts/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.accounts.v0" url: /grpc_apis/ocis_messages_accounts_v0 -date: 2022-05-05T09:51:28Z +date: 2022-05-05T11:47:01Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/messages/search/v0/grpc.md b/grpc_apis/ocis/messages/search/v0/grpc.md index 54989e6b34c..bc552f405e8 100644 --- a/grpc_apis/ocis/messages/search/v0/grpc.md +++ b/grpc_apis/ocis/messages/search/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.search.v0" url: /grpc_apis/ocis_messages_search_v0 -date: 2022-05-05T09:51:28Z +date: 2022-05-05T11:47:01Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/messages/settings/v0/grpc.md b/grpc_apis/ocis/messages/settings/v0/grpc.md index 530f9e2505d..d61036bbf80 100644 --- a/grpc_apis/ocis/messages/settings/v0/grpc.md +++ b/grpc_apis/ocis/messages/settings/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.settings.v0" url: /grpc_apis/ocis_messages_settings_v0 -date: 2022-05-05T09:51:28Z +date: 2022-05-05T11:47:01Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/messages/store/v0/grpc.md b/grpc_apis/ocis/messages/store/v0/grpc.md index 55eba770d5d..a9889a8b8b1 100644 --- a/grpc_apis/ocis/messages/store/v0/grpc.md +++ b/grpc_apis/ocis/messages/store/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.store.v0" url: /grpc_apis/ocis_messages_store_v0 -date: 2022-05-05T09:51:28Z +date: 2022-05-05T11:47:01Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/messages/thumbnails/v0/grpc.md b/grpc_apis/ocis/messages/thumbnails/v0/grpc.md index b7d6dcc42cb..1ba18f606ee 100644 --- a/grpc_apis/ocis/messages/thumbnails/v0/grpc.md +++ b/grpc_apis/ocis/messages/thumbnails/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.thumbnails.v0" url: /grpc_apis/ocis_messages_thumbnails_v0 -date: 2022-05-05T09:51:28Z +date: 2022-05-05T11:47:01Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/accounts/v0/grpc.md b/grpc_apis/ocis/services/accounts/v0/grpc.md index fb9cc746207..3e607762a0f 100644 --- a/grpc_apis/ocis/services/accounts/v0/grpc.md +++ b/grpc_apis/ocis/services/accounts/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.accounts.v0" url: /grpc_apis/ocis_services_accounts_v0 -date: 2022-05-05T09:51:28Z +date: 2022-05-05T11:47:01Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/search/v0/grpc.md b/grpc_apis/ocis/services/search/v0/grpc.md index 83b313ba696..70419f14da8 100644 --- a/grpc_apis/ocis/services/search/v0/grpc.md +++ b/grpc_apis/ocis/services/search/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.search.v0" url: /grpc_apis/ocis_services_search_v0 -date: 2022-05-05T09:51:28Z +date: 2022-05-05T11:47:01Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/settings/v0/grpc.md b/grpc_apis/ocis/services/settings/v0/grpc.md index 75335e7290f..3968727dbb4 100644 --- a/grpc_apis/ocis/services/settings/v0/grpc.md +++ b/grpc_apis/ocis/services/settings/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.settings.v0" url: /grpc_apis/ocis_services_settings_v0 -date: 2022-05-05T09:51:28Z +date: 2022-05-05T11:47:01Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/store/v0/grpc.md b/grpc_apis/ocis/services/store/v0/grpc.md index 299eab1a0c7..aed2d66276a 100644 --- a/grpc_apis/ocis/services/store/v0/grpc.md +++ b/grpc_apis/ocis/services/store/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.store.v0" url: /grpc_apis/ocis_services_store_v0 -date: 2022-05-05T09:51:28Z +date: 2022-05-05T11:47:01Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/thumbnails/v0/grpc.md b/grpc_apis/ocis/services/thumbnails/v0/grpc.md index f68c779dec4..2747ab5443d 100644 --- a/grpc_apis/ocis/services/thumbnails/v0/grpc.md +++ b/grpc_apis/ocis/services/thumbnails/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.thumbnails.v0" url: /grpc_apis/ocis_services_thumbnails_v0 -date: 2022-05-05T09:51:28Z +date: 2022-05-05T11:47:01Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis ---