Marc Alexander
9048aed163
[ticket/9687] Use new array entries for bans
...
PHPBB3-9687
2023-11-05 20:21:36 +01:00
Oliver Schramm
7267df431f
[ticket/9687] Finish documentation and integrate the new code
...
PHPBB3-9687
2023-11-05 20:21:35 +01:00
Marc Alexander
d65141aa75
Merge branch '3.3.x'
2023-11-04 08:28:08 +01:00
rxu
9e130333c0
[ticket/16470] remove unneeded migration, adjust code
...
PHPBB3-16470
2023-11-01 21:03:07 +07:00
Marc Alexander
abd29e96b5
[ticket/17176] Resolve deprecation notices
...
PHPBB3-17176
2023-09-18 19:28:19 +02: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
f0f8683914
Merge branch 'ticket/17092' into ticket/17092_master
2023-01-17 20:48:05 +01: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
3914f1ec41
Merge branch '3.3.x'
2023-01-17 20:36:38 +01:00
Marc Alexander
8ebb64a92a
[ticket/17091] Ensure session length is int
...
PHPBB3-17091
2023-01-16 16:56:12 +01:00
Ruben Calvo
3e8fced5c8
[ticket/16955] Fix phpdoc annotations and return types
...
PHPBB3-16955
2022-12-31 16:18:06 +01:00
Marc Alexander
077ceba2a9
[ticket/16955] Improve consistency of user and session class
...
PHPBB3-16955
2022-12-28 08:37:14 +01:00
Marc Alexander
0a64ffa834
Merge branch '3.3.x'
2022-04-30 22:46:05 +02:00
lionel-rowe
9b2f42748c
[ticket/16981] Fix HTML-encoded emojis in email subject line
...
PHPBB3-16981
2022-04-05 17:18:33 +01:00
Marc Alexander
03ec6ce0a9
[ticket/16825] Do not use session ID from URL if force_sid is not enabled
...
PHPBB3-16825
2021-07-26 21:03:14 +02:00
Marc Alexander
fe1b9d5384
[ticket/16207] Add session.force_sid parameter to allow fixing settings
...
PHPBB3-16207
2021-07-17 22:32:03 +02:00
Marc Alexander
5b68527eec
[ticket/16207] Stop forcing session id in URLs
...
PHPBB3-16207
2021-07-17 22:31:54 +02:00
Marc Alexander
d9503225e4
[ticket/16207] Stop setting session id when creating session
...
PHPBB3-16207
2021-07-17 22:31:36 +02:00
rxu
19b12bf6ee
[ticket/16649] Upgrade to Symfony 5
...
PHPBB3-16649
2021-02-19 21:10:54 +07:00
Marc Alexander
7bfcd4f288
Merge branch '3.3.x'
2021-02-18 21:14:20 +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
Máté Bartus
29e7226c96
Merge branch '3.3.x'
2021-01-22 19:14:53 +01:00
rxu
2fd4dbb685
[ticket/16690] Fix htmlspecialchars and htmlspecialchars_decode default flag
...
PHPBB3-16690
2021-01-20 00:21:24 +07:00
rubencm
774c609c4a
[ticket/16345] Small improvements
...
PHPBB3-16346
2020-08-14 08:29:06 +00:00
Marc Alexander
3cceeb45bf
Merge branch '3.3.x'
2020-08-13 21:16:33 +02:00
rxu
946da08304
[ticket/16533] Add set_login_key() event
...
PHPBB3-16533
2020-06-21 18:09:28 +07:00
Marc Alexander
7cec3c0922
Merge branch '3.3.x'
2020-06-15 22:09:07 +02: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
Marc Alexander
c88b621d70
Merge branch '3.3.x'
2020-04-16 20:51:04 +02:00
mrgoldy
e5c80e46b0
[ticket/16397] Expose user identifier
...
PHPBB3-16397
2020-03-10 01:49:57 +01:00
Marc Alexander
7934d3bd56
Merge branch '3.3.x'
2019-12-15 20:26:06 +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
Marc Alexander
1499e8c18e
Merge branch '3.3.x'
2019-11-01 22:01:31 +01: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
Marc Alexander
fe11ee3e70
Merge branch '3.3.x'
2019-11-01 08:16:15 +01:00
rubencm
163aac74db
[ticket/16190] Deprecate phpbb's checkdnsrr wrapper
...
PHPBB3-16190
2019-10-31 20:54:21 +00:00