aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/12151] Remove old dependency from profile type in testsJoas Schilling2014-02-021-10/+0
| | | | PHPBB3-12151
* Merge remote-tracking branch 'github-nickvergessen/ticket/11201' into developNils Adermann2014-02-022-17/+43
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * github-nickvergessen/ticket/11201: (50 commits) [ticket/11201] Remove empty calls section from .yml [ticket/11201] Split template file into multiple files [ticket/11201] Remove dependency from types on the manager [ticket/11201] Rename profilefields class to manager [ticket/11201] Fix parameter description [ticket/11201] Use !== null, its faster [ticket/11201] Also translate profile fields in UCP and ACP [ticket/11201] Add parameters and variables to profile field class [ticket/11201] Add commas on last array entry [ticket/11201] Allow translation of profile field name and explanation [ticket/11201] Fix some variable names [ticket/11201] Add tables to constructor in tests [ticket/11201] Add a method to return the translated full name of the type [ticket/11201] Remove db depending code from field class [ticket/11201] Add variables to classes and add constructor doc blocks [ticket/11201] Update copyright in class file [ticket/11201] Add visibility and remove unused variable [ticket/11201] Add some commas at the last array entry [ticket/11201] Cast some variables to integer [ticket/11201] Inject table names rather then using constants ... Conflicts: phpBB/config/services.yml
| * [ticket/11201] Add tables to constructor in testsJoas Schilling2014-01-181-3/+6
| | | | | | | | PHPBB3-11201
| * [ticket/11201] Update schema files and unit testJoas Schilling2014-01-171-3/+3
| | | | | | | | PHPBB3-11201
| * [ticket/11201] Fix construction of dropdown type once againJoas Schilling2014-01-171-2/+12
| | | | | | | | PHPBB3-11201
| * [ticket/11201] Fix dropdown testsJoas Schilling2014-01-152-55/+68
| | | | | | | | | | | | | | The error message is now already the language string including the fieldname and not the language key anymore. PHPBB3-11201
| * [ticket/11201] Rename test file for now, so the other tests runJoas Schilling2014-01-141-0/+0
| | | | | | | | PHPBB3-11201
* | Merge pull request #1716 from marc1706/feature/passwordsNils Adermann2014-02-029-8/+612
|\ \ | | | | | | [feature/passwords] Add password hashing manager with support for newer hashing algorithms
| * | [feature/passwords] Move combined hashing methods to managerMarc Alexander2014-02-021-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | This will get rid of the circular dependency between the passwords manager and the passwords helper. The combined_hash_password() method was also slightly changed to allow both the definitions of service names or prefixes for the hash types. PHPBB3-11610
| * | [feature/passwords] Get rid of set_name/get_name methods for passwords driversMarc Alexander2014-02-026-30/+0
| | | | | | | | | | | | PHPBB3-11610
| * | Merge branch 'develop' of https://github.com/phpbb/phpbb into feature/passwordsMarc Alexander2013-12-2996-546/+1762
| |\ \ | | | | | | | | | | | | | | | | Conflicts: phpBB/config/services.yml
| * | | [feature/passwords] Use correct default type in manager_testMarc Alexander2013-10-271-1/+2
| | | | | | | | | | | | | | | | PHPBB3-11610
| * | | [feature/passwords] Pass list of default types to passwords managerMarc Alexander2013-10-276-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This list is in the order of how the driver types would be used. If a driver is not supported we will try the subsequent one. PHPBB3-11610
| * | | [feature/passwords] Fix tests on PHP < 5.3.3 againMarc Alexander2013-10-273-5/+84
| | | | | | | | | | | | | | | | PHPBB3-11610
| * | | [feature/passwords] Integrate convert_flag with db auth providerMarc Alexander2013-10-253-3/+23
| | | | | | | | | | | | | | | | PHPBB3-11610
| * | | [feature/passwords] Add functional tests for forum passwordsMarc Alexander2013-10-131-0/+55
| | | | | | | | | | | | | | | | PHPBB3-11610
| * | | [feature/passwords] Fix tests for 8th bit characters in bcrypt on PHP < 5.3.7Marc Alexander2013-10-101-1/+8
| | | | | | | | | | | | | | | | PHPBB3-11610
| * | | [feature/passwords] Increase test coverage to 100% of methodsMarc Alexander2013-10-101-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Obsolete code that is impossible to hit has been removed and the logic of the salted md5 driver has been changed to correctly implement the phpBB 3.0 phpbb_hash() function. PHPBB3-11610
| * | | [feature/passwords] Increase test coverage to 35 out ouf 36 methodsMarc Alexander2013-10-092-8/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Only one small code part in the salted md5 driver can't be tested right now. Passwords helper and passwords driver helper are now fully covered by tests. PHPBB3-11610
| * | | [feature/passwords] Add tests for unique_id() method in helperMarc Alexander2013-10-091-5/+16
| | | | | | | | | | | | | | | | PHPBB3-11610
| * | | [feature/passwords] Fix hash_test for use of passwords managerMarc Alexander2013-10-031-1/+4
| | | | | | | | | | | | | | | | PHPBB3-11610
| * | | Merge branch 'develop' of https://github.com/phpbb/phpbb3 into feature/passwordsMarc Alexander2013-10-0315-76/+56
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: phpBB/includes/functions.php
| * | | | [feature/passwords] Add prepending backslash to class namespacesMarc Alexander2013-10-025-37/+37
| | | | | | | | | | | | | | | | | | | | PHPBB3-11610
| * | | | [feature/passwords] Fix tests after changes to phpBB hashing functionsMarc Alexander2013-10-022-1/+59
| | | | | | | | | | | | | | | | | | | | PHPBB3-11610
| * | | | [feature/passwords] Rename manager methods to check() and hash()Marc Alexander2013-10-021-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These method names are more straightforward than the previous ones. PHPBB3-11610
| * | | | [feature/passwords] Inject passwords manager into auth providersMarc Alexander2013-10-022-2/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The passwords manager will replace the old method of using the functions phpbb_hash() and phpbb_check_hash(). PHPBB3-11610
| * | | | [feature/passwords] Pass config via service container to driver helperMarc Alexander2013-09-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will get rid of the global $config in the driver helper PHPBB3-11610
| * | | | [feature/passwords] Modify passwords files for namespacing changesMarc Alexander2013-09-271-8/+8
| | | | | | | | | | | | | | | | | | | | PHPBB3-11610
| * | | | Merge branch 'develop' of https://github.com/phpbb/phpbb3 into feature/passwordsMarc Alexander2013-09-27166-970/+1762
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: phpBB/develop/create_schema_files.php
| * | | | | [feature/passwords] Use dependency injection for passwords driver helperMarc Alexander2013-09-221-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The passwords driver helper is now injected into the driver base instead of being manually loaded. PHPBB3-11610
| * | | | | [feature/passwords] Use dependency injection for helperMarc Alexander2013-09-221-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will now be used instead of manually loading the passwords helper instance in the passwords manager. PHPBB3-11610
| * | | | | [feature/passwords] Do not manually include passwords drivers in testsMarc Alexander2013-09-201-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11610
| * | | | | [feature/passwords] Do not pass phpbb_container to passwords managerMarc Alexander2013-09-201-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11610
| * | | | | [feature/passwords] Rename "crypto" files to "passwords" filesMarc Alexander2013-09-141-48/+48
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11610
| * | | | | [feature/passwords] Properly set convert_flag and add test for itMarc Alexander2013-09-141-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11610
| * | | | | [feature/passwords] Define default hashing algorithm in container fileMarc Alexander2013-09-141-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The default hashing algorithm type is defined as a parameter in the service definition file for the password hashing system. This will allow us to change this in the future but it will also prevent unexperienced admins from changing the hashing algorithm. PHPBB3-11610
| * | | | | [feature/passwords] Move files after namespacing changesMarc Alexander2013-09-141-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11610
| * | | | | [feature/passwords] Add legacy support for md5 passwordsMarc Alexander2013-09-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11610
| * | | | | [feature/passwords] Increase code coverage in bcrypt driverMarc Alexander2013-09-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11610
| * | | | | [feature/passwords] Increase test coverage of salted_md5 driverMarc Alexander2013-09-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11610
| * | | | | [feature/passwords] Increase manager test coverage to cover all methodsMarc Alexander2013-09-141-2/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All methods in the manager are now fully covered. PHPBB3-11610
| * | | | | [feature/passwords] Use randomly generated password for testsMarc Alexander2013-09-141-28/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The password will start with 'foobar' and then continue with random characters that will be appended every iteration. PHPBB3-11610
| * | | | | [feature/passwords] Fix tests on PHP versions < 5.3.7Marc Alexander2013-09-141-18/+38
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11610
| * | | | | [feature/passwords] Properly treat duplicates in combined hashesMarc Alexander2013-09-141-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11610
| * | | | | [feature/passwords] Add tests for combined hashing of passwordsMarc Alexander2013-09-141-2/+39
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11610
| * | | | | [feature/passwords] Make sure hash has the required lengthMarc Alexander2013-09-141-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also added tests to make sure that crypto drivers are enforcing the hash length. PHPBB3-11610
| * | | | | [feature/passwords] Add tests for manager check_hash() methodMarc Alexander2013-09-141-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tests cover all supported hashing algorithms. PHPBB3-11610
| * | | | | [feature/passwords] Fix tests for PHP version < 5.3.7Marc Alexander2013-09-141-6/+18
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11610
| * | | | | [feature/passwords] Include driver helper in manager_testMarc Alexander2013-09-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11610
| * | | | | [feature/passwords] Add driver helper class for additional functionsMarc Alexander2013-09-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Functions for the helper class might be used in other drivers as well and therefore shouldn't be limited to just one driver. PHPBB3-11610