From 1670e45982a48f7628427c1fb2f58ec5f5a86964 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sat, 12 Aug 2023 18:09:31 +0200 Subject: [PATCH] release 1.4 --- CHANGELOG.md | 56 +++++++++++++++++++++++++++++++++++++--------------- README.md | 32 +++++++++++++++--------------- _define.php | 18 ++++++++--------- dcstore.xml | 10 +++++----- 4 files changed, 70 insertions(+), 46 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d860706..0e23ac7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,65 +1,89 @@ -1.3 - 2023.05.13 +disclaimer 1.4 - 2023.08.12 +=========================================================== +* Require dotclear 2.27 +* Require PHP 7.4+ +* Upgrade to Dotclear 2.27 +* Move third party repository +* Use Dotclear style for CHANGELOG + +disclaimer 1.3 - 2023.05.13 +=========================================================== * require dotclear 2.26 * some cleaning for dc2.26 stable -1.2 - 2023.04.25 +disclaimer 1.2 - 2023.04.25 +=========================================================== * require dotclear 2.26 * fix message editor * fix nullsafe warnings * use latest dotclear namespaces * add plugin Uninstaller features -1.1 - 2023.04.10 +disclaimer 1.1 - 2023.04.10 +=========================================================== * require dotclear 2.26 * use namespace -1.0 - 2022.12.21 +disclaimer 1.0 - 2022.12.21 +=========================================================== * update to dotclear 2.24 * remove currywurst template * add dotty template -0.9 - 2015.07.19 - Pierre Van Glabek +disclaimer 0.9 - 2015.07.19 - Pierre Van Glabek +=========================================================== * héritabe thème mustek * dc2.8 requis -0.8.1 - 2015.04.22 - Pierre Van Glabeke +disclaimer 0.8.1 - 2015.04.22 - Pierre Van Glabeke +=========================================================== * modif url support * modif tpl (validation html5) -0.8 - 2015.02.20 - Pierre Van Glabeke +disclaimer 0.8 - 2015.02.20 - Pierre Van Glabeke +=========================================================== * ajout barre d'édition dcLegacyEditor * correction tpl mustek disclaimer.html -0.7 - 2015.01.06 - Pierre Van Glabeke +disclaimer 0.7 - 2015.01.06 - Pierre Van Glabeke +=========================================================== * compatibilité dc2.7 * modification tpl pour html5 (currywurst et mustek) * modification localisation * modification fichier css -0.6.2 - 2013.11.14 +disclaimer 0.6.2 - 2013.11.14 +=========================================================== * Switch to Dotclear 2.6 -0.6.1 - 2010.11.12 +disclaimer 0.6.1 - 2010.11.12 +=========================================================== * Fixed install on nightly build * Fixed some post fields -0.6 - 2010.06.05 +disclaimer 0.6 - 2010.06.05 +=========================================================== * Switched to DC 2.2 -0.5 - 2009.12.13 +disclaimer 0.5 - 2009.12.13 +=========================================================== * Added LICENSE * Added versioning * Prepared DC 2.2 break -0.4.1 - 2009.11.12 +disclaimer 0.4.1 - 2009.11.12 +=========================================================== * Fixed ''header'' errors on public side -0.4 - 2009.09.23 +disclaimer 0.4 - 2009.09.23 +=========================================================== * Fixed DC 2.1.6 URL handlers ending -0.3 - 2009.09.15 +disclaimer 0.3 - 2009.09.15 +=========================================================== * Fixed search engine indexing * Added support of plugin dcAdvancedCleaner -0.2 - 2009.08.16 +disclaimer 0.2 - 2009.08.16 +=========================================================== * Fixed php 5.3 compatibility diff --git a/README.md b/README.md index e62810b..116b779 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,10 @@ # README -[![Release](https://img.shields.io/github/v/release/JcDenis/disclaimer)](https://github.com/JcDenis/disclaimer/releases) -[![Date](https://img.shields.io/github/release-date/JcDenis/disclaimer)](https://github.com/JcDenis/disclaimer/releases) -[![Issues](https://img.shields.io/github/issues/JcDenis/disclaimer)](https://github.com/JcDenis/disclaimer/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/disclaimer) -[![License](https://img.shields.io/github/license/JcDenis/disclaimer)](https://github.com/JcDenis/disclaimer/blob/master/LICENSE) +[![Release](https://img.shields.io/badge/release-1.4-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/disclaimer/releases) +[![Date](https://img.shields.io/badge/date-2023.09.12-c44d58.svg)](https://git.dotclear.watch/JcDenis/disclaimer/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/disclaimer) +[![License](https://img.shields.io/github/license/JcDenis/disclaimer)](https://git.dotclear.watch/JcDenis/disclaimer/blob/master/LICENSE) ## WHAT IS DISCLAIMER ? @@ -18,10 +17,11 @@ This plugin is inspired from plugin "Private mode" by Osku. ## REQUIREMENTS - _disclaimer_ requires: +_disclaimer_ requires: - * admin permissions on blog - * Dotclear 2.26 +* admin permissions on blog +* Dotclear 2.27 +* PHP 7.4+ ## USAGE @@ -32,17 +32,17 @@ You can activate and setup _disclaimer_ from blog preferences page. ## LINKS - * License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html) - * Source & contribution : [GitHub Page](https://github.com/JcDenis/disclaimer) - * Packages & details : [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/disclaimer) - * Help & discuss : [Dotclear forum](http://forum.dotclear.org/viewtopic.php?id=40000) +* License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html) +* Source & contribution : [Gitea Page](https://git.dotclear.watch/JcDenis/disclaimer) or [GitHub Page](https://github.com/JcDenis/disclaimer) +* Packages & details : [Gitea Page](https://git.dotclear.watch/JcDenis/disclaimer/releases) or [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/disclaimer) +* Help & discuss : [Dotclear forum](http://forum.dotclear.org/viewtopic.php?id=40000) ## CONTRIBUTORS - * Jean-Christian Denis (author) - * Pierre Van Glabeke +* Jean-Christian Denis (author) +* Pierre Van Glabeke - You are welcome to contribute to this code. +You are welcome to contribute to this code. ## HELP (in french) diff --git a/_define.php b/_define.php index 418fd2f..6722307 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,18 +18,18 @@ $this->registerModule( 'Disclaimer', 'Add a disclaimer to your blog entrance', 'Jean-Christian Denis, Pierre Van Glabeke', - '1.3', + '1.4', [ - 'requires' => [['core', '2.26']], + 'requires' => [['core', '2.27']], 'permissions' => dcCore::app()->auth->makePermissions([ dcCore::app()->auth::PERMISSION_ADMIN, ]), - 'type' => 'plugin', - 'support' => 'http://forum.dotclear.org/viewtopic.php?id=40000', - 'details' => 'https://github.com/JcDenis/' . basename(__DIR__), - 'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml', - 'settings' => [ - 'blog' => '#params.disclaimerParam', + 'settings' => [ + 'blog' => '#params.' . basename(__DIR__) . 'Param', ], + 'type' => 'plugin', + '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 26c0c98..ec788c2 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,12 +2,12 @@ Disclaimer - 1.3 + 1.4 Jean-Christian Denis, Pierre Van Glabeke Add a disclaimer to your blog entrance - https://github.com/JcDenis/disclaimer/releases/download/v1.3/plugin-disclaimer.zip - 2.26 - https://github.com/JcDenis/disclaimer - http://forum.dotclear.org/viewtopic.php?id=40000 + https://git.dotclear.watch/JcDenis/disclaimer/releases/download/v1.4/plugin-disclaimer.zip + 2.27 + https://git.dotclear.watch/JcDenis/disclaimer/src/branch/master/README.md + https://git.dotclear.watch/JcDenis/disclaimer/issues