diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php
index 553cdfd..f5020b8 100644
--- a/Admin/Install/Navigation.php
+++ b/Admin/Install/Navigation.php
@@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
- * @package Modules\Monitoring\Admin\Install
- * @copyright Dennis Eichhorn
- * @license OMS License 1.0
- * @version 1.0.0
- * @link https://orange-management.org
+ * @package Modules\Monitoring\Admin\Install
+ * @copyright Dennis Eichhorn
+ * @license OMS License 1.0
+ * @version 1.0.0
+ * @link https://orange-management.org
*/
declare(strict_types=1);
@@ -19,10 +19,10 @@ use phpOMS\DataStorage\Database\DatabasePool;
/**
* Navigation class.
*
- * @package Modules\Monitoring\Admin\Install
- * @license OMS License 1.0
- * @link https://orange-management.org
- * @since 1.0.0
+ * @package Modules\Monitoring\Admin\Install
+ * @license OMS License 1.0
+ * @link https://orange-management.org
+ * @since 1.0.0
*/
class Navigation
{
@@ -34,7 +34,7 @@ class Navigation
*
* @return void
*
- * @since 1.0.0
+ * @since 1.0.0
*/
public static function install(string $path, DatabasePool $dbPool) : void
{
diff --git a/Admin/Installer.php b/Admin/Installer.php
index fe4e7d5..f006a59 100644
--- a/Admin/Installer.php
+++ b/Admin/Installer.php
@@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
- * @package Modules\Monitoring\Admin
- * @copyright Dennis Eichhorn
- * @license OMS License 1.0
- * @version 1.0.0
- * @link https://orange-management.org
+ * @package Modules\Monitoring\Admin
+ * @copyright Dennis Eichhorn
+ * @license OMS License 1.0
+ * @version 1.0.0
+ * @link https://orange-management.org
*/
declare(strict_types=1);
@@ -19,10 +19,10 @@ use phpOMS\Module\InstallerAbstract;
/**
* Installer class.
*
- * @package Modules\Monitoring\Admin
- * @license OMS License 1.0
- * @link https://orange-management.org
- * @since 1.0.0
+ * @package Modules\Monitoring\Admin
+ * @license OMS License 1.0
+ * @link https://orange-management.org
+ * @since 1.0.0
*/
class Installer extends InstallerAbstract
{
diff --git a/Admin/Status.php b/Admin/Status.php
index 40b62eb..111ada3 100644
--- a/Admin/Status.php
+++ b/Admin/Status.php
@@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
- * @package Modules\Monitoring\Admin
- * @copyright Dennis Eichhorn
- * @license OMS License 1.0
- * @version 1.0.0
- * @link https://orange-management.org
+ * @package Modules\Monitoring\Admin
+ * @copyright Dennis Eichhorn
+ * @license OMS License 1.0
+ * @version 1.0.0
+ * @link https://orange-management.org
*/
declare(strict_types=1);
@@ -19,10 +19,10 @@ use phpOMS\Module\StatusAbstract;
/**
* Navigation class.
*
- * @package Modules\Monitoring\Admin
- * @license OMS License 1.0
- * @link https://orange-management.org
- * @since 1.0.0
+ * @package Modules\Monitoring\Admin
+ * @license OMS License 1.0
+ * @link https://orange-management.org
+ * @since 1.0.0
*/
class Status extends StatusAbstract
{
diff --git a/Admin/Uninstaller.php b/Admin/Uninstaller.php
index 6c5be84..ae2494c 100644
--- a/Admin/Uninstaller.php
+++ b/Admin/Uninstaller.php
@@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
- * @package Modules\Monitoring\Admin
- * @copyright Dennis Eichhorn
- * @license OMS License 1.0
- * @version 1.0.0
- * @link https://orange-management.org
+ * @package Modules\Monitoring\Admin
+ * @copyright Dennis Eichhorn
+ * @license OMS License 1.0
+ * @version 1.0.0
+ * @link https://orange-management.org
*/
declare(strict_types=1);
@@ -19,10 +19,10 @@ use phpOMS\Module\UninstallerAbstract;
/**
* Uninstaller class.
*
- * @package Modules\Monitoring\Admin
- * @license OMS License 1.0
- * @link https://orange-management.org
- * @since 1.0.0
+ * @package Modules\Monitoring\Admin
+ * @license OMS License 1.0
+ * @link https://orange-management.org
+ * @since 1.0.0
*/
class Uninstaller extends UninstallerAbstract
{
diff --git a/Admin/Updater.php b/Admin/Updater.php
index 6dab741..45c58af 100644
--- a/Admin/Updater.php
+++ b/Admin/Updater.php
@@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
- * @package Modules\Monitoring\Admin
- * @copyright Dennis Eichhorn
- * @license OMS License 1.0
- * @version 1.0.0
- * @link https://orange-management.org
+ * @package Modules\Monitoring\Admin
+ * @copyright Dennis Eichhorn
+ * @license OMS License 1.0
+ * @version 1.0.0
+ * @link https://orange-management.org
*/
declare(strict_types=1);
@@ -19,10 +19,10 @@ use phpOMS\Module\UpdaterAbstract;
/**
* Updater class.
*
- * @package Modules\Monitoring\Admin
- * @license OMS License 1.0
- * @link https://orange-management.org
- * @since 1.0.0
+ * @package Modules\Monitoring\Admin
+ * @license OMS License 1.0
+ * @link https://orange-management.org
+ * @since 1.0.0
*/
class Updater extends UpdaterAbstract
{
diff --git a/Controller/BackendController.php b/Controller/BackendController.php
index db1f871..26ab666 100644
--- a/Controller/BackendController.php
+++ b/Controller/BackendController.php
@@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
- * @package Modules\Monitoring
- * @copyright Dennis Eichhorn
- * @license OMS License 1.0
- * @version 1.0.0
- * @link https://orange-management.org
+ * @package Modules\Monitoring
+ * @copyright Dennis Eichhorn
+ * @license OMS License 1.0
+ * @version 1.0.0
+ * @link https://orange-management.org
*/
declare(strict_types=1);
@@ -22,22 +22,24 @@ use phpOMS\Views\View;
/**
* Monitoring controller class.
*
- * @package Modules\Monitoring
- * @license OMS License 1.0
- * @link https://orange-management.org
- * @since 1.0.0
+ * @package Modules\Monitoring
+ * @license OMS License 1.0
+ * @link https://orange-management.org
+ * @since 1.0.0
*/
final class BackendController extends Controller
{
/**
+ * Routing end-point for application behaviour.
+ *
* @param RequestAbstract $request Request
* @param ResponseAbstract $response Response
* @param mixed $data Generic data
*
* @return RenderableInterface
*
- * @since 1.0.0
+ * @since 1.0.0
* @codeCoverageIgnore
*/
public function viewMonitoringGeneral(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
@@ -50,13 +52,15 @@ final class BackendController extends Controller
}
/**
+ * Routing end-point for application behaviour.
+ *
* @param RequestAbstract $request Request
* @param ResponseAbstract $response Response
* @param mixed $data Generic data
*
* @return RenderableInterface
*
- * @since 1.0.0
+ * @since 1.0.0
* @codeCoverageIgnore
*/
public function viewMonitoringLogList(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
@@ -69,13 +73,15 @@ final class BackendController extends Controller
}
/**
+ * Routing end-point for application behaviour.
+ *
* @param RequestAbstract $request Request
* @param ResponseAbstract $response Response
* @param mixed $data Generic data
*
* @return RenderableInterface
*
- * @since 1.0.0
+ * @since 1.0.0
* @codeCoverageIgnore
*/
public function viewMonitoringLogEntry(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
@@ -88,13 +94,15 @@ final class BackendController extends Controller
}
/**
+ * Routing end-point for application behaviour.
+ *
* @param RequestAbstract $request Request
* @param ResponseAbstract $response Response
* @param mixed $data Generic data
*
* @return RenderableInterface
*
- * @since 1.0.0
+ * @since 1.0.0
* @codeCoverageIgnore
*/
public function viewMonitoringSecurityDashboard(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
diff --git a/Controller/Controller.php b/Controller/Controller.php
index c98dea8..0cb731d 100644
--- a/Controller/Controller.php
+++ b/Controller/Controller.php
@@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
- * @package Modules\Monitoring
- * @copyright Dennis Eichhorn
- * @license OMS License 1.0
- * @version 1.0.0
- * @link https://orange-management.org
+ * @package Modules\Monitoring
+ * @copyright Dennis Eichhorn
+ * @license OMS License 1.0
+ * @version 1.0.0
+ * @link https://orange-management.org
*/
declare(strict_types=1);
@@ -20,10 +20,10 @@ use phpOMS\Module\WebInterface;
/**
* Monitoring controller class.
*
- * @package Modules\Monitoring
- * @license OMS License 1.0
- * @link https://orange-management.org
- * @since 1.0.0
+ * @package Modules\Monitoring
+ * @license OMS License 1.0
+ * @link https://orange-management.org
+ * @since 1.0.0
*/
class Controller extends ModuleAbstract implements WebInterface
{
@@ -31,7 +31,7 @@ class Controller extends ModuleAbstract implements WebInterface
/**
* Module path.
*
- * @var string
+ * @var string
* @since 1.0.0
*/
public const MODULE_PATH = __DIR__ . '/../';
@@ -39,7 +39,7 @@ class Controller extends ModuleAbstract implements WebInterface
/**
* Module version.
*
- * @var string
+ * @var string
* @since 1.0.0
*/
public const MODULE_VERSION = '1.0.0';
@@ -47,7 +47,7 @@ class Controller extends ModuleAbstract implements WebInterface
/**
* Module name.
*
- * @var string
+ * @var string
* @since 1.0.0
*/
public const MODULE_NAME = 'Monitoring';
@@ -55,7 +55,7 @@ class Controller extends ModuleAbstract implements WebInterface
/**
* Module id.
*
- * @var int
+ * @var int
* @since 1.0.0
*/
public const MODULE_ID = 1000700000;
@@ -63,7 +63,7 @@ class Controller extends ModuleAbstract implements WebInterface
/**
* Providing.
*
- * @var string[]
+ * @var string[]
* @since 1.0.0
*/
protected static array $providing = [];
@@ -71,7 +71,7 @@ class Controller extends ModuleAbstract implements WebInterface
/**
* Dependencies.
*
- * @var string[]
+ * @var string[]
* @since 1.0.0
*/
protected static array $dependencies = [];
diff --git a/Models/PermissionState.php b/Models/PermissionState.php
index 8cf1346..412dcdc 100644
--- a/Models/PermissionState.php
+++ b/Models/PermissionState.php
@@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
- * @package Modules\Monitoring
- * @copyright Dennis Eichhorn
- * @license OMS License 1.0
- * @version 1.0.0
- * @link https://orange-management.org
+ * @package Modules\Monitoring
+ * @copyright Dennis Eichhorn
+ * @license OMS License 1.0
+ * @version 1.0.0
+ * @link https://orange-management.org
*/
declare(strict_types=1);
@@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum;
/**
* Permision state enum.
*
- * @package Modules\Monitoring
- * @license OMS License 1.0
- * @link https://orange-management.org
- * @since 1.0.0
+ * @package Modules\Monitoring
+ * @license OMS License 1.0
+ * @link https://orange-management.org
+ * @since 1.0.0
*/
abstract class PermissionState extends Enum
{
diff --git a/Theme/Backend/Lang/Navigation.en.lang.php b/Theme/Backend/Lang/Navigation.en.lang.php
index 27364ba..c9c9b25 100644
--- a/Theme/Backend/Lang/Navigation.en.lang.php
+++ b/Theme/Backend/Lang/Navigation.en.lang.php
@@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
- * @package TBD
- * @copyright Dennis Eichhorn
- * @license OMS License 1.0
- * @version 1.0.0
- * @link https://orange-management.org
+ * @package TBD
+ * @copyright Dennis Eichhorn
+ * @license OMS License 1.0
+ * @version 1.0.0
+ * @link https://orange-management.org
*/
return ['Navigation' => [
'Logs' => 'Logs',
diff --git a/Theme/Backend/Lang/api.en.lang.php b/Theme/Backend/Lang/api.en.lang.php
index 4d6641a..7fb3f85 100644
--- a/Theme/Backend/Lang/api.en.lang.php
+++ b/Theme/Backend/Lang/api.en.lang.php
@@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
- * @package TBD
- * @copyright Dennis Eichhorn
- * @license OMS License 1.0
- * @version 1.0.0
- * @link https://orange-management.org
+ * @package TBD
+ * @copyright Dennis Eichhorn
+ * @license OMS License 1.0
+ * @version 1.0.0
+ * @link https://orange-management.org
*/
$MODLANG[1] = [
'i:ModuleInstalled' => 'Installation of the module {$1} was successful.',
diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php
index 9e574fa..27ca25d 100644
--- a/Theme/Backend/Lang/en.lang.php
+++ b/Theme/Backend/Lang/en.lang.php
@@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
- * @package TBD
- * @copyright Dennis Eichhorn
- * @license OMS License 1.0
- * @version 1.0.0
- * @link https://orange-management.org
+ * @package TBD
+ * @copyright Dennis Eichhorn
+ * @license OMS License 1.0
+ * @version 1.0.0
+ * @link https://orange-management.org
*/
return ['Monitoring' => [
'Alerts' => 'Alerts',
diff --git a/Theme/Backend/monitoring-dashboard.tpl.php b/Theme/Backend/monitoring-dashboard.tpl.php
index 1f9eac2..737a82c 100644
--- a/Theme/Backend/monitoring-dashboard.tpl.php
+++ b/Theme/Backend/monitoring-dashboard.tpl.php
@@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
- * @package TBD
- * @copyright Dennis Eichhorn
- * @license OMS License 1.0
- * @version 1.0.0
- * @link https://orange-management.org
+ * @package TBD
+ * @copyright Dennis Eichhorn
+ * @license OMS License 1.0
+ * @version 1.0.0
+ * @link https://orange-management.org
*/
$logs = $this->app->logger->countLogs();
$penetrators = $this->app->logger->getHighestPerpetrator();
diff --git a/Theme/Backend/monitoring-logs-single.tpl.php b/Theme/Backend/monitoring-logs-single.tpl.php
index 4d41ff4..dd0d3ca 100644
--- a/Theme/Backend/monitoring-logs-single.tpl.php
+++ b/Theme/Backend/monitoring-logs-single.tpl.php
@@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
- * @package TBD
- * @copyright Dennis Eichhorn
- * @license OMS License 1.0
- * @version 1.0.0
- * @link https://orange-management.org
+ * @package TBD
+ * @copyright Dennis Eichhorn
+ * @license OMS License 1.0
+ * @version 1.0.0
+ * @link https://orange-management.org
*/
/**
* @var \phpOMS\Views\View $this
diff --git a/Theme/Backend/monitoring-logs.tpl.php b/Theme/Backend/monitoring-logs.tpl.php
index f583175..0782456 100644
--- a/Theme/Backend/monitoring-logs.tpl.php
+++ b/Theme/Backend/monitoring-logs.tpl.php
@@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
- * @package TBD
- * @copyright Dennis Eichhorn
- * @license OMS License 1.0
- * @version 1.0.0
- * @link https://orange-management.org
+ * @package TBD
+ * @copyright Dennis Eichhorn
+ * @license OMS License 1.0
+ * @version 1.0.0
+ * @link https://orange-management.org
*/
/**
* @var \phpOMS\Views\View $this
diff --git a/Theme/Backend/monitoring-security-file-list.tpl.php b/Theme/Backend/monitoring-security-file-list.tpl.php
index b4190cd..5d06a18 100644
--- a/Theme/Backend/monitoring-security-file-list.tpl.php
+++ b/Theme/Backend/monitoring-security-file-list.tpl.php
@@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
- * @package TBD
- * @copyright Dennis Eichhorn
- * @license OMS License 1.0
- * @version 1.0.0
- * @link https://orange-management.org
+ * @package TBD
+ * @copyright Dennis Eichhorn
+ * @license OMS License 1.0
+ * @version 1.0.0
+ * @link https://orange-management.org
*/
use phpOMS\Message\Http\Request;
diff --git a/Theme/Backend/monitoring-security.tpl.php b/Theme/Backend/monitoring-security.tpl.php
index ab37931..a7234e6 100644
--- a/Theme/Backend/monitoring-security.tpl.php
+++ b/Theme/Backend/monitoring-security.tpl.php
@@ -1,112 +1,112 @@
-getData('nav')->render(); ?>
-
-
-
-
- = $this->getHtml('PHPSettings'); ?>
-
-
-
- | = $this->getHtml('DisabledFunctions'); ?> | = PhpCode::isDisabled(PhpCode::$disabledFunctions) ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
- |
|
- |
-
-
-
-
-
-
-
-
-
- = $this->getHtml('Inspection') ?>
-
-
- | = $this->getHtml('Status') ?>
- | = $this->getHtml('File') ?>
- | = $this->getHtml('Unicode') ?>
- | = $this->getHtml('Deprecated') ?>
- | = $this->getHtml('Modified') ?>
- | = $this->getHtml('Integrity') ?>
- |
-
-
- |
- | = $file; ?>
- | = PhpCode::hasUnicode($content) ? $this->getHtml('NG') : $this->getHtml('OK'); ?>
- | = PhpCode::hasDeprecatedFunction($content) ? $this->getHtml('NG') : $this->getHtml('OK'); ?>
- | = File::changed(__DIR__ . '/../../../../phpOMS/' . $file)->format('Y-m-d'); ?>
- |
- = \phpOMS\Security\PhpCode::validateStringIntegrity(
- $content,
- Rest::request(
- new Request(
- new Http('https://raw.githubusercontent.com/Orange-Management/phpOMS/develop/' . $file)
- )
- )->getBody()
- ) ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
-
-
- |
- |
- | = $file; ?>
- | = PhpCode::hasUnicode($content) ? $this->getHtml('NG') : $this->getHtml('OK'); ?>
- | = PhpCode::hasDeprecatedFunction($content) ? $this->getHtml('NG') : $this->getHtml('OK'); ?>
- | = File::changed(__DIR__ . '/../../../../Model/' . $file)->format('Y-m-d'); ?>
- |
- = \phpOMS\Security\PhpCode::validateStringIntegrity(
- $content,
- Rest::request(
- new Request(
- new Http('https://raw.githubusercontent.com/Orange-Management/Model/develop/' . $file)
- )
- )->getBody()
- ) ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
-
-
- |
- |
- | = $file; ?>
- | = PhpCode::hasUnicode($content) ? $this->getHtml('NG') : $this->getHtml('OK'); ?>
- | = PhpCode::hasDeprecatedFunction($content) ? $this->getHtml('NG') : $this->getHtml('OK'); ?>
- | = File::changed(__DIR__ . '/../../../../Modules/' . $file)->format('Y-m-d'); ?>
- |
- = \phpOMS\Security\PhpCode::validateStringIntegrity(
- $content,
- Rest::request(
- new Request(
- new Http('https://raw.githubusercontent.com/Orange-Management/Modules/develop/' . $file)
- )
- )->getBody()
- ) ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
-
- |
-
-
-
+getData('nav')->render(); ?>
+
+
+
+
+ = $this->getHtml('PHPSettings'); ?>
+
+
+
+ | = $this->getHtml('DisabledFunctions'); ?> | = PhpCode::isDisabled(PhpCode::$disabledFunctions) ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
+ |
|
+ |
+
+
+
+
+
+
+
+
+
+ = $this->getHtml('Inspection') ?>
+
+
+ | = $this->getHtml('Status') ?>
+ | = $this->getHtml('File') ?>
+ | = $this->getHtml('Unicode') ?>
+ | = $this->getHtml('Deprecated') ?>
+ | = $this->getHtml('Modified') ?>
+ | = $this->getHtml('Integrity') ?>
+ |
+
+
+ |
+ | = $file; ?>
+ | = PhpCode::hasUnicode($content) ? $this->getHtml('NG') : $this->getHtml('OK'); ?>
+ | = PhpCode::hasDeprecatedFunction($content) ? $this->getHtml('NG') : $this->getHtml('OK'); ?>
+ | = File::changed(__DIR__ . '/../../../../phpOMS/' . $file)->format('Y-m-d'); ?>
+ |
+ = \phpOMS\Security\PhpCode::validateStringIntegrity(
+ $content,
+ Rest::request(
+ new Request(
+ new Http('https://raw.githubusercontent.com/Orange-Management/phpOMS/develop/' . $file)
+ )
+ )->getBody()
+ ) ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
+
+
+ |
+ |
+ | = $file; ?>
+ | = PhpCode::hasUnicode($content) ? $this->getHtml('NG') : $this->getHtml('OK'); ?>
+ | = PhpCode::hasDeprecatedFunction($content) ? $this->getHtml('NG') : $this->getHtml('OK'); ?>
+ | = File::changed(__DIR__ . '/../../../../Model/' . $file)->format('Y-m-d'); ?>
+ |
+ = \phpOMS\Security\PhpCode::validateStringIntegrity(
+ $content,
+ Rest::request(
+ new Request(
+ new Http('https://raw.githubusercontent.com/Orange-Management/Model/develop/' . $file)
+ )
+ )->getBody()
+ ) ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
+
+
+ |
+ |
+ | = $file; ?>
+ | = PhpCode::hasUnicode($content) ? $this->getHtml('NG') : $this->getHtml('OK'); ?>
+ | = PhpCode::hasDeprecatedFunction($content) ? $this->getHtml('NG') : $this->getHtml('OK'); ?>
+ | = File::changed(__DIR__ . '/../../../../Modules/' . $file)->format('Y-m-d'); ?>
+ |
+ = \phpOMS\Security\PhpCode::validateStringIntegrity(
+ $content,
+ Rest::request(
+ new Request(
+ new Http('https://raw.githubusercontent.com/Orange-Management/Modules/develop/' . $file)
+ )
+ )->getBody()
+ ) ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
+
+ |
+
+
+