Continued:
authorRoland Haeder <roland@mxchange.org>
Sun, 26 Feb 2017 20:57:03 +0000 (21:57 +0100)
committerRoland Haeder <roland@mxchange.org>
Tue, 28 Feb 2017 21:11:02 +0000 (22:11 +0100)
- added namespace to class config entries
- opps, need to multiply by 100
- added "import" of RandomNumberGenerator
- added "import" of BaseAction

Signed-off-by: Roland H├Ąder <roland@mxchange.org>
framework/config.php
framework/main/classes/actions/class_
framework/main/classes/actions/html/class_HtmlLoginProfileAction.php
framework/main/classes/actions/post_registration/class_LoginAfterRegistrationAction.php
framework/main/classes/class_BaseFrameworkSystem.php
framework/main/classes/filter/change/class_PasswordChangeFilter.php
framework/main/classes/stacker/filo/class_FiLoStacker.php
framework/main/classes/streams/crypto/class_McryptStream.php
framework/main/tests/filter/tests/configuration/classes/class_TestConfigurationLoadableClassesFilter.php

index c726527..5de88af 100644 (file)
@@ -203,10 +203,10 @@ $cfg->setConfigEntry('username_validator_filter_class', 'CoreFramework\Filter\Va
 $cfg->setConfigEntry('username_is_guest_filter_class', 'CoreFramework\Filter\User\Username\UserNameIsGuestFilter');
 
 // CFG: PASSWORD-VALIDATOR-FILTER-CLASS
-$cfg->setConfigEntry('password_validator_filter_class', 'PasswordValidatorFilter');
+$cfg->setConfigEntry('password_validator_filter_class', 'CoreFramework\Filter\Validator\Password\PasswordValidatorFilter');
 
 // CFG: RULES-ACCEPTED-FILTER-CLASS
-$cfg->setConfigEntry('rules_accepted_filter_class', 'RulesAcceptedFilter');
+$cfg->setConfigEntry('rules_accepted_filter_class', 'CoreFramework\Filter\RulesCheckbox\RulesAcceptedFilter');
 
 // CFG: USERNAME-VERIFIER-FILTER-CLASS
 $cfg->setConfigEntry('username_verifier_filter_class', 'CoreFramework\Filter\Verifier\User\UserNameVerifierFilter');
@@ -218,16 +218,16 @@ $cfg->setConfigEntry('user_guest_verifier_filter_class', 'CoreFramework\Filter\V
 $cfg->setConfigEntry('email_verifier_filter_class', 'EmailVerifierFilter');
 
 // CFG: PASSWORD-VERIFIER-FILTER-CLASS
-$cfg->setConfigEntry('password_verifier_filter_class', 'PasswordVerifierFilter');
+$cfg->setConfigEntry('password_verifier_filter_class', 'CoreFramework\Filter\Verifier\Password\PasswordVerifierFilter');
 
 // CFG: PASSWD-GUEST-VERIFIER-FILTER-CLASS
-$cfg->setConfigEntry('passwd_guest_verifier_filter_class', 'PasswordGuestVerifierFilter');
+$cfg->setConfigEntry('passwd_guest_verifier_filter_class', 'CoreFramework\Filter\Verifier\User\PasswordGuestVerifierFilter');
 
 // CFG: EMAIL-CHANGE-FILTER-CLASS
 $cfg->setConfigEntry('email_change_filter_class', 'EmailChangeFilter');
 
 // CFG: PASSWORD-CHANGE-FILTER-CLASS
-$cfg->setConfigEntry('password_change_filter_class', 'PasswordChangeFilter');
+$cfg->setConfigEntry('password_change_filter_class', 'CoreFramework\Filter\Change\Password\PasswordChangeFilter');
 
 // CFG: ACCOUNT-PASSWORD-FILTER-CLASS
 $cfg->setConfigEntry('account_password_filter_class', 'AccountPasswordVerifierFilter');
@@ -242,7 +242,7 @@ $cfg->setConfigEntry('user_unconfirmed_filter_class', 'CoreFramework\Filter\Veri
 $cfg->setConfigEntry('crypto_class', 'CryptoHelper');
 
 // CFG: RNG-CLASS
-$cfg->setConfigEntry('rng_class', 'RandomNumberGenerator');
+$cfg->setConfigEntry('rng_class', 'CoreFramework\Crypto\RandomNumber\RandomNumberGenerator');
 
 // CFG: USER-DB-WRAPPER-CLASS
 $cfg->setConfigEntry('user_db_wrapper_class', 'CoreFramework\Wrapper\Database\User\UserDatabaseWrapper');
@@ -293,7 +293,7 @@ $cfg->setConfigEntry('hash_normal_mask', '%1s:%2s'); // 1=salt, 2=plain password
 $cfg->setConfigEntry('is_single_server', 'Y');
 
 // CFG: POST-REGISTRATION-CLASS
-$cfg->setConfigEntry('post_registration_class', 'LoginAfterRegistrationAction');
+$cfg->setConfigEntry('post_registration_class', 'CoreFramework\Action\PostRegistration\Login\LoginAfterRegistrationAction');
 
 // CFG: USER-CLASS
 $cfg->setConfigEntry('user_class', 'CoreFramework\User\Login\Member');
@@ -329,7 +329,7 @@ $cfg->setConfigEntry('product_install_mode', 'debug');
 $cfg->setConfigEntry('decimals', 3);
 
 // CFG: MENU-STACKER-CLASS
-$cfg->setConfigEntry('menu_stacker_class', 'FiLoStacker');
+$cfg->setConfigEntry('menu_stacker_class', 'CoreFramework\Stacker\File\FiLoStacker');
 
 // CFG: STACKER-GENERIC-MAX-SIZE
 $cfg->setConfigEntry('stacker_generic_max_size', 100);
@@ -452,7 +452,7 @@ $cfg->setConfigEntry('default_image_command', 'build');
 $cfg->setConfigEntry('default_image_controller', 'build');
 
 // CFG: MENU-TEMPLATE-CLASS
-$cfg->setConfigEntry('menu_template_class', 'MenuTemplateEngine');
+$cfg->setConfigEntry('menu_template_class', 'CoreFramework\Template\Engine\MenuTemplateEngine');
 
 // CFG: MENU-TEMPLATE-EXTENSION
 $cfg->setConfigEntry('menu_template_extension', '.xml');
index 6cc3c9c..99f5929 100644 (file)
@@ -1,6 +1,12 @@
 <?php
+// Own namespace
+namespace CoreFramework\Action\!!!;
+
+// Import framework stuff
+use CoreFramework\Action\BaseAction;
+
 /**
- * 
+ * An action for ???
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
index 2917f7f..32581c3 100644 (file)
@@ -3,6 +3,7 @@
 namespace CoreFramework\Action\Login;
 
 // Import framework stuff
+use CoreFramework\Action\BaseAction;
 use CoreFramework\Action\PerformableAction;
 use CoreFramework\Controller\Controller;
 use CoreFramework\Factory\ObjectFactory;
index c12ab62..dbcf6dd 100644 (file)
@@ -3,6 +3,7 @@
 namespace CoreFramework\Action\PostRegistration\Login;
 
 // Import framework stuff
+use CoreFramework\Action\BaseAction;
 use CoreFramework\Action\PerformableAction;
 use CoreFramework\Generic\FrameworkException;
 use CoreFramework\Request\Requestable;
index 45645cf..3de9284 100644 (file)
@@ -10,6 +10,7 @@ use CoreFramework\Controller\Controller;
 use CoreFramework\Criteria\Criteria;
 use CoreFramework\Criteria\Local\LocalSearchCriteria;
 use CoreFramework\Criteria\Local\LocalUpdateCriteria;
+use CoreFramework\Crypto\RandomNumber\RandomNumberGenerator;
 use CoreFramework\Factory\Database\Wrapper\DatabaseWrapperFactory;
 use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Filesystem\Block;
index 28216b7..a3ccfb8 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // Own namespace
-namespace CoreFramework\Filter\Change\Email;
+namespace CoreFramework\Filter\Change\Password;
 
 // Import framework stuff
 use CoreFramework\Filter\BaseFilter;
index f99a16b..6c280db 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // Own namespace
-namespace CoreFramework\Stacker;
+namespace CoreFramework\Stacker\File;
 
 /**
  * A FiLo Stacker class
index f614d0d..c0fa0d0 100644 (file)
@@ -2,6 +2,9 @@
 // Own namespace
 namespace CoreFramework\Stream\Crypto;
 
+// Import framework stuff
+use CoreFramework\Crypto\RandomNumber\RandomNumberGenerator;
+
 /**
  * A mcrypt-based encryption stream
  *
index cf2ff99..43c58d8 100644 (file)
@@ -107,7 +107,7 @@ class TestConfigurationLoadableClassesFilter extends BaseTestsFilter implements
                } // END - foreach
 
                // Output result
-               self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('Test result: %d okay, %d failed (%0.02f%% passed)', $passed, $failed, ($passed / ($passed + $failed))));
+               self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('Test result: %d okay, %d failed (%0.02f%% passed)', $passed, $failed, ($passed / ($passed + $failed) * 100)));
 
                // Implement this!
                $this->partialStub('Please implement this method.');