=== Hosting Quota Control Hub ===
Contributors: reivanstudios
Tags: quotas, storage, hosting, monitoring, managed
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.87
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Managed quotas, Hub reports, alerts, and protected controls for Host Gauge.

== Description ==

Hosting Quota Control Hub is the managed companion plugin for Host Gauge. It connects a WordPress site to the hosted Hub, validates managed access, reports the local usage read by Host Gauge, sends managed alerts, and applies configured storage and file limits.

This plugin is distributed separately from WordPress.org. Host Gauge continues working fully as a local monitoring plugin without this companion.

== External services ==

This plugin connects to Hosting Quota Control Hub at:

https://hostingquotacontrol.online/

Terms and EULA:
https://hostingquotacontrol.online/terminos.php

Privacy policy:
https://hostingquotacontrol.online/privacidad.php

Data sent to the service may include the site URL, access token, per-site secret, license validation requests, current disk usage, file count, configured limits, and last scan date.

== Installation ==

1. Install and activate Host Gauge.
2. Upload the `hosting-quota-control` folder to `/wp-content/plugins/`.
3. Activate Hosting Quota Control Hub.
4. Open Host Gauge > Quota Hub and connect the site.

== Changelog ==

= 1.0.87 =
* Updated the author profile link to the Reivan Studios GitHub profile.

= 1.0.86 =
* Centered the Host Gauge dependency action buttons for a more balanced fallback screen.

= 1.0.85 =
* Shortened Resource Guard copy for a cleaner managed limits layout.

= 1.0.84 =
* Clarified Resource Guard messaging around protected plugin actions and added live MB-to-GB conversion while editing storage limits.

= 1.0.83 =
* Refined the first-time master security setup into an integrated Quota Control header.

= 1.0.82 =
* Added a focused Quota Control banner to the first-time master security setup screen.

= 1.0.81 =
* Standardized plugin source strings in English and added Spanish translation files for localized installs.

= 1.0.80 =
* Integrated the managed console masthead into the quota dashboard, removed the separate active-state banner, and cleaned encoding-sensitive admin copy for packaging.

= 1.0.74 =
* Redesigned managed alert and recovery emails with English copy, clearer status hierarchy, structured usage rows, and improved email-client-safe styling.

= 1.0.73 =
* Consolidated warning emails so disk and file alerts are sent as one combined threshold email instead of two separate messages.

= 1.0.72 =
* Restored warning-level quota emails so alert-state sites notify configured recipients before reaching critical limits.

= 1.0.71 =
* Cleaned production-safe Plugin Check findings without changing managed Hub behavior.

= 1.0.70 =
* Added Hub-driven update notices so manually distributed builds can announce newer Quota Control versions from the website.

= 1.0.69 =
* Limited protected plugin controls to active Resource Guard sessions so Host Gauge remains visible while the lock is inactive.

= 1.0.68 =
* Clarified administrative alert-copy settings, hid Host Gauge as an internal companion plugin, and made admin-bar force scans update in place without leaving the current screen.

= 1.0.67 =
* Restored client-controlled critical alert email opt-in on the guest dashboard and kept admin alert copies separate in protected settings.

= 1.0.66 =
* Removed the duplicate guest critical-alert email form so client and admin recipients are configured in one place.

= 1.0.65 =
* Stabilized password visibility toggles to avoid double-click handlers and native reveal overlap.

= 1.0.64 =
* Changed quota emails to warning-and-critical threshold alerts, with client delivery by default and optional admin copies disabled by default.

= 1.0.63 =
* Matched managed quota alert emails to the legacy HTML structure, with separate Hub-owner/admin and configured alert-recipient delivery.

= 1.0.62 =
* Matched the legacy master-password recovery email flow with an HTML PIN email and Hub-owner-only recovery for connected sites.

= 1.0.61 =
* Restored animated meter and header motion using transform-based animations.
* Prioritized the Hub owner email for master password recovery PIN delivery.

= 1.0.60 =
* Redesigned the dedicated Modify Limits unlock page with a two-column protected-control layout and stronger form polish.

= 1.0.59 =
* Changed Modify Limits to open a dedicated unlock page with a Back to panel action instead of expanding inline.

= 1.0.58 =
* Turned the protected unlock area into its own compact card, including the inline CSS rescue layer.

= 1.0.57 =
* Fixed Dashicons alignment inside WordPress admin buttons and restored the Modify Limits key icon.

= 1.0.56 =
* Added uninstall cleanup so deleting the plugin releases the site from the Hub and clears local Hub connection state.

= 1.0.55 =
* Fixed mojibake/encoding artifacts in Spanish admin copy and bumped the package version.

= 1.0.54 =
* Restored the inline managed limits card in the dashboard while keeping the protected unlock flow.
* Improved Dashicons alignment across headings, buttons, pills, and forms.
* Restyled the disconnect action as a clearer guarded action instead of a loose text link.

= 1.0.53 =
* Refined the managed admin interface and moved limit changes into a dedicated protected screen.

= 1.0.52 =
* Reset managed Hub connection state on activation so a reinstall starts on the login screen instead of reusing old local options.

= 1.0.51 =
* Made `hosting-quota-control.php` the real WordPress plugin entry file so manual ZIP installs activate the canonical Quota Control basename directly.

= 1.0.49 =
* Fixed the distributable package root so WordPress installs and updates the Hub under the legacy `hosting-quota-control` folder expected by older active-plugin basenames.

= 1.0.42 =
* Added a stronger Hub visual layer with richer color, animated meters, premium hover feedback, and restored depth across managed panels.

= 1.0.41 =
* Restored the Hub admin motion layer, including entrance animations, animated meters, hover polish, and header movement.

= 1.0.40 =
* Added activation-compatible legacy loader files for older Hosting Quota Control basenames.
* Restored the legacy `hosting-quota-control` package layout for sites whose active plugin reference still points to the old plugin folder.

= 1.0.39 =
* Lowered the minimum WordPress version to 6.0 for compatibility with the Host Gauge runtime requirements.
* Kept the Hub admin page visible when Host Gauge is missing so the dependency problem is clear after activation.
* Fixed the inline JavaScript fallback used by the master password and unlock controls when external admin assets are unavailable.

= 1.0.38 =
* Added inline master-password validation so the setup form works even if WordPress delays or skips the admin asset script.
* Removed Hub admin animations/transitions to reduce typing lag and delayed reactions.

= 1.0.37 =
* Migrates legacy Hosting Quota Control session, master password, site secret, alert email, managed days, and Resource Guard options into the separated Hub.
* Preserves the managed session during plugin reinstall/update instead of forcing the Hub back to inactive.
* Cleans empty admin notices on the Hub screen and keeps legacy option fallbacks active.

= 1.0.36 =
* Fixed master-password checklist initialization so controls respond even when WordPress loads scripts late or twice.
* Kept the master-password form submit usable without JavaScript while preserving server-side validation.
* Cleaned up the managed-access start layout.

= 1.0.35 =
* Repackaged Quota Control as the original root-file legacy plugin to satisfy stale WordPress activation basenames.
* Expanded basename normalization for root-file and folder-based legacy installs.

= 1.0.34 =
* Repackaged Quota Control with the original legacy plugin folder and file basename used by WordPress.

= 1.0.33 =
* Reworked Resource Guard plugin controls to keep WordPress internal plugin validation intact.
* Restored compatibility with the legacy Hosting Quota Control plugin basename during packaging and active-plugin normalization.

= 1.0.32 =
* Fixed Resource Guard plugin controls so WordPress can still find the plugin during install, activation, updates, and guarded admin actions.

= 1.0.31 =
* Restored the guarded Modify Limits panel with immediate reveal, password visibility, recovery PIN flow, and Resource Guard plugin-list protection.

= 1.0.30 =
* Restored the guest "Modify limits" action with an inline JavaScript fallback so the master-password unlock panel works even when external assets are stale.
* Added the managed admin-bar quota widget from the original flow after Hub access and master security are active, replacing the free Host Gauge bar item.

= 1.0.29 =
* Restored the intended activation flow: installing the Hub add-on keeps Host Gauge Free unchanged until the site is actually connected to the Hub.
* Only after managed access is active does the add-on rebrand the admin menu, redirect the Host Gauge screen to the Hub flow, filter the Host Gauge Pro card, and enable upload enforcement hooks.

= 1.0.28 =
* Added a full dashboard CSS rescue layer for managed metric cards, limit controls, progress bars, summary cards, Resource Guard, forms, and Dashicons when the host keeps stale or partial assets.
* Explicitly enqueues WordPress Dashicons on the Hub admin screens.

= 1.0.27 =
* Added an inline admin JavaScript fallback so the master password checklist, submit button, and password visibility toggles keep working when a host fails to serve or replace the external admin script.

= 1.0.26 =
* Expanded the inline admin CSS fallback to cover the master security setup screen when a host fails to serve or replace the external stylesheet.

= 1.0.25 =
* Added an inline admin CSS fallback so the Hub screens keep their layout even when a host fails to serve or replace the external admin stylesheet.
* Switched the distribution ZIP naming back to the canonical plugin slug to avoid installing under a temporary upload folder name.

= 1.0.24 =
* Fixed Hub admin asset loading on legacy-compatible return pages so the sign-in screen keeps its full styling.

= 1.0.23 =
* Restored the original guest-mode flow after saving managed limits: master access unlocks the controls, saving configuration returns the screen to the read-only guest dashboard, and modifying limits asks for the master password again.
* Added the guest dashboard actions for manual scan, limit unlock, optional alert email, Hub access, and unlinking while Resource Guard is inactive.

= 1.0.22 =
* Force the master security setup after every new Hub connection, even if an older local master password hash exists from a previous test.

= 1.0.21 =
* Restored runtime activation to a clean WordPress plugin flow and kept stale active-plugin cleanup outside the plugin package.

= 1.0.20 =
* Added automatic cleanup for stale active plugin references from previous Hosting Quota Control package names, including multisite network-active entries.

= 1.0.19 =
* Added compatibility loader files for legacy plugin basenames so WordPress can recover from stale activation references without showing duplicate plugins.

= 1.0.18 =
* Removed the WordPress.org dependency header from the Pro ZIP flow and kept the internal Host Gauge availability check to avoid activation path errors on manual installs.

= 1.0.17 =
* Matched the original post-connection flow: configure the master password first, then open the managed dashboard with Resource Guard inactive until the admin enables it.

= 1.0.16 =
* Added the managed post-security dashboard with usage bars, limit configuration, alert email, system summary, scan action, unlink control, and Resource Guard controls.

= 1.0.15 =
* Added the post-connection master security setup flow.

= 1.0.14 =
* Avoided registering the legacy `cch-activacion` return page when the original plugin is active, so the old plugin can still complete its connection flow.

= 1.0.13 =
* Added a hidden legacy return page to prevent WordPress permission errors after Hub connection confirmation.

= 1.0.12 =
* Restored legacy-compatible connection return parameters while keeping the new Hub admin screen.

= 1.0.11 =
* Added a smooth Hub entrance animation for the sign-in screen and admin panels.

= 1.0.10 =
* Fixed the duplicate-copy guard so it does not detect the current plugin file as another active copy.

= 1.0.9 =
* Added a duplicate-copy guard to avoid activation fatals when another Hub package is still installed.

= 1.0.8 =
* Refined the Hub sign-in screen with a centered login flow, benefit chips, and a collapsible technical-code fallback.

= 1.0.7 =
* Kept the Host Gauge meter visible before Hub sign-in and focused the Hub-only navigation after managed access is connected.
* Refined the pre-sign-in Hub interface styling.

= 1.0.6 =
* Kept the local meter visible before Hub sign-in and hid managed limits until access is connected.

= 1.0.5 =
* Improved the Hub admin interface and centered the admin navigation on Hosting Quota Control while the companion plugin is active.

= 1.0.4 =
* Added dynamic Host Gauge admin card messaging for Hub sign-in and connected states.

= 1.0.3 =
* Removed the hard WordPress plugin dependency so Host Gauge can be deactivated or uninstalled without being blocked by the companion plugin.
* Kept a soft admin notice when Host Gauge is missing.

= 1.0.2 =
* Rebranded the Host Gauge admin menu as Hosting Quota Control while the Hub companion plugin is active.
* Added a clearer Hub sign-in submenu label before managed access is connected.

= 1.0.1 =
* Visible text translated to Spanish and branding updated to Host Gauge.

= 1.0.0 =
* Initial launch of the separated companion plugin.
