release 1.1

This commit is contained in:
Jean-Christian Denis 2023-04-20 22:31:05 +02:00
parent e41cacdb70
commit 496cc3c30a
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951
5 changed files with 22 additions and 13 deletions

View file

@ -1,3 +1,10 @@
1.1 - 2023.04.20
- require dotclear 2.26
- use sql statement
- use dotclear helpers
- use plugin Uninstaller
- various cosmetic fix
1.0 - 2023.03.11
- update to dotclear 2.25
- use namespace

View file

@ -3,7 +3,7 @@
[![Release](https://img.shields.io/github/v/release/JcDenis/dcFilterDuplicate)](https://github.com/JcDenis/dcFilterDuplicate/releases)
[![Date](https://img.shields.io/github/release-date/JcDenis/dcFilterDuplicate)](https://github.com/JcDenis/dcFilterDuplicate/releases)
[![Issues](https://img.shields.io/github/issues/JcDenis/dcFilterDuplicate)](https://github.com/JcDenis/dcFilterDuplicate/issues)
[![Dotclear](https://img.shields.io/badge/dotclear-v2.25-blue.svg)](https://fr.dotclear.org/download)
[![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/dcFilterDuplicate)
[![License](https://img.shields.io/github/license/JcDenis/dcFilterDuplicate)](https://github.com/JcDenis/dcFilterDuplicate/blob/master/LICENSE)
@ -19,7 +19,7 @@ Filter as spam same (duplicate) comments from multiple blogs of a Dotclear's ins
dcFilterDuplicate requires:
* permissions to manage antispam
* Dotclear 2.25
* Dotclear 2.26
## USAGE

View file

@ -18,9 +18,9 @@ $this->registerModule(
'Duplicate filter',
'Antispam for duplicate comments on multiblog',
'Jean-Christian Denis, Pierre Van Glabeke',
'1.0',
'1.1',
[
'requires' => [['core', '2.25']],
'requires' => [['core', '2.26']],
'permissions' => dcCore::app()->auth->makePermissions([
dcAuth::PERMISSION_ADMIN,
]),

View file

@ -2,11 +2,11 @@
<modules xmlns:da="http://dotaddict.org/da/">
<module id="dcFilterDuplicate">
<name>Duplicate filter</name>
<version>1.0</version>
<version>1.1</version>
<author>Jean-Christian Denis, Pierre Van Glabeke</author>
<desc>Antispam for duplicate comments on multiblog</desc>
<file>https://github.com/JcDenis/dcFilterDuplicate/releases/download/v1.0/plugin-dcFilterDuplicate.zip</file>
<da:dcmin>2.25</da:dcmin>
<file>https://github.com/JcDenis/dcFilterDuplicate/releases/download/v1.1/plugin-dcFilterDuplicate.zip</file>
<da:dcmin>2.26</da:dcmin>
<da:details>http://plugins.dotaddict.org/dc2/details/dcFilterDuplicate</da:details>
<da:support>http://forum.dotclear.org/viewtopic.php?pid=332947#p332947</da:support>
</module>

View file

@ -9,9 +9,11 @@
# DOT NOT MODIFY THIS FILE !
#
l10n::$locales['Duplicate'] = 'Doublons';
l10n::$locales['Same comments on others blogs of a multiblog'] = 'Commentaires identiques sur les autres blogs du multiblog';
l10n::$locales['Minimum content length before check for duplicate:'] = 'Longueur minimum du contenu pour faire une vérification :';
l10n::$locales['Super administrator set the minimum length of comment content to %d chars.'] = 'Un super administrateur a régler la longueur minimum d\'un commentaire à surveiller à %d caractères.';
l10n::$locales['Antispam for duplicate comments on multiblog'] = 'Antispam contre les doublons de commentaires sur un multiblog';
l10n::$locales['Duplicate filter'] = 'Filtre de doublons';
use Dotclear\Helper\L10n;
L10n::$locales['Duplicate'] = 'Doublons';
L10n::$locales['Same comments on others blogs of a multiblog'] = 'Commentaires identiques sur les autres blogs du multiblog';
L10n::$locales['Minimum content length before check for duplicate:'] = 'Longueur minimum du contenu pour faire une vérification :';
L10n::$locales['Super administrator set the minimum length of comment content to %d chars.'] = 'Un super administrateur a régler la longueur minimum d\'un commentaire à surveiller à %d caractères.';
L10n::$locales['Antispam for duplicate comments on multiblog'] = 'Antispam contre les doublons de commentaires sur un multiblog';
L10n::$locales['Duplicate filter'] = 'Filtre de doublons';