Repository navigation
v1.4.5 — All non-Glow events block; WhatsApp option; tab persistence
Highlights
Shared calendar — non-Glow events now block availability
Previously only events matching the configurable "Terry" blocking keyword would block bookings. Now every event on the shared calendar that isn't a Glow event is treated as a busy block, padded by buffer_time on each side. So a "Christy 90 Brandon" event on Thursday May 7 from 4:30–6:00 will block clients during that window, no extra config needed. Events marked Show me as: Free in Google Calendar are still exempt — use that for informational items that shouldn't block.
Admin Bookings tab focus
Admin tabs now sync the active tab to the URL hash. Reschedule, Cancel, Notes, DST shift, and "+ New booking" actions all call location.reload() after saving — with this change, the page reloads back to the Bookings tab instead of bouncing the admin to "Google Calendar".
WhatsApp via Twilio
New Send messages via dropdown in Settings → SMS / Twilio:
- SMS (default) — existing behavior
- WhatsApp via Twilio — same Twilio account, but messages route through Twilio's WhatsApp channel
- Off — email-only — no text messages at all
For testing: Twilio offers a free WhatsApp sandbox (sender +14155238886); clients opt in by texting a join code. For production, your Twilio account needs an approved WhatsApp Business sender + approved templates for confirmation/reminder messages.
The booking confirmation page wording adapts: when WhatsApp is the channel and a message goes out, the confirmation reads "A confirmation email and WhatsApp have been sent."
Note: Square does not offer general-purpose outbound SMS — only payment-tied receipts — so it isn't a viable option here. Twilio (SMS or WhatsApp) remains the supported provider.
Install
WP Admin → Plugins → Add New → Upload Plugin → choose caswell-booking-1.4.5.zip → Replace current with uploaded → Activate.
After upgrade, do one quick check: in Settings → SMS / Twilio, the new Send messages via field defaults to "SMS" (matches existing behavior). No action needed unless you want WhatsApp.
For the calendar change: take one look at Ryan's shared calendar before going live — anything currently on there that isn't a Glow event will now block. If you have legitimate non-blocking items there (like reminders), set them to "Show me as: Free" in Google Calendar.