mirror of
https://github.com/zulip/zulip.git
synced 2025-11-21 23:19:10 +00:00
version: Move minimum desktop version configuration to version.py.
This makes it relatively easy for a system administrator to temporarily override these values after a desktop app security release that they want to ensure all of their users take. We're not putting this in settings, since we don't want to encourage accidental long-term overrides of these important-to-security values.
This commit is contained in:
@@ -13,6 +13,13 @@ LATEST_MAJOR_VERSION = "2.1"
|
||||
LATEST_RELEASE_VERSION = "2.1.2"
|
||||
LATEST_RELEASE_ANNOUNCEMENT = "https://blog.zulip.org/2019/12/13/zulip-2-1-released/"
|
||||
|
||||
# Versions of the desktop app below DESKTOP_MINIMUM_VERSION will be
|
||||
# prevented from connecting to the Zulip server. Versions above
|
||||
# DESKTOP_MINIMUM_VERSION but below DESKTOP_WARNING_VERSION will have
|
||||
# a banner at the top of the page asking the user to upgrade.
|
||||
DESKTOP_MINIMUM_VERSION = "5.0.0"
|
||||
DESKTOP_WARNING_VERSION = "5.0.0"
|
||||
|
||||
# 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
|
||||
# the major version to indicate that folks should provision in both
|
||||
|
||||
Reference in New Issue
Block a user