aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [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-282-2/+13
| | | | | | | 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] Remove obsolete function get_controller_redirect_url()Marc Alexander2013-12-271-24/+0
| | | | 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] Add remove_web_root_path() in order to prevent incorrect URLsMarc Alexander2013-12-271-1/+1
| | | | | | | Adding a call to this method to the redirect function will make sure that we do not end up with incorrect URLs after using append_sid(). PHPBB3-11997
* [ticket/11997] Do not check if file or dir we redirect to existMarc Alexander2013-12-272-89/+69
| | | | | | | | 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-213-1/+47
| | | | | | This method will get rid of unnecessary . and .. in URLs. PHPBB3-11997
* [ticket/11997] Allow redirects to parent folders like previouslyMarc Alexander2013-12-213-7/+10
| | | | | | | 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-07183-1980/+3564
|\ | | | | | | | | Conflicts: tests/functional/fixtures/ext/foo/bar/config/services.yml
| * Merge remote-tracking branch 'prototech/ticket/11241' into developJoas Schilling2013-12-0615-37/+193
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * prototech/ticket/11241: [ticket/11241] Retain button gradient when menu is active. [ticket/11241] Fix the disappearing dropdown when responsive changes take effect [ticket/11241] Add border to dropdown menu options. [ticket/11241] Add events & var for extensions to dropdown. [ticket/11241] Fix the dropdown in RTL languages. [ticket/11241] Use DEFINE for the block. [ticket/11241] Consolidate topic actions into "Topic tools" dropdown. [ticket/11241] Add dropdown control button.
| | * [ticket/11241] Retain button gradient when menu is active.Cesar G2013-12-061-3/+2
| | | | | | | | | | | | PHPBB3-11241
| | * [ticket/11241] Fix the disappearing dropdown when responsive changes take effectCesar G2013-12-062-12/+5
| | | | | | | | | | | | PHPBB3-11241
| | * [ticket/11241] Add border to dropdown menu options.Cesar G2013-12-065-46/+66
| | | | | | | | | | | | PHPBB3-11241
| | * [ticket/11241] Add events & var for extensions to dropdown.Cesar G2013-12-062-1/+17
| | | | | | | | | | | | PHPBB3-11241
| | * [ticket/11241] Fix the dropdown in RTL languages.Cesar G2013-12-061-0/+15
| | | | | | | | | | | | PHPBB3-11241
| | * [ticket/11241] Use DEFINE for the block.Cesar G2013-12-061-3/+4
| | | | | | | | | | | | PHPBB3-11241
| | * [ticket/11241] Consolidate topic actions into "Topic tools" dropdown.Cesar G2013-12-065-17/+49
| | | | | | | | | | | | PHPBB3-11241
| | * [ticket/11241] Add dropdown control button.Cesar G2013-12-066-7/+87
| |/ | | | | | | PHPBB3-11241
| * Merge remote-tracking branch 'cyberalien/ticket/11979' into developJoas Schilling2013-12-063-5/+59
| |\ | | | | | | | | | | | | | | | * cyberalien/ticket/11979: [ticket/11979] Fix errors in dropdown [ticket/11979] Add ability to create dropdown menu to prosilver
| | * [ticket/11979] Fix errors in dropdownVjacheslav Trushkin2013-11-203-2/+8
| | | | | | | | | | | | PHPBB3-11979
| | * [ticket/11979] Add ability to create dropdown menu to prosilverVjacheslav Trushkin2013-11-142-5/+53
| | | | | | | | | | | | PHPBB3-11979
| * | Merge pull request #1917 from VSEphpbb/ticket/12062Nathan Guse2013-12-051-1/+1
| |\ \ | | | | | | | | [ticket/12062] Fix to allow extensions to use INCLUDEJS in the ACP
| | * | [ticket/12062] Fix to allow extensions to use INCLUDEJS in the ACPMatt Friedman2013-12-051-1/+1
| |/ / | | | | | | | | | PHPBB3-12062
| * | Merge pull request #1914 from VSEphpbb/ticket/12059Nathan Guse2013-12-041-0/+4
| |\ \ | | | | | | | | [ticket/12059] Allow INCLUDECSS to work with ACP templates
| | * | [ticket/12059] Allow INCLUDECSS to work with ACP templatesMatt Friedman2013-12-041-0/+4
| |/ / | | | | | | | | | PHPBB3-12059
| * | Merge pull request #1912 from marc1706/ticket/12058Nathan Guse2013-12-041-2/+2
| |\ \ | | | | | | | | [ticket/12058] Add missing apostrophe to avatar_types migration queries
| | * | [ticket/12058] Add missing apostrophe to avatar_types migration queriesMarc Alexander2013-12-041-2/+2
| |/ / | | | | | | | | | PHPBB3-12058
| * | Merge pull request #1813 from marc1706/ticket/11912Nathan Guse2013-12-0412-4/+1027
| |\ \ | | | | | | | | [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-23423-4806/+5718
| | |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: phpBB/config/services.yml
| | * | | [ticket/11912] Check if content_guesser is supported with function_existsMarc Alexander2013-11-231-5/+2
| | | | | | | | | | | | | | | | | | | | PHPBB3-11912
| | * | | [ticket/11912] Remove obsolete "return null" in content_guesserMarc Alexander2013-11-141-2/+0
| | | | | | | | | | | | | | | | | | | | PHPBB3-11912
| | * | | [ticket/11912] Remove obsolete variable $mimetype from content_guesserMarc Alexander2013-11-121-3/+2
| | | | | | | | | | | | | | | | | | | | PHPBB3-11912
| | * | | [ticket/11912] Use inverted $overload for setting function_exists in testsMarc Alexander2013-11-111-1/+1
| | | | | | | | | | | | | | | | | | | | PHPBB3-11912
| | * | | [ticket/11912] Remove IN_PHPBB checks from mimetype guesser filesMarc Alexander2013-11-115-40/+0
| | | | | | | | | | | | | | | | | | | | PHPBB3-11912
| | * | | [ticket/11912] Remove obsolete $file_info from pluploadMarc Alexander2013-11-111-2/+0
| | | | | | | | | | | | | | | | | | | | PHPBB3-11912
| | * | | [ticket/11912] Introduce guesser priority to mimetype guessersMarc Alexander2013-11-117-3/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-114-483/+535
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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] Use lowercase names for guesser servicesMarc Alexander2013-10-241-2/+2
| | | | | | | | | | | | | | | | | | | | PHPBB3-11912
| | * | | [ticket/11912] Introduce guesser_interfaceMarc Alexander2013-10-242-6/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will contain proper documentation of the required methods if anyone would implement a newer guesser. PHPBB3-11912
| | * | | [ticket/11912] Supply filename to content_guesser for guessing on windowsMarc Alexander2013-10-244-8/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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] Remove typo in content_guesserMarc Alexander2013-10-241-1/+1
| | | | | | | | | | | | | | | | | | | | PHPBB3-11912
| | * | | [ŧicket/11912] Get rid of obsolete variables in content_guesserMarc Alexander2013-10-242-31/+1
| | | | | | | | | | | | | | | | | | | | PHPBB3-11912
| | * | | [ticket/11912] Improve extension map in content_guesserMarc Alexander2013-10-241-90/+91
| | | | | | | | | | | | | | | | | | | | PHPBB3-11912
| | * | | [ticket/11912] Add tests for content_guesserMarc Alexander2013-10-231-3/+48
| | | | | | | | | | | | | | | | | | | | PHPBB3-11912
| | * | | [ticket/11912] Add content_guesserMarc Alexander2013-10-232-0/+556
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The content_guesser will try to use the function mime_content_type() if it's available. If that is not the case, the content_guesser will try to guess the mimetype using the file extension of the supplied file. Since this guesser will be registered after the other guessers, it will be only used if the other guessers are not available. PHPBB3-11912
| | * | | [ticket/11912] Add tests for phpbb mimetype guesserMarc Alexander2013-10-234-0/+131
| | | | | | | | | | | | | | | | | | | | PHPBB3-11912