Skip to content

Release v2.1.1: promote v2.1.1-beta to main - #72

Merged
HellFelix merged 33 commits into
mainfrom
stage
Nov 23, 2026
Merged

HellFelix merged 33 commits into
mainfrom
stage

Conversation

@HellFelix

@HellFelix HellFelix commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Promotes stage to main for the full release v2.1.1.

stage is identical to the v2.1.1-beta tag, which ran F-sektionen's Autumn meeting 2026 with no code changes needed. This brings the 2.1 series to main: the backend rewrite around RSA blind signatures (spec in docs/PROTOCOL.md), the new tally format, runtime configuration, and the agenda and attendance features. It also carries the v2.1.0-beta fixes, which the rewrite supersedes.

Upgrading

The deployment and tally format change; see "Upgrading a deployment" in the v2.1.1 release notes. In short: set RUSTSYSTEM_TRUSTED_PROXIES on both containers, port 1444 is gone, and v2.0 tally files need the v2.0 decrypt-tally. Never deploy during a meeting.

After merging

Tag v2.1.1 on the merged main commit and publish the release.

PR text written by Claude

HellFelix and others added 30 commits November 23, 2026 14:56
- 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.
@HellFelix
HellFelix merged commit b0de628 into main Nov 23, 2026
4 of 6 checks passed
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