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 d0f4081961 [ADD] storage: positional placements, faulty versus stale propositions
Placements are stored positionally: per proposition its seed, stop
count, history length and building version, then per round the ordered
tables and the reserve. A proposition that contradicts itself — wrong
length, repeated, unknown or missing id, an id already taken — is named
and left out, and the event still opens. One that no longer matches the
event — person excluded or added, table removed, capacity or rounds
changed — is kept and reported as drift. A named form serves reading.

Checked: 42 tests on the small demonstration; reviewed, mutants killed.

--- FR ---

[ADD] stockage : placements positionnels, fautes et dérives

Les placements se rangent par position : pour chaque proposition sa
graine, son compte d'arrêt, la longueur d'historique et la version qui
l'a produite, puis par tour les tables ordonnées et la réserve. Une
proposition qui se contredit — longueur fausse, identifiant répété,
inconnu, manquant ou déjà pris — est nommée et écartée, et l'événement
s'ouvre. Celle qui ne décrit plus l'événement — personne exclue ou
ajoutée, table retirée, capacité ou tours changés — est gardée et
signalée comme dérive. Une forme nommée sert à la lecture.

Vérifié : 42 épreuves sur la petite démonstration ; revue, mutants tués.

Assisted-by: Claude Opus 5.5
Claude-Session: https://claude.ai/code/session_01EUXSGcwCLSC69FWEdCtWSb
2026-10-06 13:12:20 -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: positional placements, faulty versus stale propositions 2026-10-06 13:12:20 -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.