From 77e84f4ed8271424ae38dfa90db7c54ad807ca57 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Tue, 15 Aug 2023 13:44:32 +0200 Subject: [PATCH] release 2023.08.15 --- CHANGELOG.md | 200 +++++++++++++++++++++++++++++---------------------- README.md | 31 ++++---- _define.php | 14 ++-- dcstore.xml | 8 +-- 4 files changed, 140 insertions(+), 113 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b417ef..e3feca6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,104 +1,132 @@ -2023.08.04 -- require Dotclear 2.27 -- require PHP 8.1+ -- fix permissions -- move repository to gitea (experimental) +periodical 2023.08.15 +=========================================================== +* Require Dotclear 2.27 +* Require PHP 8.1 +* Use plugin ID as table name and meta ID +* Upgrade to Dotclear 2.27 stable +* Move third party repository +* Use Dotclear style for CHANGELOG -2023.07.29 -- require Dotclear 2.27 -- require PHP 8.1+ -- use new svg icon -- update to Dotclear 2.27-dev +periodical 2023.08.04 +=========================================================== +* require Dotclear 2.27 +* require PHP 8.1+ +* fix permissions +* move repository to gitea (experimental) -2023.05.13 -- require Dotclear 2.26 -- require PHP 8.1+ -- use define php_min -- use dotclear lock method +periodical 2023.07.29 +=========================================================== +* require Dotclear 2.27 +* require PHP 8.1+ +* use new svg icon +* update to Dotclear 2.27-dev -2023.04.23 -- require Dotclear 2.26 -- require PHP 8.1 -- use latest dotclear namespace -- use sql statement -- add plugin Uninstaller features -- fix nullsafe warnings -- add code inline doc +periodical 2023.05.13 +=========================================================== +* require Dotclear 2.26 +* require PHP 8.1+ +* use define php_min +* use dotclear lock method -2023.03.24 -- require Dotclear 2.26 -- require PHP 8.1 -- use namespace -- use readonly vars on admin pages -- use DateTime for user timezone -- remove periodical timezone -- fix post timezone +periodical 2023.04.23 +=========================================================== +* require Dotclear 2.26 +* require PHP 8.1 +* use latest dotclear namespace +* use sql statement +* add plugin Uninstaller features +* fix nullsafe warnings +* add code inline doc -2022.11.20 -- fix compatibility with Dotclear 2.24 (required) +periodical 2023.03.24 +=========================================================== +* require Dotclear 2.26 +* require PHP 8.1 +* use namespace +* use readonly vars on admin pages +* use DateTime for user timezone +* remove periodical timezone +* fix post timezone -2022.05.16 -- require Dotclear 2.22 -- fix period dates +periodical 2022.11.20 +=========================================================== +* fix compatibility with Dotclear 2.24 (required) -2022.04.27 -- require Dotclear 2.21.3 -- fix browser date picker -- fix sql query on posts +periodical 2022.05.16 +=========================================================== +* require Dotclear 2.22 +* fix period dates -2021.10.30 -- required Dotclear 2.20 -- add user pref filters for periods list -- add user pref columns for periods list -- add period columns to posts list and user pref -- fix auto-link to blog pref -- fix halfday period +periodical 2022.04.27 +=========================================================== +* require Dotclear 2.21.3 +* fix browser date picker +* fix sql query on posts -2021.09.02 -- update php headers to phpdoc style -- add dcstore.xml pre-release file -- check translation -- clean up code +periodical 2021.10.30 +=========================================================== +* required Dotclear 2.20 +* add user pref filters for periods list +* add user pref columns for periods list +* add period columns to posts list and user pref +* fix auto-link to blog pref +* fix halfday period -2021.08.23 -- update license -- update php code to PSR-2 style and short array -- move settings to blog pref +periodical 2021.09.02 +=========================================================== +* update php headers to phpdoc style +* add dcstore.xml pre-release file +* check translation +* clean up code -2013.11.11 -- Switch to Dotclear 2.6 +periodical 2021.08.23 +=========================================================== +* update license +* update php code to PSR-2 style and short array +* move settings to blog pref -2013.06.30 -- Small fix and typo +periodical 2013.11.11 +=========================================================== +* Switch to Dotclear 2.6 -0.5 - 2011-01-30 -- Fixed install on nightly buid -- Fixed call to blog object on prepend -- Removed mesenger fonctions (this is to another plugin to do that) -- Added behavior on post update -- Added periodical to plugin soCialMe -- New year copyright +periodical 2013.06.30 +=========================================================== +* Small fix and typo -0.4 - 2010-09-09 -- Removed old Twitter functions -- Added StatusNet small functions (Identica) -- Required plugin Tac for Twitter ability +periodical 0.5 - 2011-01-30 +=========================================================== +* Fixed install on nightly buid +* Fixed call to blog object on prepend +* Removed mesenger fonctions (this is to another plugin to do that) +* Added behavior on post update +* Added periodical to plugin soCialMe +* New year copyright -0.3.1 - 2010-06-25 -- Fixed postgreSQL compatibility -- Fixed php 5.3 compatibility on post action combo -- Fixed admin crash on non DC 2.2 -- Fixed users rights +periodical 0.4 - 2010-09-09 +=========================================================== +* Removed old Twitter functions +* Added StatusNet small functions (Identica) +* Required plugin Tac for Twitter ability -0.3 - 2010-06-08 -- Switched to DC 2.2 -- Fixed simultaneous updates (uses flock) -- Added twitter option when posts are published +periodical 0.3.1 - 2010-06-25 +=========================================================== +* Fixed postgreSQL compatibility +* Fixed php 5.3 compatibility on post action combo +* Fixed admin crash on non DC 2.2 +* Fixed users rights -0.2 - 2010-04-11 -- Fixed some bugs -- Added DC 2.2 compatibility (new setting) -- closes #415 +periodical 0.3 - 2010-06-08 +=========================================================== +* Switched to DC 2.2 +* Fixed simultaneous updates (uses flock) +* Added twitter option when posts are published -0.1 - 2010-04-05 -- First lab release \ No newline at end of file +periodical 0.2 - 2010-04-11 +=========================================================== +* Fixed some bugs +* Added DC 2.2 compatibility (new setting) +* closes #415 + +periodical 0.1 - 2010-04-05 +=========================================================== +* First lab release diff --git a/README.md b/README.md index 798171d..19cb883 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,10 @@ # README -[![Release](https://img.shields.io/github/v/release/JcDenis/periodical)](https://github.com/JcDenis/periodical/releases) -[![Date](https://img.shields.io/github/release-date/JcDenis/periodical)](https://github.com/JcDenis/periodical/releases) -[![Issues](https://img.shields.io/github/issues/JcDenis/periodical)](https://github.com/JcDenis/periodical/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/periodical) -[![License](https://img.shields.io/github/license/JcDenis/periodical)](https://github.com/JcDenis/periodical/blob/master/LICENSE) +[![Release](https://img.shields.io/badge/release-2023.08.15-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/periodical/releases) +[![Date](https://img.shields.io/badge/date-2023.08.15-c44d58.svg)](https://git.dotclear.watch/JcDenis/periodical/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/periodical) +[![License](https://img.shields.io/github/license/JcDenis/periodical)](https://git.dotclear.watch/JcDenis/periodical/blob/master/LICENSE) ## WHAT IS PERIODICAL ? @@ -20,10 +19,10 @@ and they will be publish ones after the others every week. _periodical_ requires: - * admin permissions to configure plugin - * usage,contentadmin permissions to link feeds - * Dotclear 2.27 - * PHP 8.1+ +* admin permissions to configure plugin +* usage,contentadmin permissions to link feeds +* Dotclear 2.27 +* PHP 8.1+ ## NOTICE @@ -46,13 +45,13 @@ You can also add or remove period to multiple posts from posts actions page. ## LINKS - * License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html) - * Source & contribution : [Gitea Page](http://gitea.jcdenis.fr/Dotclear/periodical) or [GitHub Page](https://github.com/JcDenis/periodical) - * Packages & details : [Gitea Page](http://gitea.jcdenis.fr/Dotclear/periodical/releases) or [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/periodical) - * Discuss & help : [Dotclear Forum](https://forum.dotclear.org/viewtopic.php?id=42289) +* License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html) +* Source & contribution : [Gitea Page](https://git.dotclear.watch/JcDenis/periodical) or [GitHub Page](https://github.com/JcDenis/periodical) +* Packages & details: [Gitea Page](https://git.dotclear.watch/JcDenis/periodical/releases) or [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/periodical) +* Discuss & help : [Dotclear Forum](https://forum.dotclear.org/viewtopic.php?id=42289) ## CONTRIBUTORS - * Jean-Christian Denis +* Jean-Christian Denis (author) - 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 8170832..e652988 100644 --- a/_define.php +++ b/_define.php @@ -18,7 +18,7 @@ $this->registerModule( 'Periodical', 'Published periodically entries', 'Jean-Christian Denis and contributors', - '2023.08.04', + '2023.08.15', [ 'requires' => [ ['php', '8.1'], @@ -28,12 +28,12 @@ $this->registerModule( dcCore::app()->auth::PERMISSION_USAGE, dcCore::app()->auth::PERMISSION_CONTENT_ADMIN, ]), - 'type' => 'plugin', - 'support' => 'http://gitea.jcdenis.fr/Dotclear/periodical', - 'details' => 'http://gitea.jcdenis.fr/Dotclear/periodical/src/branch/master/README.md', - 'repository' => 'http://gitea.jcdenis.fr/Dotclear/periodical/raw/branch/master/dcstore.xml', - 'settings' => [ - 'blog' => '#params.periodical_params', + 'settings' => [ + 'blog' => '#params.' . basename(__DIR__) . '_params', ], + '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 b414d89..791116d 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,12 +2,12 @@ Periodical - 2023.08.04 + 2023.08.15 Jean-Christian Denis and contributors Published periodically entries - https://gitea.jcdenis.fr/Dotclear/periodical/releases/download/v2023.08.04/plugin-periodical.zip + https://git.dotclear.watch/JcDenis/periodical/releases/download/v2023.08.15/plugin-periodical.zip 2.27 - http://gitea.jcdenis.fr/Dotclear/periodical/src/branch/master/README.md - http://gitea.jcdenis.fr/Dotclear/periodical + https://git.dotclear.watch/JcDenis/periodical/src/branch/master/README.md + https://git.dotclear.watch/JcDenis/periodical/issues