From 35c47d7f56daec60a6a927780b4529195f95febc Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Fri, 23 Dec 2022 15:53:49 +0100 Subject: [PATCH] release 2022.12.23 --- CHANGELOG.md | 11 +++++++++++ _define.php | 10 +++++----- dcstore.xml | 4 ++-- locales/fr/main.lang.php | 33 +++++++++++++++++++++++++++++++++ 4 files changed, 51 insertions(+), 7 deletions(-) create mode 100644 locales/fr/main.lang.php diff --git a/CHANGELOG.md b/CHANGELOG.md index e92028b..5053438 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +2022.12.23 +- use SVG icon +- use constant for table name +- use abstract plugin id and settings ns +- use short settings id +- use new addBehaviors +- fix autoload +- fix permissions +- fix install +- fix phpstan errors + 2022.11.20 - fix compatibility with Dotclear 2.24 (required) diff --git a/_define.php b/_define.php index d1eb7cc..b5acf77 100644 --- a/_define.php +++ b/_define.php @@ -25,11 +25,11 @@ $this->registerModule( dcAuth::PERMISSION_USAGE, dcAuth::PERMISSION_CONTENT_ADMIN, ]), - 'type' => 'plugin', - 'support' => 'https://github.com/JcDenis/' . basename(__DIR__), - 'details' => 'https://plugins.dotaddict.org/dc2/details/' . basename(__DIR__), - 'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml', - 'settings' => [ + 'type' => 'plugin', + 'support' => 'https://github.com/JcDenis/' . basename(__DIR__), + 'details' => 'https://plugins.dotaddict.org/dc2/details/' . basename(__DIR__), + 'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml', + 'settings' => [ 'blog' => '#params.pwt_params', ], ] diff --git a/dcstore.xml b/dcstore.xml index 1214921..e55ddda 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,10 +2,10 @@ Post widget text - 2022.11.20 + 2022.12.23 Jean-Christian Denis and Contributors Add a widget with a text related to an entry - https://github.com/JcDenis/postWidgetText/releases/download/v2022.11.20/plugin-postWidgetText.zip + https://github.com/JcDenis/postWidgetText/releases/download/v2022.12.23/plugin-postWidgetText.zip 2.24 https://plugins.dotaddict.org/dc2/details/postWidgetText https://github.com/JcDenis/postWidgetText diff --git a/locales/fr/main.lang.php b/locales/fr/main.lang.php new file mode 100644 index 0000000..cfb48ce --- /dev/null +++ b/locales/fr/main.lang.php @@ -0,0 +1,33 @@ +