Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
help_docs: Reorganize notification docs under three umbrella pages.
Alya Abbott0f9d0f5a8624
diff --git a/templates/zerver/help/add-an-alert-word.md b/templates/zerver/help/add-an-alert-word.mddeleted file mode 100644index c4104264ea5..00000000000--- a/templates/zerver/help/add-an-alert-word.md+++ /dev/null@@ -1,21 +0,0 @@-# Alert words--Zulip lets you to specify **alert words or phrases** that notify you whenever-the alert word is included in a message. Alert words are case-insensitive.--### Add an alert word or phrase--{start_tabs}--{settings_tab|alert-words}--1. Add a word or phrase.--1. Click **Add alert word**.--{end_tabs}--## Related articles--* [Notification settings](/help/pm-mention-alert-notifications) for alert- words, PMs, and mentionsdiff --git a/templates/zerver/help/change-notification-sound.md b/templates/zerver/help/change-notification-sound.mddeleted file mode 100644index f899a093fdb..00000000000--- a/templates/zerver/help/change-notification-sound.md+++ /dev/null@@ -1,16 +0,0 @@-# Change notification sound--You can change the sound Zulip uses for audible desktop notifications.--### Change notification sound--{start_tabs}--{settings_tab|notifications}--1. Under **Desktop message notifications**, configure- **Notification sound**.--{end_tabs}--You can select "None" to completely disable audible desktop notifications in Zulip.diff --git a/templates/zerver/help/configure-default-new-user-settings.md b/templates/zerver/help/configure-default-new-user-settings.mdindex 0a50e87ad57..b8bdad8059b 100644--- a/templates/zerver/help/configure-default-new-user-settings.md+++ b/templates/zerver/help/configure-default-new-user-settings.md@@ -18,7 +18,7 @@ preference settings, including the following:* [Emoji theme](/help/emoji-and-emoticons#change-your-emoji-set)* Notification settings, including:* [What types of messages trigger notifications][default-notifications]- * [Configurations for email notifications](/help/configure-message-notification-emails)+ * [Configurations for email notifications](/help/email-notifications)[default-notifications]: /help/stream-notifications#set-default-notifications-for-all-streamsdiff --git a/templates/zerver/help/troubleshooting-desktop-notifications.md b/templates/zerver/help/desktop-notifications.mdsimilarity index 70%rename from templates/zerver/help/troubleshooting-desktop-notifications.mdrename to templates/zerver/help/desktop-notifications.mdindex c623969668b..fd916dd2673 100644--- a/templates/zerver/help/troubleshooting-desktop-notifications.md+++ b/templates/zerver/help/desktop-notifications.md@@ -1,4 +1,29 @@-# Troubleshooting desktop notifications+# Desktop notifications++Zulip offers visual and audible desktop notifications. You can+customize whether [stream messages](/help/stream-notifications),+[private messages](/help/pm-mention-alert-notifications) and+[mentions](/help/pm-mention-alert-notifications#wildcard-mentions)+trigger desktop notifications.++## Change notification sound++You can change the sound Zulip uses for audible desktop notifications.++### Change notification sound++{start_tabs}++{settings_tab|notifications}++1. Under **Desktop message notifications**, configure+ **Notification sound**.++{end_tabs}++You can select "None" to completely disable audible desktop notifications in Zulip.++## Troubleshooting desktop notificationsFirst, make sure you have enabled[desktop notifications for PMs](/help/pm-mention-alert-notifications) or for the@@ -73,3 +98,9 @@ Alternate instructions:3. Configure the notification style that you would like Zulip to use.{end_tabs}++## Related articles+* [Stream notifications](/help/stream-notifications)+* [PMs, mentions, and alerts](/help/pm-mention-alert-notifications)+* [Email notifications](/help/email-notifications)+* [Mobile notifications](/help/mobile-notifications)diff --git a/templates/zerver/help/disable-new-login-emails.md b/templates/zerver/help/disable-new-login-emails.mddeleted file mode 100644index aaaa84bd877..00000000000--- a/templates/zerver/help/disable-new-login-emails.md+++ /dev/null@@ -1,25 +0,0 @@-# Disable new login emails--By default, Zulip sends an email whenever you log in to Zulip. These emails-help you protect your account; if you see a login email at a time or from a-device you don't recognize, you should-[change your password](/help/change-your-password) right away.--In typical usage, these emails are sent infrequently, since all Zulip apps-(web, mobile, desktop, and terminal) keep you logged in to any organization-you've interacted with in the last 1-2 weeks.--However, there are situations (usually due to corporate security policy) in-which you may have to log in every day, and where getting login emails can-feel excessive.--### Disable new login emails--{start_tabs}--{settings_tab|notifications}--1. Under **Other emails**, toggle- **Send email notifications for new logins to my account**.--{end_tabs}diff --git a/templates/zerver/help/configure-message-notification-emails.md b/templates/zerver/help/email-notifications.mdsimilarity index 61%rename from templates/zerver/help/configure-message-notification-emails.mdrename to templates/zerver/help/email-notifications.mdindex 276804255cc..df3f809e74a 100644--- a/templates/zerver/help/configure-message-notification-emails.md+++ b/templates/zerver/help/email-notifications.md@@ -1,17 +1,19 @@-# Configure message notification emails+# Email notifications++## Message notification emailsZulip can be configured to send message notification emails for [PMsand mentions](/help/pm-mention-alert-notifications), as well as[stream messages](/help/stream-notifications).-You can [respond to Zulip messages directly][reply-from-email] by replying to message-notification emails, unless you are-connecting to a self-hosted Zulip server whose system administrator-has not configured the [incoming email gateway][incoming-email-gateway].+You can [respond to Zulip messages directly][reply-from-email] by+replying to message notification emails, unless you are connecting to+a self-hosted Zulip server whose system administrator has not+configured the [incoming email gateway][incoming-email-gateway].[incoming-email-gateway]: https://zulip.readthedocs.io/en/latest/production/email-gateway.html-## Delay before sending emails+### Delay before sending emailsTo reduce the number of emails you receive, Zulipdelays sending message notification emails for a configurable period@@ -41,7 +43,7 @@ To configure the delay for message notification emails:{end_tabs}-## Include organization name in subject line+### Include organization name in subject lineIf you belong to multiple Zulip organizations, it can be helpful to have thename of the organization in the subject line of your message notification emails.@@ -56,7 +58,7 @@ name of the organization in the subject line of your message notification emails{end_tabs}-## Hide message content+### Hide message contentFor security or compliance reasons, you may want to hide the content of yourZulip messages from your email. Organization admins can do this at an@@ -75,6 +77,48 @@ being sent through your email.{end_tabs}+## New login emails++By default, Zulip sends an email whenever you log in to Zulip. These emails+help you protect your account; if you see a login email at a time or from a+device you don't recognize, you should+[change your password](/help/change-your-password) right away.++In typical usage, these emails are sent infrequently, since all Zulip apps+(web, mobile, desktop, and terminal) keep you logged in to any organization+you've interacted with in the last 1-2 weeks.++However, there are situations (usually due to corporate security policy) in+which you may have to log in every day, and where getting login emails can+feel excessive.++### Disable new login emails++{start_tabs}++{settings_tab|notifications}++1. Under **Other emails**, toggle+ **Send email notifications for new logins to my account**.++{end_tabs}++## Low-traffic newsletter++Zulip sends out a low-traffic newsletter (expect 2-4 emails a year)+announcing major changes in Zulip.++### Managing your newsletter subscription++{start_tabs}++{settings_tab|notifications}++1. Under **Other emails**, toggle+ **Send me Zulip's low-traffic newsletter (a few emails a year)**.++{end_tabs}+## Related articles* [Using Zulip via email](/help/using-zulip-via-email)diff --git a/templates/zerver/help/hide-message-content-in-emails.md b/templates/zerver/help/hide-message-content-in-emails.mdindex e2577e70ecc..dd543a51690 100644--- a/templates/zerver/help/hide-message-content-in-emails.md+++ b/templates/zerver/help/hide-message-content-in-emails.md@@ -22,5 +22,5 @@ being sent through the email system.## Related articles-* [Hide message content in emails](/help/configure-message-notification-emails#hide-message-content),+* [Hide message content in emails](/help/email-notifications#hide-message-content),as an individual.diff --git a/templates/zerver/help/include/sidebar_index.md b/templates/zerver/help/include/sidebar_index.mdindex 15bf19ae776..4c474228739 100644--- a/templates/zerver/help/include/sidebar_index.md+++ b/templates/zerver/help/include/sidebar_index.md@@ -110,12 +110,9 @@* [Mute a stream](/help/mute-a-stream)* [Mute a topic](/help/mute-a-topic)* [Mute a user](/help/mute-a-user)-* [Alert words](/help/add-an-alert-word)-* [Message notification emails](/help/configure-message-notification-emails)-* [Disable new login emails](/help/disable-new-login-emails)-* [Change notification sound](/help/change-notification-sound)-* [Troubleshoot desktop notifications](/help/troubleshooting-desktop-notifications)-* [Test mobile notifications](/help/test-mobile-notifications)+* [Email notifications](/help/email-notifications)+* [Desktop notifications](/help/desktop-notifications)+* [Mobile notifications](/help/mobile-notifications)## Apps* [Desktop installation guides](/help/desktop-app-install-guide)diff --git a/templates/zerver/help/mobile-notifications.md b/templates/zerver/help/mobile-notifications.mdnew file mode 100644index 00000000000..2be6a8adcec--- /dev/null+++ b/templates/zerver/help/mobile-notifications.md@@ -0,0 +1,34 @@+# Mobile notifications++In Zulip, you can customize whether [stream+messages](/help/stream-notifications), [private+messages](/help/pm-mention-alert-notifications) and+[mentions][notifications-wildcard-mentions] trigger mobile+notifications. You can also adjust whether notifications will be sent+while you are online.++[notifications-wildcard-mentions]: /help/pm-mention-alert-notifications#wildcard-mentions++## Mobile notifications while online++You can customize whether or not Zulip will send mobile push+notifications while you are actively using one of the Zulip apps.++!!! tip ""+ When testing mobile notifications, make sure Zulip is+ configured to send mobile notifications even when you're online.++{start_tabs}++{settings_tab|notifications}++1. Under **Mobile message notifications**, check or uncheck+ **Send mobile notifications even if I'm online** as desired.++{end_tabs}++## Related articles+* [Stream notifications](/help/stream-notifications)+* [PMs, mentions, and alerts](/help/pm-mention-alert-notifications)+* [Email notifications](/help/email-notifications)+* [Desktop notifications](/help/desktop-notifications)diff --git a/templates/zerver/help/mute-a-stream.md b/templates/zerver/help/mute-a-stream.mdindex 2fddb6ce691..d1e4140a588 100644--- a/templates/zerver/help/mute-a-stream.md+++ b/templates/zerver/help/mute-a-stream.md@@ -3,7 +3,7 @@Messages from muted streams do not show up in **All messages** or generatenotifications, unless you are[mentioned](/help/mention-a-user-or-group). Messages from muted streams-do not generate [alert word](/help/add-an-alert-word) notifications.+do not generate [alert word](/help/pm-mention-alert-notifications#alert-words) notifications.Muted streams still appear in the left sidebar, though they are grayed out.diff --git a/templates/zerver/help/mute-a-topic.md b/templates/zerver/help/mute-a-topic.mdindex 603a54583d6..26db8060155 100644--- a/templates/zerver/help/mute-a-topic.md+++ b/templates/zerver/help/mute-a-topic.md@@ -1,7 +1,7 @@# Mute a topicMessages from muted topics do not show up in **All messages** or generate-notifications (including [alert word](/help/add-an-alert-word)+notifications (including [alert word](/help/pm-mention-alert-notifications#alert-words)notifications), unless you are[mentioned](/help/mention-a-user-or-group). They also do not contribute tostream unread counts.diff --git a/templates/zerver/help/pm-mention-alert-notifications.md b/templates/zerver/help/pm-mention-alert-notifications.mdindex 6ff1322224b..dbad5b65704 100644--- a/templates/zerver/help/pm-mention-alert-notifications.md+++ b/templates/zerver/help/pm-mention-alert-notifications.md@@ -1,14 +1,16 @@# PMs, mentions, and alertsYou can configure desktop, mobile, and email notifications for-[private messages](/help/private-messages), [mentions](/help/mention-a-user-or-group), and-[alert words](/help/add-an-alert-word).+[private messages](/help/private-messages),+[mentions](/help/mention-a-user-or-group), and [alert+words](#alert-words).{start_tabs}{settings_tab|notifications}-1. Toggle the notification settings under **Private messages, @-mentions, and alert words**.+1. Toggle the notification settings under **Private messages,+ @-mentions, and alert words**.{end_tabs}@@ -39,7 +41,27 @@ streams in your [Stream settings](/help/stream-notifications), andadministrators can [restrict use of wildcardmentions](/help/restrict-wildcard-mentions) in large streams.+## Alert words++Zulip lets you to specify **alert words or phrases** that notify you whenever+the alert word is included in a message. Alert words are case-insensitive.++### Add an alert word or phrase++{start_tabs}++{settings_tab|alert-words}++1. Add a word or phrase.++1. Click **Add alert word**.++{end_tabs}+## Related articles-* [Add an alert word](/help/add-an-alert-word)+* [Desktop notifications](/help/desktop-notifications)+* [Email notifications](/help/email-notifications)+* [Mobile notifications](/help/mobile-notifications)* [Restrict wildcard mentions](/help/restrict-wildcard-mentions)+* [Stream notifications](/help/stream-notifications)diff --git a/templates/zerver/help/search-for-messages.md b/templates/zerver/help/search-for-messages.mdindex 7e8660357f6..3914cbcd00a 100644--- a/templates/zerver/help/search-for-messages.md+++ b/templates/zerver/help/search-for-messages.md@@ -36,7 +36,7 @@ Here is the **full list of search operators**.* `streams:public`: Search the history of all [publicstreams](/help/change-the-privacy-of-a-stream) in the organization.-* `is:alerted`: See [alert words](/help/add-an-alert-word).+* `is:alerted`: See [alert words](/help/pm-mention-alert-notifications#alert-words).* `is:mentioned`: See [mentions](/help/mention-a-user-or-group).* `is:starred`: See [starred messages](/help/star-a-message).* `is:resolved`: Search messages in [resolved topics](/help/resolve-a-topic).diff --git a/templates/zerver/help/stream-notifications.md b/templates/zerver/help/stream-notifications.mdindex e0a85361b9a..491a7574ec6 100644--- a/templates/zerver/help/stream-notifications.md+++ b/templates/zerver/help/stream-notifications.md@@ -35,4 +35,9 @@ explicitly set a notification preference.## Related articles+* [Desktop notifications](/help/desktop-notifications)+* [Email notifications](/help/email-notifications)+* [Mobile notifications](/help/mobile-notifications)* [Mute a stream](/help/mute-a-stream)+* [Mute a topic](/help/mute-a-topic)+* [PMs, mentions, and alerts](/help/pm-mention-alert-notifications)diff --git a/templates/zerver/help/test-mobile-notifications.md b/templates/zerver/help/test-mobile-notifications.mddeleted file mode 100644index a771d6db092..00000000000--- a/templates/zerver/help/test-mobile-notifications.md+++ /dev/null@@ -1,17 +0,0 @@-# Test mobile notifications--Zulip supports configuring mobile notifications to skip sending mobile-push notifications when you are currently actively using one of the-Zulip apps.--When testing mobile notifications, you should make sure Zulip is-configured to send mobile notifications even when you're online.--{start_tabs}--{settings_tab|notifications}--1. Under **Mobile message notifications**, enable- **Send mobile notifications even if I'm online**.--{end_tabs}diff --git a/zerver/lib/test_helpers.py b/zerver/lib/test_helpers.pyindex 346b0b77207..711cacf674e 100644--- a/zerver/lib/test_helpers.py+++ b/zerver/lib/test_helpers.py@@ -476,6 +476,12 @@ def write_instrumentation_reports(full_suite: bool, include_webhooks: bool) -> N"help/community-topic-edits","help/about-streams-and-topics","help/delete-a-stream",+ "help/add-an-alert-word",+ "help/change-notification-sound",+ "help/configure-message-notification-emails",+ "help/disable-new-login-emails",+ "help/test-mobile-notifications",+ "help/troubleshooting-desktop-notifications","for/working-groups-and-communities/","help/only-allow-admins-to-add-emoji","api/delete-stream",diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yamlindex d4e6900fddc..f09e4869745 100644--- a/zerver/openapi/zulip.yaml+++ b/zerver/openapi/zulip.yaml@@ -219,7 +219,7 @@ paths:- type: objectdescription: |Event sent to a user's clients when that user's set of configured- [alert words](/help/add-an-alert-word) have changed.+ [alert words](/help/pm-mention-alert-notifications#alert-words) have changed.properties:id:$ref: "#/components/schemas/EventIdSchema"@@ -5111,7 +5111,7 @@ paths:<td><code>has_alert_word</code></td><td>Whether the message contains any of the current user's- <a href="/help/add-an-alert-word">configured alert words</a>.+ <a href="/help/pm-mention-alert-notifications#alert-words">configured alert words</a>.Cannot be changed by the user directly, butcan change if the message is edited to add/removeone of the current user's alert words.@@ -8773,7 +8773,7 @@ paths:description: |Present if `alert_words` is present in `fetch_event_types`.- An array of strings, each an [alert word](/help/add-an-alert-word)+ An array of strings, each an [alert word](/help/pm-mention-alert-notifications#alert-words)that the current user has configured.items:type: stringdiff --git a/zproject/urls.py b/zproject/urls.pyindex e0af9ac28da..adf1229aa57 100644--- a/zproject/urls.py+++ b/zproject/urls.py@@ -759,7 +759,37 @@ urls += [),path("help/configure-missed-message-emails",- RedirectView.as_view(url="/help/configure-message-notification-emails", permanent=True),+ RedirectView.as_view(url="/help/email-notifications", permanent=True),+ ),+ path(+ "help/add-an-alert-word",+ RedirectView.as_view(+ url="/help/pm-mention-alert-notifications#alert-words", permanent=True+ ),+ ),+ path(+ "help/test-mobile-notifications",+ RedirectView.as_view(url="/help/mobile-notifications", permanent=True),+ ),+ path(+ "help/troubleshooting-desktop-notifications",+ RedirectView.as_view(+ url="/help/desktop-notifications#troubleshooting-desktop-notifications", permanent=True+ ),+ ),+ path(+ "help/change-notification-sound",+ RedirectView.as_view(+ url="/help/desktop-notifications#change-notification-sound", permanent=True+ ),+ ),+ path(+ "help/configure-message-notification-emails",+ RedirectView.as_view(url="/help/email-notifications", permanent=True),+ ),+ path(+ "help/disable-new-login-emails",+ RedirectView.as_view(url="/help/email-notifications#new-login-emails", permanent=True),),# This redirect is particularly important, because the old URL# appears in links from Welcome Bot messages.