=== Compibot ===

Contributors: compibot
Requires at least: 5.2
Tested up to: 6.9
Requires PHP: 7.0
Stable tag: 3.1.0
License:           GPLv3 or later
License URI:       https://www.gnu.org/licenses/gpl-3.0.html

Compibot revolutionizes your online business by leveraging the best artificial intelligence.

== Licenses ==
Font Awesome Free 7.1.0: https://fontawesome.com/license/free

== Public Resources ==

This plugin includes and uses the following minified resources. The uncompressed source code versions are available in the plugin directory, under the `/assets/` folder.

1. **CSS**
   - `introjs.min.css`: Minified version of the file `introjs.css`. Location: `/assets/css/introjs.css`.
   - `font-awesome.min.css`: Minified version of the file `font-awesome.css`. Location: `/assets/css/font-awesome.css`.

2. **JavaScript**
   - `intro.min.js`: Minified version of the file `intro.js`. Location: `/assets/js/intro.js`.
   - `chartjs-plugin-datalabels.min.js`: Minified version of the file `chartjs-plugin-datalabels.js`. Location: `/assets/js/chartjs-plugin-datalabels.js`.
   - `chart.umd.js`: Minified version of the file `chart.js`. Location: `/assets/js/chart.js`.
   - `leaflet.min.js`: Minified version of the file `leaflet.js`. Location: `/assets/js/leaflet.js`.
   - `markdown-it.min.js`: Minified version of the file `markdown-it.js`. Location: `/assets/js/markdown-it.js`.


**Note**: All minified files used in this plugin have their uncompressed equivalents available within the plugin to facilitate review, observation, and future adaptations by interested developers.


== Installation ==

= Installation from within WordPress =

1. Visit **Plugins > Add New**.
2. Search for **Compibot**.
3. Install and activate the Compibot plugin.

= Manual installation =

1. Upload the entire `compibot` folder to the `/wp-content/plugins/` directory.
2. Visit **Plugins**.
3. Activate the Compibot plugin.

== External services ==

This plugin connects to Compibot services to provide chatbot functionality, service validation, configuration sync, analytics, and optional content scanning.

Service provider: Compibot
Domains used: panel.compibot.com, bot.compibot.com

What the service is used for:
- Load the chatbot script on the frontend
- Authenticate/validate the plugin token and check service status
- Sync plugin settings and retrieve analytics for the admin dashboard
- (Optional) Upload scanned site content to power the chatbot knowledge feature

What data is sent and when:
- Frontend: a public token is added to the chatbot script tag when the chatbot is loaded.
- Admin actions: token and site domain are sent when validating the service, syncing settings, checking updates/status, or retrieving analytics.
- Scheduled checks (WP-Cron): timezone offset (gmt_offset) is sent during scheduled service checks, and basic environment info (WordPress/PHP version) is sent in the daily CMS data task.

Terms of Service:
https://compibot.com/terminos
 
Privacy Policy:
https://compibot.com/privacidad

== Changelog ==

= 3.0.0 =
= 3.1.0 =
* Changed: conversation interface styling improvements for better UX.

= 3.0.0 =
* Added: onboarding and welcome flow for new users.
* Added: chatbot icon customization (upload custom image or choose predefined icons).
* Added: advanced behavior module with recommended FAQ suggestions for the chatbot.
* Added: scan validation notice when no site elements are detected, clarifying why the chatbot is not displayed.
* Changed: color and theme customization module, including dark theme improvements, separate bot/user colors, conditional color controls, and reset to defaults.
* Changed: login and onboarding experience improvements, including redirect options and browser autocomplete handling.
* Changed: admin interface and layout improvements for new modules and better usability.
* Fixed: automatic login token handling.
* Fixed: password recovery URL in login flow.


