=== PhoenixForge Meet ===
Contributors: ryanpurvisphoenixforge
Tags: booking, appointments, calendar, scheduling, availability
Requires at least: 6.2
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.2
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

WordPress-native booking and appointments with calendars, availability, and staff schedules in PhoenixOS.

== Description ==

PhoenixForge Meet connects your WordPress site to PhoenixOS to give you a fully-featured appointment booking system — without storing any booking data in WordPress.

**How it works:**
Add the booking block or `[meet_book]` shortcode to any page. Visitors pick a date, select an available slot, fill in their details, and receive a confirmation email. Everything else — calendars, staff availability, booking records, reminders — lives in PhoenixOS.

**Key features:**
* 7-day week navigator with live slot availability
* Timezone-aware slot display (auto-detected from browser)
* 12 or 24-hour time format
* Booking confirmation with .ics calendar download
* Virtual pages for confirm, cancel, and reschedule flows
* Links bookings to PhoenixOS contacts when PhoenixForge Identity is active
* Zero booking data stored in WordPress

**Pro features:**
* Stripe payment on booking (deposit or full payment)
* Google Calendar two-way sync
* Automated email and push reminders
* Group bookings (classes, tours, events)
* Rooms and resource booking
* Multi-staff with individual availability rules
* Mobile app for operators (daily agenda, push alerts)

**Requirements:**
* PhoenixOS workspace (free to start at os.phoenixforge.io)
* Workspace API key (Settings → API in PhoenixOS)

== Installation ==

1. Upload the plugin to `/wp-content/plugins/phoenixforge-meet/` or install via the WordPress plugin screen.
2. Activate the plugin.
3. Go to **PhoenixForge Meet → Settings** and enter your Workspace API Key and Workspace ID from PhoenixOS.
4. Add the **Meet — Booking** Gutenberg block or use `[meet_book]` shortcode on any page.

== Frequently Asked Questions ==

= Where is booking data stored? =
All booking records live in PhoenixOS. WordPress stores zero booking data.

= Can I use multiple calendars? =
Yes — pass `calendar_id="your-id"` to the block or shortcode. Each calendar can have its own availability rules, staff, and services.

= Does it work with PhoenixForge Identity? =
Yes. When a logged-in user books an appointment, the booking is automatically linked to their PhoenixOS contact record.

= How do I customise the confirmation and cancellation pages? =
The pages are rendered using your active theme's header and footer. You can style them via your theme's CSS targeting `.pfmt-virtual-page` and `.pfmt-confirm-card`.

= Can customers reschedule? =
Rescheduling is handled by PhoenixOS. A reschedule link is included in the confirmation email and the WP cancel page routes there automatically.

== Screenshots ==

1. Booking widget — date picker and slot grid
2. Booking form — customer details
3. Booking confirmation with ICS download link
4. WordPress admin — Meet settings page

== Changelog ==

= 1.0.0 =
* Initial release: Gutenberg booking block + `[meet_book]` shortcode, availability rendering with timezone handling, booking creation via meet-create-booking edge function, confirmation/cancellation/reschedule virtual pages, ICS calendar download.

== Upgrade Notice ==

= 1.0.0 =
Initial release.
