aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * | | | | [ticket/11849] Remove old pagination testJoas Schilling2013-12-181-111/+0
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11849
| * | | | | [ticket/11849] Replace pagination in viewforum.php with classJoas Schilling2013-12-181-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11849
| * | | | | [ticket/11849] Test validate_start and on_pageJoas Schilling2013-12-182-11/+86
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11849
| * | | | | [ticket/11849] Move pagination code to classJoas Schilling2013-12-181-0/+117
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11849
* | | | | | Merge remote-tracking branch 'prototech/ticket/12009' into developJoas Schilling2013-12-1630-114/+196
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * prototech/ticket/12009: [ticket/12009] Prevent user from enabling invalid extension through direct URL [ticket/12009] Update functional test to check for invalid extensions. [ticket/12009] Fix functional tests. [ticket/12009] Move valid extensions in tests to correct dir structure. [ticket/12009] Do not allow incorrectly structured extensions to be installed.
| * | | | | | [ticket/12009] Prevent user from enabling invalid extension through direct URLCesar G2013-12-123-1/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-12009
| * | | | | | [ticket/12009] Update functional test to check for invalid extensions.Cesar G2013-12-121-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-12009
| * | | | | | [ticket/12009] Fix functional tests.Cesar G2013-12-121-16/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-12009
| * | | | | | [ticket/12009] Move valid extensions in tests to correct dir structure.Cesar G2013-12-1227-97/+145
| | |_|/ / / | |/| | | | | | | | | | | | | | | | PHPBB3-12009
* | | | | | Merge remote-tracking branch 'Marc/ticket/11859' into developJoas Schilling2013-12-122-0/+10
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | * Marc/ticket/11859: [ticket/11859] Add missing get_template_name method to test drivers [ticket/11859] Make avatar drivers return template filename
| * | | | | [ticket/11859] Add missing get_template_name method to test driversMarc Alexander2013-11-272-0/+10
| |/ / / / | | | | | | | | | | | | | | | PHPBB3-11859
* | | | | Merge pull request #1813 from marc1706/ticket/11912Nathan Guse2013-12-044-0/+214
|\ \ \ \ \ | | | | | | | | | | | | [ticket/11912] Add mimetype guesser for proper mimetype guessing
| * | | | | [ticket/11912] Expect logic exceptions in test if no guesser availableMarc Alexander2013-11-231-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11912
| * | | | | Merge branch 'develop' of https://github.com/phpbb/phpbb3 into ticket/11912Marc Alexander2013-11-2319-196/+305
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | Conflicts: phpBB/config/services.yml
| * | | | | [ticket/11912] Use inverted $overload for setting function_exists in testsMarc Alexander2013-11-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11912
| * | | | | [ticket/11912] Introduce guesser priority to mimetype guessersMarc Alexander2013-11-111-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The mimetype guesser priority can now be set through the service definition. Mimetypes will be guessed from the guesser with the highest priority to the one with the lowest priority. Standard priority types have been added to the service definition file. Any integer value can be used though. Standard mimetype guessers that do not have the methods get_priority and set_priority implemented, like the standard MimeTypeGuessers of symfony, will have the default priority with the value of 0. Lower priority guessers have values lower than 0 while high priority ones can be added with values higher than 0. PHPBB3-11912
| * | | | | [ticket/11912] Add extension_guesser for guessing mimetype by extensionMarc Alexander2013-11-111-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The content_guesser now only guesses the mimetype with the function mime_content_type() while the guessing by extension is done using the extension_guesser. PHPBB3-11912
| * | | | | [ticket/11912] Supply filename to content_guesser for guessing on windowsMarc Alexander2013-10-241-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The filename of the files sent to the guesser by plupload do not contain the file extension. Therefore, it's impossible to guess the mimetype if only the content_guesser is available and the function mime_content_type() doesn't exist. By supplying the filename we can circumvent this issue. PHPBB3-11912
| * | | | | [ticket/11912] Add tests for content_guesserMarc Alexander2013-10-231-3/+48
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11912
| * | | | | [ticket/11912] Add tests for phpbb mimetype guesserMarc Alexander2013-10-234-0/+131
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11912
* | | | | | Merge pull request #1879 from Pico88/ticket/12026Nathan Guse2013-12-044-5/+91
|\ \ \ \ \ \ | | | | | | | | | | | | | | [ticket/12026] Correct path for template files
| * | | | | | [ticket/12026] Add functional test for ucp extension moduleJoas Schilling2013-12-034-5/+91
| | |/ / / / | |/| | | | | | | | | | | | | | | | PHPBB3-12026
* | | | | | Merge pull request #1887 from nickvergessen/ticket/skouat/10910Nathan Guse2013-12-041-0/+50
|\ \ \ \ \ \ | | | | | | | | | | | | | | [ticket/10910] Function build_cfg_template() allow $size for $tpl_type = select
| * | | | | | [ticket/10910] Fix unit testsJoas Schilling2013-11-221-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-10910
| * | | | | | [ticket/10910] Add unit tests for selectMario Skouat2013-11-221-0/+35
| |/ / / / / | | | | | | | | | | | | | | | | | | PHPBB3-10910
* | | | | | Merge remote-tracking branch 'Marc/ticket/11842' into developJoas Schilling2013-12-043-6/+46
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Marc/ticket/11842: [ticket/11842] Add functional test for creating group [ticket/11842] Use avatar_data for obtaining driver that should be deleted [ticket/11842] Use type map for updating avatar types in database [ticket/11842] Add missing prefix for group id in avatar data [ticket/11842] Use only new avatar type in user_delete function [ticket/11842] Add migration file for updating avatar type in database [ticket/11842] Replace outdated occurences of user and group avatar_type [ticket/11842] Use group_id 0 and correct avatar name after creating group
| * | | | | | [ticket/11842] Add functional test for creating groupMarc Alexander2013-12-041-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11842
| * | | | | | [ticket/11842] Use avatar_data for obtaining driver that should be deletedMarc Alexander2013-12-041-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11842