Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
194fd9e183 |
@@ -14,7 +14,7 @@ root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|||||||
cd "$root"
|
cd "$root"
|
||||||
|
|
||||||
gitea="${LIT_MCP_GITEA:-https://git.loosen-it.de}"
|
gitea="${LIT_MCP_GITEA:-https://git.loosen-it.de}"
|
||||||
repo="janniclas.loosen/WP-LIT-MCP"
|
repo="Loosen-IT/WP-LIT-MCP"
|
||||||
version="${1:-$(sed -n "s/.*const VERSION = '\(.*\)';/\1/p" src/Plugin.php)}"
|
version="${1:-$(sed -n "s/.*const VERSION = '\(.*\)';/\1/p" src/Plugin.php)}"
|
||||||
name="wp-lit-mcp-$version.zip"
|
name="wp-lit-mcp-$version.zip"
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|||||||
cd "$root"
|
cd "$root"
|
||||||
|
|
||||||
gitea="${LIT_MCP_GITEA:-https://git.loosen-it.de}"
|
gitea="${LIT_MCP_GITEA:-https://git.loosen-it.de}"
|
||||||
api="$gitea/api/v1/repos/janniclas.loosen/WP-LIT-MCP"
|
api="$gitea/api/v1/repos/Loosen-IT/WP-LIT-MCP"
|
||||||
version="${1:-$(sed -n "s/.*const VERSION = '\(.*\)';/\1/p" src/Plugin.php)}"
|
version="${1:-$(sed -n "s/.*const VERSION = '\(.*\)';/\1/p" src/Plugin.php)}"
|
||||||
name="wp-lit-mcp-$version.zip"
|
name="wp-lit-mcp-$version.zip"
|
||||||
zip="dist/$name"
|
zip="dist/$name"
|
||||||
|
|||||||
+1
-1
@@ -13,7 +13,7 @@ root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|||||||
cd "$root"
|
cd "$root"
|
||||||
|
|
||||||
gitea="${LIT_MCP_GITEA:-https://git.loosen-it.de}"
|
gitea="${LIT_MCP_GITEA:-https://git.loosen-it.de}"
|
||||||
repo="janniclas.loosen/WP-LIT-MCP"
|
repo="Loosen-IT/WP-LIT-MCP"
|
||||||
|
|
||||||
fail() { echo "ABBRUCH: $*" >&2; exit 1; }
|
fail() { echo "ABBRUCH: $*" >&2; exit 1; }
|
||||||
step() { echo "==> $*"; }
|
step() { echo "==> $*"; }
|
||||||
|
|||||||
+4
-1
@@ -4,7 +4,7 @@ Tags: mcp, ai, divi, pods, oauth
|
|||||||
Requires at least: 6.9
|
Requires at least: 6.9
|
||||||
Tested up to: 7.1
|
Tested up to: 7.1
|
||||||
Requires PHP: 8.1
|
Requires PHP: 8.1
|
||||||
Stable tag: 1.0.5
|
Stable tag: 1.0.6
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
@@ -209,6 +209,9 @@ LIT MCP schreibt nur mit Divi-Versionen, die für diese Plugin-Version geprüft
|
|||||||
|
|
||||||
== Changelog ==
|
== Changelog ==
|
||||||
|
|
||||||
|
= 1.0.6 =
|
||||||
|
* Updates kommen direkt vom neuen Repository-Pfad (Loosen-IT/WP-LIT-MCP) statt über die Weiterleitung des alten.
|
||||||
|
|
||||||
= 1.0.5 =
|
= 1.0.5 =
|
||||||
* Nach einer Installation oder einem Versionswechsel prüft WordPress sofort neu auf Updates, damit der Schalter für automatische Updates gleich erscheint.
|
* Nach einer Installation oder einem Versionswechsel prüft WordPress sofort neu auf Updates, damit der Schalter für automatische Updates gleich erscheint.
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -47,7 +47,7 @@ defined('ABSPATH') || exit;
|
|||||||
*/
|
*/
|
||||||
final class Plugin
|
final class Plugin
|
||||||
{
|
{
|
||||||
public const VERSION = '1.0.5';
|
public const VERSION = '1.0.6';
|
||||||
|
|
||||||
private static string $pluginFile = '';
|
private static string $pluginFile = '';
|
||||||
private static ?SettingsPage $settingsPage = null;
|
private static ?SettingsPage $settingsPage = null;
|
||||||
|
|||||||
@@ -21,9 +21,9 @@ defined('ABSPATH') || exit;
|
|||||||
final class GiteaUpdater
|
final class GiteaUpdater
|
||||||
{
|
{
|
||||||
public const HOST = 'git.loosen-it.de';
|
public const HOST = 'git.loosen-it.de';
|
||||||
public const REPOSITORY_URL = 'https://' . self::HOST . '/janniclas.loosen/WP-LIT-MCP';
|
public const REPOSITORY_URL = 'https://' . self::HOST . '/Loosen-IT/WP-LIT-MCP';
|
||||||
|
|
||||||
private const API_URL = 'https://' . self::HOST . '/api/v1/repos/janniclas.loosen/WP-LIT-MCP/releases/latest';
|
private const API_URL = 'https://' . self::HOST . '/api/v1/repos/Loosen-IT/WP-LIT-MCP/releases/latest';
|
||||||
private const RELEASE_DOWNLOADS = self::REPOSITORY_URL . '/releases/download/';
|
private const RELEASE_DOWNLOADS = self::REPOSITORY_URL . '/releases/download/';
|
||||||
private const SLUG = 'wp-lit-mcp';
|
private const SLUG = 'wp-lit-mcp';
|
||||||
|
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ final class GiteaUpdaterTest extends TestCase
|
|||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'http, as Gitea behind a TLS proxy reports it' => [
|
'http, as Gitea behind a TLS proxy reports it' => [
|
||||||
'http://' . GiteaUpdater::HOST . '/janniclas.loosen/WP-LIT-MCP/releases/download/v1.0.0/'
|
'http://' . GiteaUpdater::HOST . '/Loosen-IT/WP-LIT-MCP/releases/download/v1.0.0/'
|
||||||
. self::ZIP_NAME,
|
. self::ZIP_NAME,
|
||||||
],
|
],
|
||||||
'another host' => ['https://evil.example/' . self::ZIP_NAME],
|
'another host' => ['https://evil.example/' . self::ZIP_NAME],
|
||||||
|
|||||||
+3
-3
@@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Plugin Name: WP-LIT-MCP
|
* Plugin Name: WP-LIT-MCP
|
||||||
* Plugin URI: https://git.loosen-it.de/janniclas.loosen/WP-LIT-MCP
|
* Plugin URI: https://git.loosen-it.de/Loosen-IT/WP-LIT-MCP
|
||||||
* Description: MCP-Server für WordPress, Divi 5 und Pods. Pflegt Inhalte, Medien und Divi-Seiten mit OAuth für KI-Assistenten.
|
* Description: MCP-Server für WordPress, Divi 5 und Pods. Pflegt Inhalte, Medien und Divi-Seiten mit OAuth für KI-Assistenten.
|
||||||
* Version: 1.0.5
|
* Version: 1.0.6
|
||||||
* Update URI: https://git.loosen-it.de/janniclas.loosen/WP-LIT-MCP
|
* Update URI: https://git.loosen-it.de/Loosen-IT/WP-LIT-MCP
|
||||||
* Requires at least: 6.9
|
* Requires at least: 6.9
|
||||||
* Requires PHP: 8.1
|
* Requires PHP: 8.1
|
||||||
* Tested up to: 7.1
|
* Tested up to: 7.1
|
||||||
|
|||||||
Reference in New Issue
Block a user