diff --git a/CHANGELOG.md b/CHANGELOG.md index 79f9b03..5d66c24 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +dcFilterDuplicate 1.4.1 - 2023.11.04 +=========================================================== +* Require Dotclear 2.28 +* Require PHP 8.1 +* Cosmetic fix + dcFilterDuplicate 1.4 - 2023.10.15 =========================================================== * Require Dotclear 2.28 diff --git a/README.md b/README.md index 4187241..2057684 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # README -[![Release](https://img.shields.io/badge/release-1.4-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/dcFilterDuplicate/releases) -![Date](https://img.shields.io/badge/date-2023.10.15-c44d58.svg) +[![Release](https://img.shields.io/badge/release-1.4.1-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/dcFilterDuplicate/releases) +![Date](https://img.shields.io/badge/date-2023.11.04-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/dcFilterDuplicate) [![License](https://img.shields.io/badge/license-GPL--2.0-ececec.svg)](https://git.dotclear.watch/JcDenis/dcFilterDuplicate/src/branch/master/LICENSE) @@ -31,6 +31,7 @@ Enable and configure "Dupicate comments filter" from antispam manager. * [Packages & details](https://git.dotclear.watch/JcDenis/dcFilterDuplicate/releases) (or on [Dotaddict](https://plugins.dotaddict.org/dc2/details/dcFilterDuplicate)) * [Sources & contributions](https://git.dotclear.watch/JcDenis/dcFilterDuplicate) (or on [GitHub](https://github.com/JcDenis/dcFilterDuplicate)) * [Issues & security](https://git.dotclear.watch/JcDenis/dcFilterDuplicate/issues) (or on [GitHub](https://github.com/JcDenis/dcFilterDuplicate/issues)) +* [Discuss & help](https://forum.dotclear.org/viewtopic.php?id=40605) ## CONTRIBUTORS diff --git a/_define.php b/_define.php index 93ffed5..bedd4a7 100644 --- a/_define.php +++ b/_define.php @@ -18,7 +18,7 @@ $this->registerModule( 'Duplicate filter', 'Antispam for duplicate comments on multiblog', 'Jean-Christian Denis, Pierre Van Glabeke', - '1.4', + '1.4.1', [ 'requires' => [['core', '2.28']], 'permissions' => 'My', diff --git a/dcstore.xml b/dcstore.xml index d8e150f..7a9ee2a 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,10 +2,10 @@ Duplicate filter - 1.4 + 1.4.1 Jean-Christian Denis, Pierre Van Glabeke Antispam for duplicate comments on multiblog - https://git.dotclear.watch/JcDenis/dcFilterDuplicate/releases/download/v1.4/plugin-dcFilterDuplicate.zip + https://git.dotclear.watch/JcDenis/dcFilterDuplicate/releases/download/v1.4.1/plugin-dcFilterDuplicate.zip 2.28 https://git.dotclear.watch/JcDenis/dcFilterDuplicate/src/branch/master/README.md https://git.dotclear.watch/JcDenis/dcFilterDuplicate/issues diff --git a/src/FilterDuplicate.php b/src/FilterDuplicate.php index c4a53ea..1605c4f 100644 --- a/src/FilterDuplicate.php +++ b/src/FilterDuplicate.php @@ -127,7 +127,7 @@ class FilterDuplicate extends SpamFilter (new Form(My::id() . '_gui'))->method('post')->action(Html::escapeURL($url))->fields([ (new Para())->items([ (new Label(__('Minimum content length before check for duplicate:')))->for(My::SETTING_PREFIX . 'minlen'), - (new Input(My::SETTING_PREFIX . 'minlen'))->size(65)->maxlenght(255)->value($this->getMinlength()), + (new Input(My::SETTING_PREFIX . 'minlen'))->size(65)->maxlength(255)->value($this->getMinlength()), ]), (new Para())->items([ (new Submit('save'))->value(__('Save')),