Marc Alexander
ed0b5020a9
[ticket/17312] Use user_last_active instead of user_lastvisit where possible
...
PHPBB3-17312
2024-05-16 20:44:38 +02:00
Marc Alexander
4afa184110
[ticket/17292] Add needed www prefix for spamcop
...
PHPBB3-17292
2024-02-23 20:01:41 +01:00
Christian Schnegelberger
00b8cb1e52
[ticket/17292] Use new spamhaus.org check url
...
PHPBB3-17292
2024-02-22 19:16:54 +01:00
Marc Alexander
613582e2c5
[ticket/17212] Support updating session info when editing post with p=
...
PHPBB3-17212
2023-11-09 21:08:31 +01:00
rxu
9e130333c0
[ticket/16470] remove unneeded migration, adjust code
...
PHPBB3-16470
2023-11-01 21:03:07 +07:00
rxu
7ba5f8f22a
[ticket/16470] Revert session_time sync back
...
This reverts changes made by last 2 commits as they seem to break things.
PHPBB3-16470
2023-06-26 10:05:47 +07:00
rxu
33dfaa478c
[ticket/16470] Further do not rely on session_time displaying user activity
...
session_time has not been updated during session_length, so relying on it last
activity data will be incorrect, especially if session_length value is high.
Thus rely on regular and properly updated user_lastvisit.
Remove user_lastvisit vs with session_time sync for the same reason.
Also get rid of the session_last_visit field as it floats between
user_lastvisit and session_time and actually is meaningless.
PHPBB3-16470
PHPBB3-14173
2023-06-22 13:09:51 +07:00
rxu
735b826063
[ticket/16470] Do not sync user last visit time with expired sessions time
...
PHPBB3-16470
PHPBB3-14173
2023-06-21 00:02:29 +07:00
rxu
bbe2b21310
[ticket/16470] Correctly handle user last visit update on session create
...
PHPBB3-16470
PHPBB3-14173
2023-06-18 23:56:44 +07:00
rxu
9e55d3cb44
[ticket/16470] Adjust user last visit time update logic
...
Previous logic doesn't work correctly as session_time value got updated
in regular manner, so that its 60 seconds lag with time_now
can be unreachable in some cases. So update user_lastvisit if it lags
for 60 sec of session_time.
PHPBB3-16470
PHPBB3-14173
2023-06-17 00:50:22 +07:00
rxu
a14e8f8ce5
[ticket/16470] Adjust method result type
...
PHPBB3-16470
PHPBB3-14173
2023-06-15 23:21:34 +07:00
rxu
aafb522538
[ticket/16470] Update user last visit time on session begin
...
Update user last visit time on session begin same way as on session create.
PHPBB3-16470
PHPBB3-14173
2023-06-11 15:51:41 +07:00
Marc Alexander
738dd786ba
[ticket/17092] Clean up docblock and remove redundant check
...
PHPBB3-17092
2023-01-17 20:44:05 +01:00
Patrick Webster
17f2d6e03a
[ticket/17092] Check for Spamhaus error codes
...
Fix indentation
PHPBB3-17092
2023-01-17 20:37:49 +01:00
Patrick Webster
20c3371460
[ticket/17092] Check for Spamhaus error codes
...
Remove leftover logging
PHPBB3-17092
2023-01-17 20:37:49 +01:00
Patrick Webster
aa523eadf1
[ticket/17092] Check for Spamhaus error codes
...
Switches to using callbacks for each DNSBL so that special cases can be
handled when needed. Adds support for Spamhaus error codes and disables DNSBL
checking if errors are encountered since they probably won't be resolved in a
timely manner by the owner or host.
PHPBB3-17092
2023-01-17 20:37:48 +01:00
Marc Alexander
8ebb64a92a
[ticket/17091] Ensure session length is int
...
PHPBB3-17091
2023-01-16 16:56:12 +01:00
lionel-rowe
9b2f42748c
[ticket/16981] Fix HTML-encoded emojis in email subject line
...
PHPBB3-16981
2022-04-05 17:18:33 +01:00
3D-I
c499025623
[ticket/16706] Fix undefined array keys on user IP ban
...
PHPBB3-16706
2021-02-16 01:43:49 +01:00
rxu
2fd4dbb685
[ticket/16690] Fix htmlspecialchars and htmlspecialchars_decode default flag
...
PHPBB3-16690
2021-01-20 00:21:24 +07:00
rxu
946da08304
[ticket/16533] Add set_login_key() event
...
PHPBB3-16533
2020-06-21 18:09:28 +07:00
Marc Alexander
a7bfe9afed
[ticket/16397] Add method for retrieving user ID
...
This replaces the previously added public property.
PHPBB3-16397
2020-06-14 14:26:28 +02:00
mrgoldy
e5c80e46b0
[ticket/16397] Expose user identifier
...
PHPBB3-16397
2020-03-10 01:49:57 +01:00
rxu
7ea063100e
[ticket/15294] Minor code adjusting
...
PHPBB3-15294
2019-11-05 22:53:11 +07:00
rxu
ba17f16dc8
[ticket/15294] Get rid of SQL query in a loop as far as possible
...
PHPBB3-15294
2019-11-04 21:48:20 +07:00
rxu
a340c362bc
[ticket/15294] Back to the all DBMS compliant splitted queries
...
PHPBB3-15294
2019-11-04 13:36:58 +07:00
rxu
46a68d37ee
[ticket/15294] Another approach, optimize updating & purging expired sessions
...
PHPBB3-15294
2019-11-03 23:49:00 +07:00
rxu
e9fc3ed22e
[ticket/15294] Fix session_gc() selecting expired sessions for unique users
...
Also remove limit of 10 as it does not allow to collect all the garbage.
PHPBB3-15294
2019-11-03 20:04:01 +07:00
rubencm
b6a99e7dca
[ticket/16188] Remove some legacy code and fix bug
...
PHPBB3-16189
2019-11-01 10:30:41 +00:00
rubencm
f09f5bc51c
[ticket/16189] Deprecate inet_ntop and inet_pton wrappers
...
PHPBB3-16189
2019-11-01 10:30:41 +00:00
rubencm
163aac74db
[ticket/16190] Deprecate phpbb's checkdnsrr wrapper
...
PHPBB3-16190
2019-10-31 20:54:21 +00:00
Marc Alexander
06c894ff7f
Merge branch '3.2.x' into 3.3.x
2019-10-20 21:01:44 +02:00
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
Marc Alexander
3f33d89572
[ticket/16052] Fix issues caused by merges
...
PHPBB3-16052
2019-05-11 23:36:20 +02:00
rubencm
a702142a34
[ticket/12636] Rename log.session_errors to session.log_errors
...
PHPBB3-12636
2019-05-09 21:20:16 +02:00
Rubén Calvo
303b823847
[ticket/12636] Add log.session_errors
...
PHPBB3-12636
2019-05-09 19:04:01 +02:00
luzpaz
a9a28859d4
[ticket/15424] Multiple typo fixes in docs & comments
...
Fixed typos in some docs, guidelines, some non-user-facing files.
PHPBB3-15424
2019-05-08 22:20:56 +02:00
Máté Bartus
75d957e9e1
[ticket/15351] Fix missing global usage
...
PHPBB3-15351
2019-05-08 22:08:37 +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