﻿=== WebAlive Quick Installer ===
Contributors: webalive
Tags: installer, updates, webalive, plugins
Requires at least: 5.8
Tested up to: 7.1.3
Stable tag: 1.1.15
Requires PHP: 7.4
Donate link: https://webalive.dk/
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Adds a WebAlive tab to the WordPress plugin installer and provides a Settings shortcut.

== Description ==

WebAlive Registration / Connect: This plugin uses WebAlive's Connect registration flow for updates and remote installs. If your domain is not approved yet, it will show a "registration required" message in WP Admin (no hard errors). Start Connect from the WebAlive screen and complete approval to enable updates.

WebAlive Quick Installer adds a "WebAlive" tab under Plugins → Add New, making it easy to browse and install plugins provided by WebAlive.

Features:

* Adds an extra installer tab ("WebAlive") in the WordPress plugin installer.
* Fetches the tab contents and plugin details from WebAlive endpoints.
* Adds a Settings page with a shortcut button to the WebAlive tab.
* Shows a clear message + registration link if the site/domain is not authorized.

This plugin connects to WebAlive endpoints to fetch the installer tab content and plugin details.

Note: Your site/domain may need to be registered/authorized to access the WebAlive plugin list and updates.

== Installation ==

1. Upload the plugin to your WordPress site.
2. Activate it in Plugins → Installed Plugins.
3. Go to Plugins → Add New → WebAlive.

== Frequently Asked Questions ==

= Where do updates come from? =

WebAlive plugins may use the WebAlive update service for updates. If your site is not registered/authorized, you may be prompted to register.

Register here: https://webalive.dk/register

= Why do I see a registration required message? =

Some WebAlive endpoints require that the requesting site/domain is registered/authorized.

== Screenshots ==

1. The "WebAlive" tab under Plugins → Add New.
2. The WebAlive Quick Installer settings page (shortcut links).

== Privacy / External Services ==

This plugin connects to external services provided by WebAlive:

* `https://updates.webalive.dk/installer-tab.php` (installer tab HTML)
* `https://updates.webalive.dk/plugin-info.php` (plugin information)
* `https://webalive.dk/register` (registration link)

When requesting the installer tab and plugin information, WordPress will send a User-Agent header that includes the WordPress version and your site URL (e.g. `WordPress/6.x; https://example.com`). This is used by the service to identify/authorize the requesting domain.

== Changelog ==

= 1.1.15 (2026-10-21) =
* Fix: A licence notice is hidden for a plugin when WordPress already has an update with a download ready for it. The update server has authorized the plugin, so an older cached notice no longer applies.

= 1.1.14 (2026-10-20) =
* New: The Plugins screens show the update server's notices (missing or expired license, domain not registered) for the installed WebAlive plugins. Texts and links come from the update server; this plugin only shows them. It also replaces the fixed notices printed by older plugin builds and the "plugin is up to date" message after "Check for updates".

= 1.1.13 (2026-10-14) =
* Fix: Corrected character encoding in the plugin readme.



= 1.1.12 =
* Tested with WordPress 7.1.3.


= 1.1.11 =
* Fix: Initialize the `$s` and `$page` globals before invoking WP_Plugins_List_Table::prepare_items() to prevent a PHP 8.1+ "strlen(): Passing null" deprecation on the Webalive plugins screen.

= 1.1.10 =
* UI: "Check for updates" button now uses the same page-title-action styling as "Add plugin" so both buttons share size and margin.
* i18n: Added the plugin text domain to the "Search installed plugins" search box so the label is translatable.

= 1.1.9 =
* Fix: "Check for updates" now forces every Webalive plugin's update checker to re-fetch its metadata synchronously (bypassing the built-in throttle) so the available-update rows appear immediately after the check completes.

= 1.1.8 =
* Fix: "Check for updates" on the Webalive plugins screen now resets each plugin's update-checker state so updates are actually re-fetched (bypassing the built-in 12-hour throttle) and the update notices show up on the list.

= 1.1.7 =
* Marked as tested with WordPress 7.1.

= 1.1.6 (2026-08-19) =
* Improvement: Positions the checked plugin row in view after a manual update check.

= 1.1.5 (2026-08-19) =
* Fix: Restores the native Update now action on the Webalive plugins page.

= 1.1.4 (2026-08-19) =
* Fix: Restores automatic update controls and native update rows on the Webalive plugins page.

= 1.1.3 (2026-08-19) =
* Fix: Keeps manual plugin update checks on the dedicated Webalive plugins page.

= 1.1.2 (2026-08-19) =
* Improvement: Uses the native WordPress plugins list for the Webalive plugins page.

= 1.1.1 (2026-08-19) =
* Fix: Places the Webalive plugins submenu under the WordPress Plugins menu.

= 1.1.0 (2026-08-19) =
* New: Adds a WooCommerce submenu that lists all installed Webalive plugins.
* New: Adds direct actions for installing Webalive plugins and checking for updates without leaving the page.

= 1.0.14 (2026-05-22) =
* Compatibility: Tested with WordPress 7.0.

= 1.0.13 =
* Build/source policy: Fjernet source-side PluginInstaller-bootstrap; build-packages + _shared håndterer injection.
* Build/source policy: Fjernet bundled includes/shared/PluginInstaller.php fra source-plugin.

= 1.0.12 =
* Fix: Avoid PHP 8.x deprecation notices in WP Admin by ensuring setup wizard submenu registration uses a string parent slug.

= 1.0.6 =
* New: Setup wizard on activation to request access (Connect) and guide first-time users.

= 1.0.4 =
* Improvement: Registration links now prefill the current site domain (reduces wrong-domain registrations).

= 1.0.3 =
* Improvement: If you open the WebAlive tab without sufficient permissions, you are redirected to the login screen (force re-auth) to switch accounts.

= 1.0.2 =
* Docs: Update readme metadata (including “Tested up to”) and clarify external services / privacy notes.

= 1.0.1 =
* Maintenance: Always use the shared installer loader injected from source-plugins/_shared (avoids version mismatch).

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.13 =
Policy-opdatering: Installer bootstrap/injection håndteres nu kun af build-flowet.

= 1.0.12 =
Fixes PHP 8.x deprecation notices related to setup wizard menu registration.

= 1.0.6 =
Adds a simple setup wizard to request access.

= 1.0.4 =
Registration link improvements.

= 1.0.2 =
Documentation/compatibility update.

= 1.0.1 =
Maintenance update.

= 1.0.0 =
Initial release.


