diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e7bc45..4aae5b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +mail2log 0.7 - 2023.10.13 +=========================================================== +* Require Dotclear 2.28 +* Require PHP 8.1 +* Code review + mail2log 0.6 - 2023.10.07 =========================================================== * Require Dotclear 2.28 diff --git a/README.md b/README.md index 7ff8c4a..cb9b328 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # README -[![Release](https://img.shields.io/badge/release-0.6-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/mail2log/releases) -![Date](https://img.shields.io/badge/date-2023.10.07-c44d58.svg) +[![Release](https://img.shields.io/badge/release-0.7-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/mail2log/releases) +![Date](https://img.shields.io/badge/date-2023.10.13-c44d58.svg) [![Dotclear](https://img.shields.io/badge/dotclear-v2.28-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/badge/license-GPL--2.0-ececec.svg)](https://git.dotclear.watch/JcDenis/mail2log/src/branch/master/LICENSE) diff --git a/_define.php b/_define.php index 4b49ba6..1c0f599 100644 --- a/_define.php +++ b/_define.php @@ -1,27 +1,26 @@ registerModule( 'Mail to log', 'Do not send mails but log them', 'Jean-Christian Denis and contributors', - '0.6', + '0.7', [ 'requires' => [['core', '2.28']], - 'permissions' => App::auth()->makePermissions([ - App::auth()::PERMISSION_USAGE, - ]), + 'permissions' => 'My', 'type' => 'plugin', 'support' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/issues', 'details' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/src/branch/master/README.md', diff --git a/dcstore.xml b/dcstore.xml index f4c37f6..a1c8540 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,10 +2,10 @@ Mail to log - 0.6 + 0.7 Jean-Christian Denis and contributors Do not send mails but log them - https://git.dotclear.watch/JcDenis/mail2log/releases/download/v0.6/plugin-mail2log.zip + https://git.dotclear.watch/JcDenis/mail2log/releases/download/v0.7/plugin-mail2log.zip 2.28 https://git.dotclear.watch/JcDenis/mail2log/src/branch/master/README.md https://git.dotclear.watch/JcDenis/mail2log/issues diff --git a/src/My.php b/src/My.php new file mode 100644 index 0000000..bc5d68e --- /dev/null +++ b/src/My.php @@ -0,0 +1,19 @@ +