Compare commits

..

No commits in common. "a2c0ac86de5540624b50aebbb26741562af3a4b7" and "62b8eb722f54421d3cccada239a5539f858c165f" have entirely different histories.

6 changed files with 150 additions and 185 deletions

View File

@ -1,178 +1,142 @@
improve todo - xxxx.xx.xx dev
=========================================================== - [ ] add global config for file size limit
* [ ] add global config for file size limit - [ ] add module to check directory structure
* [ ] add module to check directory structure - [ ] add module to create full README file
* [ ] add module to create full README file - [ ] add module to minify .js
* [ ] add module to minify .js - [ ] write documentation of php class
* [ ] write documentation of php class
improve 1.4 - 2023.08.07 1.3 - 2023.07.16
=========================================================== - require dotclear 2.27
* Require Dotclear 2.27 - require PHP 8.1+
* Require PHP 8.1+ - use latest dotclear namespaces
* Fix deprecated (still uncomplete) - add deprecated for Dotclear 2.26 and 2.27
* Add custom shields.io badge domain
* Use static shields.io badge (to allow custom domain)
* Use Dotclear style for changelog
* Move third party repository
improve 1.3 - 2023.07.16 1.2 - 2023.04.29
=========================================================== - require dotclear 2.26
* require dotclear 2.27 - require PHP 8.1+
* require PHP 8.1+ - move / rename / split class and methods
* use latest dotclear namespaces - add plugin Uninstaller features
* add deprecated for Dotclear 2.26 and 2.27 - fix phpstan on modules that requires other modules
improve 1.2 - 2023.04.29 1.1.3 - 2023.04.06
=========================================================== - disable phpstan if option nodetails is active
* require dotclear 2.26 - add option to show distributed modules
* require PHP 8.1+ - add option to sort modules by name or id
* move / rename / split class and methods - use dcModulesDefine rather than properties array
* add plugin Uninstaller features - use latest dotclear Helper
* fix phpstan on modules that requires other modules - use dotclear autoloader rather than clearbricks one
improve 1.1.3 - 2023.04.06 1.1.2 - 2023.03.20
=========================================================== - add option to phpstan to clear cache
* disable phpstan if option nodetails is active - add option to phpstan not ot use ignored errors
* add option to show distributed modules - fix init check
* add option to sort modules by name or id
* use dcModulesDefine rather than properties array
* use latest dotclear Helper
* use dotclear autoloader rather than clearbricks one
improve 1.1.2 - 2023.03.20 1.1.1 - 2023.03.18
=========================================================== - require php 8.0
* add option to phpstan to clear cache - use new Zip helper
* add option to phpstan not ot use ignored errors - use Html form for tools configuration
* fix init check - check php version
- update to phpstan 1.10.7
- update to php-cs-fixer 3.15.1
improve 1.1.1 - 2023.03.18 1.1 - 2023.03.05 (pre)
=========================================================== - require Dotclear 2.26-dev
* require php 8.0 - use PHP namespace
* use new Zip helper - use Html Form
* use Html form for tools configuration - use json rather than serialize functions
* check php version - use new open/close module
* update to phpstan 1.10.7 - add cssheader tool (experimental)
* update to php-cs-fixer 3.15.1 - update to phpstan 1.10.3
- update to php-cs-fixer 3.14.4
improve 1.1 - 2023.03.05 (pre) 1.0.2 - 2023.01.16
=========================================================== - cleanup namespace usage
* require Dotclear 2.26-dev - fix namespace on disabled plugin
* use PHP namespace - update to phpstan 1.9.11
* use Html Form - update to php-cs-fixer 3.13.2
* use json rather than serialize functions
* use new open/close module
* add cssheader tool (experimental)
* update to phpstan 1.10.3
* update to php-cs-fixer 3.14.4
improve 1.0.2 - 2023.01.16 1.0.1 - 2023.01.03
=========================================================== - fix lost of settings between themes and plugins (thx brol)
* cleanup namespace usage - fix false positive on global_filters deprecated
* fix namespace on disabled plugin - remove unnecessary settings namespace declaration
* update to phpstan 1.9.11
* update to php-cs-fixer 3.13.2
improve 1.0.1 - 2023.01.03 1.0 - 2022.12.21
=========================================================== - update phpstan and php-cs-fixer to lastest releases
* fix lost of settings between themes and plugins (thx brol) - add module to compile .po file into .lang.php file
* fix false positive on global_filters deprecated - add some deprecated (splitted by dc version)
* remove unnecessary settings namespace declaration - add ability to improve disabled modules
- use svg icon
- use constant for tables names
- use anonymous functions
- use abstract plugin id
- change plugin files structure and namespace
- fix install
- fix translations
improve 1.0 - 2022.12.21 0.10 - 2022.12.03
=========================================================== - allow to improve disabled modules
* update phpstan and php-cs-fixer to lastest releases - split deprecated list by dotclear versions
* add module to compile .po file into .lang.php file - fix translation
* add some deprecated (splitted by dc version) - use svg icon
* add ability to improve disabled modules - various code improvments
* use svg icon
* use constant for tables names
* use anonymous functions
* use abstract plugin id
* change plugin files structure and namespace
* fix install
* fix translations
improve 0.10 - 2022.12.03 0.9 - 2022.11.20
=========================================================== - update to Dotclear 2.24
* allow to improve disabled modules - update to php-cs-fixer.phar 3.13.0
* split deprecated list by dotclear versions - update to phpstan.phar 1.9.2
* fix translation
* use svg icon
* various code improvments
improve 0.9 - 2022.11.20 0.8.2 - 2021.11.18
=========================================================== - update php-cs-fixer.phar to 3.3.2
* update to Dotclear 2.24 - update phpstan.phar to 1.2.0
* update to php-cs-fixer.phar 3.13.0
* update to phpstan.phar 1.9.2
improve 0.8.2 - 2021.11.18 0.8.1 - 2021.11.15
=========================================================== - fix unknow preferences on new install
* update php-cs-fixer.phar to 3.3.2
* update phpstan.phar to 1.2.0
improve 0.8.1 - 2021.11.15 0.8 - 2021.11.13
=========================================================== - update structure to php namespace
* fix unknow preferences on new install - update php cs fixer rules to dc2.21 / php7.4
- update phpstan to 1.1.2
improve 0.8 - 2021.11.13 0.7.1 - 2021.11.08
=========================================================== - Fix php < 8 _ thanks @Gvx- _ closes #5
* update structure to php namespace
* update php cs fixer rules to dc2.21 / php7.4
* update phpstan to 1.1.2
improve 0.7.1 - 2021.11.08 0.7 - 2021.11.08
=========================================================== - add phpstan module
* Fix php < 8 _ thanks @Gvx- _ closes #5 - fix some errors from phpstan analyze
improve 0.7 - 2021.11.08 0.6 - 2021.11.06
=========================================================== - add header for modules configuration
* add phpstan module - add options to hide details of executed actions
* fix some errors from phpstan analyze - show configuration file in phpcsfixer module
- use table in ui
improve 0.6 - 2021.11.06 0.5 - 2021.11.05
=========================================================== - add settings to disable (hide) modules
* add header for modules configuration - fix dcstore xml rendering (thanks Franck Paul)
* add options to hide details of executed actions
* show configuration file in phpcsfixer module
* use table in ui
improve 0.5 - 2021.11.05 0.4 - 2021.11.02
=========================================================== - add module to use php-cs-fixer
* add settings to disable (hide) modules
* fix dcstore xml rendering (thanks Franck Paul)
improve 0.4 - 2021.11.02 0.3 - 2021.10.29
=========================================================== - use of xmlTag to generate dcstore.xml contents
* add module to use php-cs-fixer - complete readme file
- fix module update (thanks Gvx)
improve 0.3 - 2021.10.29 0.2 - 2021.09.25
=========================================================== - add module to check deprecated Dotclear function
* use of xmlTag to generate dcstore.xml contents
* complete readme file
* fix module update (thanks Gvx)
improve 0.2 - 2021.09.25 0.1.2
=========================================================== - add logs / report systeme
* add module to check deprecated Dotclear function - add DA badge to module _gitshields_
- change function args, less is better
- change interface, lighter names
- add function to summarize by action what was done
improve 0.1.2 0.1.1
=========================================================== - fix php < 8.0
* add logs / report systeme
* add DA badge to module _gitshields_
* change function args, less is better
* change interface, lighter names
* add function to summarize by action what was done
improve 0.1.1 0.1 - 2021.09.11
=========================================================== - First release
* fix php < 8.0
improve 0.1 - 2021.09.11 0.0.1 - 2021.09.11
=========================================================== - First pre-release
* First release
improve 0.0.1 - 2021.09.11
===========================================================
* First pre-release

View File

@ -1,14 +1,15 @@
# README # README
[![Release](https://img.shields.io/badge/release-1.4-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/improve/releases) [![Release](https://img.shields.io/github/v/release/JcDenis/improve)](https://github.com/JcDenis/improve/releases)
[![Date](https://img.shields.io/badge/date-2023.08.06-c44d58.svg)](https://git.dotclear.watch/JcDenis/improve/releases) [![Date](https://img.shields.io/github/release-date/JcDenis/improve)](https://github.com/JcDenis/improve/releases)
[![Dotclear](https://img.shields.io/badge/dotclear-v2.27-137bbb.svg)](https://fr.dotclear.org/download) [![Issues](https://img.shields.io/github/issues/JcDenis/improve)](https://github.com/JcDenis/improve/issues)
[![Dotaddict](https://img.shields.io/badge/dotaddict-official-9ac123.svg)](https://plugins.dotaddict.org/dc2/details/improve) [![Dotclear](https://img.shields.io/badge/dotclear-v2.27-blue.svg)](https://fr.dotclear.org/download)
[![License](https://img.shields.io/github/license/JcDenis/improve)](https://git.dotclear.watch/JcDenis/improve/blob/master/LICENSE) [![Dotaddict](https://img.shields.io/badge/dotaddict-official-green.svg)](https://plugins.dotaddict.org/dc2/details/improve)
[![License](https://img.shields.io/github/license/JcDenis/improve)](https://github.com/JcDenis/improve/blob/master/LICENSE)
## WHAT IS IMPROVE ? ## WHAT IS IMPROVE ?
_improve_ is a plugin for the open-source **improve** is a plugin for the open-source
web publishing software called Dotclear. web publishing software called Dotclear.
It helps dev to clean up plugin or theme before publishing code. It helps dev to clean up plugin or theme before publishing code.
@ -19,15 +20,15 @@ It helps dev to clean up plugin or theme before publishing code.
## REQUIREMENTS ## REQUIREMENTS
_improve_ requires: **improve** requires:
* admin permission * admin permission
* Dotclear 2.27 * Dotclear 2.27-dev
* PHP 8.1+ * PHP 8.1+
## USAGE ## USAGE
First install _improve_, manualy from a zip package or from First install **improve**, manualy from a zip package or from
Dotaddict repository. (See Dotclear's documentation to know how do this) Dotaddict repository. (See Dotclear's documentation to know how do this)
Manage tools from sidebar plugin menu **improve**. Manage tools from sidebar plugin menu **improve**.
@ -39,8 +40,8 @@ and help devs to maintain their plugins and themes.
## LINKS ## LINKS
* License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html) * License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html)
* Source & contribution : [Gitea Page](https://git.dotclear.watch/JcDenis/improve) [GitHub Page](https://github.com/JcDenis/improve) * Source & contribution : [GitHub Page](https://github.com/JcDenis/improve)
* Packages & details : [Gitea Page](https://git.dotclear.watch/JcDenis/improve/releases) or [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/improve) * Packages & details: [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/improve)
## CONTRIBUTORS ## CONTRIBUTORS

View File

@ -18,7 +18,7 @@ $this->registerModule(
'improve', 'improve',
'Tiny tools to fix things for module devs', 'Tiny tools to fix things for module devs',
'Jean-Christian Denis and contributors', 'Jean-Christian Denis and contributors',
'1.4', '1.3.2',
[ [
'requires' => [ 'requires' => [
['php', '8.1'], ['php', '8.1'],
@ -26,8 +26,8 @@ $this->registerModule(
], ],
'permissions' => null, 'permissions' => null,
'type' => 'plugin', 'type' => 'plugin',
'support' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/issues', 'support' => 'https://github.com/JcDenis/' . basename(__DIR__),
'details' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/src/branch/master/README.md', 'details' => 'https://github.com/JcDenis/' . basename(__DIR__),
'repository' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/raw/branch/master/dcstore.xml', 'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml',
] ]
); );

View File

@ -2,12 +2,12 @@
<modules xmlns:da="http://dotaddict.org/da/"> <modules xmlns:da="http://dotaddict.org/da/">
<module id="improve"> <module id="improve">
<name>improve</name> <name>improve</name>
<version>1.4</version> <version>1.3.2</version>
<author>Jean-Christian Denis and contributors</author> <author>Jean-Christian Denis and contributors</author>
<desc>Tiny tools to fix things for module devs</desc> <desc>Tiny tools to fix things for module devs</desc>
<file>https://gitea.dotclear.watch/JcDenis/improve/releases/download/v1.4/plugin-improve.zip</file> <file>https://github.com/JcDenis/improve/releases/download/v1.3.2/plugin-improve.zip</file>
<da:dcmin>2.27</da:dcmin> <da:dcmin>2.27</da:dcmin>
<da:details>https://git.dotclear.watch/JcDenis/improve/src/branch/master/README.md</da:details> <da:details>https://github.com/JcDenis/improve</da:details>
<da:support>https://git.dotclear.watch/JcDenis/improve/issues</da:support> <da:support>https://github.com/JcDenis/improve</da:support>
</module> </module>
</modules> </modules>

Binary file not shown.