Vote-time presence scan, rescue codes, websocket heartbeat

Each vote can require N fresh codes read off the projector (default 3,
off for rooms without a projector); voters enrolled with a paper or
rescue code are exempt. Rescue codes enroll a phone without camera.
Projector keeps the QR up while such a vote is open. Server pings every
socket every 25s so proxies keep them open. Composer no longer closes on
enter. Schema migrates existing databases.
This commit is contained in:
2026-11-16 13:48:53 +01:00
parent e328a0983f
commit b2b598d236
15 changed files with 427 additions and 91 deletions
+4 -2
View File
@@ -42,12 +42,14 @@
.q .progress { margin-top: 12px; }
.q .actions { margin-top: 14px; }
.codes-summary { margin: 10px 0; }
.code-actions { display: flex; gap: 6px; align-items: center; flex: none; }
.code-actions input { width: 76px; padding: 7px 10px; }
.card > h2 { margin-bottom: 4px; }
.share-list { padding: 6px 20px; }
.share-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; }
.share-row + .share-row { border-top: 1.5px solid var(--bg); }
.share-row div { display: grid; }
.share-row > div:first-child { display: grid; }
.share-row .muted { font-size: .85rem; }
#composer { border: none; border-radius: 24px; padding: 24px; width: min(94vw, 560px); background: var(--surface); color: var(--ink); }