Outil pour les rencontres réseautage de type d'événement table tournante. Gestion de l'attribution de siège avec plusieurs tours par table.
Find a file
Mathieu Benoit f2b66f2f92 [ADD] electron: confined file system, atomic writes, lock, bridge
The shell carries the file-system boundary (§ 13.1): the page names a
root the main process defines — data/ beside the published executable,
the product folder in Documents, or one the operator picks in a dialog —
and a relative path, refused if absolute, with .., a NUL, or a real
path outside the root. Writes go to a temporary file, flushed, renamed
over the target with retries; a failed rename never truncates it. The
lock records session, process and host. Chromium's profile lives in a
temporary folder removed at exit, not in AppData nor in the events.

Checked: node and real-folder long tests; real Electron start under Ozone.

--- FR ---

[ADD] electron : système de fichiers confiné, écriture atomique, verrou

La coquille porte la frontière du système de fichiers (§ 13.1) : la page
nomme une racine que le processus principal définit — data/ à côté de
l'exécutable publié, le dossier du produit dans Documents, ou un dossier
choisi par dialogue — et un chemin relatif, refusé s'il est absolu, porte
.., un NUL, ou un chemin réel hors de la racine. Une écriture passe par
un temporaire vidé sur le disque puis renommé par-dessus, réessayé ; un
renommage manqué ne tronque jamais la cible. Le profil de Chromium vit
dans un dossier temporaire effacé à la sortie, hors d'AppData.

Vérifié : épreuves node et longues sur dossier réel ; Electron réel lancé.

Assisted-by: Claude Opus 5.5
Claude-Session: https://claude.ai/code/session_01EUXSGcwCLSC69FWEdCtWSb
2026-10-06 17:34:31 -04:00
electron [ADD] electron: confined file system, atomic writes, lock, bridge 2026-10-06 17:34:31 -04:00
exemples [ADD] demo: delivered event files, example CSVs, payload fingerprint 2026-10-06 17:03:15 -04:00
scripts [ADD] demo: delivered event files, example CSVs, payload fingerprint 2026-10-06 17:03:15 -04:00
src [ADD] electron: confined file system, atomic writes, lock, bridge 2026-10-06 17:34:31 -04:00
test [ADD] electron: confined file system, atomic writes, lock, bridge 2026-10-06 17:34:31 -04:00
.gitattributes [ADD] demo: delivered event files, example CSVs, payload fingerprint 2026-10-06 17:03:15 -04:00
.gitignore [ADD] skeleton: Capacitor web app that shows its dated version 2026-10-05 13:13:13 -04:00
.node-version [ADD] install: Node 26 and system packages, per family and under Nix 2026-10-06 05:52:05 -04:00
capacitor.config.json [ADD] skeleton: Capacitor web app that shows its dated version 2026-10-05 13:13:13 -04:00
CHANGELOG.md [ADD] skeleton: Capacitor web app that shows its dated version 2026-10-05 13:13:13 -04:00
electron-builder.config.cjs [ADD] electron: own shell, portable Windows exe built under podman 2026-10-05 13:13:32 -04:00
index.html [ADD] skeleton: Capacitor web app that shows its dated version 2026-10-05 13:13:13 -04:00
install.cmd [ADD] scripts: Windows install and run through PowerShell 5.1 2026-10-06 05:51:31 -04:00
install.sh [ADD] install: Node 26 and system packages, per family and under Nix 2026-10-06 05:52:05 -04:00
install_dev.cmd [ADD] scripts: Windows install and run through PowerShell 5.1 2026-10-06 05:51:31 -04:00
install_dev.sh [ADD] install: Node 26 and system packages, per family and under Nix 2026-10-06 05:52:05 -04:00
LICENSE [ADD] license: GNU AGPL v3 text, TechnoLibre copyright 2026-10-05 07:12:53 -04:00
Makefile [ADD] run: make and ./run.sh, Electron start check, container matrix 2026-10-06 05:52:17 -04:00
package-lock.json [ADD] electron: own shell, portable Windows exe built under podman 2026-10-05 13:13:32 -04:00
package.json [ADD] electron: own shell, portable Windows exe built under podman 2026-10-05 13:13:32 -04:00
README.md [ADD] run: make and ./run.sh, Electron start check, container matrix 2026-10-06 05:52:17 -04:00
run.cmd [ADD] scripts: Windows install and run through PowerShell 5.1 2026-10-06 05:51:31 -04:00
run.sh [ADD] run: make and ./run.sh, Electron start check, container matrix 2026-10-06 05:52:17 -04:00
spec.md [IMP] tests: watched series adapts to the core count, threads below 4 2026-10-06 04:54:01 -04:00
version.json [ADD] skeleton: Capacitor web app that shows its dated version 2026-10-05 13:13:13 -04:00
vite.config.js [ADD] skeleton: Capacitor web app that shows its dated version 2026-10-05 13:13:13 -04:00
vitest.config.js [ADD] install: Node 26 and system packages, per family and under Nix 2026-10-06 05:52:05 -04:00

Gestion table tournante Libre

Logiciel hors ligne qui place les personnes d'un événement autour de tables et les fait tourner sur plusieurs tours, pour que chacune rencontre le plus de monde possible.

Installer et lancer

système installer lancer
Linux, macOS ./install.sh ./run.sh, ou make
Windows install.cmd run.cmd
NixOS ./install.sh ./run.sh ; make dans nix-shell scripts/installation/shell.nix

./install_dev.sh (sous Windows install_dev.cmd) installe en plus le Chromium des épreuves du navigateur, des polices et, sur amd64, podman, sous lequel se construit l'exécutable Windows.

L'installation pose les paquets du système qui manquent — apt, dnf, zypper ou pacman, par sudo —, puis Node de la majeure écrite dans .node-version, téléchargé de nodejs.org et vérifié contre sa somme, hors du dépôt : ~/.local/share/gestion_table_tournante_libre, sous Windows %LOCALAPPDATA%\gestion_table_tournante_libre. Node n'exige donc aucun droit d'administration. Sous NixOS, scripts/installation/shell.nix déclare Node, Electron et Chromium, d'un nixpkgs épinglé.

Systèmes éprouvés, en conteneurs, par make verifier_systemes : Ubuntu 24.04, 25.10 et 26.04, Debian 12 et 13 (Proxmox VE 9 en dérive), Fedora 41 à 44, AlmaLinux et Rocky Linux 9 et 10, openSUSE Leap 16.0 et Tumbleweed, Arch Linux, et Nix ; les scripts Windows sous pwsh.

./run.sh lance la coquille Electron sur une session graphique ; sans écran, ou là où Electron n'est pas publié (s390x, ppc64le), il sert l'application à un navigateur sur http://localhost:5173. ./run.sh --web et ./run.sh --electron forcent l'un ou l'autre.

Commandes

commande effet
make lance l'application, comme ./run.sh
make test série node : les fonctions pures, à chaque modification
make test_long épreuves lourdes, avant un commit
make test_navigateur épreuves de rendu dans Chromium, avant une livraison
make build construit la page dans www/
make windows construit l'exécutable Windows portable, sous podman, depuis Linux
make essai_demarrage lance la vraie coquille Electron, lit son titre et ferme
make help toutes les cibles

Chaque cible passe par le Node du projet. Les commandes npm d'origine restent valables avec un Node de la bonne majeure dans le PATH : npm test, npm run dev, npm run build.

L'exécutable porte la version datée du logiciel dans son nom, selon le gabarit gestion_table_tournante_libre_v<AAAA>_<MM>_<JJ>_<NN>.exe.

Licence

© 2026 TechnoLibre. GNU Affero General Public License, version 3 ou ultérieure ; texte complet dans LICENSE.