aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #3809 from marc1706/ticket/14070Tristan Darricau2015-08-281-1/+1
|\ | | | | | | | | | | | | [ticket/14070] Properly pass whether config should be ignored for avatars * marc1706/ticket/14070: [ticket/14070] Properly pass whether config should be ignored for avatars
| * [ticket/14070] Properly pass whether config should be ignored for avatarsMarc Alexander2015-08-051-1/+1
| | | | | | | | PHPBB3-14070
* | Merge pull request #3784 from Senky/ticket/14043Marc Alexander2015-08-091-1/+15
|\ \ | |/ |/| | | [ticket/14043] Add core.get_avatar_after php event
| * [ticket/14043] Add more parameters to the eventJakub Senko2015-08-021-2/+6
| | | | | | | | PHPBB3-14043
| * [ticket/14043] Add dispatcher to globals, change @since valueJakub Senko2015-07-221-2/+2
| | | | | | | | PHPBB3-14043
| * [ticket/14043] Add core.get_avatar_after php eventJakub Senko2015-07-211-1/+11
| | | | | | | | PHPBB3-14043
* | [ticket/13995] Invalid avatar HTML missing space between elementsMatt Friedman2015-07-071-1/+1
| | | | | | | | PHPBB3-13995
* | [ticket/13882] Add lazy load avatars to phpbb wrappersMatt Friedman2015-06-161-4/+6
| | | | | | | | PHPBB3-13882
* | Merge pull request #3653 from callumacrae/ticket/13882Marc Alexander2015-06-161-2/+24
|\ \ | | | | | | | | | [ticket/13882] Lazy load the notification avatars.
| * | [ticket/13882] no more egyptian brackets /o/Callum Macrae2015-05-301-2/+5
| | | | | | | | | | | | PHPBB3-13882
| * | [ticket/13882] Lazy load the notification avatars.Callum Macrae2015-05-281-2/+21
| | | | | | | | | | | | | | | | | | | | | This moves them further down the waterfall, making the page load quicker. PHPBB3-13882
* | | Merge pull request #3703 from javiexin/ticket/10711Andreas Fischer2015-06-131-0/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | [ticket/10711] Duplicate key error on forum_tracks_table * javiexin/ticket/10711: [ticket/10711] Duplicate key error on forum_tracks_table
| * | | [ticket/10711] Duplicate key error on forum_tracks_tablejaviexin2015-06-131-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In certain situations, an SQL error DUPLICATE ERROR for KEY 'PRIMARY' in the forums_track table is produced when marking forums read (viewforum.php?f=xx&mark=forums). The problem happens when there are duplicates in the forum_id array. The solution is to remove those duplicates. PHPBB3-10711
* | | | Merge pull request #3560 from Nicofuma/ticket/13790Nils Adermann2015-05-301-1/+1
|\ \ \ \ | |_|/ / |/| | | [ticket/13790] Update phpcs
| * | | [ticket/13790] Update phpcsTristan Darricau2015-05-191-1/+1
| |/ / | | | | | | | | | PHPBB3-13790
* | | Merge branch 'prep-release-3.1.4' into 3.1.xAndreas Fischer2015-04-281-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * prep-release-3.1.4: [ticket/security-180] Use language variable for redirect error in 3.1+ [ticket/security-180] Merge if statement with previous one in 3.1.x [ticket/security-180] Add tests for redirecting to main URL [ticket/security-180] Always fail when redirecting to an insecure URL [ticket/security-180] Make sure that redirect goes to full URL plus slash [ticket/security-180] Check if redirect URL contains board URL
| * | | [ticket/security-180] Use language variable for redirect error in 3.1+Marc Alexander2015-04-281-1/+1
| | | | | | | | | | | | | | | | SECURITY-180
| * | | Merge branch 'ticket/security-180' into ticket/security-180-ascMarc Alexander2015-04-281-1/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: tests/security/redirect_test.php
| | * | | [ticket/security-180] Always fail when redirecting to an insecure URLJoas Schilling2015-04-111-1/+1
| | | | | | | | | | | | | | | | | | | | SECURITY-180
| * | | | [ticket/security-180] Merge if statement with previous one in 3.1.xMarc Alexander2015-04-281-7/+1
| | | | | | | | | | | | | | | | | | | | SECURITY-180
| * | | | Merge branch 'ticket/security-180' into ticket/security-180-ascMarc Alexander2015-04-281-0/+6
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | Conflicts: tests/security/redirect_test.php
| | * | | [ticket/security-180] Make sure that redirect goes to full URL plus slashMarc Alexander2015-04-111-1/+1
| | | | | | | | | | | | | | | | | | | | SECURITY-180
| | * | | [ticket/security-180] Check if redirect URL contains board URLMarc Alexander2015-04-101-0/+6
| | | | | | | | | | | | | | | | | | | | SECURITY-180
* | | | | [ticket/12101] Remove HTML redirect workaround for Microsoft/IIS webserverAlexander Köplinger2015-04-261-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The code was added as a workaround for bugs in very old versions of IIS, dating back to 2002: see commit 849d76697444f4e3523845f8c96569ccde57d868. Newer IIS versions handle the 'Location' header just fine, so we can avoid the unnecessary HTML page for redirects. Given that it seems to work fine since IIS 6.0 (on WinServer 2003), I don't think it's worth adding a special check for earlier versions as they are no longer supported by MS as well. PHPBB3-12101
* | | | Merge branch 'ticket/13765' into ticket/13765-3.1.4Andreas Fischer2015-04-251-2/+8
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | * ticket/13765: [ticket/13765] Verify SERVER_PROTOCOL has the expected format before using it. Conflicts: phpBB/includes/functions.php phpBB/includes/startup.php
| * | | [ticket/13765] Verify SERVER_PROTOCOL has the expected format before using it.Joas Schilling2015-04-251-1/+1
| |/ / | | | | | | | | | PHPBB3-13765
* | | [ticket/13698] Pass parameters for link in LOGIN_ERROR_PASSWORD error message.Cesar G2015-03-231-13/+11
| | | | | | | | | | | | | | | | | | | | | LOGIN_ERROR_PASSWORD may be returned as the message if the password is invalid while hitting the LOGIN_ERROR_ATTEMPTS error. PHPBB3-13698
* | | Merge pull request #3381 from rxu/ticket/13591Joas Schilling2015-02-241-6/+52
|\ \ \ | |_|/ |/| | | | | [ticket/13591] Add core events to the function obtain_users_online_string()
| * | [ticket/13591] Add core events to the function obtain_users_online_string()rxu2015-02-081-6/+52
| | | | | | | | | | | | | | | | | | | | | Add functions.php core events to the function obtain_users_online_string() to allow extensions adding/modifying online users data. PHPBB3-13591
* | | [ticket/13433] Fix parsing of email addressesrxu2015-02-171-1/+1
|/ / | | | | | | | | | | | | | | | | Currently email addresses are parsed incorrectly due to the regex structure. Namely, if localpart consists of several dot separated parts, only the last part with the trailing dot will be captured. The patch change this behavior to capture the whole localpart. PHPBB3-13433
* | Merge pull request #3317 from Wolfsblvt/ticket/13532Joas Schilling2015-02-021-0/+19
|\ \ | | | | | | | | | Add core event to get_unread_topics() in functions.php
| * | [ticket/13532] Add core event to get_unread_topics() in functions.phpWolfsblvt2015-01-231-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | Adding core event core.get_unread_topics_modify_sql to to funtion get_unread_topics() in functions.php, so that you now are able to modify the sql query that retrieves the unread topics. PHPBB3-13532
* | | Merge pull request #3305 from Wolfsblvt/ticket/13518Joas Schilling2015-02-021-1/+34
|\ \ \ | | | | | | | | | | | | Add core event to markread() in functions.php
| * | | [ticket/13518] Add core event to markread() in functions.phpWolfsblvt2015-01-231-1/+34
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Adding core event core.markread_before to to funtion markread() in functions.php, so that you now are able to add additional stuff inside the markread process, for example notifications designed in extensions. PHPBB3-13518
* | | Merge pull request #3055 from marc1706/ticket/13192Tristan Darricau2015-01-191-23/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ticket/13192] Add method for generating valid user page links based on mod_rewrite * marc1706/ticket/13192: [ticket/13192] Add test for app.php in external subfolder [ticket/13192] Use ltrim() instead of preg_replace() [ticket/13192] Order test cases consistently [ticket/13192] Remove app.php on mod rewrite even if app.php is outside root [ticket/13192] Pass correct parameters and rename method to get_valid_page [ticket/13192] Use get_valid_user_page in confirm_box() and cleanup globals [ticket/13192] Use get_valid_user_page method in build_url function [ticket/13192] Add method for generating valid user page links
| * | | [ticket/13192] Pass correct parameters and rename method to get_valid_pageMarc Alexander2014-10-211-3/+3
| | | | | | | | | | | | | | | | PHPBB3-13192
| * | | [ticket/13192] Use get_valid_user_page in confirm_box() and cleanup globalsMarc Alexander2014-10-211-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The $request global existed twice and the $phpEx global is not being used in confirm_box(). PHPBB3-13192
| * | | [ticket/13192] Use get_valid_user_page method in build_url functionMarc Alexander2014-10-211-20/+1
| | | | | | | | | | | | | | | | PHPBB3-13192
* | | | Merge pull request #3189 from rxu/ticket/12926Joas Schilling2015-01-101-8/+18
|\ \ \ \ | | | | | | | | | | | | | | | [ticket/12926] Support for IDN (IRI)
| * | | | [ticket/12926] Get rid of the $scheme and $inline vars, fix regex_idn.phprxu2015-01-101-7/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Get rid of the $scheme and $inline vars, fix regex_idn.php to generate both common and inline mode regexes all at once. PHPBB3-12926
| * | | | [ticket/12926] Support for IDN (IRI)rxu2014-11-271-4/+4
| | |/ / | |/| | | | | | | | | | | | | | | | | | Add international domain name support for URLs. PHPBB3-12926
* | | | [ticket/13440] Update event version to 3.1.3-RC1Matt Friedman2015-01-041-1/+1
| | | | | | | | | | | | | | | | PHPBB3-13440
* | | | [ticket/13440] Add event core.login_box_failedMatt Friedman2015-01-031-0/+13
|/ / / | | | | | | | | | PHPBB3-13440
* | | [ticket/13232] Use a cache var with _ to force TTL and shuffle cron tasksNils Adermann2014-10-271-2/+2
|/ / | | | | | | PHPBB3-13232
* | Merge pull request #3000 from rxu/ticket/13110Joas Schilling2014-10-021-0/+12
|\ \ | | | | | | | | | [ticket/13110] Add core event to the page_footer() function
| * | [ticket/13110] Add core event to the page_footer() functionrxu2014-09-281-0/+12
| | | | | | | | | | | | | | | | | | | | | Add core event to the page_footer() in includes/functions.php to allow extensions handling overall page output before its displaying. PHPBB3-13110
* | | Merge branch 'ticket/12985' into develop-ascraeusJoas Schilling2014-10-011-1/+13
|\ \ \
| * | | [ticket/12985] Add core.login_box_redirectdavid632014-10-011-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add core.login_box_redirect core event to allow extensions to redirect a user to a specific page when logging in. PHPBB3-12985
* | | | [ticket/13120] Follows the symlinks in phpbb_load_extensions_autoloadersTristan Darricau2014-09-301-1/+1
| |/ / |/| | | | | | | | PHPBB3-13120
* | | Merge pull request #2844 from marc1706/ticket/12858Joas Schilling2014-09-241-18/+38
|\ \ \ | | | | | | | | | | | | [ticket/12858] Remove hard-coded GMT from timezone drop-down and rename to UTC