From 2cfade20e2aa57aaf72bae3b8bf3e57d1bd3d294 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sun, 6 Aug 2023 17:46:43 +0200 Subject: [PATCH] use Dotclear style for changelog --- CHANGELOG.md | 84 +++++++++++++++++++++++++++---------------------- _define.php | 2 +- dcstore.xml | 4 +-- src/Prepend.php | 2 +- 4 files changed, 51 insertions(+), 41 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c126209..59dc389 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,47 +1,57 @@ -1.9 - 2023.08.06 -- require Dotclear 2.27 -- require PHP 7.4+ -- move third party repository +alias 1.9 - 2023.08.06 +=========================================================== +* require Dotclear 2.27 +* require PHP 7.4+ +* move third party repository -1.8 - 2023.07.30 -- require Dotclear 2.27 -- require PHP 7.4+ -- update to Dotclear 2.27-dev +alias 1.8 - 2023.07.30 +=========================================================== +* require Dotclear 2.27 +* require PHP 7.4+ +* update to Dotclear 2.27-dev -1.7.1 - 2023.06.16 -- require dotclear 2.26 -- fix non php 7.4 type hint +alias 1.7.1 - 2023.06.16 +=========================================================== +* require dotclear 2.26 +* fix non php 7.4 type hint -1.7 - 2023.05.13 -- require dotclear 2.26 -- release for dc2.26 stable +alias 1.7 - 2023.05.13 +=========================================================== +* require dotclear 2.26 +* release for dc2.26 stable -1.6 - 2023.05.01 -- require dotclear 2.26 -- use behavior intead of urlHandler (see README) -- fix URL before saving (without blog URL) -- add option for visible redirection -- add plugin Uninstaller features -- change table structure (for redirect option) +alias 1.6 - 2023.05.01 +=========================================================== +* require dotclear 2.26 +* use behavior intead of urlHandler (see README) +* fix URL before saving (without blog URL) +* add option for visible redirection +* add plugin Uninstaller features +* change table structure (for redirect option) -1.5.1 - 2023.04.09 -- require dotclear 2.26 -- use sql statement +alias 1.5.1 - 2023.04.09 +=========================================================== +* require dotclear 2.26 +* use sql statement -1.5 - 2023.04.08 -- require dotclear 2.26 -- use namespace +alias 1.5 - 2023.04.08 +=========================================================== +* require dotclear 2.26 +* use namespace -1.4.1 - 2022.12.20 -- add number of aliases on list page -- fix install +alias 1.4.1 - 2022.12.20 +=========================================================== +* add number of aliases on list page +* fix install -1.4 - 2022.12.04 -- use dotclear breadcrumb, notice, redirection -- use constant for table name -- use constant for permissions -- add message on action -- update translation +alias 1.4 - 2022.12.04 +=========================================================== +* use dotclear breadcrumb, notice, redirection +* use constant for table name +* use constant for permissions +* add message on action +* update translation 1.3 - 2022.11.27 -- update for Dotclear 2.24 \ No newline at end of file +=========================================================== +* update for Dotclear 2.24 diff --git a/_define.php b/_define.php index fcb3e87..41a5005 100644 --- a/_define.php +++ b/_define.php @@ -18,7 +18,7 @@ $this->registerModule( 'alias', "Create aliases of your blog's URLs", 'Olivier Meunier and contributors', - '1.8', + '1.9', [ 'requires' => [['core', '2.27']], 'permissions' => dcCore::app()->auth->makePermissions([ diff --git a/dcstore.xml b/dcstore.xml index eac3bb7..802441e 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,10 +2,10 @@ alias - 1.8 + 1.9 Olivier Meunier and contributors Create aliases of your blog's URLs - https://gitea.dotclear.watch/JcDenis/alias/releases/download/v1.8/plugin-alias.zip + https://gitea.dotclear.watch/JcDenis/alias/releases/download/v1.9/plugin-alias.zip 2.27 https://git.dotclear.watch/JcDenis/alias/src/branch/master/README.md https://git.dotclear.watch/JcDenis/alias/issues diff --git a/src/Prepend.php b/src/Prepend.php index be5810f..e4f535e 100644 --- a/src/Prepend.php +++ b/src/Prepend.php @@ -46,7 +46,7 @@ class Prepend extends Process $redir = !empty($v['alias_redirect']); break; - // single alias using "url" to "destination" + // single alias using "url" to "destination" } elseif ($v['alias_url'] == $args) { $part = $v['alias_destination']; $found = true;