From 7d153a0ccfb2af272e21e4ce13eb518b7ff95268 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sun, 13 Aug 2023 18:30:59 +0200 Subject: [PATCH] release 2023.08.13 --- CHANGELOG.md | 42 ++++++++++++++++++++++++++++-------------- README.md | 32 ++++++++++++++++---------------- _define.php | 12 ++++++------ dcstore.xml | 10 +++++----- 4 files changed, 55 insertions(+), 41 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 62f137e..80e6e7a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,23 +1,37 @@ -2023.04.23 -- require dotclear 2.26 -- use latest dotclear namespace -- remove magic -- fix nullsafe warnings +postslistOptions 2023.08.13 +=========================================================== +* Require Dotclear 2.27 +* Require PHP 7.4 +* Upgrade to Dotclear 2.27 +* Move third party repository +* Use Dotclear style for CHANGELOG -2023.03.21 -- require Dotclear 2.25 -- use namespace +postslistOptions 2023.04.23 +=========================================================== +* require dotclear 2.26 +* use latest dotclear namespace +* remove magic +* fix nullsafe warnings -2022.12.23 -- fix permissions -- use anonymous function +postslistOptions 2023.03.21 +=========================================================== +* require Dotclear 2.25 +* use namespace -2022.11.28 +postslistOptions 2022.12.23 +=========================================================== +* fix permissions +* use anonymous function + +postslistOptions 2022.11.28 +=========================================================== * Use SVG icon * Update to Dotclear 2.24 -2013.07.10 +postslistOptions 2013.07.10 +=========================================================== * Fixed action on multiple posts -0.1 20100910 +postslistOptions 0.1 20100910 +=========================================================== * First lab release (closes #557) \ No newline at end of file diff --git a/README.md b/README.md index 6a75565..4f0a7b5 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,14 @@ # README -[![Release](https://img.shields.io/github/v/release/JcDenis/postslistOptions)](https://github.com/JcDenis/postslistOptions/releases) -[![Date](https://img.shields.io/github/release-date/JcDenis/postslistOptions)](https://github.com/JcDenis/postslistOptions/releases) -[![Issues](https://img.shields.io/github/issues/JcDenis/postslistOptions)](https://github.com/JcDenis/postslistOptions/issues) -[![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/postslistOptions) -[![License](https://img.shields.io/github/license/JcDenis/postslistOptions)](https://github.com/JcDenis/postslistOptions/blob/master/LICENSE) +[![Release](https://img.shields.io/badge/release-2023.08.13-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/postslistOptions/releases) +[![Date](https://img.shields.io/badge/date-2023.08.13-c44d58.svg)](https://git.dotclear.watch/JcDenis/postslistOptions/releases) +[![Dotclear](https://img.shields.io/badge/dotclear-v2.27-137bbb.svg)](https://fr.dotclear.org/download) +[![Dotaddict](https://img.shields.io/badge/dotaddict-official-9ac123.svg)](https://plugins.dotaddict.org/dc2/details/postslistOptions) +[![License](https://img.shields.io/github/license/JcDenis/postslistOptions)](https://git.dotclear.watch/JcDenis/postslistOptions/blob/master/LICENSE) ## WHAT IS POSTsLISTOPTIONS ? -_Posts list options_ is a plugin for the open-source +"Posts list options" is a plugin for the open-source web publishing software called Dotclear. It add options on the posts list action box like @@ -17,26 +16,27 @@ open/close/delete comments/trackbacks on multiple posts. ## REQUIREMENTS -_PostslistOptions_ requires: +_postslistOptions_ requires: - * admin permissions - * Dotclear 2.26 +* admin permissions +* Dotclear 2.27 +* PHP 7.4 ## USAGE -First install _PostslistOptions_, manualy from a zip package or from +First install _postslistOptions_, manualy from a zip package or from Dotaddict repository. (See Dotclear's documentation to know how do this) Then this plugin adds options de the posts list actions box. ## LINKS - * License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html) - * Source & contribution : [GitHub Page](https://github.com/JcDenis/postslistOptions) - * Packages & details : [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/postslistOptions) +* License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html) +* Source & contribution : [Gitea Page](https://git.dotclear.watch/JcDenis/postslistOptions) or [GitHub Page](https://github.com/JcDenis/postslistOptions) +* Packages & details: [Gitea Page](https://git.dotclear.watch/JcDenis/postslistOptions/releases) or [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/postslistOptions) ## CONTRIBUTORS - * Jean-Christian Denis +* Jean-Christian Denis - You are welcome to contribute to this code. \ No newline at end of file +You are welcome to contribute to this code. diff --git a/_define.php b/_define.php index a598cb6..e7b9360 100644 --- a/_define.php +++ b/_define.php @@ -10,7 +10,7 @@ * @copyright Jean-Christian Denis * @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html */ -if (!defined('DC_RC_PATH') || is_null(dcCore::app()->auth)) { +if (!defined('DC_RC_PATH')) { return null; } @@ -18,15 +18,15 @@ $this->registerModule( 'Posts list options', 'Add some options on admin posts list', 'Jean-Christian Denis and Contributors', - '2023.04.23', + '2023.08.13', [ - 'requires' => [['core', '2.26']], + 'requires' => [['core', '2.27']], 'permissions' => dcCore::app()->auth->makePermissions([ dcCore::app()->auth::PERMISSION_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', + 'support' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/issues', + 'details' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/src/branch/master/README.md', + 'repository' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/raw/branch/master/dcstore.xml', ] ); diff --git a/dcstore.xml b/dcstore.xml index 02aa4c6..70cb074 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,12 +2,12 @@ Posts list options - 2023.04.23 + 2023.08.13 Jean-Christian Denis and Contributors Add some options on admin posts list - https://github.com/JcDenis/postslistOptions/releases/download/v2023.04.23/plugin-postslistOptions.zip - 2.26 - https://plugins.dotaddict.org/dc2/details/postslistOptions - https://github.com/JcDenis/postslistOptions + https://git.dotclear.watch/JcDenis/postslistOptions/releases/download/v2023.08.13/plugin-postslistOptions.zip + 2.27 + https://git.dotclear.watch/JcDenis/postslistOptions/src/branch/master/README.md + https://git.dotclear.watch/JcDenis/postslistOptions/issues