aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'develop-olympus' into developAndreas Fischer2012-11-291-2/+2
|\ | | | | | | | | * develop-olympus: [ticket/11227] @return void -> @return null in develop-olympus.
| * [ticket/11227] @return void -> @return null in develop-olympus.Oleg Pudeyev2012-11-291-2/+2
| | | | | | | | PHPBB3-11227
* | Merge remote-tracking branch 'imkingdavid/feature/controller-new' into developIgor Wiedler2012-11-191-3/+62
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * imkingdavid/feature/controller-new: (67 commits) [feature/controller] Fix misnamed route for functional test [feature/controller] Fix comments, check against more general HttpException [feature/controller] Check for proper status codes from controllers [feature/controller] Correctly create Symfony object from globals [feature/controller] Add documentation about input being HTML-escaped [feature/controller] Create Symfony Request in new function [feature/controller] Remove unused language strings [feature/controller] Don't use $user->lang() before container compilation [feature/controller] Update routing documentation for using query string [feature/controller] Remove now-unused code [feature/controller] Remove url rewriting until we use pathinfo in controllers [feature/controller] Fix functional tests to use query string for controllers [feature/controller] Allow injecting Symfony Request into controllers [feature/controller] Use query string, not path info, for controller access [feature/controller] Fix line endings and permissions, and check responses [feature/controller] Remove URL rewriting by default [feature/controller] Add controller functional test with template [feature/controller] Use warning instead of echo for copy() and unlink() [feature/controller] Flip method parameters, require $message [feature/controller] Rename $root_path class property to $phpbb_root_path ...
| * | [feature/controller] Correctly create Symfony object from globalsDavid King2012-11-191-32/+38
| | | | | | | | | | | | PHPBB3-10864
| * | [feature/controller] Add documentation about input being HTML-escapedDavid King2012-11-181-0/+3
| | | | | | | | | | | | PHPBB3-10864
| * | [feature/controller] Create Symfony Request in new functionDavid King2012-11-181-0/+39
| | | | | | | | | | | | PHPBB3-10864
| * | [feature/controller] Remove now-unused codeDavid King2012-11-181-4/+1
| | | | | | | | | | | | PHPBB3-10864
| * | [feature/controller] Use query string, not path info, for controller accessDavid King2012-11-171-15/+1
| | | | | | | | | | | | | | | | | | This is hopefully just temporary until we can fix the relative path issue. PHPBB3-10864
| * | [feature/controller] Move new functions to their own fileDavid King2012-11-161-49/+0
| | | | | | | | | | | | PHPBB3-10864
| * | [feature/controller] Use a dumped url matcher class to improve performanceDavid King2012-11-161-0/+52
| | | | | | | | | | | | PHPBB3-10864
| * | [feature/controller] Implement a front controllerDavid King2012-11-161-5/+30
| | | | | | | | | | | | PHPBB3-10864
* | | [ticket/11212] Cosmetic surgery done rightIgor Wiedler2012-11-171-1/+1
| | | | | | | | | | | | PHPBB3-11212
* | | [ticket/11212] CosmeticsIgor Wiedler2012-11-171-2/+3
| | | | | | | | | | | | PHPBB3-11212
* | | [ticket/11212] Rename get_http_version to phpbb_request_http_version()Igor Wiedler2012-11-171-2/+2
| | | | | | | | | | | | PHPBB3-11212
* | | [ticket/11212] Allow dispatcher to be absent during garbage_collection()Igor Wiedler2012-11-171-1/+3
| | | | | | | | | | | | PHPBB3-11212
* | | [ticket/11212] Do not rely on $request in send_status_line()Igor Wiedler2012-11-171-10/+25
|/ / | | | | | | PHPBB3-11212
* | Merge PR #1074 branch 'develop-olympus' into developOleg Pudeyev2012-11-161-1/+8
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/11192] Merge dataProvider arrays because the test is the same now. [ticket/11192] Update $value parameter description to support other types. [ticket/11192] Mark negative byte numbers as unsupported. [ticket/11192] Test strings not converted to int/float before. [ticket/11192] Also test strings, e.g. sums returned by the database. [ticket/11192] Also test powers of 10 / 1000. [ticket/11192] Add tests. [ticket/11192] Add Tebibyte to get_formatted_filesize().
| * [ticket/11192] Update $value parameter description to support other types.Andreas Fischer2012-11-161-1/+2
| | | | | | | | PHPBB3-11192
| * [ticket/11192] Mark negative byte numbers as unsupported.Andreas Fischer2012-11-161-1/+1
| | | | | | | | PHPBB3-11192
| * [ticket/11192] Add Tebibyte to get_formatted_filesize().Andreas Fischer2012-11-111-0/+6
| | | | | | | | PHPBB3-11192
* | [ticket/11189] Replace DEBUG_EXTRA with DEBUGNathaniel Guse2012-11-101-3/+3
| | | | | | | | PHPBB3-11189
* | [ticket/11189] Always log critical errors when in cron or in image outputNathaniel Guse2012-11-101-1/+1
| | | | | | | | PHPBB3-11189
* | Merge PR #971 branch 'nickvergessen/ticket/11018' into developOleg Pudeyev2012-10-221-9/+47
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * nickvergessen/ticket/11018: [ticket/11014] Fix old pagination assignment [ticket/11018] Fix several paginations in ACP [ticket/11014] Fix IF statements for new template pagination [ticket/11014] Fix text for previous/next links in Subsilver2 [ticket/11023] Fix additional whitespaces that were added by PHPBB3-10968 [ticket/11018] Always display previous/next links if we can display one [ticket/11014] Restore template vars for next/previous links [ticket/11018] Swap prev/next links on pagination to the old order [ticket/11067] Copy prosilver CSS to adm, so the pagination looks the same [ticket/11018] Fix minor issues with CSS in prosilver [ticket/11018] Attempt to fix li.pagination alignment issue
| * | [ticket/11023] Fix additional whitespaces that were added by PHPBB3-10968Joas Schilling2012-10-171-1/+0
| | | | | | | | | | | | PHPBB3-11023
| * | [ticket/11014] Restore template vars for next/previous linksJoas Schilling2012-10-171-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | They were dropped while the function was refactored: If the block_var_name is a nested block, we will use the last (most inner) block as a prefix for the template variables. If the last block name is pagination, the prefix is empty. If the rest of the block_var_name is not empty, we will modify the last row of that block and add our pagination items. PHPBB3-11014
| * | [ticket/11018] Swap prev/next links on pagination to the old orderJoas Schilling2012-10-171-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | In the old pagination Prev was left of the pagination and Next right of the pagination. While moving these blocks, I also removed the whitespaces, which were introduced. PHPBB3-11023 PHPBB3-11018
* | | Merge remote-tracking branch 'EXreaction/ticket/8796' into developAndreas Fischer2012-10-181-18/+47
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * EXreaction/ticket/8796: [ticket/8796] Prevent setting post_time greater than time() in markread [ticket/8796] Fix a few issues with the previous commits [ticket/8796] Mark read links updated to include time() in url [ticket/8796] Revert changes to $user->data['lastmark'] [ticket/8796] Make function markread obey the $post_time argument
| * | | [ticket/8796] Prevent setting post_time greater than time() in markreadNathan Guse2012-09-301-30/+30
| | | | | | | | | | | | | | | | PHPBB3-8796
| * | | [ticket/8796] Fix a few issues with the previous commitsNathaniel Guse2012-09-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Fix an SQL error and the redirect url generated PHPBB3-8796
| * | | [ticket/8796] Revert changes to $user->data['lastmark']Nathaniel Guse2012-09-031-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The earlier change might change the way some things work (after looking at viewtopic) and I'd rather not risk introducing new bugs, so I'm going to revert those changes to be safe. PHPBB3-8796
| * | | [ticket/8796] Make function markread obey the $post_time argumentNathaniel Guse2012-09-031-19/+52
| | | | | | | | | | | | | | | | | | | | | | | | Also do a little cleanup of the markread function PHPBB3-8796
* | | | Merge branch 'develop-olympus' into developAndreas Fischer2012-10-181-0/+30
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| | | | | | | | | | | | | | | | * develop-olympus: [ticket/10848] Move include up. [ticket/10848] Add phpbb_ prefix. [ticket/10848] Redirect from adm to installer correctly. Conflicts: phpBB/includes/functions.php
| * | [ticket/10848] Add phpbb_ prefix.Oleg Pudeyev2012-10-171-1/+1
| | | | | | | | | | | | PHPBB3-10848
| * | [ticket/10848] Redirect from adm to installer correctly.Oleg Pudeyev2012-10-171-0/+30
| | | | | | | | | | | | PHPBB3-10848
* | | Merge PR #993 branch 'bantu/ticket/8713' into developOleg Pudeyev2012-10-101-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bantu/ticket/8713: [ticket/8713] Update untrimmed_variable() doc block. [ticket/8713] Revert changes to ucp_profile, ucp_register and acp_users. [ticket/8713] Trim password in auth_db to keep compatibility. [ticket/8713] Call htmlspecialchars_decode() on transfer (e.g. ftp) passwords. [ticket/8713] Rename untrimed_variable() to untrimmed_variable(). [ticket/8713] DRY: variable() and untrimed_variable() into a protected method. [ticket/8713] Fix type_cast_helper.php doc blocks: Add punctuation etc. [ticket/8713] Always trim array keys. [ticket/8713] Add simple (non-nested) test case for untrimmed set_var(). [ticket/8713] Use \t in double quotes instead of tabs. [ticket/8713] Use correct parameter for nested data. [ticket/8713] Adjust test method name to other recursive_set_var() tests. [ticket/8713] Do not trim login inputs
| * | | [ticket/8713] Rename untrimed_variable() to untrimmed_variable().Andreas Fischer2012-09-081-2/+2
| | | | | | | | | | | | | | | | PHPBB3-8713
| * | | [ticket/8713] Do not trim login inputsNathaniel Guse2012-09-031-2/+2
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | Create a function to request variables which are not trimmed. All requests for passwords (except forum passwords) now use the untrimmed request function. PHPBB3-8713
* | | Merge branch 'develop-olympus' into developAndreas Fischer2012-10-021-2/+2
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | * develop-olympus: [ticket/11112] updating links to phpbb.com to use SSL Conflicts: phpBB/adm/index.php
| * | [ticket/11112] updating links to phpbb.com to use SSLSenky2012-10-011-2/+2
| | | | | | | | | | | | PHPBB3-11112
* | | Merge remote-tracking branch 'EXreaction/ticket/11021' into developAndreas Fischer2012-09-151-1/+1
|\ \ \ | | | | | | | | | | | | | | | | * EXreaction/ticket/11021: [ticket/11021] Fix the language changes that were lost previously
| * | | [ticket/11021] Fix the language changes that were lost previouslyNathan Guse2012-09-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Change U_HOME to U_SITE_HOME PHPBB3-11021
* | | | Merge remote-tracking branch 'EXreaction/ticket/11021' into developAndreas Fischer2012-09-151-29/+31
|\ \ \ \ | |/ / / | | | / | |_|/ |/| | | | | | | | | | | | | | * EXreaction/ticket/11021: [ticket/11021] Remove unnecessary line spacing in functions.php [ticket/11021] Use L_SITE_HOME instead of L_HOME [ticket/11021] Better language strings for site home url/text [ticket/11021] subsilver2 support [ticket/11021] Add the option to specify a Site home URL and text
| * | [ticket/11021] Remove unnecessary line spacing in functions.phpNathan Guse2012-09-151-29/+29
| | | | | | | | | | | | PHPBB3-11021
| * | [ticket/11021] Use L_SITE_HOME instead of L_HOMENathan Guse2012-09-151-1/+1
| | | | | | | | | | | | | | | | | | Check site home url against !== '', not empty PHPBB3-11021
| * | [ticket/11021] Better language strings for site home url/textNathan Guse2012-09-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Correct the logo title to be {L_HOME} if {U_HOME} is used. Check if the Home text is instead of just equal to false when outputting it to the template PHPBB3-11021
| * | [ticket/11021] Add the option to specify a Site home URL and textNathan Guse2012-07-221-0/+2
| | | | | | | | | | | | PHPBB3-11021
* | | Merge pull request #962 from imkingdavid/feature/add_eventsNils Adermann2012-09-011-0/+34
|\ \ \ | | | | | | | | Feature/add events
| * | | [feature/add_events] Rename override to overwrite, made docs 79 chars/lineDavid King2012-08-211-17/+18
| | | | | | | | | | | | | | | | PHPBB3-9550
| * | | [feature/add_events] Rename core.append_sid_override to just core.append_sidDavid King2012-08-201-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | Also, I added the hook back in below the event for backwards compatibility. PHPBB3-9550
| * | | [feature/add_events] Globalize the event dispatcher objectDavid King2012-08-201-0/+1
| | | | | | | | | | | | | | | | PHPBB3-9550