zulip/static
Harshit Bansal b553507412 subscriptions: Migrate notification setting defaults model.
This commit migrates the Subscription's notification fields from a
BooleanField to a NullBooleanField where a value of None means to
inherit the value from user's profile.

Also includes a migrations to set the corresponding settings to None
if they match the user profile's values. This migration helps us in
getting rid of the weird "Apply to all" widget that we offered on
subscription settings page.

The mobile apps can't handle None appearing as the stream-level
notification settings, so for backwards-compatibility we arrange to
only send True/False to the mobile apps by applying those defaults
server-side.  We introduce a notification_settings_null value within a
client_capabilities structure that newer versions of the mobile apps
can use to request the new model.

This mobile compatibility code is pretty effectively tested by the
existing test_events tests for the subscriptions subsystem.
2019-05-08 17:45:10 -07:00
..
assets
audio notifications: Add a setting for changing the notification sound. 2018-12-09 21:25:30 -08:00
generated
html
icons/fonts CSS: Remove manual antialiasing configuration. 2019-03-04 15:12:48 -08:00
images portico: Update android screenshot and associated svg. 2019-05-06 21:11:30 -07:00
js subscriptions: Migrate notification setting defaults model. 2019-05-08 17:45:10 -07:00
locale i18n: Update translation data from Transifex. 2019-03-13 14:10:09 -07:00
styles stream_ui_updates: Add generic `initialize_disable_btn_hint_popover` func. 2019-05-08 15:09:16 -07:00
templates subscriptions: Migrate notification setting defaults model. 2019-05-08 17:45:10 -07:00
third admin_settings: Change maxfilesize to max_file_upload_size. 2019-05-03 17:36:09 -07:00
.gitignore
favicon.ico
node_modules