Commit Graph
371 Commits
Author SHA1 Message Date
Maksym YankinandIván Todorovich 2df49eeba0 [REF] monitoring_prometheus: server_environment should not be a required dependency 2026-05-20 08:51:16 -03:00
Maksym YankinandIván Todorovich 08ef2f8025 [REF] cloud_platform: server_environment should not be a required dependency 2026-05-20 08:51:16 -03:00
Alexandre FayolleandGitHub 9d25a5dc56 Merge pull request #511 from camptocamp/19.0-fix-performance
[PERF] fix performance hit
2026-02-16 15:13:20 +01:00
Alexandre Fayolle 911fa5535a [PERF] fix performance hit
On the cloud platform of Camptocamp, a shared redis is used to store the
sessions of the different projects -> the number of keys is huge, and
using an iterative match kills the performance because of the networking
overhead.

We switch to using redis.key(pattern), and since the pattern typically
has a leading string which will allow redis to find the correct bucket,
the performance should be good.
2026-02-16 11:42:39 +01:00
Denis LeemannandGitHub 9838963ea4 Merge pull request #498 from camptocamp/new_19
fix: enable module for 19.0
2025-12-15 16:01:02 +01:00
7375585a5b Update session_redis/session.py
Co-authored-by: Florent Xicluna <142113+florentx@users.noreply.github.com>
2025-12-15 16:00:21 +01:00
Denis Leemann 9dcbe33366 run pre-commit 2025-12-15 15:34:26 +01:00
vrenavilleandDenis Leemann 90f87c263f fix: enable module for 19.0 2025-12-15 15:14:52 +01:00
Andrés ZacchinoandIván Todorovich 1d68c883a7 logging_json: enhance logging output by splitting levels into stdout and stderr 2025-12-01 10:28:37 -03:00
Denis LeemannandGitHub 9b31b7c235 Merge pull request #507 from camptocamp/fix_expiration
fix: Ensure anonymous session timeout is applied
2025-11-28 08:34:44 +01:00
Denis LeemannandGitHub de97e14591 Merge pull request #502 from cyrilmanuel/mig-logging_json
[MIG] logging_json: Migration to 19.0
2025-11-28 08:34:23 +01:00
nbessi 80af680aae fix: Ensure anonymous session timeout is applied when expiration is not an integer or is zero. 2025-11-26 11:40:01 +01:00
Atte IsopuroandGitHub 750bc4dcf8 [MIG] session_redis: Migration to 19.0 (#499)
* lazy_property is deprecated
* Since https://github.com/odoo/odoo/commit/cea66be976c6d0746a972da8a16b7a239d12a462, Session
  must be used as a dictionary when setting custom values
* Session default lifetime is now defined in odoo.http, so we can just reuse that
* Handle new session rotation logic (sessions must be findable by the first 42 chars of they key)
* Handle new session key generation for rotation (keys must be longer than 42 chars to handle devices)
2025-11-24 15:37:51 +01:00
cyrilmanuel 700872bf1e [MIG] logging_json: Migration to 19.0 2025-10-03 07:49:21 +02:00
cyril jeanneretandGitHub f00d54e501 Merge pull request #501 from cyrilmanuel/fix-copier-template-and-update
Fix copier template to run copier update
2025-10-02 14:29:40 +02:00
cyrilmanuel 462bfe8c27 Update repository to get version 19.0 from oca-addons-repo-template 2025-10-02 14:17:43 +02:00
cyrilmanuel 5d921db4bc Fix template copier answer error 2025-10-02 13:58:15 +02:00
vrenaville c44393ec64 19.0: initial commit 2025-09-23 15:58:10 +02:00
Alexandre FayolleandGitHub e4d3fcdb8d Merge pull request #496 from camptocamp/18.0-upd_version
fix: this is Odoo 18.0 branch
2025-05-21 08:13:22 +02:00
Florent Xicluna 06db90b42a Run pre-commit 2025-05-15 11:51:07 +02:00
Florent Xicluna 13f1c3149a fix: this is Odoo 18.0 branch 2025-05-15 11:51:07 +02:00
Florent Xicluna 50560c5f83 feat: port monitoring_status to 18.0 2025-05-15 11:51:06 +02:00
vrenavilleandFlorent Xicluna a04aa15191 feat: remove unused modules 2025-05-15 11:04:22 +02:00
Vincent RenavilleandGitHub e529e00fd7 feat: add ssl mode with non url connection + add redis cluster support (#494) 2025-05-12 09:45:42 +02:00
SilvioC2CandGitHub 416a4660ae Merge pull request #493 from camptocamp/18.0-fix-session_redis
[18.0][FIX] session_redis: add incompatibility to auth_session_timeout
2025-05-08 13:21:27 +02:00
SilvioC2C 64b1240023 [FIX] session_redis: add incompatibility to auth_session_timeout
``session_redis`` is not compatible with ``auth_session_timeout``.
``session_redis`` overrides property ``odoo.http.Application.session_store`` by returning a ``RedisSessionStore`` object instead of a ``odoo.http.FilesystemSessionStore`` object.
``auth_session_timeout`` expects ``odoo.http.Application.session_store`` object to define method ``get_session_filename()``, which does not exist for ``RedisSessionStore`` objects.
This results in an ``AttributeError`` that prevents user authentication, and Odoo becomes inaccessible.
2025-05-08 11:13:47 +02:00
SilvioC2C 729b2762ee [FIX] pre-commit: fix deprecated GH action 2025-05-08 11:13:18 +02:00
Florent XiclunaandGitHub 9965a55414 Merge pull request #487 from camptocamp/18.0-jsonlogger-import
fix: adapt import of jsonlogger
2025-05-06 10:50:59 +02:00
augusto-weissandFlorent Xicluna 0f4756e420 [18.0][FIX] logging_json: warning jsonlogger 2025-05-06 10:48:42 +02:00
Florent XiclunaandGitHub b929f7bbc5 Merge pull request #486 from adhoc-dev/18.0-current-thread
[FIX] logging_json: deprecated method currentthread
2025-05-06 10:46:46 +02:00
augusto-weiss 92093de071 [FIX] logging_json: deprecated method currentthread 2025-03-12 09:12:41 -03:00
Nicolas Bessi (nbessi)andGitHub d4226335c5 Merge pull request #482 from camptocamp/18.0-mig-session_redis_fix
[MIG] session_redis: Migration to 18.0
2025-02-05 10:56:20 +01:00
Vincent RenavilleandGitHub 5831d4b51f feat: fix typo in version definition (#483) 2025-02-04 15:29:01 +01:00
Patrick Tombez 27879b5f79 [MIG] session_redis: Migration to 18.0 2025-02-04 14:24:51 +01:00
Vincent RenavilleandGitHub 5fe59ffae3 feat: add memory monitoring for prometheus (#481) 2025-02-04 10:54:34 +01:00
Vincent RenavilleandGitHub 28afe2dfae feat: migrate json logs (#475) 2025-02-04 10:54:18 +01:00
vrenaville da9918aee0 feat: add 18.0 sessions_redis migration 2024-11-15 10:36:13 +01:00
Alexandre FayolleandGitHub 471fe15b2b Merge pull request #464 from xcgd/17.0-session_redis-fix-vacuum
[17.0][FIX] session_redis: fix vacuum
2024-08-27 11:45:44 +02:00
FaiandVincent Hatakeyama 23724e9f69 Add arguments to session vacuum method
`Session.vacuum` method contains extra arguments since this PR https://github.com/odoo/odoo/pull/122888

accept parameters to adapter this change
2024-07-17 14:51:56 +02:00
Alexandre FayolleandGitHub 5e98c14de9 Merge pull request #463 from gurneyalex/17.0-update-CI
sync project
2024-06-24 13:46:05 +02:00
Alexandre Fayolle 898c1484de remove the setup directory
this one is no longer needed with pyproject.toml
2024-06-24 12:22:27 +02:00
Alexandre Fayolle 61d30ef6ff run pre-commit 2024-06-24 11:58:48 +02:00
Alexandre Fayolle 451facfeb6 sync project 2024-06-24 10:55:29 +02:00
Vincent RenavilleandGitHub 0a70537139 fix: remove last_update deprecated key (#447) 2023-11-14 13:56:51 +01:00
Vincent RenavilleandGitHub 59059f4344 fix: remove deprecated useless function (#446) 2023-11-14 10:21:51 +01:00
Vincent RenavilleandGitHub b9cbf71b55 fix: version number for log monitoring (#445) 2023-11-13 12:35:41 +01:00
Vincent RenavilleandGitHub b5b2a5a431 fix: version number (#444) 2023-11-13 12:01:06 +01:00
Vincent RenavilleandGitHub b1434e34d0 feat: remove unmaintened modules (#443) 2023-11-13 11:33:13 +01:00
vrenaville 25c7d71eb4 feat: init commit for version 17.0 2023-10-31 14:11:21 +01:00
Vincent RenavilleandGitHub 0d0ca60710 feat: bump azure library (#431) 2023-06-07 17:11:45 +02:00