From bac7a0dcaf077cd26cd81eb883606d42b73bc604 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Wed, 20 Oct 2021 12:52:02 +0500 Subject: [PATCH] prepare for v2.1.2 --- CLScript/CLMain.py | 2 +- baseTemplate/views.py | 2 +- install/install.py | 2 +- loginSystem/views.py | 2 +- plogical/adminPass.py | 2 +- plogical/backupUtilities.py | 2 +- plogical/upgrade.py | 2 +- serverStatus/views.py | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CLScript/CLMain.py b/CLScript/CLMain.py index 0d09cec9b..4761b01c5 100644 --- a/CLScript/CLMain.py +++ b/CLScript/CLMain.py @@ -5,7 +5,7 @@ class CLMain(): self.path = '/usr/local/CyberCP/version.txt' #versionInfo = json.loads(open(self.path, 'r').read()) self.version = '2.1' - self.build = '1' + self.build = '2' ipFile = "/etc/cyberpanel/machineIP" f = open(ipFile) diff --git a/baseTemplate/views.py b/baseTemplate/views.py index ff9c1d2da..e7adc0a61 100755 --- a/baseTemplate/views.py +++ b/baseTemplate/views.py @@ -18,7 +18,7 @@ from plogical.httpProc import httpProc # Create your views here. VERSION = '2.1' -BUILD = 1 +BUILD = 2 @ensure_csrf_cookie def renderBase(request): diff --git a/install/install.py b/install/install.py index ea2f3598a..33f4ce420 100755 --- a/install/install.py +++ b/install/install.py @@ -15,7 +15,7 @@ from stat import * import stat VERSION = '2.1' -BUILD = 1 +BUILD = 2 char_set = {'small': 'abcdefghijklmnopqrstuvwxyz', 'nums': '0123456789', 'big': 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'} diff --git a/loginSystem/views.py b/loginSystem/views.py index 6d8e74f29..eb9993a60 100644 --- a/loginSystem/views.py +++ b/loginSystem/views.py @@ -19,7 +19,7 @@ from django.utils import translation # Create your views here. VERSION = '2.1' -BUILD = 1 +BUILD = 2 def verifyLogin(request): diff --git a/plogical/adminPass.py b/plogical/adminPass.py index 953cd2bfe..c488ce419 100755 --- a/plogical/adminPass.py +++ b/plogical/adminPass.py @@ -13,7 +13,7 @@ from packages.models import Package from baseTemplate.models import version VERSION = '2.1' -BUILD = 1 +BUILD = 2 if not os.geteuid() == 0: sys.exit("\nOnly root can run this script\n") diff --git a/plogical/backupUtilities.py b/plogical/backupUtilities.py index c4c51878a..da75adce9 100755 --- a/plogical/backupUtilities.py +++ b/plogical/backupUtilities.py @@ -49,7 +49,7 @@ except: pass VERSION = '2.1' -BUILD = 1 +BUILD = 2 ## I am not the monster that you think I am.. diff --git a/plogical/upgrade.py b/plogical/upgrade.py index 7954de606..14b3be669 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -17,7 +17,7 @@ import random import string VERSION = '2.1' -BUILD = 1 +BUILD = 2 CENTOS7 = 0 CENTOS8 = 1 diff --git a/serverStatus/views.py b/serverStatus/views.py index 7e26e9759..d71dbca11 100755 --- a/serverStatus/views.py +++ b/serverStatus/views.py @@ -26,7 +26,7 @@ EXPIRE = 3 ### Version VERSION = '2.1' -BUILD = 1 +BUILD = 2 def serverStatusHome(request): proc = httpProc(request, 'serverStatus/index.html',