From e07d62a1250075d850372e87b25ca4b6e049ff75 Mon Sep 17 00:00:00 2001 From: joshua Date: Sat, 24 Oct 2026 16:03:43 +0200 Subject: [PATCH] Roadmap: Hub repo is joshua/events-hub; grace banner for site admins only Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012mt6TCv85T9VKRq3cV7rXq --- apps/events/docs/HANDOVER.md | 2 +- apps/events/docs/ROADMAP-v2.md | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/apps/events/docs/HANDOVER.md b/apps/events/docs/HANDOVER.md index 5490f8e..1fd2600 100644 --- a/apps/events/docs/HANDOVER.md +++ b/apps/events/docs/HANDOVER.md @@ -26,7 +26,7 @@ features is in [FEATURES-ROUND-1.md](./FEATURES-ROUND-1.md). ## Next up 1. **1.41.0 + Hub v1** — install/update tooling and the Hope Events Hub (separate repo - `joshua/hope-events-hub`). + `joshua/events-hub`). ## Working on this repo diff --git a/apps/events/docs/ROADMAP-v2.md b/apps/events/docs/ROADMAP-v2.md index f65d4fb..73b1804 100644 --- a/apps/events/docs/ROADMAP-v2.md +++ b/apps/events/docs/ROADMAP-v2.md @@ -29,7 +29,7 @@ notifications. SnapScan and Zapper are dropped — Yoco and PayFast are enough ( | Repo | What | |------|------| | `joshua/hope-events` (this repo) | The church app. Everything in this document except the Hub app itself — including the Hub *client* (licence step, "Connect to Hub", heartbeat, licence checks) | -| `joshua/hope-events-hub` (new) | The Hub app (§13): its own versions, CHANGELOG, releases and server | +| `joshua/events-hub` (new) | The Hub app (§13): its own versions, CHANGELOG, releases and server | --- @@ -593,7 +593,7 @@ whether they're healthy, basic usage stats, and their **licence** status. ### Separate app, separate repo, separate server -- **Its own git repository:** `joshua/hope-events-hub` on the same Gitea +- **Its own git repository:** `joshua/events-hub` (https://c-git.crosscode.co.za/joshua/events-hub.git) on the same Gitea server (c-git.crosscode.co.za), with its own semver tags, CHANGELOG and deploys. It is never shipped to churches, so none of its code (customers, licence signing key, other churches' data) ends up on a customer's server. @@ -668,7 +668,7 @@ All later calls are signed with the install secret (HMAC) and go over HTTPS. | State | What the install does | |-------|----------------------| | **Active** | Everything works | -| **Grace** (expired or Hub unreachable) | Everything works; admins see a banner "Licence needs renewing — X days left". Default 14 days | +| **Grace** (expired or Hub unreachable) | Everything works; **only site admins** see a banner "Licence needs renewing — X days left" (on their dashboard pages — never supervisors, staff, users or the public site). Default 14 days | | **Suspended** | **Read-only:** no new events, no new registrations or payments. Existing tickets **still scan**, and admins can still view and **export all data** | | **Revoked** | Same as suspended, with a permanent banner | @@ -895,7 +895,7 @@ feature. | 6 | Selling model | **One install per church** — data separation, any server. No multi-tenant. **Multi-campus** inside an install is in scope | | — | Pro-rata rounding | Nearest R10 | | — | Multi-campus | In scope (§12), inside one install | -| — | Central management | **Hope Events Hub** in its **own git repo** (`joshua/hope-events-hub`): installs register on setup, send heartbeats (health, version, aggregate stats), licences switched on/off centrally | +| — | Central management | **Hope Events Hub** in its **own git repo** (`joshua/events-hub`): installs register on setup, send heartbeats (health, version, aggregate stats), licences switched on/off centrally | | 7 | Payment provider order | Yoco · PayFast. Joshua can supply documentation links | | — | SnapScan, Zapper | Dropped (2026-10-23): Yoco and PayFast are enough. Later versions moved up by two | | — | Provider fees | Not deducted or estimated automatically; handled by people during cashup. No "pass fee to payer" | @@ -905,6 +905,7 @@ feature. | — | Hub domain | `events-hub.crosscode.co.za` (2026-10-23) | | — | Licence keys | Generated by the Hub when Joshua clicks "Generate" on a customer (2026-10-23) | | — | Grace period / suspension | 14-day grace; suspended = read-only (tickets still scan, data export still works) (2026-10-23) | +| — | Grace banner, Hub repo, Hub development | The grace-period banner shows **only to site admins**. The Hub repo is `joshua/events-hub` (https://c-git.crosscode.co.za/joshua/events-hub.git); it is developed locally first, then deployed by Joshua (2026-10-24) | | — | Income in the heartbeat | Included, as **ranges** only (R0–R1 000, R1 001–R5 000, …), never exact amounts (2026-10-23) | | — | Licence plans | One plan for now (2026-10-23) | | — | AI in 2.0 | The **headline feature of 2.0**: one-button helpers only (draft an event, summarise reports and feedback, draft messages, improve text) — no chat yet (2026-10-24) |