parent
34e98978f0
commit
6b05bf8e06
24
CHANGELOG.md
24
CHANGELOG.md
|
@ -1,21 +1,35 @@
|
|||
1.3 - 2023.05.13
|
||||
emailOptionnel 1.4 - 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
|
||||
* Use plugin ID as settings ID (breaking change)
|
||||
|
||||
emailOptionnel 1.3 - 2023.05.13
|
||||
===========================================================
|
||||
* require dotclear 2.26
|
||||
* some cleaning for dc2.26 stable
|
||||
|
||||
1.2 - 2023.04.23
|
||||
emailOptionnel 1.2 - 2023.04.23
|
||||
===========================================================
|
||||
* require dotclear 2.26
|
||||
* use latest dotclear namespace
|
||||
* fix nullsafe warnings
|
||||
|
||||
1.1 - 2023.03.26
|
||||
emailOptionnel 1.1 - 2023.03.26
|
||||
===========================================================
|
||||
* require Dotclear 2.26
|
||||
* use namespace
|
||||
|
||||
1.0 - 2022.12.15
|
||||
emailOptionnel 1.0 - 2022.12.15
|
||||
===========================================================
|
||||
* update to dotclear 2.24
|
||||
* use anonymous function for behaviors
|
||||
|
||||
0.5.0 - 2020.03.28 - Gvx
|
||||
emailOptionnel 0.5.0 - 2020.03.28 - Gvx
|
||||
===========================================================
|
||||
* Suppression de l'attribut "required" sur le champ "c_mail"
|
||||
* Correction pour une adresse mail valide "invalid@invalid" par "invalid@invalid.fr"
|
||||
* Pré-requis dotclear V2.11 mini
|
||||
|
|
18
README.md
18
README.md
|
@ -1,11 +1,10 @@
|
|||
# README
|
||||
|
||||
[![Release](https://img.shields.io/github/v/release/JcDenis/emailOptionnel)](https://github.com/JcDenis/emailOptionnel/releases)
|
||||
[![Date](https://img.shields.io/github/release-date/JcDenis/emailOptionnel)](https://github.com/JcDenis/emailOptionnel/releases)
|
||||
[![Issues](https://img.shields.io/github/issues/JcDenis/emailOptionnel)](https://github.com/JcDenis/emailOptionnel/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/emailOptionnel)
|
||||
[![License](https://img.shields.io/github/license/JcDenis/emailOptionnel)](https://github.com/JcDenis/emailOptionnel/blob/master/LICENSE)
|
||||
[![Release](https://img.shields.io/badge/release-1.4-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/emailOptionnel/releases)
|
||||
[![Date](https://img.shields.io/badge/date-2023.08.12-c44d58.svg)](https://git.dotclear.watch/JcDenis/emailOptionnel/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/emailOptionnel)
|
||||
[![License](https://img.shields.io/github/license/JcDenis/emailOptionnel)](https://git.dotclear.watch/JcDenis/emailOptionnel/blob/master/LICENSE)
|
||||
|
||||
## WHAT IS EMAILOPTIONNEL ?
|
||||
|
||||
|
@ -19,7 +18,8 @@ Allow visitors to publish comments without fill in their email.
|
|||
_emailOptionnel_ requires:
|
||||
|
||||
* admin permissions to set up plugin
|
||||
* Dotclear 2.26
|
||||
* Dotclear 2.27
|
||||
* PHP 7.4+
|
||||
|
||||
## USAGE
|
||||
|
||||
|
@ -31,8 +31,8 @@ Go to ''blog preference'' => fieldset ''plugin preference'', 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/enhancePostContent)
|
||||
* Packages & details : [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/enhancePostContent)
|
||||
* Source & contribution : [Gitea Page](https://git.dotclear.watch/JcDenis/emailOptionnel) or [GitHub Page](https://github.com/JcDenis/enhancePostContent)
|
||||
* Packages & details : [Gitea Page](https://git.dotclear.watch/JcDenis/emailOptionnel/releases) or [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/enhancePostContent)
|
||||
* Discuss and help : [Dotclear Forum](http://forum.dotclear.org/viewtopic.php?pid=332948#p332948)
|
||||
|
||||
## CONTRIBUTORS
|
||||
|
|
16
_define.php
16
_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,18 +18,18 @@ $this->registerModule(
|
|||
'emailOptionnel',
|
||||
'Make e-mail address optional in comments',
|
||||
'Oleksandr Syenchuk, Pierre Van Glabeke, Gvx and Contributors',
|
||||
'1.3',
|
||||
'1.4',
|
||||
[
|
||||
'requires' => [['core', '2.26']],
|
||||
'requires' => [['core', '2.27']],
|
||||
'permissions' => dcCore::app()->auth->makePermissions([
|
||||
dcCore::app()->auth::PERMISSION_ADMIN,
|
||||
]),
|
||||
'type' => 'plugin',
|
||||
'support' => 'http://forum.dotclear.org/viewtopic.php?pid=332948#p332948',
|
||||
'details' => 'https://plugins.dotaddict.org/dc2/details/' . basename(__DIR__),
|
||||
'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml',
|
||||
'settings' => [
|
||||
'blog' => '#params.emailOptionnelParam',
|
||||
'blog' => '#params.' . basename(__DIR__) . 'Param',
|
||||
],
|
||||
'type' => 'plugin',
|
||||
'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',
|
||||
]
|
||||
);
|
||||
|
|
10
dcstore.xml
10
dcstore.xml
|
@ -2,12 +2,12 @@
|
|||
<modules xmlns:da="http://dotaddict.org/da/">
|
||||
<module id="emailOptionnel">
|
||||
<name>emailOptionnel</name>
|
||||
<version>1.3</version>
|
||||
<version>1.4</version>
|
||||
<author>Oleksandr Syenchuk, Pierre Van Glabeke, Gvx and Contributors</author>
|
||||
<desc>Make e-mail address optional in comments</desc>
|
||||
<file>https://github.com/JcDenis/emailOptionnel/releases/download/v1.3/plugin-emailOptionnel.zip</file>
|
||||
<da:dcmin>2.26</da:dcmin>
|
||||
<da:details>https://plugins.dotaddict.org/dc2/details/emailOptionnel</da:details>
|
||||
<da:support>http://forum.dotclear.org/viewtopic.php?pid=332948#p332948</da:support>
|
||||
<file>https://git.dotclear.watch/JcDenis/emailOptionnel/releases/download/v1.4/plugin-emailOptionnel.zip</file>
|
||||
<da:dcmin>2.27</da:dcmin>
|
||||
<da:details>https://git.dotclear.watch/JcDenis/emailOptionnel/src/branch/master/README.md</da:details>
|
||||
<da:support>https://git.dotclear.watch/JcDenis/emailOptionnel/issues</da:support>
|
||||
</module>
|
||||
</modules>
|
||||
|
|
Loading…
Reference in New Issue