user_settings: Add field web_suggest_update_timezone.

This field tracks whether the user should be shown an
alert offering to update their profile time zone to the
time zone of the browser in case they differ.

The field is added to RealmUserDefault and UserProfile
models with a default value of True.

Fixes part of #16957
This commit is contained in:
Kislay Verma
2024-06-14 00:10:05 +05:30
committed by Tim Abbott
parent 143ca5065e
commit 00df8a593d
8 changed files with 77 additions and 1 deletions

View File

@@ -34,7 +34,7 @@ DESKTOP_WARNING_VERSION = "5.9.3"
# new level means in api_docs/changelog.md, as well as "**Changes**"
# entries in the endpoint's documentation in `zulip.yaml`.
API_FEATURE_LEVEL = 328 # Last bumped for removing `user` dictionary from `reactions` object.
API_FEATURE_LEVEL = 329 # Last bumped for adding field web_suggest_update_timezone
# Bump the minor PROVISION_VERSION to indicate that folks should provision
# only when going from an old version of the code to a newer version. Bump