From 57ca1b954606aa6a807035d1e4522e37d1db2cd0 Mon Sep 17 00:00:00 2001 From: Garrett K Date: Sun, 4 Apr 2021 21:22:27 +0000 Subject: [PATCH] 0.3.15 --- assets/pages/jquery.explore.js | 2 -- backend/process_cable.php | 2 +- backend/process_entitlement.php | 1 - backend/retrieve_path_full.php | 1 - change_password.php | 1 - includes/App.class.php | 3 --- install/MySQLie.class.php | 2 -- login_process.php | 1 - 8 files changed, 1 insertion(+), 12 deletions(-) diff --git a/assets/pages/jquery.explore.js b/assets/pages/jquery.explore.js index 2fd8434..54311ec 100755 --- a/assets/pages/jquery.explore.js +++ b/assets/pages/jquery.explore.js @@ -692,10 +692,8 @@ function postProcessCable(){ // Update remote port(s) $.each(remotePortGlobalIDArray, function(index, remotePortGlobalID){ - console.log('Debug (remotePortGlobalID): '+remotePortGlobalID); if($('#'+remotePortGlobalID).length) { - console.log('Debug (localPortGlobalIDBase64): '+localPortGlobalIDBase64); $('#'+remotePortGlobalID).addClass('populated').data('connectedGlobalId', localPortGlobalIDBase64); } }); diff --git a/backend/process_cable.php b/backend/process_cable.php index 485dee1..b6c3ed1 100755 --- a/backend/process_cable.php +++ b/backend/process_cable.php @@ -212,7 +212,7 @@ if($_SERVER['REQUEST_METHOD'] == 'POST'){ } $remotePortString = implode('
', $remotePortArray); $actionString = 'Deleted connection: '.$localPort.' to '.$remotePortString.''; - error_log('Debug (actionString): '.$actionString); + $qls->App->logAction(3, 3, $actionString); break; diff --git a/backend/process_entitlement.php b/backend/process_entitlement.php index 01d86f1..3714c42 100755 --- a/backend/process_entitlement.php +++ b/backend/process_entitlement.php @@ -64,7 +64,6 @@ if($_SERVER['REQUEST_METHOD'] == 'POST'){ //Check for request errors. $errMsg = false; if(!curl_errno($ch)) { - error_log('Debug (responseJSON): '.$responseJSON); if($response = json_decode($responseJSON, true)) { if(!count($response['error'])) { if($response['success'] != '') { diff --git a/backend/retrieve_path_full.php b/backend/retrieve_path_full.php index 2fa02db..9cdcf80 100755 --- a/backend/retrieve_path_full.php +++ b/backend/retrieve_path_full.php @@ -37,7 +37,6 @@ if($_SERVER['REQUEST_METHOD'] == 'POST'){ $validate->returnData['data']['pathDiverges'] = $pathDiverges; $validate->returnData['success'] = $qls->App->buildPathFull2($pathArray); - error_log('Debug (pathArray): '.json_encode($pathArray)); } echo json_encode($validate->returnData); } diff --git a/change_password.php b/change_password.php index 0b175c1..338a5c2 100755 --- a/change_password.php +++ b/change_password.php @@ -21,7 +21,6 @@ if ($qls->User->check_password_code()) { if (!isset($_GET['code'])) { if (isset($_POST['process'])) { if($change_link = $qls->User->get_password_reset_link()) { - error_log('Debug: changeLink = '.$change_link); $recipientEmail = $qls->Security->make_safe($_POST['username']); $qls->Pub->sendProxyEmail('password_reset', $recipientEmail, array('change_link' => $change_link)); diff --git a/includes/App.class.php b/includes/App.class.php index 9076191..fc62a87 100755 --- a/includes/App.class.php +++ b/includes/App.class.php @@ -3495,7 +3495,6 @@ var $qls; } function getCurrentPathIndex($pathArray, $currentPortAddressMD5){ - error_log('Debug (current port): '.$currentPortAddressMD5); foreach($pathArray as $pathArrayIndex => $connection) { foreach($connection as $connectionSide) { foreach($connectionSide as $port) { @@ -3507,8 +3506,6 @@ var $qls; $portAddressString = $objID.'_'.$objFace.'_'.$objDepth.'_'.$objPort; $portAddressMD5 = md5($portAddressString); - error_log('Debug (port): '.$portAddressString.' - '.$portAddressMD5); - if($currentPortAddressMD5 == $portAddressMD5) { return $pathArrayIndex; } diff --git a/install/MySQLie.class.php b/install/MySQLie.class.php index e1e6462..fb42fa5 100755 --- a/install/MySQLie.class.php +++ b/install/MySQLie.class.php @@ -292,12 +292,10 @@ var $sql_class; if ($result = $this->connection->query($query)) { return $result; } else { - error_log($query); $this->error(); return false; } } else { - error_log($query); // Find the error for no query $result = $this->connection->query(''); $this->error(); diff --git a/login_process.php b/login_process.php index c8c2466..5c2aabc 100755 --- a/login_process.php +++ b/login_process.php @@ -57,7 +57,6 @@ if(isset($demoAutoLogin)) { $secret = $user_info['mfa_secret']; $gAuthResponse = $qls->gAuth->checkCode($secret, $gAuthCode); - error_log($secret.' - '.$gAuthCode.' - '.$gAuthResponse); $mfaAuthToken = $_SESSION[$qls->config['cookie_prefix'] . 'mfa_auth_token']; unset($_SESSION[$qls->config['cookie_prefix'] . 'mfa_auth_token']);