diff --git a/CHANGELOG.md b/CHANGELOG.md index 39f8051..045bcc4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,19 +1,31 @@ -0.4.1 - 2023.06.17 +mail2log 0.5 - 2023.08.13 +=========================================================== +* Require Dotclear 2.24 +* Require PHP 7.4 +* Move third party repository +* Use Dotclear style for CHANGELOG + +mail2log 0.4.1 - 2023.06.17 +=========================================================== - fix php7.4 compatibility -0.4 - 2023.04.24 +mail2log 0.4 - 2023.04.24 +=========================================================== - fix nullsafe warnings - fix type hint -0.3 - 2023.03.11 +mail2log 0.3 - 2023.03.11 +=========================================================== - one file plugin - should be compatible with Dotclear 2.26 - translate plugin description -0.2 - 2022.12.22 +mail2log 0.2 - 2022.12.22 +=========================================================== - use abstract plugin id - fix permissions -0.1 - 2022.11.27 +mail2log 0.1 - 2022.11.27 +=========================================================== - First version - Required Dotclear 2.24 \ No newline at end of file diff --git a/README.md b/README.md index fee05ae..2d07f39 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,10 @@ # README -[![Release](https://img.shields.io/github/v/release/JcDenis/mail2log)](https://github.com/JcDenis/mail2log/releases) -[![Date](https://img.shields.io/github/release-date/JcDenis/mail2log)](https://github.com/JcDenis/mail2log/releases) -[![Issues](https://img.shields.io/github/issues/JcDenis/mail2log)](https://github.com/JcDenis/mail2log/issues) -[![Dotclear](https://img.shields.io/badge/dotclear-v2.24-blue.svg)](https://fr.dotclear.org/download) -[![Dotaddict](https://img.shields.io/badge/dotaddict-official-green.svg)](https://plugins.dotaddict.org/dc2/details/mail2log) -[![License](https://img.shields.io/github/license/JcDenis/mail2log)](https://github.com/JcDenis/mail2log/blob/master/LICENSE) +[![Release](https://img.shields.io/badge/release-0.5-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/mail2log/releases) +[![Date](https://img.shields.io/badge/date-2023.08.13-c44d58.svg)](https://git.dotclear.watch/JcDenis/mail2log/releases) +[![Dotclear](https://img.shields.io/badge/dotclear-v2.27-137bbb.svg)](https://fr.dotclear.org/download) +[![Dotaddict](https://img.shields.io/badge/dotaddict-official-9ac123.svg)](https://plugins.dotaddict.org/dc2/details/mail2log) +[![License](https://img.shields.io/github/license/JcDenis/mail2log)](https://git.dotclear.watch/JcDenis/mail2log/blob/master/LICENSE) ## WHAT IS MAIL2LOG ? @@ -17,10 +16,11 @@ and send them to Dotclear's log database table. ## REQUIREMENTS - _mail2log_ requires: +_mail2log_ requires: - * Dotclear 2.24 - * A plugin to read log. (dcLog) +* Dotclear 2.24 +* PHP 7.4 +* A plugin to read log. (dcLog) ## USAGE @@ -32,12 +32,12 @@ Use it for dev only. ## LINKS - * License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html) - * Source & contribution : [GitHub Page](https://github.com/JcDenis/mail2log) - * Packages & details: [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/mail2log) +* License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html) +* Source & contribution : [Gitea Page](https://git.dotclear.watch/JcDenis/mail2log) or [GitHub Page](https://github.com/JcDenis/mail2log) +* Packages & details: [Gitea Page](https://git.dotclear.watch/JcDenis/mail2log/releases) or [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/mail2log) ## CONTRIBUTORS - * Jean-Christian Denis +* Jean-Christian Denis - You are welcome to contribute to this code. \ No newline at end of file +You are welcome to contribute to this code. diff --git a/_define.php b/_define.php index 44597f7..455a3c4 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,16 +18,16 @@ $this->registerModule( 'Mail to log', 'Do not send mails but log them', 'Jean-Christian Denis and contributors', - '0.4.1', + '0.5', [ 'requires' => [['core', '2.24']], 'permissions' => dcCore::app()->auth->makePermissions([ dcCore::app()->auth::PERMISSION_USAGE, ]), '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' => '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 6be3370..480b701 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,12 +2,12 @@ Mail to log - 0.4.1 + 0.5 Jean-Christian Denis and contributors Do not send mails but log them - https://github.com/JcDenis/mail2log/releases/download/v0.4.1/plugin-mail2log.zip + https://git.dotclear.watch/JcDenis/mail2log/releases/download/v0.5/plugin-mail2log.zip 2.24 - https://plugins.dotaddict.org/dc2/details/mail2log - https://github.com/JcDenis/mail2log + https://git.dotclear.watch/JcDenis/mail2log/src/branch/master/README.md + https://git.dotclear.watch/JcDenis/mail2log/issues