From: Roland Häder Date: Sat, 18 Feb 2023 03:35:23 +0000 (+0100) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=07d23ac974407be16d607ee85c1687b9cb802d9b;p=hub.git Continued: - added missing namespaces to configuration entries - added missing "import" line for BaseChatFilter --- diff --git a/application/hub/classes/filter/bootstrap/chat/class_ChatBootstrapExtraBootstrappingFilter.php b/application/hub/classes/filter/bootstrap/chat/class_ChatBootstrapExtraBootstrappingFilter.php index c210218ac..4c01b7e6a 100644 --- a/application/hub/classes/filter/bootstrap/chat/class_ChatBootstrapExtraBootstrappingFilter.php +++ b/application/hub/classes/filter/bootstrap/chat/class_ChatBootstrapExtraBootstrappingFilter.php @@ -2,6 +2,9 @@ // Own namespace namespace Org\Shipsimu\Hub\Filter\Bootstrap\Chat\Extra; +// Import app-specific stuff +use Org\Shipsimu\Hub\Chat\Filter\BaseChatFilter; + // Import framework stuff use Org\Mxchange\CoreFramework\Filter\Filterable; use Org\Mxchange\CoreFramework\Registry\GenericRegistry; diff --git a/application/hub/classes/filter/bootstrap/chat/class_ChatBootstrapGenericActivationFilter.php b/application/hub/classes/filter/bootstrap/chat/class_ChatBootstrapGenericActivationFilter.php index 22b9bf0d2..bc9856ca6 100644 --- a/application/hub/classes/filter/bootstrap/chat/class_ChatBootstrapGenericActivationFilter.php +++ b/application/hub/classes/filter/bootstrap/chat/class_ChatBootstrapGenericActivationFilter.php @@ -2,6 +2,9 @@ // Own namespace namespace Org\Shipsimu\Hub\Filter\Bootstrap\Chat\Activation; +// Import app-specific stuff +use Org\Shipsimu\Hub\Chat\Filter\BaseChatFilter; + // Import framework stuff use Org\Mxchange\CoreFramework\Filter\Filterable; use Org\Mxchange\CoreFramework\Registry\GenericRegistry; diff --git a/application/hub/classes/filter/chat/class_ChatInitializationFilter.php b/application/hub/classes/filter/chat/class_ChatInitializationFilter.php index e8a859556..696f5409c 100644 --- a/application/hub/classes/filter/chat/class_ChatInitializationFilter.php +++ b/application/hub/classes/filter/chat/class_ChatInitializationFilter.php @@ -2,6 +2,9 @@ // Own namespace namespace Org\Shipsimu\Hub\Chat\Filter\Initialization; +// Import app-specific stuff +use Org\Shipsimu\Hub\Chat\Filter\BaseChatFilter; + // Import framework stuff use Org\Mxchange\CoreFramework\Factory\Object\ObjectFactory; use Org\Mxchange\CoreFramework\Filter\Filterable; diff --git a/application/hub/classes/filter/chat/class_ChatPhpRequirementsFilter.php b/application/hub/classes/filter/chat/class_ChatPhpRequirementsFilter.php index 253d259c2..e4e389807 100644 --- a/application/hub/classes/filter/chat/class_ChatPhpRequirementsFilter.php +++ b/application/hub/classes/filter/chat/class_ChatPhpRequirementsFilter.php @@ -2,6 +2,9 @@ // Own namespace namespace Org\Shipsimu\Hub\Chat\Filter\Requirements; +// Import app-specific stuff +use Org\Shipsimu\Hub\Chat\Filter\BaseChatFilter; + // Import framework stuff use Org\Mxchange\CoreFramework\Filter\Filterable; use Org\Mxchange\CoreFramework\Request\Requestable; diff --git a/application/hub/classes/filter/chat/class_ChatWelcomeTeaserFilter.php b/application/hub/classes/filter/chat/class_ChatWelcomeTeaserFilter.php index ec773a38e..60e742bff 100644 --- a/application/hub/classes/filter/chat/class_ChatWelcomeTeaserFilter.php +++ b/application/hub/classes/filter/chat/class_ChatWelcomeTeaserFilter.php @@ -2,6 +2,9 @@ // Own namespace namespace Org\Shipsimu\Hub\Chat\Filter\WelcomeTeaser; +// Import app-specific stuff +use Org\Shipsimu\Hub\Chat\Filter\BaseChatFilter; + // Import framework stuff use Org\Mxchange\CoreFramework\Filter\Filterable; use Org\Mxchange\CoreFramework\Registry\GenericRegistry; diff --git a/application/hub/classes/filter/shutdown/chat/class_ChatShutdownFilter.php b/application/hub/classes/filter/shutdown/chat/class_ChatShutdownFilter.php index ba0cff43b..a56783256 100644 --- a/application/hub/classes/filter/shutdown/chat/class_ChatShutdownFilter.php +++ b/application/hub/classes/filter/shutdown/chat/class_ChatShutdownFilter.php @@ -2,6 +2,9 @@ // Own namespace namespace Org\Shipsimu\Hub\Filter\Shutdown\Chat; +// Import app-specific stuff +use Org\Shipsimu\Hub\Chat\Filter\BaseChatFilter; + // Import framework stuff use Org\Mxchange\CoreFramework\Filter\Filterable; use Org\Mxchange\CoreFramework\Registry\GenericRegistry; diff --git a/application/hub/classes/filter/task/chat/class_ChatTaskHandlerInitializerFilter.php b/application/hub/classes/filter/task/chat/class_ChatTaskHandlerInitializerFilter.php index 536b47166..49164f38e 100644 --- a/application/hub/classes/filter/task/chat/class_ChatTaskHandlerInitializerFilter.php +++ b/application/hub/classes/filter/task/chat/class_ChatTaskHandlerInitializerFilter.php @@ -2,6 +2,9 @@ // Own namespace namespace Org\Shipsimu\Hub\Filter\Initializer\Chat\Handler\Task; +// Import app-specific stuff +use Org\Shipsimu\Hub\Chat\Filter\BaseChatFilter; + // Import framework stuff use Org\Mxchange\CoreFramework\Factory\Object\ObjectFactory; use Org\Mxchange\CoreFramework\Filter\Filterable; diff --git a/application/hub/config.php b/application/hub/config.php index 48170c522..713c2a136 100644 --- a/application/hub/config.php +++ b/application/hub/config.php @@ -1229,31 +1229,31 @@ $cfg->setConfigEntry('cruncher_per_unit_key_limit', 1000); $cfg->setConfigEntry('hub_console_cmd_chat_resolver_class', 'Org\Shipsimu\Hub\Resolver\Command\HubConsoleCommandResolver'); // CFG: CHAT-PHP-REQUIREMENTS-FILTER-CLASS -$cfg->setConfigEntry('chat_php_requirements_filter_class', 'ChatPhpRequirementsFilter'); +$cfg->setConfigEntry('chat_php_requirements_filter_class', 'Org\Shipsimu\Hub\Chat\Filter\Requirements\ChatPhpRequirementsFilter'); // CFG: CHAT-INITIALIZER-FILTER-CLASS -$cfg->setConfigEntry('chat_initializer_filter_class', 'ChatInitializationFilter'); +$cfg->setConfigEntry('chat_initializer_filter_class', 'Org\Shipsimu\Hub\Chat\Filter\Initialization\ChatInitializationFilter'); // CFG: NODE-CONSOLE-CHAT -$cfg->setConfigEntry('node_console_chat_class', 'NodeConsoleChat'); +$cfg->setConfigEntry('node_console_chat_class', 'Org\Shipsimu\Hub\Chat\NodeConsoleChat'); // CFG: CHAT-WELCOME-TEASER-FILTER-CLASS -$cfg->setConfigEntry('chat_welcome_teaser_filter_class', 'ChatWelcomeTeaserFilter'); +$cfg->setConfigEntry('chat_welcome_teaser_filter_class', 'Org\Shipsimu\Hub\Chat\Filter\WelcomeTeaser\ChatWelcomeTeaserFilter'); // CFG: CHAT-BOOTSTRAP-TASK-HANDLER-INITIALIZER-FILTER-CLASS -$cfg->setConfigEntry('chat_bootstrap_task_handler_initializer_filter_class', 'ChatTaskHandlerInitializerFilter'); +$cfg->setConfigEntry('chat_bootstrap_task_handler_initializer_filter_class', 'Org\Shipsimu\Hub\Filter\Initializer\Chat\Handler\Task\ChatTaskHandlerInitializerFilter'); // CFG: CHAT-BOOTSTRAP-EXTRA-BOOTSTRAPPING-FILTER-CLASS -$cfg->setConfigEntry('chat_bootstrap_extra_bootstrapping_filter_class', 'ChatBootstrapExtraBootstrappingFilter'); +$cfg->setConfigEntry('chat_bootstrap_extra_bootstrapping_filter_class', 'Org\Shipsimu\Hub\Filter\Bootstrap\Chat\Extra\ChatBootstrapExtraBootstrappingFilter'); // CFG: CHAT-BOOTSTRAP-GENERIC-ACTIVATION-FILTER-CLASS -$cfg->setConfigEntry('chat_bootstrap_generic_activation_filter_class', 'ChatBootstrapGenericActivationFilter'); +$cfg->setConfigEntry('chat_bootstrap_generic_activation_filter_class', 'Org\Shipsimu\Hub\Filter\Bootstrap\Chat\Activation\ChatBootstrapGenericActivationFilter'); // CFG: CHAT-SHUTDOWN-FILTER-CLASS -$cfg->setConfigEntry('chat_shutdown_filter_class', 'ChatShutdownFilter'); +$cfg->setConfigEntry('chat_shutdown_filter_class', 'Org\Shipsimu\Hub\Filter\Shutdown\Chat\ChatShutdownFilter'); // CFG: CHAT-TELNET-LISTENER-TASK-CLASS -$cfg->setConfigEntry('chat_telnet_listener_task_class', 'ChatTelnetListenerTask'); +$cfg->setConfigEntry('chat_telnet_listener_task_class', 'Org\Shipsimu\Hub\Chat\Task\Listener\Telnet\ChatTelnetListenerTask'); // CFG: TASK-CHAT-TELNET-LISTENER-STARTUP-DELAY $cfg->setConfigEntry('task_chat_telnet_listener_startup_delay', 2500); diff --git a/application/hub/interfaces/chat/class_Chatter.php b/application/hub/interfaces/chat/class_Chatter.php index aa15ca390..2d4456270 100644 --- a/application/hub/interfaces/chat/class_Chatter.php +++ b/application/hub/interfaces/chat/class_Chatter.php @@ -1,6 +1,6 @@