diff --git a/CHANGELOG.md b/CHANGELOG.md index 97f4107..8b8ea94 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,19 +1,32 @@ -1.5 - 2023.05.14 -- require dotclear 2.26 -- fix wrong repository version +emailNotification 1.6 - 2023.08.12 +=========================================================== +* Require Dotclear 2.27 +* Require PHP 7.4+ +* Upgrade to Dotclear 2.27 +* Move third party repository +* Use Dotclear style for CHANGELOG -1.4 - 2023.04.22 -- require dotclear 2.26 -- use latest dotclear namespace -- use sql statement -- fix nullsafe warnings +emailNotification 1.5 - 2023.05.14 +=========================================================== +* require dotclear 2.26 +* fix wrong repository version -1.3 - 2023.03.26 -- require dotclear 2.26 -- use namespace +emailNotification 1.4 - 2023.04.22 +=========================================================== +* require dotclear 2.26 +* use latest dotclear namespace +* use sql statement +* fix nullsafe warnings -1.2 - 2022.12.07 -- update to dotclear 2.24 +emailNotification 1.3 - 2023.03.26 +=========================================================== +* require dotclear 2.26 +* use namespace -1.1 -- first commit on github \ No newline at end of file +emailNotification 1.2 - 2022.12.07 +=========================================================== +* update to dotclear 2.24 + +emailNotification 1.1 +=========================================================== +* first commit on github \ No newline at end of file diff --git a/README.md b/README.md index 74ba6a9..5d36cac 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,10 @@ # README -[![Release](https://img.shields.io/github/v/release/JcDenis/emailNotification)](https://github.com/JcDenis/emailNotification/releases) -[![Date](https://img.shields.io/github/release-date/JcDenis/emailNotification)](https://github.com/JcDenis/emailNotification/releases) -[![Issues](https://img.shields.io/github/issues/JcDenis/emailNotification)](https://github.com/JcDenis/emailNotification/issues) -[![Dotclear](https://img.shields.io/badge/dotclear-v2.26-blue.svg)](https://fr.dotclear.org/download) -[![Dotaddict](https://img.shields.io/badge/dotaddict-official-green.svg)](https://plugins.dotaddict.org/dc2/details/emailNotification) -[![License](https://img.shields.io/github/license/JcDenis/emailNotification)](https://github.com/JcDenis/emailNotification/blob/master/LICENSE) +[![Release](https://img.shields.io/badge/release-1.6-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/emailNotification/releases) +[![Date](https://img.shields.io/badge/date-2023.08.12-c44d58.svg)](https://git.dotclear.watch/JcDenis/emailNotification/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/emailNotification) +[![License](https://img.shields.io/github/license/JcDenis/emailNotification)](https://git.dotclear.watch/JcDenis/emailNotification/blob/master/LICENSE) ## WHAT IS EMAILNOTIFICATION ? @@ -16,10 +15,11 @@ It sends email when a new comment is done. ## REQUIREMENTS - _Email notification_ requires: +_Email notification_ requires: - * Dotclear 2.26 - * A working mail service +* Dotclear 2.27 +* PHP 7.4+ +* A working mail service ## USAGE @@ -30,13 +30,13 @@ Go to ''user preferences'' => fieldset ''others options'', fill in form. ## LINKS - * License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html) - * Source & contribution : [GitHub Page](https://github.com/JcDenis/emailNotification) - * Packages & details : [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/emailNotification) +* License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html) +* Source & contribution : [Gitea Page](https://git.dotclear.watch/JcDenis/emailNotification) or [GitHub Page](https://github.com/JcDenis/emailNotification) +* Packages & details : [Gitea Page](https://git.dotclear.watch/JcDenis/emailNotification/releases) or [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/emailNotification) ## CONTRIBUTORS - * Olivier Meunier (author) - * Jean-Christian Denis +* Olivier Meunier (author) +* 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 fc7c868..0865321 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( 'Email notification', 'Email notification', 'Olivier Meunier and contributors', - '1.5', + '1.6', [ - 'requires' => [['core', '2.26']], + 'requires' => [['core', '2.27']], 'permissions' => dcCore::app()->auth->makePermissions([ dcCore::app()->auth::PERMISSION_USAGE, dcCore::app()->auth::PERMISSION_CONTENT_ADMIN, ]), 'type' => 'plugin', - 'support' => 'https://github.com/JcDenis/emailNotification', - 'details' => 'https://plugins.dotaddict.org/dc2/details/emailNotification', - 'repository' => 'https://raw.githubusercontent.com/JcDenis/emailNotification/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 8beb817..c73b246 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,12 +2,12 @@ Email notification - 1.5 + 1.6 Olivier Meunier and contributors Email notification - https://github.com/JcDenis/emailNotification/releases/download/v1.5/plugin-emailNotification.zip - 2.26 - https://plugins.dotaddict.org/dc2/details/emailNotification - https://github.com/JcDenis/emailNotification + https://git.dotclear.watch/JcDenis/emailNotification/releases/download/v1.6/plugin-emailNotification.zip + 2.27 + https://git.dotclear.watch/JcDenis/emailNotification/src/branch/master/README.md + https://git.dotclear.watch/JcDenis/emailNotification/issues