zulip/zerver
Marco Burstein ba46dc83c6 notifications: Add a setting for changing the notification sound.
Also, add a new notification sound, "ding". It comes from
https://freesound.org, where the original Zulip notification sound comes
from as well. In the future, new sounds can be added by adding audio
files to the `static/audio/notification_sounds` directory.

Tweaked significantly by tabbott:
* Avoided removing static/audio/zulip.ogg, because that file is
  checked for by old versions of the desktop app.
* Added a views check for the sound being valid + tests.
* Added additional tests.
* Restructured the test_events test to be cleaner.
* Removed check_bool_or_string.
* Increased max length of notification_sound.
* Provide available_notification_sounds in events data set if global
  notifications settings are requested.

Fixes #8051.
2018-12-09 21:25:30 -08:00
..
data_import slack import: Eliminate need to load all messages into memory. 2018-12-05 12:20:50 -08:00
lib notifications: Add a setting for changing the notification sound. 2018-12-09 21:25:30 -08:00
management email: Support delivery email in email change system. 2018-12-06 17:43:26 -08:00
migrations notifications: Add a setting for changing the notification sound. 2018-12-09 21:25:30 -08:00
openapi api: Add GET /user_groups documentation. 2018-11-08 22:19:30 -08:00
templatetags api docs: Rename webhook-walkthrough to incoming-webhooks-walkthrough. 2018-10-16 21:07:00 -07:00
tests notifications: Add a setting for changing the notification sound. 2018-12-09 21:25:30 -08:00
tornado tornado: Require non-negative lifespan_secs. 2018-12-05 14:50:37 -08:00
views notifications: Add a setting for changing the notification sound. 2018-12-09 21:25:30 -08:00
webhooks email: Convert accounts code to use delivery_email. 2018-12-06 16:21:38 -08:00
worker send_email: Extract handle_email_format_changes and use. 2018-12-04 16:08:18 -08:00
__init__.py
apps.py zerver: Use Python 3 syntax for typing. 2017-11-28 16:49:36 -08:00
context_processors.py hello: Add link and label for latest Zulip release. 2018-11-19 12:00:40 -08:00
decorator.py email: Convert accounts code to use delivery_email. 2018-12-06 16:21:38 -08:00
filters.py error reports: Ensure we filter API keys from query strings. 2018-10-19 15:03:14 -07:00
forms.py email: Convert accounts code to use delivery_email. 2018-12-06 16:21:38 -08:00
logging_handlers.py bugdown: Improve exception handler for BugdownRenderingException. 2018-07-26 09:27:55 -07:00
middleware.py sessions: Resync session middleware from Django upstream. 2018-11-14 15:16:12 -08:00
models.py notifications: Add a setting for changing the notification sound. 2018-12-09 21:25:30 -08:00
signals.py send_email: Add support for multiple recipients. 2018-12-03 15:12:11 -08:00
static_header.txt