1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-18 15:41:26 +02:00
Commit Graph

181 Commits

Author SHA1 Message Date
Marc Alexander
b60c2fe92e Merge branch '3.3.x' 2024-08-01 22:18:50 +02:00
Marc Alexander
18c00a902f [ticket/17375] User last active should be updated to current time
PHPBB-17375
2024-07-31 21:25:33 +02:00
Marc Alexander
8497104bdb [ticket/17375] Ensure session garbage collection only happens for expired ones
PHPBB-17375
2024-07-31 21:24:45 +02:00
Marc Alexander
ca3e692a95 Merge branch '3.3.x' 2024-07-13 19:42:51 +02:00
rxu
4003f54d0b [ticket/17338] Do not update user_last_active to outdated session_time value
PHPBB-17338
2024-06-17 11:55:35 +07:00
rxu
e21a8e02cd [ticket/17338] Update user_last_active on session removal and login keys reset
PHPBB-17338
2024-06-14 15:22:20 +07:00
rxu
db9874546b [ticket/17338] Add user_last_active to session_gc()
PHPBB-17338
2024-06-14 11:03:02 +07:00
Marc Alexander
f22784f0a4 Merge branch '3.3.x' 2024-05-22 21:55:14 +02:00
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
ab9f636ad6 Merge branch '3.3.x' 2024-02-23 20:37:16 +01: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
99884d8bbb Merge pull request #6579 from marc1706/ticket/17281
[ticket/17281] Update to psalm 5.x
2024-01-31 21:14:15 +01:00
Marc Alexander
39cad1d235 Merge branch '3.3.x' 2024-01-01 21:35:55 +01:00
Marc Alexander
661a8a6117 [ticket/17281] Update psalm config and fix issues
PHPBB3-17281
2023-12-30 17:41:12 +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
Marc Alexander
e54d54488c [ticket/9687] Fix ban message for banned users
PHPBB3-9687
2023-11-05 20:21:40 +01:00
Marc Alexander
a0bd70885d [ticket/9687] Create ban message in manager and add missing sort directions
PHPBB3-9687
2023-11-05 20:21:39 +01:00
Marc Alexander
0414536727 [ticket/9687] Add separate column for user_id
PHPBB3-9687
2023-11-05 20:21:39 +01:00
Marc Alexander
872439b8f4 [ticket/9687] Properly display error messages in ACP
PHPBB3-9687
2023-11-05 20:21:38 +01:00
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