Commit Graph

25 Commits (5217da79395a94cb35364e8a1cd85f1dddb9b450)

Author SHA1 Message Date
mymage 4a47aa79a9 Added translation using Weblate (Italian) 2024-01-02 09:18:01 +00:00
OCA-git-bot 6c5a361562 [UPD] README.rst 2023-09-03 16:49:46 +00:00
OCA-git-bot 1892bbcee7 session_db 16.0.1.0.5 2023-09-01 08:03:35 +00:00
Christoph Fiehe 8fc534b5d6 Fixes the issue "PGSessionStore.vacuum() got an unexpected keyword argument 'max_lifetime'" when autovacuum gets executed.
Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de>
2023-08-16 11:37:23 +02:00
OCA-git-bot 9915461be4 session_db 16.0.1.0.4 2023-04-11 14:47:46 +00:00
Stéphane Bidoul 8148f43ca2 session_db: fix tests for v16 compatibility 2023-03-27 19:14:17 +02:00
Stéphane Bidoul 2344802039 session_db: refactor retry handling 2023-03-27 19:04:12 +02:00
Stéphane Bidoul 0af0424b4f session_db: add a few tests 2023-03-27 19:04:12 +02:00
Stéphane Bidoul 13c570d639 session_db: reconnect if needed
If the connection to the database fails when
retrying a session operation, we end up
with no cursore, which makes subsequent
session operations fail.

We fix this by ensuring we have cursor
before any operations.
2023-03-27 09:58:13 +02:00
OCA-git-bot 03063f8f6e session_db 16.0.1.0.3 2023-02-21 09:49:13 +00:00
Stéphane Bidoul 2277d97458 session_db: improve cursor release 2023-02-10 19:59:59 +01:00
Stéphane Bidoul b13029ab08 session_db: cosmetics 2023-02-10 19:36:00 +01:00
Stéphane Bidoul 8023bff1b6 session_db: gevent and thread support
There were concurrency issues in evented mode.
So while I was at it, I added support for threaded mode too.
2023-02-10 19:36:00 +01:00
OCA-git-bot 857bf8a235 session_db 16.0.1.0.2 2023-01-23 13:36:12 +00:00
Stéphane Bidoul 018b664940 session_db: improve resiliency to database errors
Retry on OperationalError exception, which we receive on database restart.
Return cursor to pool when reconnecting.
2023-01-23 09:27:31 +01:00
OCA-git-bot a002bff889 session_db 16.0.1.0.1 2023-01-19 16:32:06 +00:00
OCA-git-bot 937b83ad27 [ADD] icon.png 2023-01-19 16:32:06 +00:00
OCA-git-bot bd325129f7 [UPD] README.rst 2023-01-19 16:32:06 +00:00
oca-ci c9aef39cdc [UPD] Update session_db.pot 2023-01-19 16:29:23 +00:00
Stéphane Bidoul 0f7f6f5c14 session_db: explain why such as module is useful 2023-01-19 10:20:11 +01:00
Stéphane Bidoul 30ccee3d45 session_db: declare maintainer 2023-01-19 10:20:11 +01:00
Stéphane Bidoul 42f7db536a session_db: do not update write_date on get
The upstream FilesystemSessionStore does not do that.
2023-01-19 10:20:11 +01:00
Stéphane Bidoul b68adf53a2 session_db: use SESSION_LIFETIME constant 2023-01-19 10:20:11 +01:00
Stéphane Bidoul 6ff5bb8e03 [MIG] session_db to 16.0 2023-01-19 10:20:11 +01:00
Nicolas Seinlet 5cc37f95b1 session_db : store sessions in a database rather than in filestore 2023-01-19 10:20:11 +01:00