From 6540c7fe8687d420fdaec96ceabb5e6b85407eec Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Wed, 21 Dec 2022 16:00:45 +0100 Subject: [PATCH] release 1.0 --- CHANGELOG.md | 15 +++- _define.php | 8 +- dcstore.xml | 4 +- locales/fr/main.lang.php | 160 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 180 insertions(+), 7 deletions(-) create mode 100644 locales/fr/main.lang.php diff --git a/CHANGELOG.md b/CHANGELOG.md index e080fa6..c774d16 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,23 @@ dev - [ ] add global config for file size limit -- [ ] add module to check deprecated PHP function - [ ] add module to check directory structure - [ ] add module to create full README file +- [ ] add module to minify .js - [ ] write documentation of php class +1.0 - 2022.12.21 +- update phpstan and php-cs-fixer to lastest releases +- add module to compile .po file into .lang.php file +- add some deprecated (splitted by dc version) +- 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 + 0.10 - 2022.12.03 - allow to improve disabled modules - split deprecated list by dotclear versions diff --git a/_define.php b/_define.php index 15dd0ab..2eeba2d 100644 --- a/_define.php +++ b/_define.php @@ -18,13 +18,13 @@ $this->registerModule( 'improve', 'Tiny tools to fix things for module devs', 'Jean-Christian Denis and contributors', - '0.10', + '1.0', [ 'requires' => [['core', '2.24']], 'permissions' => null, 'type' => 'plugin', - 'support' => 'https://github.com/JcDenis/improve', - 'details' => 'https://github.com/JcDenis/improve', - 'repository' => 'https://raw.githubusercontent.com/JcDenis/improve/master/dcstore.xml', + 'support' => 'https://github.com/JcDenis/' . basename(__DIR__), + 'details' => 'https://github.com/JcDenis/' . basename(__DIR__), + 'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml', ] ); diff --git a/dcstore.xml b/dcstore.xml index ef79082..ca73636 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,10 +2,10 @@ improve - 0.10 + 1.0 Jean-Christian Denis and contributors Tiny tools to fix things for module devs - https://github.com/JcDenis/improve/releases/download/v0.10/plugin-improve.zip + https://github.com/JcDenis/improve/releases/download/v1.0/plugin-improve.zip 2.24 https://github.com/JcDenis/improve https://github.com/JcDenis/improve diff --git a/locales/fr/main.lang.php b/locales/fr/main.lang.php new file mode 100644 index 0000000..8bb7be2 --- /dev/null +++ b/locales/fr/main.lang.php @@ -0,0 +1,160 @@ +