From fe1247fdaf2396fc8f7bc3b5403ea2cf1605e1d9 Mon Sep 17 00:00:00 2001 From: GamerClassN7 Date: Mon, 1 Mar 2021 16:02:21 +0100 Subject: [PATCH] FTP -> GIT Diff --- .ftpignore | 6 - .gitignore | 10 +- New_JS_EDITOR_ TEST.php | 255 -- adminer.php | 2044 ----------------- app/Bootstrap.php | 4 +- app/models/Form.php | 2 +- app/models/managers/Pluginmanager.php | 29 + app/models/managers/SubDeviceManager.php | 4 - app/plugins/!ExamplePlugin.php | 11 + app/plugins/!_Covid.php | 39 + app/plugins/AirQuality.php | 8 - app/views/templates/automation.phtml | 32 +- .../templates/part/automationCreate.phtml | 70 +- .../templates/part/newAutomationCreate.phtml | 69 + public/.htaccess | 8 +- public/index.php | 32 +- serviceWorker.js | 64 - 17 files changed, 209 insertions(+), 2478 deletions(-) delete mode 100644 .ftpignore delete mode 100644 New_JS_EDITOR_ TEST.php delete mode 100644 adminer.php create mode 100644 app/models/managers/Pluginmanager.php create mode 100644 app/plugins/!ExamplePlugin.php create mode 100644 app/plugins/!_Covid.php create mode 100644 app/views/templates/part/newAutomationCreate.phtml delete mode 100644 serviceWorker.js diff --git a/.ftpignore b/.ftpignore deleted file mode 100644 index 5408dcf..0000000 --- a/.ftpignore +++ /dev/null @@ -1,6 +0,0 @@ -.git -_FIRMWARE -_INSTALATION -_README_IMG -README.md -.todo diff --git a/.gitignore b/.gitignore index 9ff861b..54d5df5 100644 --- a/.gitignore +++ b/.gitignore @@ -13,9 +13,9 @@ _nemazat/css/font-awesome.min.css .vscode/ .vscode/sftp.json -app/updater/*.bin -app/logs/*.log -backup/*.zip - - vendor/ + + +logs/*.log +updater/*.bin +backup/*.zip diff --git a/New_JS_EDITOR_ TEST.php b/New_JS_EDITOR_ TEST.php deleted file mode 100644 index 7882174..0000000 --- a/New_JS_EDITOR_ TEST.php +++ /dev/null @@ -1,255 +0,0 @@ -
-	
-
- -
- - -
- - -
-
- - - -
- - -
-
- - - -
- - diff --git a/adminer.php b/adminer.php deleted file mode 100644 index 7475f6c..0000000 --- a/adminer.php +++ /dev/null @@ -1,2044 +0,0 @@ -$W){unset($vg[$y][$he]);if(is_array($W)){$vg[$y][stripslashes($he)]=$W;$vg[]=&$vg[$y][stripslashes($he)];}else$vg[$y][stripslashes($he)]=($Zc?$W:stripslashes($W));}}}}function -bracket_escape($u,$Pa=false){static$xi=array(':'=>':1',']'=>':2','['=>':3','"'=>':4');return -strtr($u,($Pa?array_flip($xi):$xi));}function -min_version($dj,$Ge="",$i=null){global$h;if(!$i)$i=$h;$qh=$i->server_info;if($Ge&&preg_match('~([\d.]+)-MariaDB~',$qh,$A)){$qh=$A[1];$dj=$Ge;}return(version_compare($qh,$dj)>=0);}function -charset($h){return(min_version("5.5.3",0,$h)?"utf8mb4":"utf8");}function -script($Ah,$wi="\n"){return"$Ah$wi";}function -script_src($Qi){return"\n";}function -nonce(){return' nonce="'.get_nonce().'"';}function -target_blank(){return' target="_blank" rel="noreferrer noopener"';}function -h($P){return -str_replace("\0","�",htmlspecialchars($P,ENT_QUOTES,'utf-8'));}function -nl_br($P){return -str_replace("\n","
",$P);}function -checkbox($B,$Y,$gb,$oe="",$xf="",$lb="",$pe=""){$H="".($xf?script("qsl('input').onclick = function () { $xf };",""):"");return($oe!=""||$lb?"$H".h($oe)."":$H);}function -optionlist($Cf,$kh=null,$Vi=false){$H="";foreach($Cf -as$he=>$W){$Df=array($he=>$W);if(is_array($W)){$H.='';$Df=$W;}foreach($Df -as$y=>$X)$H.=''.h($X);if(is_array($W))$H.='';}return$H;}function -html_select($B,$Cf,$Y="",$wf=true,$pe=""){if($wf)return"".(is_string($wf)?script("qsl('select').onchange = function () { $wf };",""):"");$H="";foreach($Cf -as$y=>$X)$H.="";return$H;}function -select_input($Ka,$Cf,$Y="",$wf="",$hg=""){$bi=($Cf?"select":"input");return"<$bi$Ka".($Cf?">