From cf8c86804e5005647735a1421246d3dd33a276ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Sun, 22 Sep 2019 21:36:05 -0400 Subject: [PATCH] Enable and do initial configuration of comment notify modules Send a simple link to all managers And we'll try to send authors and commenters notice of new comments by default. Ref #12 --- config/sync/comment_notify.settings.yml | 19 +++++++++++++++++++ config/sync/core.extension.yml | 2 ++ config/sync/scn.settings.yml | 18 ++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 config/sync/comment_notify.settings.yml create mode 100644 config/sync/scn.settings.yml diff --git a/config/sync/comment_notify.settings.yml b/config/sync/comment_notify.settings.yml new file mode 100644 index 0000000..ba92381 --- /dev/null +++ b/config/sync/comment_notify.settings.yml @@ -0,0 +1,19 @@ +bundle_types: + - node--article--comment +available_alerts: + 1: true + 2: true +enable_default: + watcher: none + entity_author: false +mail_templates: + watcher: + node: + subject: '[site:name] :: new comment on [node:title]' + body: "Hi [comment-subscribed:author],\n\n[comment:author] has commented on: \"[node:title]\"\n\n----\n[comment:title]\n[comment:body]\n----\n\nYou can view the comment at the following url\n[comment:url]\n\nYou can stop receiving emails when someone replies to this post,\nby going to [comment-subscribed:unsubscribe-url]\n\nYou can set up auto-following feature for all future posts\nby creating your own user with a few clicks here [site:login-url]\n\n-- [site:name] team\n[site:url]\n" + entity_author: + node: + subject: '[site:name] :: new comment for your post' + body: "Hi [node:author],\n\nYou have received a comment on: \"[node:title]\"\n\n----\n[comment:title]\n[comment:body]\n----\n\nYou can view the comment at the following url\n[comment:url]\n\nYou will receive emails like this for all replies to your posts. You can\ndisable this by logging in and changing the settings on your user account at\n[node:author:edit-url].\n\n-- [site:name] team\n[site:url]\n" +_core: + default_config_hash: y7oCzsZ-B0R-nyeSFO1f2h9BEChUQGSZT-3cqXd-sLE diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index 6ab2e21..9db74d0 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -84,6 +84,7 @@ module: rdf: 0 redirect: 0 responsive_image: 0 + scn: 0 search_api: 0 search_api_db: 0 serialization: 0 @@ -103,6 +104,7 @@ module: ds: 1 menu_link_content: 1 pathauto: 1 + comment_notify: 10 views: 10 paragraphs: 11 config_provider: 100 diff --git a/config/sync/scn.settings.yml b/config/sync/scn.settings.yml new file mode 100644 index 0000000..fb69ca8 --- /dev/null +++ b/config/sync/scn.settings.yml @@ -0,0 +1,18 @@ +scn_admin: 0 +scn_roles: + manager: manager + administrator: 0 + authenticated: 0 + content_administrator: 0 + invited_blogger: 0 + proofreader: 0 + contributor: 0 + editor: 0 +scn_maillist: '' +scn_telegram: 0 +scn_telegram_bottoken: '' +scn_telegram_chatids: '' +scn_telegram_proxy: 0 +scn_telegram_proxy_server: '' +scn_telegram_proxy_login: '' +scn_telegram_proxy_password: ''