erplibre/script
Mathieu Benoit 53ef296690 [ADD] reverse proxy: dev front for Odoo 18, websocket relayed both ways
A single local address routes pages to the Odoo web port and /websocket
to the bus port, with X-Forwarded-* set for proxy_mode; a client value
for these headers is replaced. Only the request head is read: bytes then
pass through unchanged in both directions, so an upgraded WebSocket stays
open and a gzip or chunked response reaches the browser intact. Each
connection carries one request; production keeps nginx (script/nginx).
Checked: 15 tests on real sockets (routing, headers, 5 MB body, gzip,
WebSocket echo, 502, 400, 431); byte-identical to direct against Odoo 18.

--- FR ---

[ADD] reverse proxy : façade de dev pour Odoo 18, websocket dans 2 sens

Une seule adresse locale envoie les pages au port web d'Odoo et
/websocket au port du bus, avec les X-Forwarded-* de proxy_mode ; la
valeur qu'un client donne à ces en-têtes est remplacée. Seule la tête est
lue : les octets passent ensuite tels quels dans les deux sens, une
WebSocket montée reste ouverte et une réponse gzip ou en morceaux arrive
intacte. Une requête par connexion ; la production garde nginx.
Vérifié : 15 tests sur vrais sockets (routage, en-têtes, corps de 5 Mo,
gzip, écho WebSocket, 502, 400, 431) ; identique octet pour octet au
direct face à Odoo 18.

Assisted-by: Claude Opus 5.5
2026-09-26 02:17:19 -04:00
..
addons [ADD] script addons prod to dev support disable_payment_provider 2026-08-25 03:31:12 -04:00
analyse [REF] format : passer l'outillage et les tests sous ruff 2026-09-24 14:40:38 -04:00
apache [ADD] apache configuration template 2025-10-31 01:31:21 -04:00
code [UPD] script Format 2026-03-14 23:26:31 -04:00
code_generator [REF] format : passer l'outillage et les tests sous ruff 2026-09-24 14:40:38 -04:00
config [ADD] mail: read and send email from the TODO CLI 2026-08-16 03:56:34 -04:00
data [REF] format : passer l'outillage et les tests sous ruff 2026-09-24 14:40:38 -04:00
database [REF] format : passer l'outillage et les tests sous ruff 2026-09-24 14:40:38 -04:00
deployment [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
docker [REF] format : passer l'outillage et les tests sous ruff 2026-09-24 14:40:38 -04:00
execute [REF] format : passer l'outillage et les tests sous ruff 2026-09-24 14:40:38 -04:00
forgejo [FIX] security: the KeePass password leaves the command line too 2026-08-23 02:11:50 -04:00
fork_github_repo [ADD] Multilingual translation of all documentation (EN/FR) 2026-03-04 22:23:52 -05:00
git [UPD] commit rule: English subject first, French title under --- FR --- 2026-09-25 01:31:27 -04:00
ide [UPD] script Format 2026-03-14 23:26:31 -04:00
install [REM] qemu : abandonner Debian 11 2026-09-24 13:56:57 -04:00
maintenance [FIX] format : trouver les addons et leur appliquer la norme OCA 2026-09-24 13:56:57 -04:00
manifest [FIX] manifest: give repo init a branch name, not a bare SHA 2026-08-10 03:10:50 -04:00
mobile [FIX] mobile: the bundle check refused a real build 2026-08-25 03:28:39 -04:00
nginx [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
odoo [FIX] migration 17→18 : retirer la vue morte account_root 2026-08-29 02:11:04 -04:00
performance [ADD] script performance: use tool to test request per second on website 2025-11-01 01:09:32 -04:00
poetry [FIX] poetry update: skip requirements under doc and examples dirs 2026-09-25 04:17:56 -04:00
postgresql/migration [UPD] script Format 2026-03-14 23:26:31 -04:00
process [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
proxmox [REF] format : passer l'outillage et les tests sous ruff 2026-09-24 14:40:38 -04:00
qemu [REM] qemu : abandonner Debian 11 2026-09-24 13:56:57 -04:00
qemu_cache [FIX] qemu cache: git mirror clones only over http and https 2026-09-25 05:37:03 -04:00
restful [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
reverse_proxy [ADD] reverse proxy: dev front for Odoo 18, websocket relayed both ways 2026-09-26 02:17:19 -04:00
selenium [REF] format : passer l'outillage et les tests sous ruff 2026-09-24 14:40:38 -04:00
shell_script_odoo [ADD] brin_advisor brin_cluster 2026-08-07 02:52:33 -04:00
statistic [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
system [ADD] script system: search_docker_compose_erplibre.sh 2024-05-03 23:13:59 -04:00
systemd [FIX] outillage : désimbriquer les f-strings que seul 3.12 sait lire 2026-09-24 13:56:57 -04:00
terminal [IMP] todo support odoo upgrade 2025-10-31 01:43:26 -04:00
test [REF] format : passer l'outillage et les tests sous ruff 2026-09-24 14:40:38 -04:00
todo [IMP] todo: icons on the TUI form and classic questions choices 2026-09-25 05:37:03 -04:00
version [REF] format : passer l'outillage et les tests sous ruff 2026-09-24 14:40:38 -04:00
vpn [REF] format : passer l'outillage et les tests sous ruff 2026-09-24 14:40:38 -04:00
__init__.py [IMP] Copy ERPLibre from https://github.com/mathbentech/InstallScript 2020-04-20 03:56:45 -04:00
generate_config.sh [FIX] generate_config: drop odoo_design-themes from the addons path 2026-08-07 02:09:40 -04:00
lib_asyncio.py [FIX] asyncio : rendre --max_process lançable sur Python 3.10 et plus 2026-09-09 07:35:15 -04:00
lib_identifiant.py [ADD] commentaires : un relevé non bloquant, sa règle, le code nettoyé 2026-08-30 06:08:30 -04:00
lib_odoo_rc.sh [FIX] odoo_bin : lire le config.conf du dépôt, pas le ~/.odoorc 2026-08-29 02:11:04 -04:00
make.sh [FIX] script python: missing color log error 2024-05-03 23:13:59 -04:00
open_terminal_code_generator.sh [IMP] todo support odoo upgrade 2025-10-31 01:43:26 -04:00