HB9HIL
30f490637d
fix legacy polling for redis and memcached
...
in 2014, when codeigniter 3 was designed the overall performance wasn't that important so
redis and memcached session drivers used a polling mechanism to wait for the session lock to
be released. This polling happend once per second, which is a huge performance penalty for serialized
AJAX requests of the same user. Since we live in the modern age now and performance is important,
this commit replaces the polling with an interval of 100ms. The timeout is still 30s, so if a lock is
not released within 30s the request will fail, but if the lock is released after 100ms the next request
will pick it up immediately instead of waiting for a full second. If someone got issues because of 100ms polling to a
redis or memcached server, I assume they have bigger problems than a few milliseconds of delay.
2026-08-12 15:11:52 +02:00
HB9HIL
63483b353f
fix php warning for redis session driver
2026-08-11 13:08:45 +02:00
HB9HIL
010804bc77
fix ci3 bug
2026-07-29 09:20:17 +02:00
HB9HIL
5a75a4be96
introduce security helper to validate user_id's
2026-06-11 22:26:49 +02:00
HB9HIL
78efc1f003
fix unfinite /install redirect loop
2026-06-10 10:13:29 +02:00
HB9HIL
b9ac56cab7
updated cookie logic to the syntax of post php 7.3 era and made samesite configurable, while http only is hardcoded to true
2026-03-16 09:45:17 +01:00
HB9HIL
1fb549d9d4
debug messaging to see how long each migration takes
2026-02-06 01:12:18 +01:00
Fabian Berg
04b9aa49c7
Merge branch 'dev' into support_cache
2026-02-02 13:46:55 +00:00
HB9HIL
dc7f7254e1
same fallback behaviour for memcached adapter
2026-02-02 13:42:11 +01:00
HB9HIL
9fa0604810
redis driver now catches successfully a missing redis extension and a unavailable redis server
2026-02-02 13:13:42 +01:00
HB9HIL
823148c752
not only check for redis extension during driver load
2026-02-02 12:57:31 +01:00
HB9HIL
7633161890
php8+ friendly fixes
2026-02-02 12:40:25 +01:00
HB9HIL
937f09eae7
Drop support for wincache
2026-02-02 10:38:52 +01:00
HB9HIL
f4427c1fa3
APC is legacy and does not exist anymore. But apcu works awesome so adjusted the config sample
2026-02-01 20:30:22 +01:00
HB9HIL
549307e5f1
updated cache lib and drivers from https://github.com/pocketarc/codeigniter
2026-02-01 19:07:17 +01:00
HB9HIL
50aea5ccd4
fix redis adapter which was broken since 4 years
2026-02-01 18:56:56 +01:00
HB9HIL
86ffc6dd77
improved wording
2026-01-26 13:41:18 +01:00
HB9HIL
ce4a5e7b9d
enforce minimum session expiration time of 43200 seconds for security and create session_token instead of using session id for hash creation
2026-01-26 13:04:28 +01:00
HB9HIL
90bca147be
housekeeping php 8.4
2025-11-19 14:37:15 +01:00
Fabian Berg
25cbb212c8
php8.4 fixes
2025-04-28 13:22:18 +02:00
HB9HIL
9f43737cd8
fix[session]: supress the deprecation warning from php8.4 and above
2024-12-05 10:25:43 +01:00
HB9HIL
8a57e2ccb5
fix(exceptions): disable E_STRICT from php8.4 and add E_DEPRECATED constants
2024-12-05 10:09:20 +01:00
HB9HIL
38a9c10c59
fix[installer]: only delete the migration lockfile if it really exists
2024-12-04 17:20:53 +01:00
HB9HIL
a039b3a7ca
removed debugging
2024-10-28 13:24:38 +01:00
HB9HIL
bbb1b8c976
using json to load the mail allows to place everything message related in the view (e.g. the subject)
2024-10-28 12:37:31 +01:00
HB9HIL
9f609ae191
return decoded
2024-10-28 11:31:55 +01:00
HB9HIL
cf89845a68
function to load the email message
2024-10-28 10:49:38 +01:00
HB9HIL
c2e9c2625f
better place it in the config.php
2024-10-07 09:31:10 +00:00
HB9HIL
1c0a6d5750
reduce debug messages
2024-09-16 00:49:43 +02:00
Patrick Winnertz
90aac66df1
Move also the comment from the helper function to core/Config.php
2024-08-23 15:14:58 +02:00
Patrick Winnertz
6ee6a95622
Move the ?? into system/Core/Config.php to do not fail if the local_url config entry is missing.
2024-08-23 15:04:48 +02:00
Patrick Winnertz
01457019bf
Forgot something to make it work
2024-08-23 09:58:44 +02:00
Patrick Winnertz
8463eda5ba
Create a helper to read in a optional local_url to bypass the need to access the application using the external url.
2024-08-23 08:43:11 +02:00
github-actions
d538aaf7d5
set the lifetime higher
2024-08-02 12:02:47 +02:00
github-actions
4e034966c2
migration lockfile lifetime
2024-08-02 11:48:41 +02:00
HB9HIL
8dbdb8b367
show latest migration in log and make sure the log is in the correct order
2024-07-26 23:47:16 +02:00
HB9HIL
4cc6445a57
reduce debug messages
2024-07-20 15:04:45 +02:00
HB9HIL
f24501ae4c
update encryption library
2024-07-11 14:17:26 +02:00
HB9HIL
4d7802a2d2
added some debugging messages
2024-06-25 14:18:11 +02:00
HB9HIL
063fb3de96
unlink the lockfile later
2024-06-25 13:20:20 +02:00
HB9HIL
81a5ab7a61
include the rest aswell to stick with the logic
2024-06-25 13:18:54 +02:00
HB9HIL
4e723e7bbf
lock mig process with lock file in cache folder to avoid raceconds
2024-06-25 13:05:24 +02:00
HB9HIL
8cc66870ca
force enable hooks
2024-06-06 10:46:47 +02:00
HB9HIL
338b1ff3d9
load language in core controller
2024-06-06 10:46:34 +02:00
int2001
9110d0795e
Fixes PHP8-Bug within CI3
2024-05-26 04:19:16 +00:00
int2001
7b9ddbdddf
Had to patch CI, otherweise no 8.3 compat
2024-02-18 07:43:44 +00:00
int2001
b002dce737
Make Logtype (daily / one file) configurable
2024-01-24 07:05:56 +00:00
int2001
166b8bf98d
Use ONE Logfile instead of daily ones
2024-01-24 06:42:58 +00:00
Juan Garcia
41f1d617a6
Initial commit
2023-12-29 22:11:26 -05:00
HB9HIL
8c4bae8453
run migration script
2023-11-14 13:35:53 +01:00