Skip to content

Releases

v0.2.0

Choose a tag to compare

@qtrcipher qtrcipher released this 24 Aug 18:16

Security hardening and commit-reveal draw integrity

Added

  • Commit-reveal draw seeds: operators commit a server-generated seed hash publicly before the draw, and the draw reveals exactly that seed. Public campaign pages show the committed hash, and draw records carry the commitment timestamp.
  • Explicit "Publish results" step for drawn private campaigns instead of draws force-publishing them.
  • Auth events (login success, failure, rate limiting, logout) are now written to the audit log with hashed subjects.
  • Signed, short-lived lookup tokens gate the public ticket lookup result, closing the unauthenticated ticket-status oracle.
  • Draw verification manifests now freeze every entry with an eligibility flag (bundle schema olm-draw-bundle-v3), so exclusions are publicly auditable; older bundles still verify.

Changed

  • Admin password hashes now use colon separators (scrypt:16384:...) because $ characters in .env files are expanded and corrupted by dotenv-style loaders. Legacy $ hashes still verify when set via real environment variables. Regenerate with npm run hash-password -- "your-password" if login fails after upgrading.
  • Login rate limiting now counts failed attempts only and keys per client, so attacker failures cannot lock out the real admin; rate-limit increments are atomic.
  • Ticket codes now carry 64 bits of entropy (up from 40).
  • Turnstile verification fails closed when only the site key is configured.
  • SMTP receipts require STARTTLS when SMTP_SECURE is off, so credentials are never sent cleartext.
  • Next.js bumped to 16.3.2 and PostCSS to 8.5.26, clearing all npm audit findings.

Operations

  • Production Compose no longer runs prisma db push --accept-data-loss on startup; schema drift now fails loudly so migrations stay deliberate and backed up.
  • The restore script verifies the SQLite file header before swapping in a backup.
  • README, DEPLOYMENT, and .env.example document the dotenv-safe password hash format.

v0.1.21

Choose a tag to compare

@qtrcipher qtrcipher released this 23 Jun 13:26

Audit hardening fixes

Added

  • Tests for trusted public URL generation, spreadsheet formula neutralization, and public verification manifest compatibility.

Changed

  • Ticket receipt lookup links now use PUBLIC_APP_URL instead of request host headers in production.
  • CSV exports now neutralize spreadsheet formula prefixes in participant-controlled text fields.
  • Public draw verification bundles now use public entry and prize keys instead of exposing database IDs.

Operations

  • Deployment, README, environment, and security docs now document production SMTP URL requirements and database-ID-free bundles.
  • Dependabot now ignores Prisma major-version upgrades until a separate migration review is planned.

v0.1.20

Choose a tag to compare

@qtrcipher qtrcipher released this 23 Jun 13:02

Public trust and verification polish

Added

  • Public draw verification bundles with frozen eligible-entry manifests, revealed seeds, manifest hashes, bundle hashes, and an offline npm run verify:draw replay script.
  • Structured campaign disclosure fields for timezone, scheduled draw, sponsor, eligibility, prize value, and jurisdiction notices.
  • Optional SMTP ticket receipts for public entries, optional Cloudflare Turnstile verification, and participant review status controls.

Changed

  • Public draw records now expose enough data for independent replay on new draws while keeping names and emails out of verification bundles.
  • Draw selection now excludes flagged or rejected participants until an admin approves them.
  • Public campaign pages, admin campaign forms, README, deployment docs, and security docs now reflect verification, disclosure, email, Turnstile, and review workflows.

Operations

  • Added Dependabot, CodeQL, OpenSSF Scorecard, and a project code of conduct.
  • Updated environment examples and Content Security Policy for optional SMTP and Turnstile deployments.

v0.1.19

Choose a tag to compare

@qtrcipher qtrcipher released this 23 Jun 10:24

Summary

Security and operations hardening release.

Added

  • Admin login attempts now use SQLite-backed rate limits.
  • Campaigns can require references for public entry and ticket lookup.
  • Docker images now include a runtime health check.

Changed

  • Rate limits ignore forwarded IP headers by default unless TRUST_PROXY_HEADERS is explicitly enabled.
  • Admin dashboard audit export counts now use database count queries instead of loading matching audit logs.
  • Content Security Policy no longer allows unsafe-eval.

Operations

  • Deployment, runbook, security, and contributor docs now document trusted proxy header handling and reference-required lookup.

Quick Start

git clone https://github.com/qtrcipher/open-lottery-manager.git
cd open-lottery-manager
git checkout v0.1.19
cp .env.example .env
npm install
npm run hash-password -- "replace-with-a-strong-password"
docker compose -f docker-compose.prod.yml up --build -d
npm run smoke:deploy -- http://localhost:3000
npm run smoke:e2e -- http://localhost:3000

Compliance Notice

Open Lottery Manager distributes software only. Operators remain responsible for lottery, gambling, promotion, tax, age, prize, advertising, and licensing compliance in their jurisdiction.

v0.1.18

Choose a tag to compare

@qtrcipher qtrcipher released this 23 Jun 09:15

Summary

Main CI E2E smoke check release.

Added

  • CI workflow now runs the Playwright E2E smoke check for pushes to main.

Changed

  • Main-branch CI now seeds demo data, starts the built app, and requires demo campaign, ticket lookup, and draw record pages to render.

Operations

  • Pull requests keep faster checks while main pushes gain page-rendering validation before release prep.

Quick Start

git clone https://github.com/qtrcipher/open-lottery-manager.git
cd open-lottery-manager
git checkout v0.1.18
cp .env.example .env
npm install
npm run hash-password -- "replace-with-a-strong-password"
docker compose -f docker-compose.prod.yml up --build -d
npm run smoke:deploy -- http://localhost:3000
npm run smoke:e2e -- http://localhost:3000

Demo E2E Check

npm run db:seed
npm run smoke:e2e -- http://localhost:3000 --require-demo

Compliance Notice

Open Lottery Manager distributes software only. Operators remain responsible for lottery, gambling, promotion, tax, age, prize, advertising, and licensing compliance in their jurisdiction.

v0.1.17

Choose a tag to compare

@qtrcipher qtrcipher released this 23 Jun 09:04

Summary

Release validation E2E smoke release.

Added

  • Release Tag Validation workflow now runs the Playwright E2E smoke check against a started app.

Changed

  • Release validation now seeds demo data and requires demo campaign, ticket lookup, and draw record pages to render.

Operations

  • Published release tags now verify app startup, SQLite schema setup, seeded demo data, health, and core page rendering before passing validation.

Quick Start

git clone https://github.com/qtrcipher/open-lottery-manager.git
cd open-lottery-manager
git checkout v0.1.17
cp .env.example .env
npm install
npm run hash-password -- "replace-with-a-strong-password"
docker compose -f docker-compose.prod.yml up --build -d
npm run smoke:deploy -- http://localhost:3000
npm run smoke:e2e -- http://localhost:3000

Demo E2E Check

npm run db:seed
npm run smoke:e2e -- http://localhost:3000 --require-demo

Compliance Notice

Open Lottery Manager distributes software only. Operators remain responsible for lottery, gambling, promotion, tax, age, prize, advertising, and licensing compliance in their jurisdiction.

v0.1.16

Choose a tag to compare

@qtrcipher qtrcipher released this 23 Jun 08:52

Summary

E2E smoke QA script release.

Added

  • Playwright-based E2E smoke script for health, public home, admin login, and demo campaign pages.

Changed

  • README, deployment guide, and operator runbook now document npm run smoke:e2e -- http://localhost:3000.

Operations

  • Operators can run optional --require-demo checks after seeding demo data to validate campaign, lookup, and draw record pages.

Quick Start

git clone https://github.com/qtrcipher/open-lottery-manager.git
cd open-lottery-manager
git checkout v0.1.16
cp .env.example .env
npm install
npm run hash-password -- "replace-with-a-strong-password"
docker compose -f docker-compose.prod.yml up --build -d
npm run smoke:deploy -- http://localhost:3000
npm run smoke:e2e -- http://localhost:3000

Demo E2E Check

npm run db:seed
npm run smoke:e2e -- http://localhost:3000 --require-demo

Compliance Notice

Open Lottery Manager distributes software only. Operators remain responsible for lottery, gambling, promotion, tax, age, prize, advertising, and licensing compliance in their jurisdiction.

v0.1.15

Choose a tag to compare

@qtrcipher qtrcipher released this 23 Jun 08:39

Summary

Admin Operations documentation links release.

Added

  • Admin Operations panel links for deployment docs, operator runbook, release guide, and security-header guidance.

Changed

  • Admin Operations panel now groups documentation links and clarifies that dashboard links do not execute maintenance tasks.

Operations

  • Operators can reach deployment, backup, runbook, release, and security-header references from the admin dashboard.

Quick Start

git clone https://github.com/qtrcipher/open-lottery-manager.git
cd open-lottery-manager
git checkout v0.1.15
cp .env.example .env
npm install
npm run hash-password -- "replace-with-a-strong-password"
docker compose -f docker-compose.prod.yml up --build -d
npm run smoke:deploy -- http://localhost:3000

Compliance Notice

Open Lottery Manager distributes software only. Operators remain responsible for lottery, gambling, promotion, tax, age, prize, advertising, and licensing compliance in their jurisdiction.

v0.1.14

Choose a tag to compare

@qtrcipher qtrcipher released this 23 Jun 08:29

Summary

Baseline HTTP security headers release.

Added

  • App-wide baseline browser security headers, including Content Security Policy, frame blocking, content-type sniffing protection, referrer policy, permissions policy, DNS prefetch control, and production HSTS.

Changed

  • Deployment guide now documents reverse proxy handling for app-emitted security headers.

Operations

  • Operators can preserve or intentionally replace the app security headers at the reverse proxy and retest core admin and public flows after policy changes.

Quick Start

git clone https://github.com/qtrcipher/open-lottery-manager.git
cd open-lottery-manager
git checkout v0.1.14
cp .env.example .env
npm install
npm run hash-password -- "replace-with-a-strong-password"
docker compose -f docker-compose.prod.yml up --build -d
npm run smoke:deploy -- http://localhost:3000

Compliance Notice

Open Lottery Manager distributes software only. Operators remain responsible for lottery, gambling, promotion, tax, age, prize, advertising, and licensing compliance in their jurisdiction.

v0.1.13

Choose a tag to compare

@qtrcipher qtrcipher released this 23 Jun 08:18

Summary

Release process documentation release.

Added

  • Release guide documenting version prep, changelog updates, verification, tagging, GitHub release creation, and workflow validation.

Changed

  • README now links maintainers to the release guide.

Operations

  • Maintainers can follow one documented checklist for publishing and validating releases.

Quick Start

git clone https://github.com/qtrcipher/open-lottery-manager.git
cd open-lottery-manager
git checkout v0.1.13
cp .env.example .env
npm install
npm run hash-password -- "replace-with-a-strong-password"
docker compose -f docker-compose.prod.yml up --build -d
npm run smoke:deploy -- http://localhost:3000

Compliance Notice

Open Lottery Manager distributes software only. Operators remain responsible for lottery, gambling, promotion, tax, age, prize, advertising, and licensing compliance in their jurisdiction.