From ced6a2b8e82e3b3b3b4a02423585d9e936799bea Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Mon, 8 Mar 2021 11:10:48 +0500 Subject: [PATCH] update build numbers --- CLScript/CLMain.py | 4 ++-- baseTemplate/views.py | 4 ++-- install/install.py | 4 ++-- loginSystem/views.py | 4 ++-- plogical/adminPass.py | 4 ++-- plogical/backupUtilities.py | 4 ++-- plogical/upgrade.py | 4 ++-- serverStatus/views.py | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/CLScript/CLMain.py b/CLScript/CLMain.py index c6f730ba4..0d09cec9b 100644 --- a/CLScript/CLMain.py +++ b/CLScript/CLMain.py @@ -4,8 +4,8 @@ class CLMain(): def __init__(self): self.path = '/usr/local/CyberCP/version.txt' #versionInfo = json.loads(open(self.path, 'r').read()) - self.version = '2.0' - self.build = '3' + self.version = '2.1' + self.build = '1' ipFile = "/etc/cyberpanel/machineIP" f = open(ipFile) diff --git a/baseTemplate/views.py b/baseTemplate/views.py index 4395a7009..ce4631b23 100755 --- a/baseTemplate/views.py +++ b/baseTemplate/views.py @@ -17,8 +17,8 @@ from plogical.processUtilities import ProcessUtilities from plogical.httpProc import httpProc # Create your views here. -VERSION = '2.0' -BUILD = 3 +VERSION = '2.1' +BUILD = 1 @ensure_csrf_cookie def renderBase(request): diff --git a/install/install.py b/install/install.py index f973a5dd8..84899beb4 100755 --- a/install/install.py +++ b/install/install.py @@ -14,8 +14,8 @@ from os.path import * from stat import * import stat -VERSION = '2.0' -BUILD = 3 +VERSION = '2.1' +BUILD = 1 char_set = {'small': 'abcdefghijklmnopqrstuvwxyz', 'nums': '0123456789', diff --git a/loginSystem/views.py b/loginSystem/views.py index da4af680e..4d600cb94 100644 --- a/loginSystem/views.py +++ b/loginSystem/views.py @@ -18,8 +18,8 @@ from django.http import HttpResponse from django.utils import translation # Create your views here. -VERSION = '2.0' -BUILD = 3 +VERSION = '2.1' +BUILD = 1 def verifyLogin(request): try: diff --git a/plogical/adminPass.py b/plogical/adminPass.py index 446e6329f..1cd46ebc4 100755 --- a/plogical/adminPass.py +++ b/plogical/adminPass.py @@ -12,8 +12,8 @@ from plogical.acl import ACLManager from packages.models import Package from baseTemplate.models import version -VERSION = '2.0' -BUILD = 3 +VERSION = '2.1' +BUILD = 1 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 1160e6631..6df1ee58b 100755 --- a/plogical/backupUtilities.py +++ b/plogical/backupUtilities.py @@ -48,8 +48,8 @@ try: except: pass -VERSION = '2.0' -BUILD = 3 +VERSION = '2.1' +BUILD = 1 ## I am not the monster that you think I am.. diff --git a/plogical/upgrade.py b/plogical/upgrade.py index 427aa03c6..a30ad69dc 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -14,8 +14,8 @@ from CyberCP import settings import random import string -VERSION = '2.0' -BUILD = 3 +VERSION = '2.1' +BUILD = 1 CENTOS7 = 0 CENTOS8 = 1 diff --git a/serverStatus/views.py b/serverStatus/views.py index 4f4f3e32c..62d1d3f7e 100755 --- a/serverStatus/views.py +++ b/serverStatus/views.py @@ -25,8 +25,8 @@ EXPIRE = 3 ### Version -VERSION = '2.0' -BUILD = 3 +VERSION = '2.1' +BUILD = 1 def serverStatusHome(request): proc = httpProc(request, 'serverStatus/index.html',