diff --git a/CHANGELOG.md b/CHANGELOG.md index a680040..2cc981e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,30 +1,46 @@ -1.7.2 - 2023.06.17 -- require dotclear 2.26 -- fix require php 8.1 +lunarPhase 1.8 - 2023.08.14 +=========================================================== +* Require Dotclear 2.27 +* Require PHP 8.1 +* Upgrade to Dotclear 2.27 stable +* Move third party repository +* Use Dotclear style for CHANGELOG -1.7.1 - 2023.05.13 -- require dotclear 2.26 -- cosmetic cleanup for dc2.26 stable +lunarPhase 1.7.2 - 2023.06.17 +=========================================================== +* require dotclear 2.26 +* fix require php 8.1 -1.7 - 2023.04.25 -- require dotclear 2.26 -- use namespace +lunarPhase 1.7.1 - 2023.05.13 +=========================================================== +* require dotclear 2.26 +* cosmetic cleanup for dc2.26 stable -1.6 - 2022.12.15 -- update to dotclear 2.24 +lunarPhase 1.7 - 2023.04.25 +=========================================================== +* require dotclear 2.26 +* use namespace -1.5 - 2015.04.23 - Pierre Van Glabeke : -- modification url support +lunarPhase 1.6 - 2022.12.15 +=========================================================== +* update to dotclear 2.24 -1.4 - 2015.02.06 - Pierre Van Glabeke : -- modifications localisation +lunarPhase 1.5 - 2015.04.23 - Pierre Van Glabeke : +=========================================================== +* modification url support -1.3 - 2014.12.14 - Pierre Van Glabeke : -- compatibilité dc2.7 +lunarPhase 1.4 - 2015.02.06 - Pierre Van Glabeke : +=========================================================== +* modifications localisation -1.2 2014.02.17 : -- reprise par Pierre Van Glabeke -- correction bug (waning_crescent_moon) -- images refaites (merci à 999Diaoul) -- compatibilité dc2.6 -- fin de ligne unix \ No newline at end of file +lunarPhase 1.3 - 2014.12.14 - Pierre Van Glabeke : +=========================================================== +* compatibilité dc2.7 + +lunarPhase 1.2 2014.02.17 : +=========================================================== +* reprise par Pierre Van Glabeke +* correction bug (waning_crescent_moon) +* images refaites (merci à 999Diaoul) +* compatibilité dc2.6 +* fin de ligne unix \ No newline at end of file diff --git a/README.md b/README.md index 3c56ebf..8b0bc25 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,10 @@ # README -[![Release](https://img.shields.io/github/v/release/JcDenis/lunarPhase)](https://github.com/JcDenis/lunarPhase/releases) -[![Date](https://img.shields.io/github/release-date/JcDenis/lunarPhase)](https://github.com/JcDenis/lunarPhase/releases) -[![Issues](https://img.shields.io/github/issues/JcDenis/lunarPhase)](https://github.com/JcDenis/lunarPhase/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/lunarPhase) -[![License](https://img.shields.io/github/license/JcDenis/lunarPhase)](https://github.com/JcDenis/lunarPhase/blob/master/LICENSE) +[![Release](https://img.shields.io/badge/release-1.8-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/lunarPhase/releases) +[![Date](https://img.shields.io/badge/date-2023.08.15-c44d58.svg)](https://git.dotclear.watch/JcDenis/lunarPhase/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/lunarPhase) +[![License](https://img.shields.io/github/license/JcDenis/lunarPhase)](https://git.dotclear.watch/JcDenis/lunarPhase/blob/master/LICENSE) ## WHAT IS LUNARPHASE ? @@ -16,11 +15,11 @@ It shows lunar phases on a widget. ## REQUIREMENTS - _lunarPhase_ requires: +_lunarPhase_ requires: - * content admin permissions to manage widgets - * Dotclear 2.26 - * require PHP 8.1+ +* content admin permissions to manage widgets +* Dotclear 2.27 +* PHP 8.1+ ## USAGE @@ -31,15 +30,15 @@ You should add widget to show lunar phases on your blog. ## LINKS - * License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html) - * Source & contribution : [GitHub Page](https://github.com/JcDenis/lunarPhase) - * Packages & details : [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/lunarPhase) - * Discuss and help : [Dotclear Forum](http://forum.dotclear.org/viewtopic.php?pid=332971#p332971) +* License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html) +* Source & contribution : [Gitea Page](https://git.dotclear.watch/JcDenis/lunarPhase) or [GitHub Page](https://github.com/JcDenis/lunarPhase) +* Packages & details: [Gitea Page](https://git.dotclear.watch/JcDenis/lunarPhase/releases) or [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/lunarPhase) +* Discuss and help : [Dotclear Forum](http://forum.dotclear.org/viewtopic.php?pid=332971#p332971) ## CONTRIBUTORS - * Tomtom (author) - * Pierre Van Glabeke - * Jean-Christian Denis +* Tomtom (author) +* Pierre Van Glabeke +* 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 ee60ade..0bddb31 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,7 +18,7 @@ $this->registerModule( 'Moon phases', 'Display the moon phases on a widget', 'Tomtom, Pierre Van Glabeke and Contributors', - '1.7.2', + '1.8', [ 'requires' => [ ['php', '8.1'], @@ -29,8 +29,8 @@ $this->registerModule( dcCore::app()->auth::PERMISSION_CONTENT_ADMIN, ]), 'type' => 'plugin', - 'support' => 'http://forum.dotclear.org/viewtopic.php?pid=332971#p332971', - '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 0066ebd..18abe5f 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,12 +2,12 @@ Moon phases - 1.7.2 + 1.8 Tomtom, Pierre Van Glabeke and Contributors Display the moon phases on a widget - https://github.com/JcDenis/lunarPhase/releases/download/v1.7.2/plugin-lunarPhase.zip + https://git.dotclear.watch/JcDenis/lunarPhase/releases/download/v1.8/plugin-lunarPhase.zip 2.26 - https://plugins.dotaddict.org/dc2/details/lunarPhase - http://forum.dotclear.org/viewtopic.php?pid=332971#p332971 + https://git.dotclear.watch/JcDenis/lunarPhase/src/branch/master/README.md + https://git.dotclear.watch/JcDenis/lunarPhase/issues