diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ca31da..a0ceb8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,51 +1,67 @@ -1.5 - 2023.07.28 -- require dotclear 2.27 -- require PHP 8.1+ -- update to dotclear 2.27-dev +dcLog 1.6 - 2023.08.14 +=========================================================== +* Require Dotclear 2.27 +* Require PHP 8.1 +* Move third party repository +* Use Dotclear style for CHANGELOG -1.4 - 2023.05.13 -- require dotclear 2.26 -- require PHP 8.1+ -- use define php_min +dcLog 1.5 - 2023.07.28 +=========================================================== +* require dotclear 2.27 +* require PHP 8.1+ +* update to dotclear 2.27-dev -1.3.1 - 2023.04.29 -- require dotclear 2.26 -- require PHP 8.1+ -- use Html Form Component everywhere -- fix submit contidions (js) -- fix phpstan level9 warnings +dcLog 1.4 - 2023.05.13 +=========================================================== +* require dotclear 2.26 +* require PHP 8.1+ +* use define php_min -1.3 - 2023.04.23 -- require dotclear 2.26 -- require PHP 8.1+ -- use latest dotclear namespace -- fix translation -- fix nullsafe warnings -- add code inline doc +dcLog 1.3.1 - 2023.04.29 +=========================================================== +* require dotclear 2.26 +* require PHP 8.1+ +* use Html Form Component everywhere +* fix submit contidions (js) +* fix phpstan level9 warnings -1.2.2 - 2023.04.06 -- fix pager and count (require dc 2.26 nightly) -- fix empty submit -- use Html helper +dcLog 1.3 - 2023.04.23 +=========================================================== +* require dotclear 2.26 +* require PHP 8.1+ +* use latest dotclear namespace +* fix translation +* fix nullsafe warnings +* add code inline doc -1.2.1 - 2023.03.19 -- require php 8.1 -- add container for admin vars -- fix init check -- fix phpstan lvl 8 warnings +dcLog 1.2.2 - 2023.04.06 +=========================================================== +* fix pager and count (require dc 2.26 nightly) +* fix empty submit +* use Html helper -1.2 - 2023.03.11 -- Update to Dotclear 2.26 -- use abstract plugin id -- use php namespace -- use dcPage open/close method +dcLog 1.2.1 - 2023.03.19 +=========================================================== +* require php 8.1 +* add container for admin vars +* fix init check +* fix phpstan lvl 8 warnings -1.1.1 -- use abstract plugin name -- fix permissions +dcLog 1.2 - 2023.03.11 +=========================================================== +* Update to Dotclear 2.26 +* use abstract plugin id +* use php namespace +* use dcPage open/close method -1.1 - 2022.11.27 -- Required Dotclear 2.24 -- Enhance list filters -- Add user pref columns -- Use SVG icon \ No newline at end of file +dcLog 1.1.1 +=========================================================== +* use abstract plugin name +* fix permissions + +dcLog 1.1 - 2022.11.27 +=========================================================== +* Required Dotclear 2.24 +* Enhance list filters +* Add user pref columns +* Use SVG icon \ No newline at end of file diff --git a/README.md b/README.md index 9e6e368..74a44c6 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,10 @@ # README -[![Release](https://img.shields.io/github/v/release/JcDenis/dcLog)](https://github.com/JcDenis/dcLog/releases) -[![Date](https://img.shields.io/github/release-date/JcDenis/dcLog)](https://github.com/JcDenis/dcLog/releases) -[![Issues](https://img.shields.io/github/issues/JcDenis/dcLog)](https://github.com/JcDenis/dcLog/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/dcLog) -[![License](https://img.shields.io/github/license/JcDenis/dcLog)](https://github.com/JcDenis/dcLog/blob/master/LICENSE) +[![Release](https://img.shields.io/badge/release-1.6-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/dcLog/releases) +[![Date](https://img.shields.io/badge/date-2023.08.14-c44d58.svg)](https://git.dotclear.watch/JcDenis/dcLog/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/dcLog) +[![License](https://img.shields.io/github/license/JcDenis/dcLog)](https://git.dotclear.watch/JcDenis/dcLog/blob/master/LICENSE) ## WHAT IS DCLOG ? @@ -16,11 +15,11 @@ Display dotclear's logs. ## REQUIREMENTS - _dcLog_ requires: +_dcLog_ requires: - * PHP 8.1+ - * Dotclear 2.27 - * super admin permission +* PHP 8.1+ +* Dotclear 2.27 +* super admin permission ## USAGE @@ -32,13 +31,13 @@ Once it's done you can manage your logs from menu ## LINKS - * License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html) - * Source & contribution : [GitHub Page](https://github.com/JcDenis/dcLog) - * Packages & details: [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/dcLog) +* License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html) +* Source & contribution : [Gitea Page](https://git.dotclear.watch/JcDenis/dcLog) or [GitHub Page](https://github.com/JcDenis/dcLog) +* Packages & details: [Gitea Page](https://git.dotclear.watch/JcDenis/dcLog/releases) or [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/dcLog) ## CONTRIBUTORS - * Tomtom - * Jean-Christian Denis +* Tomtom (author) +* 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 a38a245..ee54c58 100644 --- a/_define.php +++ b/_define.php @@ -18,7 +18,7 @@ $this->registerModule( "Dotclear's logs", 'Displays Dotclear logs', 'Tomtom and Contributors', - '1.5', + '1.6', [ 'requires' => [ ['php', '8.1'], @@ -26,8 +26,8 @@ $this->registerModule( ], 'permissions' => null, 'type' => 'plugin', - '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 2a93cb4..8bcb286 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,12 +2,12 @@ Dotclear's logs - 1.5 + 1.6 Tomtom and Contributors Displays Dotclear logs - https://github.com/JcDenis/dcLog/releases/download/v1.5/plugin-dcLog.zip + https://git.dotclear.watch/JcDenis/dcLog/releases/download/v1.6/plugin-dcLog.zip 2.27 - https://plugins.dotaddict.org/dc2/details/dcLog - https://github.com/JcDenis/dcLog + https://git.dotclear.watch/JcDenis/dcLog/src/branch/master/README.md + https://git.dotclear.watch/JcDenis/dcLog/issues diff --git a/src/Backend.php b/src/Backend.php index bfa537b..a7a8398 100644 --- a/src/Backend.php +++ b/src/Backend.php @@ -25,7 +25,6 @@ class Backend extends Process public static function init(): bool { return self::status(My::checkContext(My::BACKEND)); - ; } public static function process(): bool