diff --git a/CHANGELOG.md b/CHANGELOG.md index 9365712..596df94 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,77 +1,94 @@ -todo: -- add user pref cleaner -- add meta cleaner +Uninstaller 2023.08.13 +=========================================================== +* Require Dotclear 2.27 +* Require PHP 8.1 +* Move third party repository +* Use Dotclear style for CHANGELOG -0.9.6 - 2023.07.01 -- require Dotclear 2.27 and PHP 8.1+ -- fix PHP 8.1 limitation -- use Dotclear 2.27 My helpers +Uninstaller 0.9.6 - 2023.07.01 +=========================================================== +* require Dotclear 2.27 and PHP 8.1+ +* fix PHP 8.1 limitation +* use Dotclear 2.27 My helpers -0.9.5 - 2023.05.31 -- require Dotclear 2.26 and PHP 8.1+ -- fix Traits constants in php 8.1 +Uninstaller 0.9.5 - 2023.05.31 +=========================================================== +* require Dotclear 2.26 and PHP 8.1+ +* fix Traits constants in php 8.1 -0.9.4 - 2023.05.14 -- require Dotclear 2.26 and PHP 8.1+ -- sort values list -- disable direct action on deactivated modules (because of duplicate modules) +Uninstaller 0.9.4 - 2023.05.14 +=========================================================== +* require Dotclear 2.26 and PHP 8.1+ +* sort values list +* disable direct action on deactivated modules (because of duplicate modules) -0.9.3 - 2023.05.13 -- require Dotclear 2.26 and PHP 8.1+ -- fix list of distributed modules version -- fix broken type after sort function +Uninstaller 0.9.3 - 2023.05.13 +=========================================================== +* require Dotclear 2.26 and PHP 8.1+ +* fix list of distributed modules version +* fix broken type after sort function -0.9.2 - 2023.05.13 -- require Dotclear 2.26 and PHP 8.1+ -- use define php_min +Uninstaller 0.9.2 - 2023.05.13 +=========================================================== +* require Dotclear 2.26 and PHP 8.1+ +* use define php_min -0.9 - 2023.05.09 -- require Dotclear 2.26 and PHP 8.1+ -- add form select default state to ActionDescriptor +Uninstaller 0.9 - 2023.05.09 +=========================================================== +* require Dotclear 2.26 and PHP 8.1+ +* add form select default state to ActionDescriptor -0.8 - 2023.05.01 -- require Dotclear 2.26 and PHP 8.1+ -- use iterable stacks -- fix and clean dir trait +Uninstaller 0.8 - 2023.05.01 +=========================================================== +* require Dotclear 2.26 and PHP 8.1+ +* use iterable stacks +* fix and clean dir trait -0.7 - 2023.04.30 -- require Dotclear 2.26 and PHP 8.1+ -- add cleaner descriptor -- use named parameters on descriptors -- fix dump on dynamic class +Uninstaller 0.7 - 2023.04.30 +=========================================================== +* require Dotclear 2.26 and PHP 8.1+ +* add cleaner descriptor +* use named parameters on descriptors +* fix dump on dynamic class -0.6 - 2023.04.24 -- require Dotclear 2.26 and PHP 8.1+ -- hide dotclear "delete" button on modules lists -- fix sql queries (less queries) -- add namespace related method (get namespace children values) -- add namespace related value descriptor -- change AbstractCleaner::values() return (use descriptor) +Uninstaller 0.6 - 2023.04.24 +=========================================================== +* require Dotclear 2.26 and PHP 8.1+ +* hide dotclear "delete" button on modules lists +* fix sql queries (less queries) +* add namespace related method (get namespace children values) +* add namespace related value descriptor +* change AbstractCleaner::values() return (use descriptor) -0.5 - 2023.04.23 -- require Dotclear 2.26 and PHP >= 8.1 -- add Claener for user pref (wrokspace) -- add ns check on settings +Uninstaller 0.5 - 2023.04.23 +=========================================================== +* require Dotclear 2.26 and PHP >= 8.1 +* add Claener for user pref (wrokspace) +* add ns check on settings -0.4 - 2023.04.20 -- require Dotclear 2.26 and PHP >= 8.1 -- add method to retreive an action description -- change Cleaners registering process -- fix missing translation -- fix database check before drop table -- use latest dotcler helper namespace +Uninstaller 0.4 - 2023.04.20 +=========================================================== +* require Dotclear 2.26 and PHP >= 8.1 +* add method to retreive an action description +* change Cleaners registering process +* fix missing translation +* fix database check before drop table +* use latest dotcler helper namespace -0.3 - 2023.04.17 -- require Dotclear 2.26 and PHP >= 8.1 -- add logs cleaner -- various fixes +Uninstaller 0.3 - 2023.04.17 +=========================================================== +* require Dotclear 2.26 and PHP >= 8.1 +* add logs cleaner +* various fixes -0.2 - 2023.04.16 -- require Dotclear 2.26 and PHP >= 8.1 -- enhance cleaner descriptor -- add theme ability -- various fixes +Uninstaller 0.2 - 2023.04.16 +=========================================================== +* require Dotclear 2.26 and PHP >= 8.1 +* enhance cleaner descriptor +* add theme ability +* various fixes -0.1 - 2023.04.15 -- require Dotclear 2.26 -- require PHP >= 8.1 \ No newline at end of file +Uninstaller 0.1 - 2023.04.15 +=========================================================== +* require Dotclear 2.26 +* require PHP >= 8.1 \ No newline at end of file diff --git a/README.md b/README.md index 2d87633..3298135 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,10 @@ # README -[![Release](https://img.shields.io/github/v/release/JcDenis/Uninstaller)](https://github.com/JcDenis/Uninstaller/releases) -[![Date](https://img.shields.io/github/release-date/JcDenis/Uninstaller)](https://github.com/JcDenis/Uninstaller/releases) -[![Issues](https://img.shields.io/github/issues/JcDenis/Uninstaller)](https://github.com/JcDenis/Uninstaller/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/Uninstaller) -[![License](https://img.shields.io/github/license/JcDenis/Uninstaller)](https://github.com/JcDenis/Uninstaller/blob/master/LICENSE) +[![Release](https://img.shields.io/badge/release-0.10-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/Uninstaller/releases) +[![Date](https://img.shields.io/badge/date-2023.08.13-c44d58.svg)](https://git.dotclear.watch/JcDenis/Uninstaller/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/Uninstaller) +[![License](https://img.shields.io/github/license/JcDenis/Uninstaller)](https://git.dotclear.watch/JcDenis/Uninstaller/blob/master/LICENSE) ## WHAT IS UNINSTALLER ? @@ -18,9 +17,9 @@ It adds habitlity to uninstall modules using their feature... _Uninstaller_ requires: - * super admin permissions to uninstall modules - * Dotclear 2.27 - * PHP >= 8.1 +* super admin permissions to uninstall modules +* Dotclear 2.27 +* PHP 8.1+ ## USAGE @@ -31,12 +30,12 @@ Once it's done you can uninstall modules form plugins list or theme list. ## LINKS - * License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html) - * Source & contribution : [GitHub Page](https://github.com/JcDenis/Uninstall) - * Packages & details: [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/Uninstall) +* License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html) +* Source & contribution : [Gitea Page](https://git.dotclear.watch/JcDenis/Uninstaller) or [GitHub Page](https://github.com/JcDenis/Uninstall) +* Packages & details: [Gitea Page](https://git.dotclear.watch/JcDenis/Uninstaller/releases) or [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/Uninstall) ## CONTRIBUTORS - * Jean-Christian Denis +* 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 f6c7d02..97a5f64 100644 --- a/_define.php +++ b/_define.php @@ -18,7 +18,7 @@ $this->registerModule( 'Uninstaller', 'Uninstall cleanly plugins and themes', 'Jean-Christian Denis and Contributors', - '0.9.7', + '0.10', [ 'requires' => [ ['php', '8.1'], @@ -29,8 +29,8 @@ $this->registerModule( 'settings' => [ 'self' => false, ], - 'support' => 'https://github.com/JcDenis/' . basename(__DIR__), - '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 8ad51fc..9354328 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,12 +2,12 @@ Uninstaller - 0.9.7 + 0.10 Jean-Christian Denis and Contributors Uninstall cleanly plugins and themes - https://github.com/JcDenis/Uninstaller/releases/download/v0.9.7/plugin-Uninstaller.zip + https://git.dotclear.watch/JcDenis/Uninstaller/releases/download/v0.10/plugin-Uninstaller.zip 2.27 - https://plugins.dotaddict.org/dc2/details/Uninstaller - https://github.com/JcDenis/Uninstaller + https://git.dotclear.watch/JcDenis/Uninstaller/src/branch/master/README.md + https://git.dotclear.watch/JcDenis/Uninstaller/issues diff --git a/src/CleanersStack.php b/src/CleanersStack.php index e572545..fecd730 100644 --- a/src/CleanersStack.php +++ b/src/CleanersStack.php @@ -70,10 +70,10 @@ class CleanersStack implements Countable, Iterator reset($this->stack); } - /** - * @return false|CleanerParent - */ - #[\ReturnTypeWillChange] + /** + * @return false|CleanerParent + */ + #[\ReturnTypeWillChange] public function current() { return current($this->stack);