1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-06 23:55:26 +02:00

93 Commits

Author SHA1 Message Date
Jakub Senko
1aaeb2bca9
[ticket/16174] Improve event desc
PHPBB3-16174
2019-10-08 09:29:22 +02:00
Jakub Senko
367b0bc208
[ticket/16174] Add function params to the event
PHPBB3-16174
2019-10-07 13:47:02 +02:00
Jakub Senko
6b85faf7da
[ticket/16174] Add core.set_cookie
PHPBB3-16174
2019-10-04 15:46:11 +02:00
mrgoldy
fc62538733 [ticket/16007] No strict comparison against "false"
PHPBB3-16007
2019-04-02 17:25:00 +02:00
mrgoldy
68434e6dbc [ticket/16007] Show ban message for OAuth login
PHPBB3-16007
2019-04-02 15:12:52 +02:00
kasimi
8283f2393a
[ticket/15583] Update session time in AJAX request only once a minute
PHPBB3-15583
2018-06-06 10:40:29 +02:00
kasimi
85eceeccbe
[ticket/15583] Update session time in AJAX request only once a minute
PHPBB3-15583
2018-03-09 23:51:06 +01:00
rxu
8c3808e9e7
[ticket/14972] Fix sizeof calls
As of PHP 7.2, only arrays and objects implementing the Countable interface
should be passed as a count() or sizeof() parameter.
See https://github.com/php/php-src/blob/php-7.2.0alpha2/UPGRADING#L197-L198
Also, sizeof() seems to be sheduled for deprecation, see
https://wiki.php.net/rfc/deprecations_php_7_2#suggested_deprecations

PHPBB3-14972
2018-01-01 13:08:12 +01:00
Tristan Darricau
c368d170cf
[ticket/15351] Makes confirm_works in a router context (app.php)
PHPBB3-15351
2017-09-08 16:26:39 +02:00
Marc Alexander
4f81c94a95
Merge branch '3.1.x' into 3.2.x 2017-06-25 17:27:47 +02:00
David Colón
cc556122f3
[ticket/14982] Always do a ban check except on contact me form
PHPBB3-14982
2017-06-25 15:32:49 +02:00
Marc Alexander
c6746ab3cd
[ticket/14946] Make sure to pass integers to max()
PHPBB3-14946
2017-01-04 21:40:46 +01:00
Marc Alexander
e02dc7a9c1
Merge branch '3.1.x' into 3.2.x 2016-09-24 10:03:58 +02:00
Jakub Senko
abb01946bd [ticket/14762] Add core event to session.php
PHPBB3-14762
2016-09-18 13:32:10 +02:00
Marc Alexander
08c6f56f4b Merge branch '3.1.x' into 3.2.x 2016-08-28 00:12:53 +02:00
Oliver Schramm
559325fbd6 [ticket/12230] Remove users from new users group when post limit is 0
PHPBB3-12230
2016-05-17 16:56:42 +02:00
Joas Schilling
8663edce76 Merge branch '3.1.x' into 3.2.x
Conflicts:
	build/build.xml
	phpBB/docs/CHANGELOG.html
	phpBB/includes/constants.php
	phpBB/includes/functions_user.php
	phpBB/install/convertors/convert_phpbb20.php
	phpBB/install/schemas/schema_data.sql
	phpBB/styles/prosilver/style.cfg
	phpBB/styles/subsilver2/style.cfg
2016-02-13 18:08:01 +01:00
Oliver Schramm
1bd4895d7a [ticket/14409] Update session page info before displaying online list
PHPBB3-14409
2016-02-13 15:58:05 +01:00
Marc Alexander
d55a8a8cee Merge branch '3.1.x' 2016-01-13 09:27:35 +01:00
Zoddo
fff6907a22 [ticket/14407] Fix removing users from Newly Registered Users group
PHPBB3-14407
2016-01-13 08:28:30 +01:00
Marc Alexander
3f44f36817 [ticket/13454] Add excessively removed code back
PHPBB3-13454
2016-01-06 13:52:11 +01:00
Marc Alexander
73900d1857 [ticket/13454] Remove more unused variables
This should be the last part. Off to checking if the changes were correct.

PHPBB3-13454
2016-01-06 13:52:11 +01:00
Marc Alexander
7a6a16e3a5 [ticket/13454] Remove unused variables
This is part 5 and there is more to come.

PHPBB3-13454
2016-01-06 13:52:11 +01:00
Marc Alexander
266576c6a4 [ticket/13454] Remove unused variables
Part 4

PHPBB3-13454
2016-01-06 13:52:11 +01:00
Tristan Darricau
f14a9b7069 Merge branch '3.1.x'
* 3.1.x:
  [ticket/14261] Fix tests by removing old code.
  [ticket/14261] Move the update of session informations to page_footer()
2015-12-07 21:52:38 +01:00
Zoddo
fbacd1df16 [ticket/14261] Fix tests by removing old code.
This will obselete GH-4007

PHPBB3-14261
PHPBB3-13202
2015-10-28 12:32:24 +01:00
Zoddo
88dd8a4849 [ticket/14261] Move the update of session informations to page_footer()
Currently, the unique way to disable the update of session_page is to pass
"false" to the parameter of session_begin(). This method is directly
called in app.php, so pages served from the routing system can't disable
the update of session informations.

By moving the update to page_footer, we can allow controllers to tell to
the session manager that we don't want to update the session infos.

PHPBB3-14261
2015-10-27 17:26:18 +01:00
Tristan Darricau
a0258ae25c Merge pull request #3514 from CHItA/ticket/13740
[ticket/13740] Refactoring installer

* CHItA/ticket/13740: (75 commits)
  [ticket/13740] Reduce number of references in nav provider
  [ticket/13740] Move handle_language_select calls to the controllers
  [ticket/13740] Fix infinite config.php check loop
  [ticket/13740] Move default data settings out of constructors
  [ticket/13740] Deduplicate container builder's checks
  [ticket/13740] Use JSON for installer config
  [ticket/13740] Fix comment
  [ticket/13740] Use language service in console application
  [ticket/13740] Fix CS in compatibilty_globals.php
  [ticket/13740] Fix message element creation in JS
  [ticket/13740] Replace more spaces with tabs
  [ticket/13740] Fix CS
  [ticket/13740] Filter basic directory change attempts in lang change
  [ticket/13740] Use tabs instead of spaces in JS file
  [ticket/13740] Add success message when install finished
  [ticket/13740] Fix $script_path in obtain_data
  [ticket/13740] Fix is_phpbb_installed() method
  [ticket/13740] Login admin when install finished
  [ticket/13740] Enhance server output buffer bypass
  [ticket/13740] Secure installer config against corrupted config data
  ...
2015-07-27 11:24:43 +02:00
Mate Bartus
fbd5929606 [ticket/13740] Login admin when install finished
PHPBB3-13740
2015-07-23 20:50:33 +02:00
Marc Alexander
12f85a6a89 Merge branch '3.1.x' 2015-07-17 13:35:34 +02:00
Stanislav Atanasov
0d7f8ba8af [ticket/13817] Fix target version
PHPBB3-13817
2015-07-12 19:28:45 +03:00
Stanislav Atanasov
82bc9baa24 [ticket/13817] fix after for session_update
Fix wrong variables passed to create session event

PHPBB3-13817
2015-06-24 04:34:34 +03:00
Stanislav Atanasov
c0449d31d6 [ticket/13817] Add read-only notes to events
PHPBB3-13817
2015-06-20 23:46:38 +03:00
Stanislav Atanasov
de947d31f6 [ticket/13817] Fix missing var names
Var names in doc block

PHPBB3-13817
2015-06-20 23:46:38 +03:00
Stanislav Atanasov
7d24510d68 [ticket/13817] Add _after
As requested events are named *_after

core.session_start_after is moved after
USERS_TABLE update to prevent returning
session data from extensions

PHPBB3-13817
2015-06-20 23:46:37 +03:00
Stanislav Atanasov
afa4c07a13 [ticket/13817] Change trgger_event to dispatch
Fix no event parameters

PHPBB3-13817
2015-06-20 23:46:37 +03:00
Stanislav Atanasov
57fa7435ad [ticket/13817] Fix empty event
Try adding event with no parameters

PHPBB3-13817
2015-06-20 23:46:37 +03:00
Stanislav Atanasov
af7f62505e [ticket/13817] Fix empty vars array
PHPBB3-13817
2015-06-20 23:46:37 +03:00
Stanislav Atanasov
76f7175fc4 [ticket/13817] Fix missing phpbb_dispatcher
Fix missing phpbb_dispatcher and add event to session_create

PHPBB3-13817
2015-06-20 23:46:36 +03:00
Stanislav Atanasov
bbbf122d05 [ticket/13817] Add session_kill and session_gc
Ticket was changed to add few more session related events

core.session_kill - send user_id and session_id
core.session_gc - just triger event

PHPBB3-13817
2015-06-20 23:46:36 +03:00
Stanislav Atanasov
798490bf1d [ticket/13817] Change since
As requested by nickvergessen

PHPBB3-13817
2015-06-20 23:46:36 +03:00
Stanislav Atanasov
4a1f617473 [ticket/13817] Add core.update_session event
Add core.update_session event in \phpbb\session.php

PHPBB3-13817
2015-06-20 23:46:36 +03:00
MateBartus
4bdef6fd21 [ticket/13697] Moving filesystem related functions to filesystem service
* Moving filesystem service to \phpbb\filesystem namespace
 * Wraping Symfony's Filesystem component
 * Moving filesystem related functions from includes/functions.php
   into \phpbb\filesystem\filesystem
   Functions moved (and deprecated):
     - phpbb_chmod
     - phpbb_is_writable
     - phpbb_is_absolute
     - phpbb_own_realpath
     - phpbb_realpath
 * Adding interface for filesystem service

PHPBB3-13697
2015-04-16 13:24:10 +02:00
Joas Schilling
8ec18b10c3 Merge branch '3.1.x'
Conflicts:
	phpBB/phpbb/session.php
2015-02-27 22:47:02 +01:00
Nils Adermann
106bc1c232 [ticket/13617] Document magic number for forum_id
PHPBB3-13617
2015-02-25 17:00:22 +01:00
Nils Adermann
c5a15c0635 [ticket/13617] Use request->variable instead of request_var
PHPBB3-13617
2015-02-25 16:58:38 +01:00
Nils Adermann
d08d988df4 Merge branch 'ticket/13617' into ticket/13617-ascraeus
* ticket/13617:
  [ticket/13617] Enforce column size limit for session_forum_id

Conflicts:
	phpBB/phpbb/session.php
2015-02-25 16:25:20 +01:00
Gaëtan Muller
f6e06da4c6 [ticket/13455] Update calls to request_var()
PHPBB3-13455
2015-02-03 20:50:40 +01:00
Gaëtan Muller
79d4ff5538 [ticket/13494] Update calls to set_config()
PHPBB3-13494
2015-02-02 19:28:23 +01:00
Gaëtan Muller
7fc586080b [ticket/13468] Update calls to add_log()
PHPBB3-13468
2015-01-27 18:34:33 +01:00