zulip/zerver
Nat1405 d5f005fd61 wildcard_mentions_notify: Add per-stream override of global setting.
Adds required API and front-end changes to modify and read the
wildcard_mentions_notify field in the Subscription model.

It includes front-end code to add the setting to the user's "manage
streams" page. This setting will be greyed out when a stream is muted.
The PR also includes back-end code to add the setting the initial state of
a subscription.

New automated tests were added for the API, events system and front-end.
In manual testing, we checked that modifying the setting in the front end
persisted the change in the Subscription model. We noticed the notifications
were not behaving exactly as expected in manual testing; see
https://github.com/zulip/zulip/issues/13073#issuecomment-560263081 .

Tweaked by tabbott to fix real-time synchronization issues.

Fixes: #13429.
2019-12-09 16:09:38 -08:00
..
data_import slack import: Map Slack guest users to Zulip guests. 2019-11-12 12:12:59 -08:00
lib wildcard_mentions_notify: Add per-stream override of global setting. 2019-12-09 16:09:38 -08:00
management send_custom_email: Add support for specifying reply-to. 2019-11-18 17:34:01 -08:00
migrations models: Add recipient foreign key in UserProfile and Stream. 2019-12-09 15:14:41 -08:00
openapi openapi: Specify responses for users/me/subscriptions PATCH operation. 2019-12-06 11:19:08 -08:00
templatetags openapi: Pass api_url to curl example generation. 2019-08-17 11:35:08 -07:00
tests wildcard_mentions_notify: Add per-stream override of global setting. 2019-12-09 16:09:38 -08:00
tornado tornado: Add transitional code for sender_delivery_email. 2019-11-20 17:31:11 -08:00
views wildcard_mentions_notify: Add per-stream override of global setting. 2019-12-09 16:09:38 -08:00
webhooks integrations: Deduplicate gogs and gitea integrations. 2019-11-18 12:08:09 -08:00
worker queue workers: Use self.queue_name in retry_event calls. 2019-12-04 10:08:48 -08:00
__init__.py caching: Add configuration class for post-migration cache flushing. 2016-10-27 23:26:34 -07:00
apps.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
context_processors.py context: Rename social_backends to external_authentication_methods. 2019-11-03 15:55:44 -08:00
decorator.py decorator: Extract require_user_group_edit_permission. 2019-11-18 15:13:29 -08:00
filters.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
forms.py auth: Use zxcvbn to ensure password strength on server side. 2019-11-21 10:23:37 -08:00
logging_handlers.py version: Only let git describe match tags beginning with a digit. 2019-10-24 14:54:45 -07:00
middleware.py middleware: Fix exception typing. 2019-07-31 12:23:20 -07:00
models.py models: Add recipient foreign key in UserProfile and Stream. 2019-12-09 15:14:41 -08:00
signals.py onboarding: Use delivery_email in "new login" notifications. 2019-11-14 12:19:47 -08:00