From a80d7456f6e0bcad931e0436b67d14bec0939313 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Sun, 3 Nov 2019 19:31:21 +0500 Subject: [PATCH] bug fix: web terminal --- .idea/workspace.xml | 776 ++++++++++-------- WebTerminal/CPWebSocket.py | 29 +- WebTerminal/static/WebTerminal/main.js | 55 +- .../templates/WebTerminal/WebTerminal.html | 15 +- WebTerminal/urls.py | 1 + WebTerminal/views.py | 39 +- .../templates/baseTemplate/index.html | 4 +- install/install.py | 2 +- loginSystem/urls.py | 1 - plogical/test1.py | 0 static/WebTerminal/main.js | 55 +- 11 files changed, 586 insertions(+), 391 deletions(-) create mode 100755 plogical/test1.py diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 46ea8a993..b8fc3bbfc 100755 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,5 +1,8 @@ + + + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -48,15 +120,6 @@ - restoreRemoteBackupsInc - status - liteSpeedStatus - saveRewrite - Dashboard - onerror - sendCommand - trans_forward - invoke_shell self.ssh webssh _shell @@ -78,6 +141,15 @@ emailMig apt install build-essential libssl-dev libffi-dev python3-dev python4 + submitForward + IncBackup + pip install --ignore-installed + -r + websockets + addRule + websocket + conf/key + addRUle admin.api == 1 @@ -95,6 +167,7 @@ cyberpanelLoading cyberpanel.sh https + self.websocket $PROJECT_DIR$/backup @@ -108,9 +181,6 @@ - @@ -183,7 +256,7 @@ - +