From b2ebdb15ca76c7b3fa682c502db7dba91e1e4af6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn?= Date: Sun, 9 Aug 2020 16:37:24 +0200 Subject: [PATCH] adding --- app/Commands/MariadbAddCommand.php | 5 ++++- app/Commands/MariadbInstallCommand.php | 5 ++++- app/Commands/MariadbRemoveCommand.php | 5 ++++- app/Commands/MonitoringStateCommand.php | 5 ++++- app/Commands/NginxInstallCommand.php | 5 ++++- app/Commands/NginxVhostsCommand.php | 9 --------- app/Commands/PhpFpmInstallCommand.php | 4 ++++ app/Facades/Install.php | 2 +- app/Facades/Menus/StylesFactory.php | 3 ++- app/Facades/NginxVhost.php | 3 ++- app/Facades/NginxVhostFactory.php | 3 ++- app/Facades/TerminalHelper.php | 3 ++- 12 files changed, 33 insertions(+), 19 deletions(-) diff --git a/app/Commands/MariadbAddCommand.php b/app/Commands/MariadbAddCommand.php index 3a5e333..c4d8d4e 100644 --- a/app/Commands/MariadbAddCommand.php +++ b/app/Commands/MariadbAddCommand.php @@ -12,8 +12,11 @@ use Hackzilla\PasswordGenerator\Generator\ComputerPasswordGenerator; use Hackzilla\PasswordGenerator\RandomGenerator\Php7RandomGenerator; /** + * Add database * - * + * @author Björn Hase, Tentakelfabrik + * @license http://opensource.org/licenses/MIT The MIT License + * @link https://gitea.tentakelfabrik.de/Tentakelfabrik/mcp * */ class MariadbAddCommand extends Command diff --git a/app/Commands/MariadbInstallCommand.php b/app/Commands/MariadbInstallCommand.php index 213e9f6..9357eab 100644 --- a/app/Commands/MariadbInstallCommand.php +++ b/app/Commands/MariadbInstallCommand.php @@ -12,8 +12,11 @@ use Hackzilla\PasswordGenerator\Generator\ComputerPasswordGenerator; use Hackzilla\PasswordGenerator\RandomGenerator\Php7RandomGenerator; /** + * Install Mariadb * - * + * @author Björn Hase, Tentakelfabrik + * @license http://opensource.org/licenses/MIT The MIT License + * @link https://gitea.tentakelfabrik.de/Tentakelfabrik/mcp * */ class MariadbInstallCommand extends Command diff --git a/app/Commands/MariadbRemoveCommand.php b/app/Commands/MariadbRemoveCommand.php index fee98a4..6ca3ae4 100644 --- a/app/Commands/MariadbRemoveCommand.php +++ b/app/Commands/MariadbRemoveCommand.php @@ -12,8 +12,11 @@ use Hackzilla\PasswordGenerator\Generator\ComputerPasswordGenerator; use Hackzilla\PasswordGenerator\RandomGenerator\Php7RandomGenerator; /** + * Remove database * - * + * @author Björn Hase, Tentakelfabrik + * @license http://opensource.org/licenses/MIT The MIT License + * @link https://gitea.tentakelfabrik.de/Tentakelfabrik/mcp * */ class MariadbRemoveCommand extends Command diff --git a/app/Commands/MonitoringStateCommand.php b/app/Commands/MonitoringStateCommand.php index a189c32..0bd9687 100644 --- a/app/Commands/MonitoringStateCommand.php +++ b/app/Commands/MonitoringStateCommand.php @@ -6,8 +6,11 @@ use Illuminate\Console\Scheduling\Schedule; use LaravelZero\Framework\Commands\Command; /** - * + * get count of updates and state of hardisks * + * @author Björn Hase, Tentakelfabrik + * @license http://opensource.org/licenses/MIT The MIT License + * @link https://gitea.tentakelfabrik.de/Tentakelfabrik/mcp * */ class MonitoringStateCommand extends Command diff --git a/app/Commands/NginxInstallCommand.php b/app/Commands/NginxInstallCommand.php index 518eb80..34234c9 100644 --- a/app/Commands/NginxInstallCommand.php +++ b/app/Commands/NginxInstallCommand.php @@ -9,8 +9,11 @@ use App\Facades\Install; use App\BladeFile; /** - * Nginx install + * Install Nginx * + * @author Björn Hase, Tentakelfabrik + * @license http://opensource.org/licenses/MIT The MIT License + * @link https://gitea.tentakelfabrik.de/Tentakelfabrik/mcp * */ class NginxInstallCommand extends Command diff --git a/app/Commands/NginxVhostsCommand.php b/app/Commands/NginxVhostsCommand.php index 76c9eb2..c1a22ff 100644 --- a/app/Commands/NginxVhostsCommand.php +++ b/app/Commands/NginxVhostsCommand.php @@ -9,20 +9,11 @@ use Illuminate\Support\Facades\File; use App\Facades\Install; use App\Facades\NginxVhost; use App\Facades\NginxVhostFactory; -use App\Facades\TerminalHelper; use App\Facades\Menus\StylesFactory; use App\Helpers\NginxTemplateHelper; - -use App\Menus\Nginx\NginxVhostGoBackAction; use App\Menus\Nginx\TemplateMenuFactory; -use PhpSchool\CliMenu\Builder\CliMenuBuilder; -use PhpSchool\CliMenu\CliMenu; -use PhpSchool\CliMenu\MenuItem\CheckboxItem; -use PhpSchool\CliMenu\Style\SelectableStyle; -use PhpSchool\CliMenu\MenuItem\MenuMenuItem; - /** * Add and Edit Configurations of Vhosts from Nginx * diff --git a/app/Commands/PhpFpmInstallCommand.php b/app/Commands/PhpFpmInstallCommand.php index f59b739..c5ecb7b 100644 --- a/app/Commands/PhpFpmInstallCommand.php +++ b/app/Commands/PhpFpmInstallCommand.php @@ -4,11 +4,15 @@ namespace App\Commands; use Illuminate\Console\Scheduling\Schedule; use LaravelZero\Framework\Commands\Command; + use App\Facades\Install; /** * Install php-fpm * + * @author Björn Hase, Tentakelfabrik + * @license http://opensource.org/licenses/MIT The MIT License + * @link https://gitea.tentakelfabrik.de/Tentakelfabrik/mcp * */ class PhpFpmInstallCommand extends Command diff --git a/app/Facades/Install.php b/app/Facades/Install.php index a4b5774..aa14ad8 100644 --- a/app/Facades/Install.php +++ b/app/Facades/Install.php @@ -5,7 +5,7 @@ namespace App\Facades; use Illuminate\Support\Facades\Facade; /** - * Install + * * * @author Björn Hase * @license http://opensource.org/licenses/MIT The MIT License diff --git a/app/Facades/Menus/StylesFactory.php b/app/Facades/Menus/StylesFactory.php index 5d84672..4b11d9b 100644 --- a/app/Facades/Menus/StylesFactory.php +++ b/app/Facades/Menus/StylesFactory.php @@ -5,11 +5,12 @@ namespace App\Facades\Menus; use Illuminate\Support\Facades\Facade; /** - * Nginx + * * * @author Björn Hase * @license http://opensource.org/licenses/MIT The MIT License * @link https://github.com/nirgendswo/fuzzy-cms GitHub Repository + * */ class StylesFactory extends Facade { diff --git a/app/Facades/NginxVhost.php b/app/Facades/NginxVhost.php index 1f5f30d..ec91ac9 100644 --- a/app/Facades/NginxVhost.php +++ b/app/Facades/NginxVhost.php @@ -5,11 +5,12 @@ namespace App\Facades; use Illuminate\Support\Facades\Facade; /** - * Nginx + * * * @author Björn Hase * @license http://opensource.org/licenses/MIT The MIT License * @link https://github.com/nirgendswo/fuzzy-cms GitHub Repository + * */ class NginxVhost extends Facade { diff --git a/app/Facades/NginxVhostFactory.php b/app/Facades/NginxVhostFactory.php index b47525d..47d2f7c 100644 --- a/app/Facades/NginxVhostFactory.php +++ b/app/Facades/NginxVhostFactory.php @@ -5,11 +5,12 @@ namespace App\Facades; use Illuminate\Support\Facades\Facade; /** - * Nginx + * * * @author Björn Hase * @license http://opensource.org/licenses/MIT The MIT License * @link https://github.com/nirgendswo/fuzzy-cms GitHub Repository + * */ class NginxVhostFactory extends Facade { diff --git a/app/Facades/TerminalHelper.php b/app/Facades/TerminalHelper.php index 292c059..8af6076 100644 --- a/app/Facades/TerminalHelper.php +++ b/app/Facades/TerminalHelper.php @@ -5,11 +5,12 @@ namespace App\Facades; use Illuminate\Support\Facades\Facade; /** - * Nginx + * * * @author Björn Hase * @license http://opensource.org/licenses/MIT The MIT License * @link https://github.com/nirgendswo/fuzzy-cms GitHub Repository + * */ class TerminalHelper extends Facade {