From ca04a3ad052c9bea314a15d80981148056aa05c6 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Tue, 15 Aug 2023 13:24:40 +0200 Subject: [PATCH] release 1.1 --- CHANGELOG.md | 93 ++++++++++++++++++++++++++++++---------------------- README.md | 29 ++++++++-------- _define.php | 16 ++++----- 3 files changed, 75 insertions(+), 63 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 82c66e2..b6650d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,48 +1,61 @@ -dev -- [ ] add cache system -- [ ] add option for gravatar built in unknow avatar @see https://fr.gravatar.com/site/implement/images/ +noodles 1.1 - 2023.08.15 +=========================================================== +* Require Dotclear 2.27 +* Require PHP 8.1 +* Update icon to SVG +* Upgrade to Dotclear 2.27 stable +* Move third party repository +* Use Dotclear style for CHANGELOG -1.0.1 - 2023.05.13 -- require dotclear 2.26 -- require php 8.1+ -- use define php_min +noodles 1.0.1 - 2023.05.13 +=========================================================== +* require dotclear 2.26 +* require php 8.1+ +* use define php_min -1.0 - 2023.05.05 -- require dotclear 2.26 -- require php 8.1+ -- use namespace -- fix phpstan level 9 warnings -- use short settings names (lost old settings) -- use json rather than serialize (lost old settings) -- use only one default avatar -- add plugin UNinstaller features +noodles 1.0 - 2023.05.05 +=========================================================== +* require dotclear 2.26 +* require php 8.1+ +* use namespace +* fix phpstan level 9 warnings +* use short settings names (lost old settings) +* use json rather than serialize (lost old settings) +* use only one default avatar +* add plugin UNinstaller features -0.9 - 2022.11.20 -- fix compatibility with Dotclear 2.24 (required) +noodles 0.9 - 2022.11.20 +=========================================================== +* fix compatibility with Dotclear 2.24 (required) -0.8 - 2021.10.30 -- use url handler for dynamic js and css -- add libravatar API +noodles 0.8 - 2021.10.30 +=========================================================== +* use url handler for dynamic js and css +* add libravatar API -0.7 - 2021.09.09 -- fix image directories -- fix Dotclear 2.19 compatibility -- enhance code style -- update translation -- update license -- update images +noodles 0.7 - 2021.09.09 +=========================================================== +* fix image directories +* fix Dotclear 2.19 compatibility +* enhance code style +* update translation +* update license +* update images -0.6.1 - 2010.07.05 -- Fixed lowercase email (tks Damien Clauzel) -- Fixed a stupid error on admin page +noodles 0.6.1 - 2010.07.05 +=========================================================== +* Fixed lowercase email (tks Damien Clauzel) +* Fixed a stupid error on admin page -0.6 - 2010.06.05 -- Switched to DC 2.2 -- Fixed javascript encode URI -- Fixed image paths and urls +noodles 0.6 - 2010.06.05 +=========================================================== +* Switched to DC 2.2 +* Fixed javascript encode URI +* Fixed image paths and urls -0.5 - 2009.09.23 -- Fixed DC 2.1.6 URL handlers ending -- Fixed image size in js -- Removed ''url prefix'' settings as myUrlHandlers does it perfectly -- Added _uninstall.php feature \ No newline at end of file +noodles 0.5 - 2009.09.23 +=========================================================== +* Fixed DC 2.1.6 URL handlers ending +* Fixed image size in js +* Removed ''url prefix'' settings as myUrlHandlers does it perfectly +* Added _uninstall.php feature diff --git a/README.md b/README.md index 0d5cd27..2607986 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,10 @@ # README -[![Release](https://img.shields.io/github/v/release/JcDenis/noodles)](https://github.com/JcDenis/noodles/releases) -[![Date](https://img.shields.io/github/release-date/JcDenis/noodles)](https://github.com/JcDenis/noodles/releases) -[![Issues](https://img.shields.io/github/issues/JcDenis/noodles)](https://github.com/JcDenis/noodles/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/noodles) -[![License](https://img.shields.io/github/license/JcDenis/noodles)](https://github.com/JcDenis/noodles/blob/master/LICENSE) +[![Release](https://img.shields.io/badge/release-1.1-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/oodles/releases) +[![Date](https://img.shields.io/badge/date-2023.08.15-c44d58.svg)](https://git.dotclear.watch/JcDenis/oodles/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/oodles) +[![License](https://img.shields.io/github/license/JcDenis/oodles)](https://git.dotclear.watch/JcDenis/oodles/blob/master/LICENSE) ## WHAT IS NOODLES ? @@ -17,11 +16,11 @@ your blog. comments, posts, widgets... ## REQUIREMENTS - _noodles_ requires: +_noodles_ requires: - * Permissions admin - * Dotclear 2.26 - * PHP 8.1+ +* Permissions admin +* Dotclear 2.26 +* PHP 8.1+ ## USAGE @@ -33,12 +32,12 @@ go to ''configure plugin'', fill in form. ## LINKS - * License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html) - * Source & contribution : [GitHub Page](https://github.com/JcDenis/noodles) - * Packages & details : [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/noodles) +* License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html) +* Source & contribution : [Gitea Page](https://git.dotclear.watch/JcDenis/oodles) or [GitHub Page](https://github.com/JcDenis/oodles) +* Packages & details: [Gitea Page](https://git.dotclear.watch/JcDenis/oodles/releases) or [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/oodles) ## 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 dc078e2..d437195 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 (!class_exists('dcCore') || is_null(dcCore::app()->auth)) { +if (!defined('DC_RC_PATH')) { return null; } @@ -18,21 +18,21 @@ $this->registerModule( 'Noodles', 'Add users gravatars everywhere', 'Jean-Christian Denis and contributors', - '1.0.1', + '1.1', [ 'requires' => [ ['php', '8.1'], - ['core', '2.26'], + ['core', '2.27'], ], 'permissions' => dcCore::app()->auth->makePermissions([ dcCore::app()->auth::PERMISSION_CONTENT_ADMIN, ]), - 'type' => 'plugin', - 'support' => 'https://github.com/JcDenis/' . basename(__DIR__), - 'details' => 'http://plugins.dotaddict.org/dc2/details/' . basename(__DIR__), - 'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml', - 'settings' => [ + 'settings' => [ 'self' => '', ], + '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', ] );