From 2cf12035abd115a8c312ba202e8c53fae8adca45 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 19 May 2017 02:29:38 +0200 Subject: [PATCH] Next small wave: - imported Base(Hub|Node)Filter - created namespaces MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../hub/classes/filter/activation/node/class_NodeActivation | 1 + .../node/class_NodeActivationAnnouncementFilter.php | 3 +++ .../hub/classes/filter/bootstrap/node/class_NodeBootstrap | 1 + .../node/class_NodeBootstrapExtraBootstrappingFilter.php | 1 + .../node/class_NodeBootstrapGenerateNodeIdFilter.php | 1 + .../node/class_NodeBootstrapGeneratePrivateKeyFilter.php | 1 + .../node/class_NodeBootstrapGenerateSessionIdFilter.php | 1 + .../node/class_NodeBootstrapListenerPoolFilter.php | 1 + application/hub/classes/filter/class_ | 3 ++- application/hub/classes/filter/class_BaseAptProxyFilter.php | 6 ++++++ application/hub/classes/filter/class_BaseChatFilter.php | 6 ++++++ application/hub/classes/filter/class_BaseCrawlerFilter.php | 6 ++++++ application/hub/classes/filter/class_BaseCruncherFilter.php | 6 ++++++ application/hub/classes/filter/class_BaseHubFilter.php | 6 ++++++ application/hub/classes/filter/class_BaseMinerFilter.php | 6 ++++++ application/hub/classes/filter/class_BaseNodeFilter.php | 6 ++++++ application/hub/classes/filter/node/class_Node | 3 +++ .../classes/filter/node/class_NodeInitializationFilter.php | 3 ++- .../classes/filter/node/class_NodePhpRequirementsFilter.php | 5 ++++- .../classes/filter/node/class_NodeWelcomeTeaserFilter.php | 3 ++- .../hub/classes/filter/shutdown/node/class_NodeShutdown | 1 + .../shutdown/node/class_NodeShutdownFlushNodeListFilter.php | 1 + .../filter/shutdown/node/class_NodeShutdownNodeFilter.php | 1 + .../shutdown/node/class_NodeShutdownTaskHandlerFilter.php | 3 +++ .../answer/class_PackageAnnouncementAnswerTagFilter.php | 3 +++ .../answer/class_PackageDhtBootstrapAnswerTagFilter.php | 3 +++ .../answer/class_PackageRequestNodeListAnswerTagFilter.php | 3 +++ .../filter/tags/class_PackageAnnouncementTagFilter.php | 3 +++ .../filter/tags/class_PackageDhtBootstrapTagFilter.php | 3 +++ .../filter/tags/class_PackageRequestNodeListTagFilter.php | 3 +++ .../filter/tags/class_PackageSelfConnectTagFilter.php | 3 +++ .../task/node/class_NodeTaskHandlerInitializerFilter.php | 1 + application/hub/config.php | 2 +- 33 files changed, 94 insertions(+), 5 deletions(-) diff --git a/application/hub/classes/filter/activation/node/class_NodeActivation b/application/hub/classes/filter/activation/node/class_NodeActivation index 9aae8fb3b..078da8b3e 100644 --- a/application/hub/classes/filter/activation/node/class_NodeActivation +++ b/application/hub/classes/filter/activation/node/class_NodeActivation @@ -4,6 +4,7 @@ namespace Hub\Filter\Activation\Node\; // Import application-specific stuff use Hub\Factory\Node\NodeObjectFactory; +use Hub\Filter\Node\BaseNodeFilter; // Import framework stuff use CoreFramework\Request\Requestable; diff --git a/application/hub/classes/filter/activation/node/class_NodeActivationAnnouncementFilter.php b/application/hub/classes/filter/activation/node/class_NodeActivationAnnouncementFilter.php index ba0551678..dc0e11056 100644 --- a/application/hub/classes/filter/activation/node/class_NodeActivationAnnouncementFilter.php +++ b/application/hub/classes/filter/activation/node/class_NodeActivationAnnouncementFilter.php @@ -2,6 +2,9 @@ // Own namespace namespace Hub\Filter\Activation\Node\Announcement; +// Import application-specific stuff +use Hub\Filter\Node\BaseNodeFilter; + // Import framework stuff use CoreFramework\Factory\ObjectFactory; use CoreFramework\Request\Requestable; diff --git a/application/hub/classes/filter/bootstrap/node/class_NodeBootstrap b/application/hub/classes/filter/bootstrap/node/class_NodeBootstrap index 77a392e73..6b51e0202 100644 --- a/application/hub/classes/filter/bootstrap/node/class_NodeBootstrap +++ b/application/hub/classes/filter/bootstrap/node/class_NodeBootstrap @@ -4,6 +4,7 @@ namespace Hub\Filter\Bootstrap\Node\; // Import application-specific stuff use Hub\Factory\Node\NodeObjectFactory; +use Hub\Filter\Node\BaseNodeFilter; // Import framework stuff use CoreFramework\Request\Requestable; diff --git a/application/hub/classes/filter/bootstrap/node/class_NodeBootstrapExtraBootstrappingFilter.php b/application/hub/classes/filter/bootstrap/node/class_NodeBootstrapExtraBootstrappingFilter.php index 7634ee4e7..5b6e5ea33 100644 --- a/application/hub/classes/filter/bootstrap/node/class_NodeBootstrapExtraBootstrappingFilter.php +++ b/application/hub/classes/filter/bootstrap/node/class_NodeBootstrapExtraBootstrappingFilter.php @@ -4,6 +4,7 @@ namespace Hub\Filter\Bootstrap\Node\Extra; // Import application-specific stuff use Hub\Factory\Node\NodeObjectFactory; +use Hub\Filter\Node\BaseNodeFilter; // Import framework stuff use CoreFramework\Request\Requestable; diff --git a/application/hub/classes/filter/bootstrap/node/class_NodeBootstrapGenerateNodeIdFilter.php b/application/hub/classes/filter/bootstrap/node/class_NodeBootstrapGenerateNodeIdFilter.php index fd4044d41..e77b00419 100644 --- a/application/hub/classes/filter/bootstrap/node/class_NodeBootstrapGenerateNodeIdFilter.php +++ b/application/hub/classes/filter/bootstrap/node/class_NodeBootstrapGenerateNodeIdFilter.php @@ -4,6 +4,7 @@ namespace Hub\Filter\Bootstrap\Node\NodeId; // Import application-specific stuff use Hub\Factory\Node\NodeObjectFactory; +use Hub\Filter\Node\BaseNodeFilter; // Import framework stuff use CoreFramework\Request\Requestable; diff --git a/application/hub/classes/filter/bootstrap/node/class_NodeBootstrapGeneratePrivateKeyFilter.php b/application/hub/classes/filter/bootstrap/node/class_NodeBootstrapGeneratePrivateKeyFilter.php index 46389ff08..dafac315a 100644 --- a/application/hub/classes/filter/bootstrap/node/class_NodeBootstrapGeneratePrivateKeyFilter.php +++ b/application/hub/classes/filter/bootstrap/node/class_NodeBootstrapGeneratePrivateKeyFilter.php @@ -4,6 +4,7 @@ namespace Hub\Filter\Bootstrap\Node\PrivateKey; // Import application-specific stuff use Hub\Factory\Node\NodeObjectFactory; +use Hub\Filter\Node\BaseNodeFilter; // Import framework stuff use CoreFramework\Request\Requestable; diff --git a/application/hub/classes/filter/bootstrap/node/class_NodeBootstrapGenerateSessionIdFilter.php b/application/hub/classes/filter/bootstrap/node/class_NodeBootstrapGenerateSessionIdFilter.php index e5033f060..c8cbdb5be 100644 --- a/application/hub/classes/filter/bootstrap/node/class_NodeBootstrapGenerateSessionIdFilter.php +++ b/application/hub/classes/filter/bootstrap/node/class_NodeBootstrapGenerateSessionIdFilter.php @@ -4,6 +4,7 @@ namespace Hub\Filter\Bootstrap\Node; // Import application-specific stuff use Hub\Factory\Node\NodeObjectFactory; +use Hub\Filter\Node\BaseNodeFilter; // Import framework stuff use CoreFramework\Request\Requestable; diff --git a/application/hub/classes/filter/bootstrap/node/class_NodeBootstrapListenerPoolFilter.php b/application/hub/classes/filter/bootstrap/node/class_NodeBootstrapListenerPoolFilter.php index 90a5f723b..b11b5f7b7 100644 --- a/application/hub/classes/filter/bootstrap/node/class_NodeBootstrapListenerPoolFilter.php +++ b/application/hub/classes/filter/bootstrap/node/class_NodeBootstrapListenerPoolFilter.php @@ -4,6 +4,7 @@ namespace Hub\Filter\Bootstrap\Node\Pool; // Import application-specific stuff use Hub\Factory\Node\NodeObjectFactory; +use Hub\Filter\Node\BaseNodeFilter; // Import framework stuff use CoreFramework\Request\Requestable; diff --git a/application/hub/classes/filter/class_ b/application/hub/classes/filter/class_ index a667fcb06..36e704267 100644 --- a/application/hub/classes/filter/class_ +++ b/application/hub/classes/filter/class_ @@ -1,9 +1,10 @@ setConfigEntry('news_download_filter', 'CoreFramework\Filter\News\NewsDown $cfg->setConfigEntry('news_process_filter', 'CoreFramework\Filter\News\NewsProcessFilter'); // CFG: NODE-PHP-REQUIREMENTS-FILTER -$cfg->setConfigEntry('node_php_requirements_filter', 'NodePhpRequirementsFilter'); +$cfg->setConfigEntry('node_php_requirements_filter', 'Hub\Filter\Node\Requirements\NodePhpRequirementsFilter'); // CFG: NODE-INITIALIZER-FILTER $cfg->setConfigEntry('node_initializer_filter', 'NodeInitializationFilter'); -- 2.39.5