diff --git a/CHANGELOG.md b/CHANGELOG.md index f04c2c0..24d5588 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +tinyPacker 1.4.3 - 2023.11.04 +=========================================================== +* Require Dotclear 2.28 +* Require PHP 8.1+ +* Code review + tinyPacker 1.4.2 - 2023.10.20 =========================================================== * Require Dotclear 2.28 diff --git a/README.md b/README.md index 669338b..cb9acc2 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # README -[![Release](https://img.shields.io/badge/release-1.4.2-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/tinyPacker/releases) -![Date](https://img.shields.io/badge/date-2023.10.20-c44d58.svg) +[![Release](https://img.shields.io/badge/release-1.4.3-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/tinyPacker/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/tinyPacker) [![License](https://img.shields.io/badge/license-GPL--2.0-ececec.svg)](https://git.dotclear.watch/JcDenis/tinyPacker/src/branch/master/LICENSE) diff --git a/_define.php b/_define.php index 5e34507..ef74787 100644 --- a/_define.php +++ b/_define.php @@ -17,7 +17,7 @@ $this->registerModule( 'Tiny packer', 'Quick pack theme or plugin into public dir', 'Jean-Christian Denis', - '1.4.2', + '1.4.3', [ 'requires' => [['core', '2.28']], 'permissions' => 'My', diff --git a/dcstore.xml b/dcstore.xml index 27173b8..f80c896 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,10 +2,10 @@ Tiny packer - 1.4.2 + 1.4.3 Jean-Christian Denis Quick pack theme or plugin into public dir - https://git.dotclear.watch/JcDenis/tinyPacker/releases/download/v1.4.2/plugin-tinyPacker.zip + https://git.dotclear.watch/JcDenis/tinyPacker/releases/download/v1.4.3/plugin-tinyPacker.zip 2.28 https://git.dotclear.watch/JcDenis/tinyPacker/src/branch/master/README.md https://git.dotclear.watch/JcDenis/tinyPacker/issues diff --git a/src/Backend.php b/src/Backend.php index f3d6d06..6dfc20d 100644 --- a/src/Backend.php +++ b/src/Backend.php @@ -17,8 +17,8 @@ use Dotclear\Helper\Network\Http; use Exception; /** - * @brief tinyPacker admin class. - * @ingroup tinyPacker + * @brief tinyPacker admin class. + * @ingroup tinyPacker * * Add action and button to modules lists. * diff --git a/src/My.php b/src/My.php index 9d2dd4e..2936f95 100644 --- a/src/My.php +++ b/src/My.php @@ -8,8 +8,8 @@ use Dotclear\App; use Dotclear\Module\MyPlugin; /** - * @brief tinyPacker My helper. - * @ingroup tinyPacker + * @brief tinyPacker My helper. + * @ingroup tinyPacker * * @author Jean-Christian Denis * @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html @@ -44,8 +44,8 @@ class My extends MyPlugin public static function checkCustomContext(int $context): ?bool { - // Limit to super admin return match ($context) { + // Limit to super admin self::MODULE => App::auth()->isSuperAdmin(), default => null, };