Add a simple version check mechanism to warn the user if a new release is available.

This commit is contained in:
Dave Page
2016-02-08 16:28:20 +00:00
parent 712f47987f
commit 2a52462dbf
4 changed files with 51 additions and 3 deletions

View File

@@ -172,6 +172,16 @@ SECURITY_EMAIL_SUBJECT_PASSWORD_NOTICE = "Your %s password has been reset" \
SECURITY_EMAIL_SUBJECT_PASSWORD_CHANGE_NOTICE = \
"Your password for %s has been changed" % APP_NAME
##########################################################################
# Upgrade checks
##########################################################################
# Check for new versions of the application?
UPGRADE_CHECK_ENABLED = True
# Where should we get the data from?
UPGRADE_CHECK_URL = 'http://www.pgadmin.org/versions.json'
##########################################################################
# Local config settings
##########################################################################