release 0.7

This commit is contained in:
Jean-Christian Denis 2023-10-13 20:57:41 +02:00
parent 9258788db5
commit 5097cc7736
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951
5 changed files with 39 additions and 15 deletions

View file

@ -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

View file

@ -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)

View file

@ -1,27 +1,26 @@
<?php
/**
* @brief mail2log, a plugin for Dotclear 2
* @file
* @brief The plugin mail2log definition
* @ingroup mail2log
*
* @package Dotclear
* @subpackage Plugin
* @defgroup mail2log Plugin mail2log.
*
* @author Jean-Christian Denis and contributors
* Do not send mails but log them.
*
* @copyright Jean-Christian Denis
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
* @author Jean-Christian Denis (author)
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
*/
use Dotclear\App;
declare(strict_types=1);
$this->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',

View file

@ -2,10 +2,10 @@
<modules xmlns:da="http://dotaddict.org/da/">
<module id="mail2log">
<name>Mail to log</name>
<version>0.6</version>
<version>0.7</version>
<author>Jean-Christian Denis and contributors</author>
<desc>Do not send mails but log them</desc>
<file>https://git.dotclear.watch/JcDenis/mail2log/releases/download/v0.6/plugin-mail2log.zip</file>
<file>https://git.dotclear.watch/JcDenis/mail2log/releases/download/v0.7/plugin-mail2log.zip</file>
<da:dcmin>2.28</da:dcmin>
<da:details>https://git.dotclear.watch/JcDenis/mail2log/src/branch/master/README.md</da:details>
<da:support>https://git.dotclear.watch/JcDenis/mail2log/issues</da:support>

19
src/My.php Normal file
View file

@ -0,0 +1,19 @@
<?php
declare(strict_types=1);
namespace Dotclear\Plugin\mail2log;
use Dotclear\Module\MyPlugin;
/**
* @brief mail2log My helper.
* @ingroup mail2log
*
* @author Jean-Christian Denis (author)
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
*/
class My extends MyPlugin
{
// use default permissions
}