From 749c4bcd166fe25b017781f1187d0d39775dc1f4 Mon Sep 17 00:00:00 2001 From: "usman@cyberpersons.com" Date: Mon, 23 Jan 2023 11:36:41 +0500 Subject: [PATCH] update version number --- CLScript/CLMain.py | 2 +- baseTemplate/templates/baseTemplate/index.html | 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 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/CLScript/CLMain.py b/CLScript/CLMain.py index 8cb0683e0..615800ca8 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.3' - self.build = '2' + self.build = '3' ipFile = "/etc/cyberpanel/machineIP" f = open(ipFile) diff --git a/baseTemplate/templates/baseTemplate/index.html b/baseTemplate/templates/baseTemplate/index.html index 83108ec9b..cdfe3eee8 100755 --- a/baseTemplate/templates/baseTemplate/index.html +++ b/baseTemplate/templates/baseTemplate/index.html @@ -77,7 +77,7 @@ - {% with version="2.3.2.3" %} + {% with version="2.3.2.3.1" %} diff --git a/baseTemplate/views.py b/baseTemplate/views.py index e4c173e57..cecbf13bb 100755 --- a/baseTemplate/views.py +++ b/baseTemplate/views.py @@ -19,7 +19,7 @@ from plogical.httpProc import httpProc # Create your views here. VERSION = '2.3' -BUILD = 2 +BUILD = 3 @ensure_csrf_cookie diff --git a/install/install.py b/install/install.py index 9e7250b54..bef1a09d1 100755 --- a/install/install.py +++ b/install/install.py @@ -15,7 +15,7 @@ from stat import * import stat VERSION = '2.3' -BUILD = 2 +BUILD = 3 char_set = {'small': 'abcdefghijklmnopqrstuvwxyz', 'nums': '0123456789', 'big': 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'} diff --git a/loginSystem/views.py b/loginSystem/views.py index d0d34c626..c9c65e1a6 100644 --- a/loginSystem/views.py +++ b/loginSystem/views.py @@ -19,7 +19,7 @@ from django.utils import translation # Create your views here. VERSION = '2.3' -BUILD = 2 +BUILD = 3 def verifyLogin(request): diff --git a/plogical/adminPass.py b/plogical/adminPass.py index 0460785dc..2efee464b 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.3' -BUILD = 2 +BUILD = 3 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 99d8f70ce..65a88451a 100755 --- a/plogical/backupUtilities.py +++ b/plogical/backupUtilities.py @@ -49,7 +49,7 @@ except: pass VERSION = '2.3' -BUILD = 2 +BUILD = 3 ## I am not the monster that you think I am.. diff --git a/plogical/upgrade.py b/plogical/upgrade.py index d12602281..fef18f971 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -17,7 +17,7 @@ import random import string VERSION = '2.3' -BUILD = 2 +BUILD = 3 CENTOS7 = 0 CENTOS8 = 1 diff --git a/serverStatus/views.py b/serverStatus/views.py index 3e204d6f6..475b58c18 100755 --- a/serverStatus/views.py +++ b/serverStatus/views.py @@ -26,7 +26,7 @@ EXPIRE = 3 ### Version VERSION = '2.3' -BUILD = 2 +BUILD = 3 def serverStatusHome(request): proc = httpProc(request, 'serverStatus/index.html',