From 75465242e0784bc77f0f9b475c59b94c93c0221e Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Tue, 20 Dec 2022 22:21:48 +0100 Subject: [PATCH] release 2022.12.20 --- CHANGELOG.md | 6 ++++++ _define.php | 14 +++++++------- _install.php | 4 ++-- _public.php | 2 +- dcstore.xml | 6 +++--- 5 files changed, 19 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 976a908..5a2d3ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +2022.12.20 +- change plugin name +- use anonymous functions +- use abstract plugin name +- fix install + 2022.11.20 - fix compatibility with Dotclear 2.24 (required) diff --git a/_define.php b/_define.php index 8923c61..55f6159 100644 --- a/_define.php +++ b/_define.php @@ -7,7 +7,7 @@ * * @author Jean-Christian Denis, Pierre Van Glabeke * - * @copyright Jean-Crhistian Denis + * @copyright Jean-Christian Denis * @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html */ if (!defined('DC_RC_PATH')) { @@ -15,19 +15,19 @@ if (!defined('DC_RC_PATH')) { } $this->registerModule( - 'dcLatestVersions', + "Dotclear's latest versions", 'Show the latest available versions of Dotclear', 'Jean-Christian Denis, Pierre Van Glabeke', - '2022.11.20', + '2022.12.20', [ 'requires' => [['core', '2.24']], 'permissions' => dcCore::app()->auth->makePermissions([ dcAuth::PERMISSION_USAGE, dcAuth::PERMISSION_CONTENT_ADMIN, ]), - 'type' => 'plugin', - 'support' => 'http://forum.dotclear.org/viewforum.php?id=16', - 'details' => 'http://plugins.dotaddict.org/dc2/details/dcLatestVersions', - 'repository' => 'https://raw.githubusercontent.com/JcDenis/dcLatestVersions/master/dcstore.xml', + 'type' => 'plugin', + 'support' => 'http://forum.dotclear.org/viewforum.php?id=16', + 'details' => 'http://plugins.dotaddict.org/dc2/details/' . basename(__DIR__), + 'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml', ] ); diff --git a/_install.php b/_install.php index b205b92..909c050 100644 --- a/_install.php +++ b/_install.php @@ -7,7 +7,7 @@ * * @author Jean-Christian Denis, Pierre Van Glabeke * - * @copyright Jean-Crhistian Denis + * @copyright Jean-Christian Denis * @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html */ if (!defined('DC_CONTEXT_ADMIN')) { @@ -26,7 +26,7 @@ $mod_conf = [[ try { # Check module version if (!dcCore::app()->newVersion( - basename(__DIR__), + basename(__DIR__), dcCore::app()->plugins->moduleInfo(basename(__DIR__), 'version') )) { return null; diff --git a/_public.php b/_public.php index 0f219a2..8996bdf 100644 --- a/_public.php +++ b/_public.php @@ -7,7 +7,7 @@ * * @author Jean-Christian Denis, Pierre Van Glabeke * - * @copyright Jean-Crhistian Denis + * @copyright Jean-Christian Denis * @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html */ if (!defined('DC_RC_PATH')) { diff --git a/dcstore.xml b/dcstore.xml index cb3b59d..3193b03 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -1,11 +1,11 @@ - dcLatestVersions - 2022.11.20 + Dotclear's latest versions + 2022.12.20 Jean-Christian Denis, Pierre Van Glabeke Show the latest available versions of Dotclear - https://github.com/JcDenis/dcLatestVersions/releases/download/v2022.11.20/plugin-dcLatestVersions.zip + https://github.com/JcDenis/dcLatestVersions/releases/download/v2022.12.20/plugin-dcLatestVersions.zip 2.24 http://plugins.dotaddict.org/dc2/details/dcLatestVersions http://forum.dotclear.org/viewforum.php?id=16