diff --git a/CHANGELOG.md b/CHANGELOG.md index 22e5028..4e19f23 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,19 +1,31 @@ -2.2 - 2023.04.26 +countdown 2.3 - 2023.08.06 +=========================================================== +* Require Dotclear 2.27 +* Require PHP 7.4+ +* Upgrade to Dotclear 2.27 +* Move third party repository +* Use Dotclear style for changelog + +countdown 2.2 - 2023.04.26 +=========================================================== * require dotclear 2.26 * use namespace * use dotclear Date Helper * fix nullsafe warnings -2.1 - 2022.12.31 +countdown 2.1 - 2022.12.31 +=========================================================== * update to dotclear 2.24 * update to jquery plugin 2.1.0 (2016) * fix phpstan and php-cs-fixer errors * fix js call -1.6 - 2022.12.28 - Pierre Van Glabeke +countdown 1.6 - 2022.12.28 - Pierre Van Glabeke +=========================================================== * màj partielle dc2.24 -1.5 - 2016.07.29 - Pierre Van Glabeke +countdown 1.5 - 2016.07.29 - Pierre Van Glabeke +=========================================================== * mise à jour script jquery 1.6.3 -> 2.0.2 * mise à jour pour compatibilité avec dc2.9 * dc2.9 requis diff --git a/README.md b/README.md index 94d6321..5bc69af 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # README -[![Release](https://img.shields.io/github/v/release/JcDenis/countdown)](https://github.com/JcDenis/countdown/releases) -[![Date](https://img.shields.io/github/release-date/JcDenis/countdown)](https://github.com/JcDenis/countdown/releases) -[![Issues](https://img.shields.io/github/issues/JcDenis/countdown)](https://github.com/JcDenis/countdown/issues) -[![Dotclear](https://img.shields.io/badge/dotclear-v2.22-blue.svg)](https://fr.dotclear.org/download) +[![Release](https://img.shields.io/github/v/release/JcDenis/countdown)](https://git.dotclear.watch/JcDenis/countdown/releases) +[![Date](https://img.shields.io/github/release-date/JcDenis/countdown)](https://git.dotclear.watch/JcDenis/countdown/releases) +[![Issues](https://img.shields.io/github/issues/JcDenis/countdown)](https://git.dotclear.watch/JcDenis/countdown/issues) +[![Dotclear](https://img.shields.io/badge/dotclear-v2.27-blue.svg)](https://fr.dotclear.org/download) [![Dotaddict](https://img.shields.io/badge/dotaddict-official-green.svg)](https://plugins.dotaddict.org/dc2/details/countdown) -[![License](https://img.shields.io/github/license/JcDenis/countdown)](https://github.com/JcDenis/countdown/blob/master/LICENSE) +[![License](https://img.shields.io/github/license/JcDenis/countdown)](https://git.dotclear.watch/JcDenis/countdown/blob/master/LICENSE) ## WHAT IS COUNTDOWN ? @@ -19,7 +19,7 @@ It adds widget showing a countdown since/from a predefined date. _countdown_ requires: * permissions to manage widgets - * Dotclear 2.26 + * Dotclear 2.27 ## USAGE @@ -32,8 +32,8 @@ It uses jquery for dynamic countdown. ## LINKS * License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html) - * Source & contribution : [GitHub Page](https://github.com/JcDenis/countdown) - * Packages & details : [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/countdown) + * Source & contribution : [Gitea Page](https://git.dotclear.watch/JcDenis/countdown) or [GitHub Page](https://github.com/JcDenis/countdown) + * Packages & details : [Gitea Page](https://git.dotclear.watch/JcDenis/countdown/releases) or [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/countdown) * Discuss & help : [Dotclear forum](https://forum.dotclear.org/viewforum.php?id=16) ## CONTRIBUTORS diff --git a/_define.php b/_define.php index 7eeaab3..3117594 100644 --- a/_define.php +++ b/_define.php @@ -10,7 +10,7 @@ * @copyright Jean-Christian Denis * @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html */ -if (!defined('DC_RC_PATH') || is_null(dcCore::app()->auth)) { +if (!defined('DC_RC_PATH')) { return; } @@ -18,15 +18,15 @@ $this->registerModule( 'CountDown', 'Countdown and stopwatch', 'Moe (http://gniark.net/) and contributors', - '2.2', + '2.3', [ - 'requires' => [['core', '2.22']], + 'requires' => [['core', '2.27']], 'permissions' => dcCore::app()->auth->makePermissions([ dcCore::app()->auth::PERMISSION_ADMIN, ]), 'type' => 'plugin', - 'support' => 'https://forum.dotclear.org/viewforum.php?id=16', - 'details' => 'https://plugins.dotaddict.org/dc2/details/' . basename(__DIR__), - 'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml', + 'support' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/issues', + 'details' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/src/branch/master/README.md', + 'repository' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/raw/branch/master/dcstore.xml', ] ); diff --git a/dcstore.xml b/dcstore.xml index 6d5626c..1746d14 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,12 +2,12 @@ CountDown - 2.2 + 2.3 Moe (http://gniark.net/) and contributors Countdown and stopwatch - https://github.com/JcDenis/countdown/releases/download/v2.2/plugin-countdown.zip - 2.22 - https://plugins.dotaddict.org/dc2/details/countdown - https://forum.dotclear.org/viewforum.php?id=16 + https://gitea.dotclear.watch/JcDenis/countdown/releases/download/v2.3/plugin-countdown.zip + 2.27 + https://git.dotclear.watch/JcDenis/countdown/src/branch/master/README.md + https://git.dotclear.watch/JcDenis/countdown/issues