Merge remote-tracking branch 'origin/main' into feat/app-scaffold
This commit is contained in:
@@ -1,5 +1,18 @@
|
|||||||
# Changelog — Church Website
|
# Changelog — Church Website
|
||||||
|
|
||||||
|
## [1.12.1] — 2026-12-01
|
||||||
|
|
||||||
|
No migration. No new environment settings.
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- **The "With map" layouts showed no map** (Service times, Contact): the map needs the address's
|
||||||
|
`geo`, which Accounts' profile never has. `church/geocode.ts` now looks the address up on
|
||||||
|
OpenStreetMap's Nominatim (the street, else the suburb and city) for what visitors and the
|
||||||
|
preview are shown, and keeps it in AppSetting `church_geocode` with the address it was for
|
||||||
|
(looked up again when the address changes; one not found is tried again after a day). The
|
||||||
|
admin's copy of the profile is left as Accounts has it.
|
||||||
|
|
||||||
## [1.12.0] — 2026-12-01
|
## [1.12.0] — 2026-12-01
|
||||||
|
|
||||||
No migration (the layouts live in `SiteDesign.variants`). No new environment settings.
|
No migration (the layouts live in `SiteDesign.variants`). No new environment settings.
|
||||||
|
|||||||
@@ -3,6 +3,12 @@
|
|||||||
What each version changes for the church, in plain language (read by the Hub like Cross Events'
|
What each version changes for the church, in plain language (read by the Hub like Cross Events'
|
||||||
WHATS-NEW.md; a section shows once its version is tagged).
|
WHATS-NEW.md; a section shows once its version is tagged).
|
||||||
|
|
||||||
|
## 1.12.1
|
||||||
|
|
||||||
|
- **The map now shows.** The "With map" layouts for Service times and Contact find your church's
|
||||||
|
address on the map by themselves. If the map still doesn't show, check the address in **Church
|
||||||
|
details**.
|
||||||
|
|
||||||
## 1.12.0
|
## 1.12.0
|
||||||
|
|
||||||
- **Choose how your Ministries, Leadership, Events, Messages and Contact pages look.** Each has
|
- **Choose how your Ministries, Leadership, Events, Messages and Contact pages look.** Each has
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@crosscode/website-backend",
|
"name": "@crosscode/website-backend",
|
||||||
"version": "1.12.0",
|
"version": "1.12.1",
|
||||||
"description": "Church Website: the public site's content API, the admin API, publishing and uploads",
|
"description": "Church Website: the public site's content API, the admin API, publishing and uploads",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
@@ -0,0 +1,68 @@
|
|||||||
|
/**
|
||||||
|
* The church's place on the map. The "With map" layouts (Service times, Contact) need the address's
|
||||||
|
* `geo`, but Accounts' profile rarely has one (nothing there fills it in), so the map never showed.
|
||||||
|
* When the address has none, it's looked up once on OpenStreetMap's Nominatim (no Google, as the
|
||||||
|
* map itself) and kept in AppSetting `church_geocode` with the address it was for: a new address
|
||||||
|
* is looked up again, one that wasn't found is tried again after a day. Only what visitors are
|
||||||
|
* shown gets it; the admin's copy of the profile is left as Accounts has it.
|
||||||
|
*/
|
||||||
|
import type { Church } from '@crosscode/contracts';
|
||||||
|
import type { Ctx } from '../context.js';
|
||||||
|
|
||||||
|
type Address = NonNullable<Church['contact']['address']>;
|
||||||
|
type Geo = NonNullable<Address['geo']>;
|
||||||
|
type Stored = { query: string; geo: Geo | null; at: number };
|
||||||
|
|
||||||
|
const KEY = 'church_geocode';
|
||||||
|
const RETRY_MS = 24 * 3600e3;
|
||||||
|
const TIMEOUT_MS = 4000;
|
||||||
|
const pending = new Map<string, Promise<Geo | null>>();
|
||||||
|
|
||||||
|
const queryOf = (a: Address, full: boolean) =>
|
||||||
|
(full ? [a.line1, a.line2, a.suburb, a.city, a.province, a.postalCode] : [a.suburb, a.city, a.province]).map((s) => s?.trim()).filter(Boolean).join(', ');
|
||||||
|
|
||||||
|
async function lookup(ctx: Ctx, q: string, country: string): Promise<Geo | null> {
|
||||||
|
const url = `https://nominatim.openstreetmap.org/search?format=jsonv2&limit=1&countrycodes=${encodeURIComponent(country.toLowerCase())}&q=${encodeURIComponent(q)}`;
|
||||||
|
const res = ctx.fetch
|
||||||
|
? await ctx.fetch(url)
|
||||||
|
: await fetch(url, { headers: { accept: 'application/json', 'user-agent': 'CrossCode-Website/1.0 (church website map)' }, signal: AbortSignal.timeout(TIMEOUT_MS) });
|
||||||
|
if (!res.ok) throw new Error(`Nominatim answered ${res.status}`);
|
||||||
|
const hits = (await res.json()) as { lat?: string; lon?: string }[];
|
||||||
|
const lat = Number(hits[0]?.lat), lng = Number(hits[0]?.lon);
|
||||||
|
return Number.isFinite(lat) && Number.isFinite(lng) && Math.abs(lat) <= 90 && Math.abs(lng) <= 180 ? { lat, lng } : null;
|
||||||
|
}
|
||||||
|
|
||||||
|
async function geocode(ctx: Ctx, a: Address): Promise<Geo | null> {
|
||||||
|
const query = queryOf(a, true);
|
||||||
|
if (!query) return null;
|
||||||
|
const stored = await ctx.settings.json<Stored | null>(KEY, null);
|
||||||
|
if (stored?.query === query && (stored.geo || ctx.now().getTime() - stored.at < RETRY_MS)) return stored.geo;
|
||||||
|
// Tests never reach the real Nominatim (they give ctx.fetch when they want a lookup).
|
||||||
|
if (!ctx.fetch && process.env.NODE_TEST_CONTEXT) return null;
|
||||||
|
let p = pending.get(query);
|
||||||
|
if (!p) {
|
||||||
|
p = (async () => {
|
||||||
|
try {
|
||||||
|
// The street can be too exact for OpenStreetMap: then the suburb and city.
|
||||||
|
const geo = (await lookup(ctx, query, a.country)) ?? (queryOf(a, false) ? await lookup(ctx, queryOf(a, false), a.country) : null);
|
||||||
|
await ctx.settings.set(KEY, JSON.stringify({ query, geo, at: ctx.now().getTime() } satisfies Stored));
|
||||||
|
return geo;
|
||||||
|
} catch (e) {
|
||||||
|
console.warn('[church] address not found on the map:', (e as Error).message);
|
||||||
|
return stored?.query === query ? stored.geo : null;
|
||||||
|
} finally {
|
||||||
|
pending.delete(query);
|
||||||
|
}
|
||||||
|
})();
|
||||||
|
pending.set(query, p);
|
||||||
|
}
|
||||||
|
return p;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** The profile with its address's `geo` filled in when it had none. Never throws. */
|
||||||
|
export async function withGeo(ctx: Ctx, church: Church | null): Promise<Church | null> {
|
||||||
|
const a = church?.contact.address;
|
||||||
|
if (!church || !a || a.geo) return church;
|
||||||
|
const geo = await geocode(ctx, a).catch(() => null);
|
||||||
|
return geo ? { ...church, contact: { ...church.contact, address: { ...a, geo } } } : church;
|
||||||
|
}
|
||||||
@@ -7,6 +7,7 @@
|
|||||||
import { TEMPLATE_FONT_PAIRINGS, type Church, type CrosscodeEvent, type WebsiteTemplate } from '@crosscode/contracts';
|
import { TEMPLATE_FONT_PAIRINGS, type Church, type CrosscodeEvent, type WebsiteTemplate } from '@crosscode/contracts';
|
||||||
import type { Ctx } from '../context.js';
|
import type { Ctx } from '../context.js';
|
||||||
import { churchProfile } from '../church/profile.js';
|
import { churchProfile } from '../church/profile.js';
|
||||||
|
import { withGeo } from '../church/geocode.js';
|
||||||
import { buildPalette, type Palette } from './palette.js';
|
import { buildPalette, type Palette } from './palette.js';
|
||||||
import { buildSnapshot, framed, imageOf, mediaUrl, publishedSnapshot, type Image, type Snapshot } from './snapshot.js';
|
import { buildSnapshot, framed, imageOf, mediaUrl, publishedSnapshot, type Image, type Snapshot } from './snapshot.js';
|
||||||
import { headerIsTransparent, TEMPLATE_STYLE, type Variant } from './variants.js';
|
import { headerIsTransparent, TEMPLATE_STYLE, type Variant } from './variants.js';
|
||||||
@@ -156,13 +157,13 @@ async function liveEvents(ctx: Ctx): Promise<SiteEvent[]> {
|
|||||||
|
|
||||||
/** What visitors see: the latest published version, else Coming soon. */
|
/** What visitors see: the latest published version, else Coming soon. */
|
||||||
export async function siteContent(ctx: Ctx): Promise<SiteContent> {
|
export async function siteContent(ctx: Ctx): Promise<SiteContent> {
|
||||||
const [church, published] = await Promise.all([churchProfile(ctx), publishedSnapshot(ctx)]);
|
const [church, published] = await Promise.all([churchProfile(ctx).then((c) => withGeo(ctx, c)), publishedSnapshot(ctx)]);
|
||||||
return contentFrom(ctx, church, published);
|
return contentFrom(ctx, church, published);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** The preview (§4): the working copy as it would look published, whatever was published before. */
|
/** The preview (§4): the working copy as it would look published, whatever was published before. */
|
||||||
export async function previewContent(ctx: Ctx, opts: { asTemplate?: WebsiteTemplate } = {}): Promise<SiteContent> {
|
export async function previewContent(ctx: Ctx, opts: { asTemplate?: WebsiteTemplate } = {}): Promise<SiteContent> {
|
||||||
const [church, snapshot] = await Promise.all([churchProfile(ctx), buildSnapshot(ctx, opts)]);
|
const [church, snapshot] = await Promise.all([churchProfile(ctx).then((c) => withGeo(ctx, c)), buildSnapshot(ctx, opts)]);
|
||||||
return contentFrom(ctx, church, { number: 0, publishedAt: ctx.now(), snapshot });
|
return contentFrom(ctx, church, { number: 0, publishedAt: ctx.now(), snapshot });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -128,6 +128,29 @@ describe('the public site\'s content', () => {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
it("finds the church's address on the map once when Accounts has no geo (the With map layouts)", async () => {
|
||||||
|
const h = await harness({ linked: false });
|
||||||
|
const base = demoProfile('http://x.test');
|
||||||
|
const address = { ...base.contact.address!, geo: null };
|
||||||
|
await h.ctx.settings.set('church_profile_local', JSON.stringify({ ...base, contact: { ...base.contact, address } }));
|
||||||
|
const asked: string[] = [];
|
||||||
|
let answer: unknown[] = [{ lat: '-25.75', lon: '28.19' }];
|
||||||
|
h.ctx.fetch = async (url) => { asked.push(url); return new Response(JSON.stringify(answer), { headers: { 'content-type': 'application/json' } }); };
|
||||||
|
assert.deepEqual((await siteContent(h.ctx)).church?.contact.address?.geo, { lat: -25.75, lng: 28.19 });
|
||||||
|
assert.deepEqual((await siteContent(h.ctx)).church?.contact.address?.geo, { lat: -25.75, lng: 28.19 });
|
||||||
|
assert.equal(asked.length, 1, 'kept, not asked again');
|
||||||
|
assert.match(asked[0]!, /^https:\/\/nominatim\.openstreetmap\.org\/search\?.*countrycodes=za.*12%20Acacia%20Avenue/);
|
||||||
|
// A new address that isn't found: the street, then the suburb and city; no geo, no map.
|
||||||
|
answer = [];
|
||||||
|
await h.ctx.settings.set('church_profile_local', JSON.stringify({ ...base, contact: { ...base.contact, address: { ...address, line1: '1 Nowhere Road' } } }));
|
||||||
|
assert.equal((await siteContent(h.ctx)).church?.contact.address?.geo, null);
|
||||||
|
assert.equal(asked.length, 3);
|
||||||
|
// A profile that has its geo already is left alone.
|
||||||
|
await h.ctx.settings.set('church_profile_local', JSON.stringify(base));
|
||||||
|
assert.deepEqual((await siteContent(h.ctx)).church?.contact.address?.geo, base.contact.address!.geo);
|
||||||
|
assert.equal(asked.length, 3);
|
||||||
|
});
|
||||||
|
|
||||||
for (const profile of agent.WEBSITE_DEMO_PROFILES) {
|
for (const profile of agent.WEBSITE_DEMO_PROFILES) {
|
||||||
it(`1.3.0: loads the ${profile} demo, keeping the church's own profile and naming it`, async () => {
|
it(`1.3.0: loads the ${profile} demo, keeping the church's own profile and naming it`, async () => {
|
||||||
const h = await harness({ linked: false });
|
const h = await harness({ linked: false });
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@crosscode/website-frontend",
|
"name": "@crosscode/website-frontend",
|
||||||
"version": "1.12.0",
|
"version": "1.12.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "Church Website: the church's public site in its template, and the admin",
|
"description": "Church Website: the church's public site in its template, and the admin",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -38,8 +38,8 @@ The Bible publishers' terms were checked ([BIBLE-PERMISSIONS.md](./BIBLE-PERMISS
|
|||||||
uses only the free translations, the KJV and the Berean Standard Bible (decision 14, contracts 1.22.0).
|
uses only the free translations, the KJV and the Berean Standard Bible (decision 14, contracts 1.22.0).
|
||||||
**Now: `app@1.0.0`** (§15), built in slices (HANDOVER, "Next up"). The foundation is done
|
**Now: `app@1.0.0`** (§15), built in slices (HANDOVER, "Next up"). The foundation is done
|
||||||
(2026-12-01, `apps/app` on the branch `feat/app-scaffold`, pushed, merged into main when 1.0.0 is done; not released: §1, §2, the roles and active members of §10, the Hub
|
(2026-12-01, `apps/app` on the branch `feat/app-scaffold`, pushed, merged into main when 1.0.0 is done; not released: §1, §2, the roles and active members of §10, the Hub
|
||||||
client of §12), then the House of Prayer (§3) and prayer requests (§4), all 2026-12-01; announcements,
|
client of §12), then the House of Prayer (§3), prayer requests (§4), and announcements, devotionals and
|
||||||
devotionals and events are next.
|
events (§5–§7), all 2026-12-01; email and WhatsApp (§8) are next.
|
||||||
|
|
||||||
**Who uses 1.0:** the demo church (cross-demo2, Acacia Hill) first, then Hope Family Church. Then
|
**Who uses 1.0:** the demo church (cross-demo2, Acacia Hill) first, then Hope Family Church. Then
|
||||||
it goes on sale (crosscode-site, ROADMAP §9).
|
it goes on sale (crosscode-site, ROADMAP §9).
|
||||||
@@ -559,7 +559,7 @@ data that describes **the same church**, so a demo shows the three products work
|
|||||||
|
|
||||||
| Repo | Change | Version |
|
| Repo | Change | Version |
|
||||||
|------|--------|---------|
|
|------|--------|---------|
|
||||||
| `crosscode-platform` `apps/app` | New (§1–§12), with `CHANGELOG.md`, `WHATS-NEW.md`, `env.template.json`, e2e, demo data | `app@1.0.0` (**being built** on `feat/app-scaffold`; the foundation, §3 and §4 done 2026-12-01) |
|
| `crosscode-platform` `apps/app` | New (§1–§12), with `CHANGELOG.md`, `WHATS-NEW.md`, `env.template.json`, e2e, demo data | `app@1.0.0` (**being built** on `feat/app-scaffold`; the foundation and §3–§7 done 2026-12-01) |
|
||||||
| `crosscode-platform` `packages/contracts` | `app` in `DEMO_PRODUCTS`, `APP_MODULES`, the `app` part of the church export, `crosscode.devotional/1` and its CSV rules, the translations, `messaging.get`, `whatsapp.optout` | `contracts@1.20.0` (**released 2026-11-30**) |
|
| `crosscode-platform` `packages/contracts` | `app` in `DEMO_PRODUCTS`, `APP_MODULES`, the `app` part of the church export, `crosscode.devotional/1` and its CSV rules, the translations, `messaging.get`, `whatsapp.optout` | `contracts@1.20.0` (**released 2026-11-30**) |
|
||||||
| `crosscode-platform` `packages/contracts` | `agent.DEMO_SCENARIOS`, `scenario` in `seed-demo`, `accounts` in `DEMO_PRODUCTS` | `contracts@1.21.0` (**released 2026-11-30**) |
|
| `crosscode-platform` `packages/contracts` | `agent.DEMO_SCENARIOS`, `scenario` in `seed-demo`, `accounts` in `DEMO_PRODUCTS` | `contracts@1.21.0` (**released 2026-11-30**) |
|
||||||
| `crosscode-platform` `packages/contracts` | The free translations only in 1.0 (`licence`, `FREE_BIBLE_TRANSLATION_IDS`, the CSV `translations` option), the Berean Standard Bible (`BSB`) added; the publishers' exact notices (`copyright`, `acknowledgement`, the Bible Society's `disclaimer`), `publisher` and `permissionsUrl`, `FREE_QUOTE_VERSES`, `quotedVerses`; `AFR83` named "Afrikaans 1983/1992-vertaling" | `contracts@1.22.0` (**released 2026-11-30**) |
|
| `crosscode-platform` `packages/contracts` | The free translations only in 1.0 (`licence`, `FREE_BIBLE_TRANSLATION_IDS`, the CSV `translations` option), the Berean Standard Bible (`BSB`) added; the publishers' exact notices (`copyright`, `acknowledgement`, the Bible Society's `disclaimer`), `publisher` and `permissionsUrl`, `FREE_QUOTE_VERSES`, `quotedVerses`; `AFR83` named "Afrikaans 1983/1992-vertaling" | `contracts@1.22.0` (**released 2026-11-30**) |
|
||||||
@@ -571,7 +571,7 @@ data that describes **the same church**, so a demo shows the three products work
|
|||||||
| `crosscode-platform` `apps/agent` | `seed-demo` for `app` and `accounts`, `--scenario` passed on; `seed-scenario` (the whole scenario on what's installed) | `agent@1.7.0` (**released 2026-11-30**) |
|
| `crosscode-platform` `apps/agent` | `seed-demo` for `app` and `accounts`, `--scenario` passed on; `seed-scenario` (the whole scenario on what's installed) | `agent@1.7.0` (**released 2026-11-30**) |
|
||||||
| `crosscode-platform` `packages/demo` | New: the scenarios' churches, people (`gender` from 1.1.0) and SVG logos | `@crosscode/demo` 1.1.0 (workspace, **released with Accounts 1.9.0 / Events 3.8.0**) |
|
| `crosscode-platform` `packages/demo` | New: the scenarios' churches, people (`gender` from 1.1.0) and SVG logos | `@crosscode/demo` 1.1.0 (workspace, **released with Accounts 1.9.0 / Events 3.8.0**) |
|
||||||
| `crosscode-platform` `packages/ui` | The tab bar and bottom sheet, if worth sharing; otherwise nothing | workspace |
|
| `crosscode-platform` `packages/ui` | The tab bar and bottom sheet, if worth sharing; otherwise nothing | workspace |
|
||||||
| `crosscode-platform` `packages/seo` | `Article` builder for devotionals and announcements; the icon generator for the manifest | workspace |
|
| `crosscode-platform` `packages/seo` | `Article` builder for devotionals and announcements (`articleJsonLd`, **done** on `feat/app-scaffold`); the icon generator for the manifest | `@crosscode/seo` 1.1.0 (workspace) |
|
||||||
| `crosscode-platform` `scripts/` | `products/app.sh`, `app.env.template.json`, bats tests | — |
|
| `crosscode-platform` `scripts/` | `products/app.sh`, `app.env.template.json`, bats tests | — |
|
||||||
| `events-hub` | App in New install, its releases, env template, billing on the band, renewal check, FastPanel email, Devotionals (write, schedule up to two years ahead, Import CSV in the free translations, the endpoint for Apps), **Load a demo scenario** on a demo client (one `seed-scenario` job; vendored contracts 1.23.0) | Hub `v2.26.0` (**released 2026-11-30**); `v2.26.1`: two years ahead, Apps fetch 2 weeks (**released 2026-11-30**) |
|
| `events-hub` | App in New install, its releases, env template, billing on the band, renewal check, FastPanel email, Devotionals (write, schedule up to two years ahead, Import CSV in the free translations, the endpoint for Apps), **Load a demo scenario** on a demo client (one `seed-scenario` job; vendored contracts 1.23.0) | Hub `v2.26.0` (**released 2026-11-30**); `v2.26.1`: two years ahead, Apps fetch 2 weeks (**released 2026-11-30**) |
|
||||||
| `crosscode-site` | Church App on sale (ROADMAP §9): its page, the active-member tiers, House of Prayer screenshots, the bundle examples (§10), FAQ, `SoftwareApplication` JSON-LD | `v1.10.0` |
|
| `crosscode-site` | Church App on sale (ROADMAP §9): its page, the active-member tiers, House of Prayer screenshots, the bundle examples (§10), FAQ, `SoftwareApplication` JSON-LD | `v1.10.0` |
|
||||||
@@ -620,7 +620,7 @@ data that describes **the same church**, so a demo shows the three products work
|
|||||||
first 3 months of Cross Code devotionals written or imported, in the KJV or BSB (decision 14).
|
first 3 months of Cross Code devotionals written or imported, in the KJV or BSB (decision 14).
|
||||||
**Done:** the Hub runs 2.26.1 and holds two years (Joshua, 2026-12-01).
|
**Done:** the Hub runs 2.26.1 and holds two years (Joshua, 2026-12-01).
|
||||||
4. `app@1.0.0` tagged after the e2e and Lighthouse runs. **Being built** from 2026-12-01 on `feat/app-scaffold` (merged into main when done): the
|
4. `app@1.0.0` tagged after the e2e and Lighthouse runs. **Being built** from 2026-12-01 on `feat/app-scaffold` (merged into main when done): the
|
||||||
foundation, the House of Prayer and prayer requests are done (`apps/app/CHANGELOG.md`, "Unreleased"); the slices are in the HANDOVER.
|
foundation, the House of Prayer, prayer requests, and announcements, devotionals and events are done (`apps/app/CHANGELOG.md`, "Unreleased"); the slices are in the HANDOVER.
|
||||||
5. **cross-demo2** (Acacia Hill): New install → App, every demo scenario loaded once, the
|
5. **cross-demo2** (Acacia Hill): New install → App, every demo scenario loaded once, the
|
||||||
throwaway test above.
|
throwaway test above.
|
||||||
6. **Hope Family Church:** New install → App; the prayer coordinators set the wall up before it's
|
6. **Hope Family Church:** New install → App; the prayer coordinators set the wall up before it's
|
||||||
|
|||||||
+11
-4
@@ -35,7 +35,7 @@ every release).
|
|||||||
| 4 | Cross Events 3.0.0: sign-in through Accounts | **Released, rolled out and tested** (`events@3.9.0` rolled out 2026-12-01, with phase 6's 3.8.0; [EVENTS-3.0-PLAN.md](./EVENTS-3.0-PLAN.md)). Churches sign in through their Accounts; crosscode-site `v1.6.0` deployed |
|
| 4 | Cross Events 3.0.0: sign-in through Accounts | **Released, rolled out and tested** (`events@3.9.0` rolled out 2026-12-01, with phase 6's 3.8.0; [EVENTS-3.0-PLAN.md](./EVENTS-3.0-PLAN.md)). Churches sign in through their Accounts; crosscode-site `v1.6.0` deployed |
|
||||||
| 4+ | Running it: jobs from the dashboard, styled emails, .env from the Hub, sign-in health, the nightly people check; then frp config and one-product uninstalls, and the Hub's popups, pickers and port list | **Released, deployed and tested** 2026-11-20 and 2026-11-23 (below) |
|
| 4+ | Running it: jobs from the dashboard, styled emails, .env from the Hub, sign-in health, the nightly people check; then frp config and one-product uninstalls, and the Hub's popups, pickers and port list | **Released, deployed and tested** 2026-11-20 and 2026-11-23 (below) |
|
||||||
| 5 | Church Website 1.0.0 | **Released 2026-11-26** (planned 2026-11-21: [WEBSITE-1.0-PLAN.md](./WEBSITE-1.0-PLAN.md), all decisions confirmed). Font pairings confirmed 2026-11-24, section variants per template 2026-11-25 (§3). `contracts@1.17.0`, `accounts@1.7.0` and `events@3.7.0` released 2026-11-24, Hub `v2.21.0` 2026-11-25 (the Hub deployed 2026-11-25; the others not rolled out yet). `contracts@1.18.0` and Hub `v2.22.0` (Get more storage) released 2026-11-25, the Hub deployed 2026-11-26. **`website@1.0.0` and `1.0.1` released 2026-11-26**, crosscode-site `v1.7.0` (the Website on sale) released 2026-11-26. **Done** (confirmed by Joshua 2026-11-30): crosscode-site deployed, Hope Family Church and a second church live, the remaining release checks finished. Now `website@1.12.0` (VERSIONS.md) |
|
| 5 | Church Website 1.0.0 | **Released 2026-11-26** (planned 2026-11-21: [WEBSITE-1.0-PLAN.md](./WEBSITE-1.0-PLAN.md), all decisions confirmed). Font pairings confirmed 2026-11-24, section variants per template 2026-11-25 (§3). `contracts@1.17.0`, `accounts@1.7.0` and `events@3.7.0` released 2026-11-24, Hub `v2.21.0` 2026-11-25 (the Hub deployed 2026-11-25; the others not rolled out yet). `contracts@1.18.0` and Hub `v2.22.0` (Get more storage) released 2026-11-25, the Hub deployed 2026-11-26. **`website@1.0.0` and `1.0.1` released 2026-11-26**, crosscode-site `v1.7.0` (the Website on sale) released 2026-11-26. **Done** (confirmed by Joshua 2026-11-30): crosscode-site deployed, Hope Family Church and a second church live, the remaining release checks finished. Now `website@1.12.0` (VERSIONS.md) |
|
||||||
| 6 | Church App 1.0.0 | **Under way** (planned and started 2026-11-30): [APP-1.0-PLAN.md](./APP-1.0-PLAN.md), decisions confirmed 2026-11-30 (decision 13, the demo scenarios, added the same day); mockup on the Design canvas "Church App 1.0 mockup". Released 2026-11-30: `contracts@1.20.0` to `1.24.0`, `accounts@1.9.0`, `events@3.8.0`, `website@1.8.0`, `agent@1.7.0`, Hub `v2.26.0` and `v2.26.1` (all deployed by 2026-12-01; the Hub with two years of Cross Code's devotionals; below). **`app@1.0.0` being built** from 2026-12-01 on the branch `feat/app-scaffold` (pushed; merged into main only when 1.0.0 is done): the foundation, the House of Prayer and prayer requests done (slices 1–3 of 8); announcements, devotionals and events next |
|
| 6 | Church App 1.0.0 | **Under way** (planned and started 2026-11-30): [APP-1.0-PLAN.md](./APP-1.0-PLAN.md), decisions confirmed 2026-11-30 (decision 13, the demo scenarios, added the same day); mockup on the Design canvas "Church App 1.0 mockup". Released 2026-11-30: `contracts@1.20.0` to `1.24.0`, `accounts@1.9.0`, `events@3.8.0`, `website@1.8.0`, `agent@1.7.0`, Hub `v2.26.0` and `v2.26.1` (all deployed by 2026-12-01; the Hub with two years of Cross Code's devotionals; below). **`app@1.0.0` being built** from 2026-12-01 on the branch `feat/app-scaffold` (pushed; merged into main only when 1.0.0 is done): the foundation, the House of Prayer, prayer requests, and announcements, devotionals and events done (slices 1–4 of 8); email and WhatsApp next |
|
||||||
| 7 | App 1.x | Not started |
|
| 7 | App 1.x | Not started |
|
||||||
|
|
||||||
## Released 2026-11-30 (phase 6, first steps)
|
## Released 2026-11-30 (phase 6, first steps)
|
||||||
@@ -173,9 +173,16 @@ Joshua 2026-11-30; VERSIONS.md, "Deployed / rolled out").
|
|||||||
"I prayed" counts; closing after 30 days, deleted a year later; every view of a sender
|
"I prayed" counts; closing after 30 days, deleted a year later; every view of a sender
|
||||||
access-logged. Migration `prayer_requests`. 78 backend tests in all; both slices
|
access-logged. Migration `prayer_requests`. 78 backend tests in all; both slices
|
||||||
checked in a browser on a throwaway PostgreSQL.
|
checked in a browser on a throwaway PostgreSQL.
|
||||||
4. **Announcements, devotionals and events** (§5–§7): Cross Code's devotionals fetched each
|
4. ~~**Announcements, devotionals and events**~~ (done 2026-12-01, not released):
|
||||||
night from the Hub (`from` = today in the church's timezone; the App replaces its copy of
|
announcements for everyone or members (pinned, a campus, a publish time and an end);
|
||||||
those 14 days and keeps the rest), the church's own with the CSV import, the event feed.
|
Cross Code's devotionals fetched each night from the Hub (`from` = today in the church's
|
||||||
|
timezone; exactly those 14 days replaced, the rest kept) or the church's own with the
|
||||||
|
Hub's CSV import, KJV and BSB only, Read in YouVersion, the Acknowledgements page; simple
|
||||||
|
events and the event feed both ways (as the Website's); Article and Event JSON-LD, a
|
||||||
|
sitemap. Migration `content`; `@crosscode/seo` 1.1.0 (`articleJsonLd`, workspace).
|
||||||
|
94 backend tests; checked in a browser on a throwaway PostgreSQL. **Not yet:** images
|
||||||
|
are web addresses until the App's uploads come (slice 6, with backups and the export);
|
||||||
|
announcement and devotional sends wait for slice 5.
|
||||||
5. **Email and WhatsApp** (§8): the church's settings from Accounts (`messaging.get`), the
|
5. **Email and WhatsApp** (§8): the church's settings from Accounts (`messaging.get`), the
|
||||||
STOP check before every WhatsApp, the sends and their counts.
|
STOP check before every WhatsApp, the sends and their counts.
|
||||||
6. **The rest of the admin** (§10): side menu, setup checklist, members and roles, settings,
|
6. **The rest of the admin** (§10): side menu, setup checklist, members and roles, settings,
|
||||||
|
|||||||
+9
-4
@@ -11,7 +11,7 @@ separately below; the two often differ.
|
|||||||
| What | Repo | Latest | Tag | Released |
|
| What | Repo | Latest | Tag | Released |
|
||||||
|------|------|--------|-----|----------|
|
|------|------|--------|-----|----------|
|
||||||
| Cross Events | `crosscode-platform` (`apps/events`) | **3.9.0** | `events@3.9.0` | 2026-12-01 |
|
| Cross Events | `crosscode-platform` (`apps/events`) | **3.9.0** | `events@3.9.0` | 2026-12-01 |
|
||||||
| Church Website | `crosscode-platform` (`apps/website`) | **1.12.0** | `website@1.12.0` | 2026-12-01 |
|
| Church Website | `crosscode-platform` (`apps/website`) | **1.12.1** | `website@1.12.1` | 2026-12-01 |
|
||||||
| Accounts | `crosscode-platform` (`apps/accounts`) | **1.10.0** | `accounts@1.10.0` | 2026-12-01 |
|
| Accounts | `crosscode-platform` (`apps/accounts`) | **1.10.0** | `accounts@1.10.0` | 2026-12-01 |
|
||||||
| Server agent | `crosscode-platform` (`apps/agent`) | **1.7.0** | `agent@1.7.0` | 2026-11-30 |
|
| Server agent | `crosscode-platform` (`apps/agent`) | **1.7.0** | `agent@1.7.0` | 2026-11-30 |
|
||||||
| Contracts | `crosscode-platform` (`packages/contracts`) | **1.24.0** | `contracts@1.24.0` | 2026-11-30 |
|
| Contracts | `crosscode-platform` (`packages/contracts`) | **1.24.0** | `contracts@1.24.0` | 2026-11-30 |
|
||||||
@@ -31,7 +31,7 @@ on each run, so merging to `main` and pushing releases it. Its changes are liste
|
|||||||
| `@crosscode/demo` | `packages/demo` | 1.1.0 (the demo scenarios' churches, people and logos; ships with Accounts 1.9.0, Events 3.8.0 and Website 1.8.0) |
|
| `@crosscode/demo` | `packages/demo` | 1.1.0 (the demo scenarios' churches, people and logos; ships with Accounts 1.9.0, Events 3.8.0 and Website 1.8.0) |
|
||||||
| `@crosscode/seo` | `packages/seo` | 1.0.0 (released with Events 2.4.0) |
|
| `@crosscode/seo` | `packages/seo` | 1.0.0 (released with Events 2.4.0) |
|
||||||
| `@crosscode/ui` | `packages/ui` | 0.4.0 (fonts, `ChurchFooter`, `ColourField`; 0.2.0 with Accounts 1.7.0, 0.3.0 with Events 3.7.0, 0.4.0 with Accounts 1.10.0 and Website 1.9.0) |
|
| `@crosscode/ui` | `packages/ui` | 0.4.0 (fonts, `ChurchFooter`, `ColourField`; 0.2.0 with Accounts 1.7.0, 0.3.0 with Events 3.7.0, 0.4.0 with Accounts 1.10.0 and Website 1.9.0) |
|
||||||
| Website | `apps/website` | 1.12.0 (1.0.0–1.1.0 released 2026-11-26, 1.2.0–1.7.0 on 2026-11-27, 1.7.1 on 2026-11-28, 1.8.0 on 2026-11-30, 1.9.0 to 1.12.0 on 2026-12-01; tagged as `website@…`; see "Deployed / rolled out" for where it runs) |
|
| Website | `apps/website` | 1.12.1 (1.0.0–1.1.0 released 2026-11-26, 1.2.0–1.7.0 on 2026-11-27, 1.7.1 on 2026-11-28, 1.8.0 on 2026-11-30, 1.9.0 to 1.12.1 on 2026-12-01; tagged as `website@…`; see "Deployed / rolled out" for where it runs) |
|
||||||
| App | `apps/app` | 0.0.0 on main (a placeholder); 0.1.0 on the branch `feat/app-scaffold`, being built from 2026-12-01 (phase 6; not released, merged and tagged `app@1.0.0` when the plan is built) |
|
| App | `apps/app` | 0.0.0 on main (a placeholder); 0.1.0 on the branch `feat/app-scaffold`, being built from 2026-12-01 (phase 6; not released, merged and tagged `app@1.0.0` when the plan is built) |
|
||||||
|
|
||||||
These shared packages ship inside the apps that use them, from the same checkout, so they don't
|
These shared packages ship inside the apps that use them, from the same checkout, so they don't
|
||||||
@@ -39,6 +39,11 @@ need their own tags until something outside this repo depends on them.
|
|||||||
|
|
||||||
## What each latest release was for
|
## What each latest release was for
|
||||||
|
|
||||||
|
- **Website 1.12.1 (2026-12-01):** the "With map" layouts (Service times, Contact) showed no map,
|
||||||
|
because Accounts' profile has no `geo`; the Website now looks the address up on OpenStreetMap's
|
||||||
|
Nominatim and keeps it. No migration, no contracts change, works with any Accounts. Checked: the
|
||||||
|
Website backend tests (157). **Deployed** 2026-12-01.
|
||||||
|
|
||||||
- **Website 1.12.0 (2026-12-01):** the Ministries, Leadership, Events, Messages and Contact pages
|
- **Website 1.12.0 (2026-12-01):** the Ministries, Leadership, Events, Messages and Contact pages
|
||||||
each get three layouts, set on the page in Pages or together under Template and style → Other
|
each get three layouts, set on the page in Pages or together under Template and style → Other
|
||||||
pages, with the template's suggestion marked; a site saved before keeps its pages' look until
|
pages, with the template's suggestion marked; a site saved before keeps its pages' look until
|
||||||
@@ -488,6 +493,6 @@ you deploy one.
|
|||||||
| Agent on the central server | 1.7.0 | 2026-12-01 | Demo scenarios (`seed-scenario`) |
|
| Agent on the central server | 1.7.0 | 2026-12-01 | Demo scenarios (`seed-scenario`) |
|
||||||
| Cross Events (churches) | 3.9.0 | 2026-12-01 | The church's details from Accounts everywhere, SVG logos in PDFs |
|
| Cross Events (churches) | 3.9.0 | 2026-12-01 | The church's details from Accounts everywhere, SVG logos in PDFs |
|
||||||
| Accounts (churches) | 1.10.0 | 2026-12-01 | The shared colour field in Church profile |
|
| Accounts (churches) | 1.10.0 | 2026-12-01 | The shared colour field in Church profile |
|
||||||
| Church Website (cross-demo2, the demo church) | 1.12.0 | 2026-12-01 | Three layouts for each listing page; block layouts and backgrounds, a video for the top of the page (1.11.0); home page laid out from its editor (1.10.0); section backgrounds (1.9.0) |
|
| Church Website (cross-demo2, the demo church) | 1.12.1 | 2026-12-01 | The With map layouts show the map (1.12.1); three layouts for each listing page (1.12.0); block layouts and backgrounds, a video for the top of the page (1.11.0); home page laid out from its editor (1.10.0); section backgrounds (1.9.0) |
|
||||||
| cross-demo2 (demo church) | Accounts 1.10.0, Cross Events 3.9.0, Church Website 1.12.0 | 2026-12-01 | The first Church Website install (`demo2.crosscode.co.za`) |
|
| cross-demo2 (demo church) | Accounts 1.10.0, Cross Events 3.9.0, Church Website 1.12.1 | 2026-12-01 | The first Church Website install (`demo2.crosscode.co.za`) |
|
||||||
| crosscode.co.za | 1.9.1 | 2026-11-28 | Web address examples say yourchurch |
|
| crosscode.co.za | 1.9.1 | 2026-11-28 | Web address examples say yourchurch |
|
||||||
|
|||||||
Reference in New Issue
Block a user