mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	version: Update for Zulip Desktop v5.2.0.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							afaecd4d60
						
					
				
				
					commit
					8411f7f884
				
			@@ -12,14 +12,14 @@ if os.path.exists(zulip_git_version_file):
 | 
			
		||||
LATEST_MAJOR_VERSION = "2.1"
 | 
			
		||||
LATEST_RELEASE_VERSION = "2.1.4"
 | 
			
		||||
LATEST_RELEASE_ANNOUNCEMENT = "https://blog.zulip.org/2019/12/13/zulip-2-1-released/"
 | 
			
		||||
LATEST_DESKTOP_VERSION = "5.1.0"
 | 
			
		||||
LATEST_DESKTOP_VERSION = "5.2.0"
 | 
			
		||||
 | 
			
		||||
# 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"
 | 
			
		||||
DESKTOP_WARNING_VERSION = "5.2.0"
 | 
			
		||||
 | 
			
		||||
# Bump the API_FEATURE_LEVEL whenever an API change is made
 | 
			
		||||
# that clients might want to condition on.  If we forget at
 | 
			
		||||
 
 | 
			
		||||
@@ -106,7 +106,7 @@ class CompatibilityTest(ZulipTestCase):
 | 
			
		||||
        with mock.patch('zerver.views.compatibility.DESKTOP_MINIMUM_VERSION', '4.0.3'):
 | 
			
		||||
            self.assertEqual(is_outdated_desktop_app('ZulipElectron/4.0.3 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Zulip/4.0.3 Chrome/66.0.3359.181 Electron/3.1.10 Safari/537.36'), (True, False, False))
 | 
			
		||||
 | 
			
		||||
        self.assertEqual(is_outdated_desktop_app('ZulipElectron/5.0.0 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Zulip/4.0.3 Chrome/66.0.3359.181 Electron/3.1.10 Safari/537.36'), (False, False, False))
 | 
			
		||||
        self.assertEqual(is_outdated_desktop_app('ZulipElectron/5.2.0 Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Zulip/5.2.0 Chrome/80.0.3987.165 Electron/8.2.5 Safari/537.36'), (False, False, False))
 | 
			
		||||
 | 
			
		||||
        self.assertEqual(is_outdated_desktop_app('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36'), (False, False, False))
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user