aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/11201] Fix some variable namesJoas Schilling2014-01-182-2/+2
| | | | PHPBB3-11201
* [ticket/11201] Add tables to constructor in testsJoas Schilling2014-01-181-3/+6
| | | | PHPBB3-11201
* [ticket/11201] Add a method to return the translated full name of the typeJoas Schilling2014-01-1810-13/+28
| | | | PHPBB3-11201
* [ticket/11201] Remove db depending code from field classJoas Schilling2014-01-181-35/+4
| | | | | | sql_build_array() should already take care of that PHPBB3-11201
* [ticket/11201] Add variables to classes and add constructor doc blocksJoas Schilling2014-01-187-0/+196
| | | | PHPBB3-11201
* [ticket/11201] Update copyright in class fileJoas Schilling2014-01-181-1/+1
| | | | PHPBB3-11201
* [ticket/11201] Add visibility and remove unused variableJoas Schilling2014-01-181-2/+1
| | | | PHPBB3-11201
* [ticket/11201] Add some commas at the last array entryJoas Schilling2014-01-182-6/+6
| | | | PHPBB3-11201
* [ticket/11201] Cast some variables to integerJoas Schilling2014-01-182-9/+9
| | | | PHPBB3-11201
* [ticket/11201] Inject table names rather then using constantsJoas Schilling2014-01-184-10/+30
| | | | PHPBB3-11201
* [ticket/11201] Update schema files and unit testJoas Schilling2014-01-179-19/+19
| | | | PHPBB3-11201
* [ticket/11201] Change type from integer to service nameJoas Schilling2014-01-1712-34/+210
| | | | PHPBB3-11201
* [ticket/11201] Fix construction of dropdown type once againJoas Schilling2014-01-171-2/+12
| | | | PHPBB3-11201
* [ticket/11201] Move custom template variable assignment to type classJoas Schilling2014-01-178-55/+89
| | | | PHPBB3-11201
* [ticket/11201] Move preparation of hidden fields to type classJoas Schilling2014-01-176-43/+106
| | | | PHPBB3-11201
* [ticket/11201] Allow manipulating the intended variables with the type classJoas Schilling2014-01-178-99/+180
| | | | PHPBB3-11201
* [ticket/11201] Move type specific error messages to type classJoas Schilling2014-01-175-9/+44
| | | | PHPBB3-11201
* [ticket/11201] Add abstract base class with shared methodsJoas Schilling2014-01-178-91/+59
| | | | PHPBB3-11201
* [ticket/11201] Move field type depending preparation of the options to classJoas Schilling2014-01-177-27/+63
| | | | PHPBB3-11201
* [ticket/11201] Move grabbing the input of the language options to type classJoas Schilling2014-01-168-27/+99
| | | | PHPBB3-11201
* [ticket/11201] Move language option determination into type classJoas Schilling2014-01-158-26/+126
| | | | PHPBB3-11201
* [ticket/11201] Use database type from the type classJoas Schilling2014-01-151-190/+16
| | | | PHPBB3-11201
* [ticket/11201] Move "get type" code into a new functionJoas Schilling2014-01-151-46/+60
| | | | PHPBB3-11201
* [ticket/11201] Add database column type to type classJoas Schilling2014-01-159-4/+62
| | | | PHPBB3-11201
* [ticket/11201] Fix dropdown testsJoas Schilling2014-01-153-60/+73
| | | | | | | The error message is now already the language string including the fieldname and not the language key anymore. PHPBB3-11201
* [ticket/11201] Use a service collection for the types instead of the containerJoas Schilling2014-01-152-9/+23
| | | | PHPBB3-11201
* [ticket/11201] Split language options into a new classJoas Schilling2014-01-1510-85/+180
| | | | | | Otherwise we run into a circular dependency PHPBB3-11201
* [ticket/11201] Remove remaining type depending code to type classJoas Schilling2014-01-147-6/+55
| | | | PHPBB3-11201
* [ticket/11201] Add visibility to methodsJoas Schilling2014-01-141-13/+8
| | | | PHPBB3-11201
* [ticket/11201] Remove type related code from build_insert_sql_array()Joas Schilling2014-01-1410-21/+71
| | | | PHPBB3-11201
* [ticket/11201] Move generate_field() method to type classJoas Schilling2014-01-149-211/+218
| | | | PHPBB3-11201
* [ticket/11201] Move error message generation to type classJoas Schilling2014-01-147-55/+25
| | | | PHPBB3-11201
* [ticket/11201] Remove call by refernceJoas Schilling2014-01-142-2/+2
| | | | PHPBB3-11201
* [ticket/11201] Move get_profile_value() to type classJoas Schilling2014-01-147-119/+132
| | | | PHPBB3-11201
* [ticket/11201] Rename test file for now, so the other tests runJoas Schilling2014-01-141-0/+0
| | | | PHPBB3-11201
* [ticket/11201] Move validate_profile_field() to type classJoas Schilling2014-01-149-118/+165
| | | | PHPBB3-11201
* [ticket/11201] Move get_profile_field() to type classesJoas Schilling2014-01-139-80/+119
| | | | PHPBB3-11201
* [ticket/11201] Move get_options to type classesJoas Schilling2014-01-1311-217/+471
| | | | PHPBB3-11201
* [ticket/11201] Remove global use from admin classJoas Schilling2014-01-103-43/+43
| | | | PHPBB3-11201
* [ticket/11201] Make profile field classes autoloadableJoas Schilling2014-01-1012-325/+305
| | | | PHPBB3-11201
* Merge remote-tracking branch 'Marc/ticket/11997' into developJoas Schilling2014-01-089-74/+302
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-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