Events 3.8.0, @crosscode/demo 1.1.0: STOP stops all WhatsApp, demo scenarios
Events 3.8.0 (one migration): - STOP to the church's WhatsApp number stops all WhatsApp, not only news: checked before every sendText/sendPdf against WhatsAppStop (by number) and User.whatsappOptedOut (from Accounts' user.updated); 2FA codes go by email - a STOP received here is passed on to Accounts (whatsapp.optout); START turns it back on without Accounts; Accounts turning it back on clears it here - the eight demo scenarios as set-demo profiles, around each church's own people (@crosscode/demo, same accounts as Accounts) and campuses; the scenario's people are never removed from Accounts @crosscode/demo 1.1.0: each person's gender. crosscode script: scenarios as Events demo profiles; Events builds packages/demo. Checked on PostgreSQL 18: the migration and every scenario loaded. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -115,7 +115,7 @@ wait 1.3.0" ]
|
||||
[[ "$output" == *"heritage-parish"* ]]
|
||||
run cmd_demo hope website --profile clean-campus --admin-email jane@hope.test
|
||||
[ "$status" -eq 1 ]
|
||||
run cmd_demo hope --profile clean-campus
|
||||
run cmd_demo hope --profile clean-campus --admin-email not-an-email
|
||||
[ "$status" -eq 1 ]
|
||||
rm "$TMP/sites/hope/website/apps/website/backend/src/demo/seeds.ts"
|
||||
run cmd_demo hope website --profile clean-campus
|
||||
@@ -161,3 +161,9 @@ wait 1.9.0" ]
|
||||
[ "$status" -eq 1 ]
|
||||
[[ "$(cat "$CALLS")" != *"reload"* ]]
|
||||
}
|
||||
|
||||
@test "events 3.8.0: a demo scenario's church is an Events profile too" {
|
||||
run cmd_demo hope --profile clean-campus --scenario clean-campus
|
||||
[ "$status" -eq 0 ]
|
||||
[[ "$(cat "$CALLS")" == *"node scripts/set-demo.js --profile=clean-campus --yes"* ]]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user