diff --git a/CHANGELOG.md b/CHANGELOG.md index 519d2e4..f82b42e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +2023.03.24 +- require Dotclear 2.26 +- require PHP 8.1 +- use namespace +- use readonly vars on admin pages +- use DateTime for user timezone +- remove periodical timezone +- fix post timezone + 2022.11.20 - fix compatibility with Dotclear 2.24 (required) diff --git a/README.md b/README.md index f0eaeca..1daae2d 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Release](https://img.shields.io/github/v/release/JcDenis/periodical)](https://github.com/JcDenis/periodical/releases) [![Date](https://img.shields.io/github/release-date/JcDenis/periodical)](https://github.com/JcDenis/periodical/releases) [![Issues](https://img.shields.io/github/issues/JcDenis/periodical)](https://github.com/JcDenis/periodical/issues) -[![Dotclear](https://img.shields.io/badge/dotclear-v2.24-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/periodical) [![License](https://img.shields.io/github/license/JcDenis/periodical)](https://github.com/JcDenis/periodical/blob/master/LICENSE) @@ -22,7 +22,8 @@ and they will be publish ones after the others every week. * admin permissions to configure plugin * usage,contentadmin permissions to link feeds - * Dotclear 2.24 + * Dotclear 2.26 + * PHP >= 8.1 ## NOTICE diff --git a/_define.php b/_define.php index 42bf34f..574d6a8 100644 --- a/_define.php +++ b/_define.php @@ -18,9 +18,9 @@ $this->registerModule( 'Periodical', 'Published periodically entries', 'Jean-Christian Denis and contributors', - '2022.11.20', + '2023.03.24', [ - 'requires' => [['core', '2.24']], + 'requires' => [['core', '2.26']], 'permissions' => dcCore::app()->auth->makePermissions([ dcAuth::PERMISSION_USAGE, dcAuth::PERMISSION_CONTENT_ADMIN, diff --git a/_init.php b/_init.php index ed86aff..261705d 100644 --- a/_init.php +++ b/_init.php @@ -5,7 +5,7 @@ * @package Dotclear * @subpackage Plugin * - * @author Jean-Christian Denis and Contributors + * @author Jean-Christian Denis and contributors * * @copyright Jean-Christian Denis * @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html diff --git a/dcstore.xml b/dcstore.xml index 0f3a9a4..8d467a4 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,11 +2,11 @@ Periodical - 2022.11.20 + 2023.03.24 Jean-Christian Denis and contributors Published periodically entries - https://github.com/JcDenis/periodical/releases/download/v2022.11.20/plugin-periodical.zip - 2.24 + https://github.com/JcDenis/periodical/releases/download/v2023.03.24/plugin-periodical.zip + 2.26 https://plugins.dotaddict.org/dc2/details/periodical https://github.com/JcDenis/periodical diff --git a/locales/fr/main.lang.php b/locales/fr/main.lang.php new file mode 100644 index 0000000..5fb067d --- /dev/null +++ b/locales/fr/main.lang.php @@ -0,0 +1,66 @@ +