Commit Graph
12 Commits
Author SHA1 Message Date
joshuaandClaude Opus 5.5 5a90c713d8 Deploy script with rollback (1.1.2)
scripts/deploy.sh backs up the database (pg_dump), checks out the release,
runs npm ci, prisma migrate deploy and generate, builds the frontend,
restarts the PM2 apps and health-checks them. Any failure puts back the
previous code and build, and restores the dump if new migrations had run.
deployment.md §12 now uses it. tsconfig.tsbuildinfo leaves git so builds
don't leave the tree dirty.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 23:55:46 +02:00
joshua e4a19f90dc Merge branch 'fix/campuses-row' 2026-10-27 23:50:36 +02:00
joshuaandClaude Opus 5.5 affbde14d0 Show campuses on the install page (1.1.1)
The heartbeat's stats.campuses and stats.campusCount were stored but never
shown. The Usage card now has a Campuses row: Off, or On with the active count.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 23:50:36 +02:00
joshua ccdf18857b Merge branch 'docs/campus-count' 2026-10-27 16:55:55 +02:00
joshuaandClaude Opus 5.5 ed42b963fc Protocol doc: campusCount in the heartbeat (Cross Events 1.43.0)
Optional field, so no protocol version change; the Hub stores stats as-is.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 16:55:54 +02:00
joshua 544e1ec1d3 Merge branch 'feat/update-requests' v1.1.0 2026-10-27 13:55:20 +02:00
joshuaandClaude Opus 5.5 603b2046d4 Update requests from installs (1.1.0)
POST /api/installs/update-request, signed like the heartbeat: opens an
update_requested alert and emails the alert address once; the next heartbeat
on a newer version resolves it. Shares the signature check with the heartbeat
and syncs docs/hub-protocol.md with the install's copy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 13:55:03 +02:00
joshuaandClaude Opus 5.5 0c0666eb40 Release 1.0.1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v1.0.1
2026-10-27 13:39:11 +02:00
joshuaandClaude Opus 5.5 a1e3f9214b Rename to Cross Events Hub; add logo and favicon
Hope Events is now Cross Events. Protocol identifiers (hel1. tokens, CEH- keys)
are unchanged so existing installs keep working.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 13:38:52 +02:00
joshuaandClaude Opus 5.5 dcaa0b1dcf Add deployment guide (frp + FASTPANEL nginx + PM2)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 12:15:26 +02:00
joshuaandClaude Opus 5.5 b24f6a75be Release 1.0.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012mt6TCv85T9VKRq3cV7rXq
v1.0.0
2026-10-26 13:04:09 +02:00
joshuaandClaude Opus 5.5 e72330893a Hub v1: install API, licences, health dashboard, alerts
- Protocol 1 (docs/hub-protocol.md): public key, register, signed heartbeats
- Ed25519 licence tokens (30-day validity, status, expiry, grace, limits)
- Dashboard: installs, install detail, customers and licences, alerts,
  settings and audit log; two-factor login required
- Alert checks every 5 minutes, emailed once; heartbeat roll-up after 30 days
- Unit tests for encryption, tokens, signatures, TOTP and alert rules

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012mt6TCv85T9VKRq3cV7rXq
2026-10-26 12:12:51 +02:00