zulip/zerver/views
akshatdalton b573964bfa notifications: Add support for `None` option in `Notification sound`.
This commit adds support for a `None` option in the dropdown menu
of `Notification sound`. When this option is selected, no audible
notification is sent to the user.

`None` will appear as the first option in the dropdown menu, since
this is not categorized as a playable audio.

This new option is added so that folks can disable audio notifications
without losing their other notification configuration (like for PMs, mentions).

Necessary test case is added for this new option.

Fixes #16090.
2021-04-27 16:42:16 -07:00
..
development dev_login: Show 'shiva' in a separate Moderators section. 2021-04-26 17:14:06 -07:00
__init__.py
alert_words.py request: Rename validator parameter of REQ to json_validator. 2021-04-07 14:13:06 -07:00
archive.py archive: Use access_web_public_stream helper. 2021-04-14 12:37:34 -07:00
attachments.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
auth.py docs: Add missing space to compound verbs “log in”, “set up”, etc. 2021-04-26 09:31:08 -07:00
camo.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
compatibility.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
custom_profile_fields.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
digest.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
documentation.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
drafts.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
email_mirror.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
events_register.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
home.py compose: Move to `hbs` file and append it to DOM on init. 2021-04-19 16:53:30 -07:00
hotspots.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
invite.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
message_edit.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
message_fetch.py models: Replace __id syntax with _id where possible. 2021-04-22 14:53:00 -07:00
message_flags.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
message_send.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
muting.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
portico.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
presence.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
push_notifications.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
reactions.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
realm.py settings: Add new setting for controlling who can move msgs to stream. 2021-04-16 15:10:39 -07:00
realm_domains.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
realm_emoji.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
realm_export.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
realm_icon.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
realm_linkifiers.py linkifiers: Add an API to support the editing of linkifier. 2021-04-19 18:01:45 -07:00
realm_logo.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
realm_playgrounds.py docs: Capitalize “Markdown” consistently. 2021-04-26 09:31:08 -07:00
registration.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
report.py request: Rename validator parameter of REQ to json_validator. 2021-04-07 14:13:06 -07:00
storage.py storage: Fix get_storage and remove_storage with empty keys list. 2021-04-13 08:53:03 -07:00
streams.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
submessage.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
thumbnail.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
tutorial.py request: Rename validator parameter of REQ to json_validator. 2021-04-07 14:13:06 -07:00
typing.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
unsubscribe.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
upload.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
user_groups.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
user_settings.py notifications: Add support for `None` option in `Notification sound`. 2021-04-27 16:42:16 -07:00
users.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
video_calls.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
zephyr.py docs: Add missing space to compound verbs “log in”, “set up”, etc. 2021-04-26 09:31:08 -07:00