aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #5652 from marc1706/ticket/11327Marc Alexander2019-10-031-1/+4
|\ | | | | | | [ticket/11327] Implement forgot password functionality via form
| * [ticket/11327] Split up into forgot password and reset passwordMarc Alexander2019-08-091-1/+1
| | | | | | | | PHPBB3-11327
| * [ticket/11327] Move UCP remind functionality to a controller for password resetMarc Alexander2019-08-081-1/+4
| | | | | | | | PHPBB3-11327
* | Merge branch '3.2.x' into 3.3.xMarc Alexander2019-08-111-6/+4
|\ \ | |/ |/|
| * Merge pull request #5637 from EA117/ticket/16054Marc Alexander2019-08-111-6/+4
| |\ | | | | | | | | | [ticket/16054] Restore ability to login from any template.
| | * [ticket/16054] Restore ability to login from any template.EA1172019-07-281-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | Moving the login form's add_form_key() work into page_header(), so that the template variables required for presenting a login form are again available to any template that chooses to consume them. PHPBB3-16054
* | | Merge branch '3.2.x' into 3.3.xDerky2019-07-301-1/+2
|\ \ \ | |/ /
| * | Merge pull request #5628 from marc1706/ticket/16101Derky2019-07-301-1/+2
| |\ \ | | | | | | | | | | | | [ticket/16101] Add Referrer-Policy header to phpBB's headers
| | * | [ticket/16101] Add Referrer-Policy header to phpBB's headersMarc Alexander2019-07-201-1/+2
| | | | | | | | | | | | | | | | PHPBB3-16101
* | | | Merge branch '3.2.x' into 3.3.xMarc Alexander2019-07-291-1/+1
|\ \ \ \ | |/ / /
| * | | Merge pull request #5635 from EA117/ticket/16066Marc Alexander2019-07-291-1/+1
| |\ \ \ | | | | | | | | | | | | | | | [ticket/16066] Fix FORM_INVALID always returned for banned user.
| | * | | [ticket/16066] Fix FORM_INVALID always returned for banned user.EA1172019-07-281-1/+1
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After the introduction of add_form_key() and check_form_key() calls to login_box() in phpBB 3.2.6 and later, if a banned user attempts to login, they receive a "The submitted form was invalid. Try submitting again." Instead of the message indicating that they are banned, and why. This is happening because check_ban() actually calls into login_box() recursively, but after the $user->session_id has been switched to a new session ID for the logging-on user. Therefore, now that check_form_key() has been introduced to login_box(), it is impossible for check_form_key() to succeed during this recursive call. Fix is to make login_box()'s use of check_form_key() conditional on whether IN_CHECK_BAN is defined, so that the recursive call does not attempt to re-validate the form_key again. Note the form_key has already been successfully verified by the original call into login_box(), prior to calling into check_ban() and attempting to recursively call login_box(). So the protection of why check_form_key() was added is still intact with this change. PHPBB3-16066
* | | | Merge branch '3.2.x' into 3.3.xMarc Alexander2019-07-281-2/+2
|\ \ \ \ | |/ / /
| * | | Merge pull request #5459 from mrgoldy/ticket/15886Marc Alexander2019-07-281-2/+2
| |\ \ \ | | |/ / | |/| | | | | | [ticket/15886] Group helper functions
| | * | [ticket/15886] Change phpbb_get_group_avatar variable namesmrgoldy2018-12-301-2/+2
| | | | | | | | | | | | | | | | PHPBB3-15886
* | | | Merge branch '3.2.x' into 3.3.xMarc Alexander2019-07-231-21/+0
|\ \ \ \ | |/ / /
| * | | Merge pull request #5610 from espipj/ticket/16070Marc Alexander2019-07-231-21/+0
| |\ \ \ | | | | | | | | | | | | | | | [ticket/16070] Remove support for WebSTAR and Xitami
| | * | | [ticket/16070] Remove unused codeespipj2019-05-271-21/+0
| | | |/ | | |/| | | | | | | | | PHPBB3-16070
* | | | Merge branch '3.2.x' into 3.3.xMarc Alexander2019-07-231-4/+24
|\ \ \ \ | |/ / /
| * | | [ticket/16089] Add core.confirm_box_ajax_beforeJakub Senko2019-07-221-4/+24
| |/ / | | | | | | | | | PHPBB3-16089
* | | [ticket/12629] Rename errors_show to show_errorsrubencm2019-05-091-2/+2
| | | | | | | | | | | | PHPBB3-12629
* | | [ticket/12629] Add debug.errors_showRubén Calvo2019-05-091-2/+3
| | | | | | | | | | | | PHPBB3-12629
* | | [ticket/12628] Introduce debug.memoryJakub Senko2019-05-091-7/+12
| | | | | | | | | | | | | | | | | | Also fix one debug.sql_explain missing from the previous PR PHPBB3-12628
* | | [ticket/15413] Login redirect to previous pageRubén Calvo2019-05-091-1/+2
| | | | | | | | | | | | PHPBB3-15413
* | | [ticket/12624] Add debug.load_time parameterJakub Senko2019-05-091-1/+1
| | | | | | | | | | | | PHPBB3-12624
* | | [ticket/12627] Add debug.sql_explain parameterJakub Senko2019-05-091-1/+3
| | | | | | | | | | | | PHPBB3-12627
* | | [ticket/14548] Move deprecated globals and functionsMáté Bartus2019-05-061-12/+0
|/ / | | | | | | PHPBB3-14584
* | [ticket/16042] Adjust positioning and add comment to overwriteMarc Alexander2019-05-021-1/+2
| | | | | | | | PHPBB3-16042
* | [ticket/16042] Use S_LOGIN_REDIRECT to output login form tokenMarc Alexander2019-05-021-1/+13
| | | | | | | | PHPBB3-16042
* | [ticket/16036] Add S_FORM_TOKEN_LOGIN to all login formsrubencm2019-04-291-0/+3
| | | | | | | | PHPBB3-16036
* | Merge pull request #48 from phpbb/ticket/security/228Marc Alexander2019-04-271-2/+17
|\ \ | | | | | | | | | [ticket/security/228] Add form token to login box
| * | [ticket/security/228] Add form token to login boxDerky2019-04-261-2/+17
| | | | | | | | | | | | SECURITY-228
* | | Merge pull request #5513 from mrgoldy/ticket/15942Marc Alexander2019-04-171-11/+31
|\ \ \ | |/ / |/| | | | | [ticket/15942] Allow array in confirm_box title
| * | [ticket/15942] Add language to compatibility globals & use in confirm_boxMarc Alexander2019-04-171-8/+12
| | | | | | | | | | | | PHPBB3-15942
| * | [ticket/15942] Past tensemrgoldy2019-04-161-1/+1
| | | | | | | | | | | | PHPBB3-15942
| * | [ticket/15942] Update DocBlockmrgoldy2019-04-161-0/+2
| | | | | | | | | | | | PHPBB3-15942
| * | [ticket/15942] Allow array in confirm_box titlemrgoldy2019-01-151-7/+21
| |/ | | | | | | PHPBB3-15942
* | [ticket/15972] Let the event be triggered3D-I2019-02-261-8/+0
| | | | | | | | | | | | Removes old coding which is there just to save a few iterations. PHPBB3-15972
* | [ticket/15972] Add core.markread_after3D-I2019-02-201-0/+21
|/ | | | PHPBB3-15972
* [ticket/15860] Unique_id() return 16 characters againRuben Calvo2018-10-311-1/+1
| | | | PHPBB3-15860
* [ticket/15860] Fix format of backup filesRuben Calvo2018-10-301-1/+1
| | | | PHPBB3-15860
* Merge pull request #5381 from senky/ticket/15616Marc Alexander2018-10-131-1/+3
|\ | | | | | | [ticket/15616] Remove jumpbox from login_forum.html
| * [ticket/15616] Add jumpbox to login_forum.htmlJakub Senko2018-09-261-1/+3
| | | | | | | | PHPBB3-15616
* | Merge pull request #5374 from senky/ticket/15758Marc Alexander2018-10-101-5/+5
|\ \ | | | | | | | | | [ticket/15758] Show translated msg for INSECURE_REDIRECT
| * | [ticket/15758] Show translated msg for INSECURE_REDIRECTJakub Senko2018-09-281-5/+5
| |/ | | | | | | PHPBB3-15758
* | Merge pull request #5377 from senky/ticket/15700Marc Alexander2018-10-091-1/+1
|\ \ | | | | | | | | | [ticket/15700] Use correct T_THEME_LANG_NAME
| * | [ticket/15700] Use correct T_THEME_LANG_NAMEJakub Senko2018-09-251-1/+1
| |/ | | | | | | PHPBB3-15700
* | Merge pull request #5370 from senky/ticket/15805Marc Alexander2018-10-081-1/+3
|\ \ | |/ |/| | | [ticket/15805] Add result to core.login_box_redirect
| * [ticket/15805] Add result to core.login_box_redirectJakub Senko2018-09-241-1/+3
| | | | | | | | PHPBB3-15805
* | [ticket/15723] Rewrite unique_id tooRubén Calvo2018-08-081-1/+1
| | | | | | | | PHPBB3-15723