=== Lestis Booking Engine ===
Contributors: lestis
Tags: booking, hotel, reservation
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.1.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Embeds a Lestis booking form into WordPress pages using a shortcode.

== Description ==

Use this plugin to load the booking module hosted on your Lestis property site.

1. Install and activate the plugin.
2. Go to `Settings > Lestis Booking`.
3. Set your property URL, for example `https://my-home-name.lestis.homes`.
4. Add the shortcode `[lestis_booking]` to any page or post.

Available shortcode attributes:

* `mode`: Mode of operation (`api` or `iframe`). Example: `[lestis_booking mode="iframe"]`
* `unit`: Force a specific unit ID. Example: `[lestis_booking unit="12"]`
* `lang`: Force language code. Example: `[lestis_booking lang="en"]`
* `layout`: Custom layout scheme if supported by your setup.
* `show_listing`: Toggle listing display option (`1` or `0`).

== External Services ==

This plugin relies on an external API to fetch availability data and pricing, as well as to test the connection status from the admin panel.

* **Service:** Lestis Booking API (https://*.lestis.homes and https://www.golestis.com)
* **Usage:** Used in API mode to retrieve availability and pricing, and in the admin settings when clicking the "Test Connection" button.
* **Data transmitted:** Site URL, booking dates/parameters, and authentication keys.
* **Terms of Service:** https://www.golestis.com/en/terms-and-conditions
* **Privacy Policy:** https://www.golestis.com/en/privacy-policy

== Changelog ==
= 1.1.5 =
* Removed site url from shortcode, security upgrade.

= 1.1.4 =
* Removed tab with custom CSS to comply with guidelines.

= 1.1.3 =
* Aligned text domain with plugin slug.

= 1.1.2 =
* Hardening for WordPress Plugin Directory compliance.
* Removed self-hosted automatic updates to comply with guidelines.
* Updated remote domain references to GoLestis.com.

= 1.1.0 =
* Added self-hosted automatic updates support.
* Improved language override handling for shortcode usage.
* Includes iframe/API flow stability and return-url handling improvements.

= 1.0.0 =
* Initial release.