OCA-git-bot
179d06e235
[BOT] post-merge updates
2025-02-03 15:53:20 +00:00
Lars Liedtke
d5db5ea0d3
[FIX] session_db: Fix creation of postgres_uri in tests
...
with the parameter "login" in `_make_postgres_uri()` it becomes impossible to log in with the configured database, as it has to have the name "user". This is because of passing the `connection_info` dict as keywords parameter into the function. But because `connection_info_for` called in `setUp()` reads the config file of odoo and there the database user is `db_user` the keyword parameter is discarded and `login` is not set. The `db_`-prefix is removed. So user and password are not applied to the uri/dsn and thus login to the database is not possible, if the database wants those parameters.
When I applied this change in our internal CI of solute.de, everything worked fine afterwards.
This has to be ported to 17.0 and 18.0 as well.
2025-02-03 16:04:08 +01:00
OCA-git-bot
bf16316ea9
[BOT] post-merge updates
2024-07-22 07:55:55 +00:00
Stéphane Bidoul
3f1aef621c
[IMP] session_db: remove ROADMAP
...
It has been implemented.
2024-07-22 09:41:10 +02:00
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