=== Shark Ticketing by Carson ===
Contributors: carsonleung, freemius
Tags: ticketing, restaurant, queue
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 8.2
Stable tag: 0.2.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Shark Ticketing by Carson is an e-ticketing plugin for physical service queues.

== Description ==
Shark Ticketing helps small restaurants and service teams run a digital queue with ticket issuance, check-in, and live queue visibility.

Core features include:

* Event setup in WP Admin with weekly schedules, guest limits, and queue open/close offsets.
* Public ticket issuance form via shortcode (`[stbycarson_entry]`)
* Customizable e-ticket email subject/body templates.
* Editable queue close and thank-you messages.
* Live status shortcode (`[stbycarson_live_status]`) showing current queue state, event name, and next call number.
* Admin dashboard with ticket counts, check-in chart, record search, one-click check-in, and manual queue open/close toggle.
* Optional Freemius-powered account and billing pages.

Shark Ticketing includes nonce-protected AJAX endpoints for public issuance and admin queue operations.

== Shortcodes ==
* `[stbycarson_entry]` - public ticket form
* `[stbycarson_live_status]` - public live status panel

== Installation ==
1. Upload the plugin folder to `/wp-content/plugins/`.
2. Activate `Shark Ticketing by Carson` in WordPress Admin.
3. Go to `Shark Ticketing > Event Setup` and configure:
   - Event name
   - Max tickets
   - Guest limits
   - Daily schedule windows
4. Add shortcodes to pages:
   - Queue page: `[stbycarson_entry]`
   - Status page: `[stbycarson_live_status]`
5. Use `Shark Ticketing > Dashboard` to monitor queue and process check-ins.
6. Open `Shark Ticketing > Email Configuration` to customize the ticket email subject/body.
7. In `Shark Ticketing > Event Setup`, customize queue close and thank-you page messages.
8. Optional: use `Shark Ticketing > Account` for Freemius account and billing pages.

== Frequently Asked Questions ==
= Can I manually close the queue? =
Yes. Use the queue toggle in `Shark Ticketing > Dashboard`.

= Can I test time-based queue behavior? =
Yes. Configure your schedule windows and queue open/close offsets in Event Setup.

= Which fields are required for ticket issuance? =
Email and Name are always required. Guest count can be enabled/disabled in Event Setup.

= Can I customize ticket emails and queue messages? =
Yes. Email templates are available in Email Configuration, and queue close/thank-you messages are available in Event Setup.

= Does Freemius control included ticketing features? =
No. Included ticketing features run locally in this plugin. Freemius is used for account and billing pages when a site administrator opens those screens.

== External services ==

= Freemius =

This plugin uses Freemius for account and billing management pages.

Data sent: installation/account metadata required by Freemius to manage account and billing status.

When sent: during Freemius account and plan pages.

Terms of Service: https://freemius.com/terms/
Privacy Policy: https://freemius.com/privacy/

= Contact form email =

If an admin submits the in-plugin Contact form, the entered name, email, and message are sent to Shark Ticketing support via email.

Data sent: name, email address, and support message provided in the form.

When sent: when a site administrator submits the contact form in wp-admin.

== Changelog ==
= 0.2.0 =
* Renamed plugin identity to Shark Ticketing by Carson.
* Added Freemius-based account flow.
* Removed custom Stripe/remote license activation from plugin runtime.
* Added opt-in uninstall data cleanup setting.
* Added public ticket issuance rate limiting.
* Hardened admin GET query trust with screen nonce pairing.

= 0.1.1 =
* Removed legacy custom runtime integration.
* Added Email Configuration and Event Setup messaging controls.
* Added dashboard datetime filters for booking records.
* Added account navigation confirmation prompt.

= 0.1.0 =
* Initial release with event setup, queue scheduling, public ticket issuance, live status, dashboard analytics, and check-in workflow.
