Commit Graph

18 Commits

Author SHA1 Message Date
Frédéric Guillot 4adb93c1a6 Use SESSION_DURATION option to define the session lifetime stored in the
database

The option `SESSION_DURATION` is used to define the cookie lifetime.

With this change, Kanboard will try to use first `SESSION_DURATION` instead of the
default `session.gc_maxlifetime` value.

Fixes #4340
2023-04-10 21:38:09 -07:00
Frédéric Guillot f5bb55bdb8
PHP 8 Compatibility 2022-02-05 11:49:03 -08:00
Matthias Straka 6c4665b3ca
Add new config parameter SESSION_HANDLER 2020-07-06 21:30:27 -07:00
Frédéric Guillot b096e907cf Run SessionHandler::write() into a transaction 2018-02-13 15:06:51 -08:00
Frédéric Guillot ccd177ada6 Store PHP sessions in the database 2017-12-12 15:04:28 -08:00
Frederic Guillot f3deb6492a Add toggle button to show/hide subtasks in task list view 2017-02-26 19:30:02 -05:00
Frederic Guillot b8f7532e5c
Add personal API access token 2016-12-03 15:43:36 -05:00
Frederic Guillot e7012692f3 Change css for header links 2016-06-03 22:08:39 -04:00
Frederic Guillot c7cceade96 Handle state in OAuth2 client 2016-03-27 12:23:18 -04:00
Frederic Guillot 9e24bb2ef0 Do not cache app settings in session 2016-01-14 21:42:28 -05:00
Frederic Guillot e31185a2bd Minor fixes 2016-01-11 21:54:52 -05:00
Frederic Guillot f69f9b0811 Use SHA-1 for session hash to avoid incompatibility between platforms 2015-12-30 15:15:55 +01:00
Frederic Guillot 019d83f3fc Fix compatiblity issue with FreeBSD for session.hash_function 2015-12-30 14:29:00 +01:00
Frederic Guillot d0e809a32c Add new method to flush session variables 2015-12-06 08:23:53 -05:00
Frederic Guillot 73ce90ac56 Remove unused use statements 2015-12-05 21:34:26 -05:00
Frederic Guillot e9fedf3e5c Rewrite of the authentication and authorization system 2015-12-05 20:31:27 -05:00
Frederic Guillot 42b5b413bd Code cleanup 2015-11-15 13:06:13 -05:00
Frederic Guillot a675271ad7 Rewrite of session management 2015-11-15 12:50:33 -05:00