aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | [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
| * | | | | | [feature/passwords] Add basic passwords manager test fileMarc Alexander2013-09-141-0/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11610
* | | | | | | Merge remote-tracking branch 'EXreaction/ticket/12006' into developJoas Schilling2014-01-182-4/+42
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * EXreaction/ticket/12006: [ticket/12006] global $phpbb_dispatcher; [ticket/12006] Missing a space [ticket/12006] Add module_auth event [ticket/12006] Test for ext module auth [ticket/12006] Add extension enabled check token to module auth [ticket/12006] Cleanup the module auth function token replacement code
| * | | | | | | [ticket/12006] Test for ext module authNathan Guse2013-12-302-4/+42
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | PHPBB3-12006
* | | | | | | [ticket/11915] Fix the Plupload test.Cesar G2014-01-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11915
* | | | | | | Merge branch 'develop-olympus' into developNathan Guse2014-01-171-5/+17
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | / | | |_|_|_|/ | |/| | | | * develop-olympus: [ticket/12046] Use PHP_BINARY environment variable in PHP lint test.
| * | | | | Merge remote-tracking branch 'remotes/bantu/ticket/12046' into develop-olympusNathan Guse2014-01-171-5/+17
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remotes/bantu/ticket/12046: [ticket/12046] Use PHP_BINARY environment variable in PHP lint test.
| | * | | | | [ticket/12046] Use PHP_BINARY environment variable in PHP lint test.Andreas Fischer2013-11-291-5/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-12046
* | | | | | | Merge remote-tracking branch 'Marc/ticket/11997' into developJoas Schilling2014-01-087-11/+239
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Marc/ticket/11997: (23 commits) [ticket/11997] Use functional test cases that should always work [ticket/11997] Fix redirect tests for mod rewrite [ticket/11997] Add user's page dir to redirect path and fix unit tests for it [ticket/11997] Remove obsolete function get_controller_redirect_url() [ticket/11997] Use path_helper in in foo/bar extension for redirect URLs [ticket/11997] Add remove_web_root_path() in order to prevent incorrect URLs [ticket/11997] Do not check if file or dir we redirect to exist [ticket/11997] Modifiy tests after adding path_helper clean_url method [ticket/11997] Add clean_url() method to path_helper [ticket/11997] Allow redirects to parent folders like previously [ticket/11997] Move expected redirect returns to controller and output to HTML [ticket/11997] Fix tests for path_helper's get_controller_redirect_url() [ticket/11997] Use get_controller_redirect_url() in redirect() function [ticket/11997] Add method for controller redirect URLs to path helper [ticket/11997] Undo changes to phpbb_own_realpath() [ticket/11997] Remove obsolete failover_flag in function redirect() [ticket/11997] Add functional test for redirects in controller [ticket/11997] Fix missing global [ticket/11997] Fix redirects from inside controllers [ticket/11997] Use $phpbb_filesystem->clean_path() for proper redirect paths ...
| * | | | | | [ticket/11997] Use functional test cases that should always workMarc Alexander2013-12-281-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous test cases that tried to redirect to ../index.php and similar might cause us to try to go to http://localhost/../index.php, which will result in http://index.php. As this obviously will trigger an error as intended, we should not put this inside our test cases for the redirect function. PHPBB3-11997
| * | | | | | [ticket/11997] Fix redirect tests for mod rewriteMarc Alexander2013-12-282-15/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Controller routes that are supposed to link to parent directories can't be tested as the links are incorrectly created depending on enabled mod rewrite or not. PHPBB3-11997
| * | | | | | [ticket/11997] Add user's page dir to redirect path and fix unit tests for itMarc Alexander2013-12-281-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The user's page directory needs to be added to the redirect URL for proper redirects outside of the forum root. Fix the unit tests accordingly. PHPBB3-11997
| * | | | | | [ticket/11997] Use path_helper in in foo/bar extension for redirect URLsMarc Alexander2013-12-273-10/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By using path_helper's clean_url() method, we'll be able to properly check the full URL instead of just parts of the expected URL. PHPBB3-11997
| * | | | | | [ticket/11997] Do not check if file or dir we redirect to existMarc Alexander2013-12-271-14/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The redirect function will now properly redirect to where we want it to. It will no longer try to check if the file or directory we redirect to exist. This will ensure compatibility with the new routes. PHPBB3-11997
| * | | | | | [ticket/11997] Modifiy tests after adding path_helper clean_url methodMarc Alexander2013-12-211-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11997
| * | | | | | [ticket/11997] Add clean_url() method to path_helperMarc Alexander2013-12-211-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This method will get rid of unnecessary . and .. in URLs. PHPBB3-11997
| * | | | | | [ticket/11997] Allow redirects to parent folders like previouslyMarc Alexander2013-12-212-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Redirects to parent folders were possible with the previous redirect function. This change will allow these redirects again. PHPBB3-11997
| * | | | | | [ticket/11997] Move expected redirect returns to controller and output to HTMLMarc Alexander2013-12-203-28/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The controller will now output the expected redirect returns the same way the redirect returns are output. The extension controller test will compare those 2 outputs. PHPBB3-11997
| * | | | | | Merge branch 'develop' of https://github.com/phpbb/phpbb into ticket/11997Marc Alexander2013-12-0741-108/+650
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: tests/functional/fixtures/ext/foo/bar/config/services.yml
| * | | | | | | [ticket/11997] Fix tests for path_helper's get_controller_redirect_url()Marc Alexander2013-12-072-19/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11997
| * | | | | | | [ticket/11997] Add functional test for redirects in controllerJoas Schilling2013-11-135-1/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11997
| * | | | | | | [ticket/11997] Use $phpbb_filesystem->clean_path() for proper redirect pathsMarc Alexander2013-11-121-23/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11997
| * | | | | | | [ticket/11997] Correctly redirect to front controllersMarc Alexander2013-11-081-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We currently do a lot of checks in order to prevent users from getting to a 404 page. However, this logic relies on checking if a file or folder exists. Due to the front controllers and the URL rewriting in 3.1, it is no longer possible to rely on existing files for redirecting. This patch will take care of properly redirecting users to front controller files. An incorrect link will cause users to get a 404 error though. PHPBB3-11997
* | | | | | | | Merge remote-tracking branch 'nickvergessen/feature/pagination-class' into ↵Dhruv2013-12-253-111/+244
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop # By Joas Schilling # Via Joas Schilling * nickvergessen/feature/pagination-class: [ticket/11849] Fix more function calls [ticket/11849] Update more MCP calls to pagination class [ticket/11849] Update some ACP modules with new pagination [ticket/11849] Update rest of the UCP modules [ticket/11849] Update UCP notifications and pm folder [ticket/11849] Update search and memberlist [ticket/11849] Update pagination in viewonline.php [ticket/11849] Remove old pagination test [ticket/11849] Update pagination code in viewtopic.php [ticket/11849] Replace pagination in viewforum.php with class [ticket/11849] Add service definition [ticket/11849] Remove pagination functions [ticket/11849] Test validate_start and on_page [ticket/11849] Move pagination code to class