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 f24896c4a1 [ADD] storage: patches between two payloads, keyed by record id
The journal stores a gesture as a patch from the previous payload, not
a full copy. Records with an id are compared by id, so adding a person
does not shift the others; same-length lists compare element by
element; other values are set whole. Moving one person in one round of
a large plan touches two seat lists. Applying never alters its input
and refuses a patch that does not fit, naming the operation.

Checked: 25 tests including a property over generated payloads.

--- FR ---

[ADD] stockage : correctifs entre deux charges, par identifiant

Le journal range un geste comme un correctif depuis la charge
précédente, non comme une copie entière. Les enregistrements à
identifiant se comparent par identifiant, si bien qu'ajouter une
personne ne décale pas les autres ; les listes de même longueur se
comparent élément par élément ; le reste se pose en entier. Déplacer une
personne à un tour d'un grand plan touche deux listes de sièges.
Appliquer ne modifie jamais son entrée et refuse un correctif qui ne
s'applique pas, en nommant l'opération.

Vérifié : 25 épreuves, dont une propriété sur des charges tirées.

Assisted-by: Claude Opus 5.5
Claude-Session: https://claude.ai/code/session_01EUXSGcwCLSC69FWEdCtWSb
2026-10-06 13:12:23 -04:00
electron [FIX] electron: remove Electron's default English application menu 2026-10-05 13:47:16 -04:00
scripts [ADD] run: make and ./run.sh, Electron start check, container matrix 2026-10-06 05:52:17 -04:00
src [ADD] storage: patches between two payloads, keyed by record id 2026-10-06 13:12:23 -04:00
test [ADD] run: make and ./run.sh, Electron start check, container matrix 2026-10-06 05:52:17 -04:00
.gitattributes [ADD] scripts: Windows install and run through PowerShell 5.1 2026-10-06 05:51:31 -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.