diff --git a/CHANGELOG.md b/CHANGELOG.md index 59c89e3..d6de407 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +1.2 - 2023.08.03 +- require Dotclear 2.27 +- require PHP 7.4+ +- upgrade to Dotclear 2.27 +- move repository to gitea (testing) + 1.2.1 - 2023.05.13 - require dotclear 2.26 - cleanup for dotclear 2.26 stable diff --git a/README.md b/README.md index 371c45a..34d485e 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Release](https://img.shields.io/github/v/release/JcDenis/whiteListCom)](https://github.com/JcDenis/whiteListCom/releases) [![Date](https://img.shields.io/github/release-date/JcDenis/whiteListCom)](https://github.com/JcDenis/whiteListCom/releases) [![Issues](https://img.shields.io/github/issues/JcDenis/whiteListCom)](https://github.com/JcDenis/whiteListCom/issues) -[![Dotclear](https://img.shields.io/badge/dotclear-v2.26-blue.svg)](https://fr.dotclear.org/download) +[![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/whiteListCom) [![License](https://img.shields.io/github/license/JcDenis/whiteListCom)](https://github.com/JcDenis/whiteListCom/blob/master/LICENSE) @@ -20,7 +20,7 @@ and a list of reserved names (pair of nickname / email ). _whiteListCom_ requires: * permissions to manage antispam - * Dotclear 2.26 + * Dotclear 2.27 ## USAGE @@ -34,8 +34,8 @@ Note: User must write a comment before able to be added to the list. ## LINKS * License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html) - * Source & contribution : [GitHub Page](https://github.com/JcDenis/whiteListCom) - * Packages & details : [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/whiteListCom) + * Source & contribution : [Gitea Page](http://gitea.jcdenis.fr/Dotclear/whiteListCom) or [GitHub Page](https://github.com/JcDenis/whiteListCom) + * Packages & details : [Gitea Page](http://gitea.jcdenis.fr/Dotclear/whiteListCom/releases) or [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/whiteListCom) ## CONTRIBUTORS diff --git a/_define.php b/_define.php index 2f2086b..8cbddc1 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 null; } @@ -18,10 +18,10 @@ $this->registerModule( 'Whitelist comments', 'Whitelists for comments moderation', 'Jean-Christian Denis and Contributors', - '1.2.1', + '1.3', [ 'requires' => [ - ['core', '2.26'], + ['core', '2.27'], ['antispam', '2.0'], ], 'permissions' => dcCore::app()->auth->makePermissions([ @@ -30,8 +30,8 @@ $this->registerModule( ]), 'priority' => 200, 'type' => 'plugin', - 'support' => 'https://github.com/JcDenis/' . basename(__DIR__), - 'details' => 'https://plugins.dotaddict.org/dc2/details/' . basename(__DIR__), - 'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml', + 'support' => 'http://gitea.jcdenis.fr/Dotclear/whiteListCom', + 'details' => 'http://gitea.jcdenis.fr/Dotclear/whiteListCom/src/branch/master/README.md', + 'repository' => 'http://gitea.jcdenis.fr/Dotclear/whiteListCom/raw/branch/master/dcstore.xml', ] ); diff --git a/dcstore.xml b/dcstore.xml index d2d3159..537d782 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,12 +2,12 @@ Whitelist comments - 1.2.1 + 1.3 Jean-Christian Denis and Contributors Whitelists for comments moderation - https://github.com/JcDenis/whiteListCom/releases/download/v1.2.1/plugin-whiteListCom.zip - 2.26 - https://plugins.dotaddict.org/dc2/details/whiteListCom - https://github.com/JcDenis/whiteListCom + https://gitea.jcdenis.fr/Dotclear/whiteListCom/releases/download/v1.3/plugin-whiteListCom.zip + 2.27 + http://gitea.jcdenis.fr/Dotclear/whiteListCom/src/branch/master/README.md + http://gitea.jcdenis.fr/Dotclear/whiteListCom