=== All DashAI ===
Contributors: alldashai, freemius
Tags: dashboard, ai, maintenance, logs, system-health
Requires at least: 6.2
Tested up to: 6.9
Stable tag: 2.1.3
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

The AI-powered operations dashboard for WordPress agencies. Monitor health, analyze technical debt, and automate weekly operational audits.

== Description ==

All DashAI turns technical chaos into operational clarity. Built for developers and agencies managing high-stakes environments, it provides a high-level executive view of your site’s health directly inside wp-admin.

Instead of digging through raw logs, get instant diagnostics. All DashAI helps your team spot risks, identify fatal errors, and prioritize maintenance before they turn into emergency support tickets.

Whether you are running a single production site or a large agency portfolio, All DashAI provides the visibility you need to keep operations running smoothly.

= What you get in FREE =

* System Health: Comprehensive audit of WordPress core, PHP, Database, and Security signals.
* Logs Viewer: Browse, filter, and search logs for faster incident response.
* Knowledge Center (optional): Centralize project assets, environments, and documentation links in one secure location (enabled by an admin).
* AI Insights (BYOK, optional): Explain technical issues in plain language using your own OpenAI API key.

= What PRO adds =

* Weekly Operational Audits (Monitoring Reports): Every Monday, receive an operational audit email based on real System Health + Logs activity from the last 7 days.
* AI-enhanced audits: When AI is enabled and an OpenAI API key is configured, audits include an executive summary and prioritized maintenance plan generated by AI.
* AI Response Language (10 languages): Customize the language for AI insights across System Health, Logs, and Monitoring Reports.
* Professional PDF Exports: Generate technical snapshots for internal documentation and compliance (where available in the UI).
* Agency Workflow: Enhanced tools to standardize maintenance and oversight across your portfolio.

Support and documentation: https://alldashai.com

== Installation ==

1. Upload the plugin files (or install via the WordPress Plugins screen).
   - FREE build folder name: `/wp-content/plugins/alldashai/`
   - PRO build folder name: `/wp-content/plugins/alldashaipro/`
2. Activate the plugin through the **Plugins** menu in WordPress.
3. Navigate to **All DashAI → Settings** to configure your dashboard.
4. (Optional) Enter your OpenAI API Key under the **AI** tab to enable AI insights.
5. (PRO) Enable **Monitoring Reports** and set a recipient email to receive the weekly operational audit every Monday.

== Frequently Asked Questions ==

= Do I need an OpenAI API key? =

Only if you want to use the AI features. All DashAI works as a local health monitor and log viewer without it. To enable AI-powered plain-language diagnostics and AI-enhanced weekly audits, connect your own OpenAI API key.

= Is my data private? =

All DashAI uses a BYOK (Bring Your Own Key) model. AI requests are made using your own API key and are only sent when an administrator triggers an AI action or when AI-enhanced summaries are generated. The plugin stores plugin settings locally in WordPress.

= Can I automate reports? =

Yes (PRO). Go to **All DashAI → Settings → Monitoring Reports** to enable weekly automated delivery every Monday morning and set one recipient email.

= Who can access the plugin data? =

By default, All DashAI pages and settings are only available to WordPress administrators.

== External Services ==

This plugin uses the following external services:

Service: OpenAI API
Purpose: Generate AI insights for logs, system diagnostics, and AI-enhanced operational audits (when AI is enabled).
Data sent: Prompt content assembled from site diagnostics/log context requested by an administrator, plus the API key in the Authorization header.
When sent: Only when an administrator triggers AI actions or when AI-enhanced summaries are generated.
Privacy Policy: https://openai.com/policies/privacy-policy

Service: Freemius
Purpose: License activation/validation, subscription/account management, and plugin SDK operations.
Data sent: License/account identifiers and site/plugin metadata required by Freemius SDK for licensing and plan state.
When sent: During plugin connect/activation and account/license operations.
Privacy Policy: https://freemius.com/privacy/

== Changelog ==

= 2.1.3 =
* Fix: Reworked admin JS/CSS loading to use WordPress enqueue APIs only.
* Fix: Improved nonce/capability validation in admin and AJAX handlers.
* Fix: Hardened input sanitization and output escaping across settings and SVG rendering.
* Fix: Updated text domain usage to match the plugin slug for translation compatibility.
* Fix: Replaced fragile path handling and removed flagged constant fallbacks.
* Fix: Improved AI prompt-data parsing to handle invalid/control characters safely.
* Fix: Small UX improvements in Settings layout, field spacing, and action button behavior.

= 2.1.2 =
* Test: Freemius update propagation verification.

= 2.1.1 =
* Improvement: Comprehensive update to the plugin documentation (Readme).
* Documentation: Clarified the differences between FREE and PRO features.
* Documentation: Updated installation paths for FREE (/alldashai/) and PRO (/alldashaipro/) builds.
* Cleanup: Removed the legacy Screenshots tab for a more streamlined admin interface.

= 2.1 =
* New: Expanded AI language support (PT-BR, ES, and 10+ others).
* Improvement: Refactored reporting timeframe to 'Last 7 days' for better operational clarity.
* Fix: Minor improvements and general bug fixes.

= 2.0 =
* Major architectural improvements and performance enhancements.
* Enhanced log filtering and system health monitoring modules.

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 2.1.3 =
Security and compliance patch release for WP.org review fixes, plus stability improvements in AI analysis and admin settings UX.
