Skip to content

Stage - #71

Closed
HellFelix wants to merge 33 commits into
mainfrom
stage
Closed

HellFelix wants to merge 33 commits into
mainfrom
stage

Conversation

@HellFelix

Copy link
Copy Markdown
Collaborator

Merge 2.1.1 onto main, tested at Autumn meeting 2026.

HellFelix and others added 30 commits March 7, 2026 17:05
- The voter list remove button now shows for all voters except the currently logged-in user (previously hidden for all hosts). Hosts can now be kicked by other hosts, but cannot kick themselves.                                                                                         
- getSessionIds now throws on non-OK responses, consistent with other API helpers.
- The admin page gains the same sessionValid session-check pattern used on the meeting page: a refreshSession callback polls /api/common/vote-progress every 10 seconds and on 401 sets the session invalid. The initial data load also detects 401 immediately. When the session is invalid, a "Not an administrator" panel is shown instead of the normal admin UI which is necessary because a host can now be removed mid-session by another host.
…tacks, potentially granting unjustified host privilages. Now, hosts are authenticated via a simpler opaque random token.
…akes sure that even if the fronted bugs out completely, the system doesn't fail silenlty and the voter may try again
…ally files to prevent confusion in the case of corrupted files
…terUnrecognized for more descriptive error messages
…uirements. This nullifies the need for separate toml files and allows for direct deployment through deploy.sh
  v2.0 could link ballots to voters. v2.1 rebuilds the backend around the
  protocol; the frontend looks the same.

  - Ballots are blind-signed (RFC 9474) and submitted with no login;
    trustauth stores only which voters have signed
  - No secrets in the browser: HttpOnly cookies keep voters logged in,
    and a refreshed page shows whether they have voted
  - Hosts see eligible / signed / received counts for every round
  - One lock and phase enum per meeting; all rules unit-tested
  - Tally files: per-meeting Argon2id salt, run in a Web Worker
  - Configuration read at runtime; Debian bookworm images; rate limits
    work behind the reverse proxy (RUSTSYSTEM_TRUSTED_PROXIES)

  BREAKING: v2.0 tally files can't be read by the new decrypt-tally,
  and the server no longer listens on 1444.
v2.1 rewrites the backend and replaces the branches merged into stage
since 3689701, so the result is exactly v2.1.1-beta's files.
@HellFelix HellFelix closed this Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant