From e030131eb492ea5bf9955909357277ccc0ab6650 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sun, 6 Aug 2023 19:24:48 +0200 Subject: [PATCH] release 1.5 --- CHANGELOG.md | 31 +++++++++++++++++++++++-------- README.md | 16 ++++++++-------- _define.php | 12 ++++++------ dcstore.xml | 10 +++++----- 4 files changed, 42 insertions(+), 27 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 737aaa9..335ed36 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,25 +1,40 @@ -1.4.1 - 2026.04.26 +cleanURLs 1.5 - 2023.08.06 +=========================================================== +* Require Dotclear 2.27 +* Require PHP 7.4+ +* Upgrade to Dotclear 2.27 +* Move third party repository +* Use Dotclear style for changelog + +cleanURLs 1.4.1 - 2023.04.26 +=========================================================== * add special chars to convert -1.4 - 2023.04.23 +cleanURLs 1.4 - 2023.04.23 +=========================================================== * require dotclear 2.26 * use latest dotclear namespace * fix nullsafe warnings -1.3.2 - 2023.03.19 +cleanURLs 1.3.2 - 2023.03.19 +=========================================================== * fix init check -1.3.1 - 2023.03.12 +cleanURLs 1.3.1 - 2023.03.12 +=========================================================== * fix previously introduced bug * add method to clean a string -1.3 - 2023.03.10 +cleanURLs 1.3 - 2023.03.10 +=========================================================== * update to dotclear 2.25 * use namespace -1.2 - 2023.01.11 +cleanURLs 1.2 - 2023.01.11 +=========================================================== * update to dotclear 2.24 * update plugin files structure -1.1.1 - 2023.01.11 -* First github version from cleanURLs 1.1.1 \ No newline at end of file +cleanURLs 1.1.1 - 2023.01.11 +=========================================================== +* First github version from cleanURLs 1.1.1 diff --git a/README.md b/README.md index 5234407..f35857c 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # README -[![Release](https://img.shields.io/github/v/release/JcDenis/cleanURLs)](https://github.com/JcDenis/cleanURLs/releases) -[![Date](https://img.shields.io/github/release-date/JcDenis/cleanURLs)](https://github.com/JcDenis/cleanURLs/releases) -[![Issues](https://img.shields.io/github/issues/JcDenis/cleanURLs)](https://github.com/JcDenis/cleanURLs/issues) -[![Dotclear](https://img.shields.io/badge/dotclear-v2.26-blue.svg)](https://fr.dotclear.org/download) +[![Release](https://img.shields.io/github/v/release/JcDenis/cleanURLs)](https://git.dotclear.watch/JcDenis/cleanURLs/releases) +[![Date](https://img.shields.io/github/release-date/JcDenis/cleanURLs)](https://git.dotclear.watch/JcDenis/cleanURLs/releases) +[![Issues](https://img.shields.io/github/issues/JcDenis/cleanURLs)](https://git.dotclear.watch/JcDenis/cleanURLs/issues) +[![Dotclear](https://img.shields.io/badge/dotclear-v2.27-blue.svg)](https://fr.dotclear.org/download) [![Dotaddict](https://img.shields.io/badge/dotaddict-official-green.svg)](https://plugins.dotaddict.org/dc2/details/cleanURLs) -[![License](https://img.shields.io/github/license/JcDenis/cleanURLs)](https://github.com/JcDenis/cleanURLs/blob/master/LICENSE) +[![License](https://img.shields.io/github/license/JcDenis/cleanURLs)](https://git.dotclear.watch/JcDenis/cleanURLs/blob/master/LICENSE) ## WHAT IS ENHANCEPOSTCONTENT ? @@ -18,7 +18,7 @@ It removes diacritics and punctuation from URLs... _cleanURLs_ requires: - * Dotclear 2.26 + * Dotclear 2.27 ## USAGE @@ -30,8 +30,8 @@ Then when a post is created, it's URL is cleaned automagically. ## LINKS * License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html) - * Source & contribution : [GitHub Page](https://github.com/JcDenis/cleanURLs) - * Packages & details: [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/cleanURLs) + * Source & contribution : [Gitea Page](https://git.dotclear.watch/JcDenis/cleanURLs) or [GitHub Page](https://github.com/JcDenis/cleanURLs) + * Packages & details: [Gitea Page](https://git.dotclear.watch/JcDenis/cleanURLs/releases) or [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/cleanURLs) * Discuss and help : [Dotclear Forum](http://forum.dotclear.org/viewtopic.php?id=40876) ## CONTRIBUTORS diff --git a/_define.php b/_define.php index 28bc669..8bc1dca 100644 --- a/_define.php +++ b/_define.php @@ -10,7 +10,7 @@ * @copyright Jean-Christian Denis * @copyright GPL-3.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; } @@ -18,16 +18,16 @@ $this->registerModule( 'Clean URLs', 'Removes diacritics and punctuation from URLs', 'Pierre Rudloff and contributors', - '1.4.1', + '1.5', [ - 'requires' => [['core', '2.26']], + 'requires' => [['core', '2.27']], 'permissions' => dcCore::app()->auth->makePermissions([ dcCore::app()->auth::PERMISSION_USAGE, dcCore::app()->auth::PERMISSION_CONTENT_ADMIN, ]), 'type' => 'plugin', - 'support' => 'https://github.com/JcDenis/' . basename(__DIR__), - 'details' => 'https://github.com/JcDenis/' . 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 2699957..f2b16fb 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,12 +2,12 @@ Clean URLs - 1.4.1 + 1.5 Pierre Rudloff and contributors Removes diacritics and punctuation from URLs - https://github.com/JcDenis/cleanURLs/releases/download/v1.4.1/plugin-cleanURLs.zip - 2.26 - https://github.com/JcDenis/cleanURLs - https://github.com/JcDenis/cleanURLs + https://gitea.dotclear.watch/JcDenis/cleanURLs/releases/download/v1.5/plugin-cleanURLs.zip + 2.27 + https://git.dotclear.watch/JcDenis/cleanURLs/src/branch/master/README.md + https://git.dotclear.watch/JcDenis/cleanURLs/issues