diff --git a/CHANGELOG.md b/CHANGELOG.md index 7543d6d..334b498 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,52 +1,70 @@ -2023.05.13 -- require dotclear 2.26 -- cleanup for dotclear 2.26 stable +saba 2023.08.13 +=========================================================== +* Require Dotclear 2.27 +* Require PHP 7.4 +* Upgrade to Dotclear 2.27 +* Move third party repository +* Use Dotclear style for CHANGELOG -2023.04.25 -- require dotclear 2.26 -- use namespace -- move templates to standard path -- add plugin Uninstaller features -- add plugin activityReport features +saba 2023.05.13 +=========================================================== +* require dotclear 2.26 +* cleanup for dotclear 2.26 stable -2022.12.22 -- enhance search -- add error 404 to plugi activityReport -- use SVG icon -- use abstract plugin id -- remove currywurst template -- fix right template seletion -- fix dblayer error -- fix permissions -- code review +saba 2023.04.25 +=========================================================== +* require dotclear 2.26 +* use namespace +* move templates to standard path +* add plugin Uninstaller features +* add plugin activityReport features -2022.11.20 -- fix compatibility with Dotclear 2.24 (required) +saba 2022.12.22 +=========================================================== +* enhance search +* add error 404 to plugi activityReport +* use SVG icon +* use abstract plugin id +* remove currywurst template +* fix right template seletion +* fix dblayer error +* fix permissions +* code review -2021.08.21.1 -- fix widget empty context -- clean up again... +saba 2022.11.20 +=========================================================== +* fix compatibility with Dotclear 2.24 (required) -2021.08.21 -- update license -- fix query -- move to PSR-2 coding style and short array -- move config to widget -- move template to widget -- use default template for search -- use custom template for 404 -- fix public translation +saba 2021.08.21.1 +=========================================================== +* fix widget empty context +* clean up again... -2013.10.28 -- Switch to Dotclear 2.6 -- Add french help +saba 2021.08.21 +=========================================================== +* update license +* fix query +* move to PSR-2 coding style and short array +* move config to widget +* move template to widget +* use default template for search +* use custom template for 404 +* fix public translation -2013.07.12 -- Enhanced template for search page +saba 2013.10.28 +=========================================================== +* Switch to Dotclear 2.6 +* Add french help -2013.06.30 -- Fixed 404 template -- Added options to disabled public filters +saba 2013.07.12 +=========================================================== +* Enhanced template for search page -0.1 20100909 -- First lab release \ No newline at end of file +saba 2013.06.30 +=========================================================== +* Fixed 404 template +* Added options to disabled public filters + +saba 0.1 20100909 +=========================================================== +* First lab release \ No newline at end of file diff --git a/README.md b/README.md index de5d48f..1861cef 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,14 @@ # README -[![Release](https://img.shields.io/github/v/release/JcDenis/saba)](https://github.com/JcDenis/saba/releases) -[![Date](https://img.shields.io/github/release-date/JcDenis/saba)](https://github.com/JcDenis/saba/releases) -[![Issues](https://img.shields.io/github/issues/JcDenis/saba)](https://github.com/JcDenis/saba/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/saba) -[![License](https://img.shields.io/github/license/JcDenis/saba)](https://github.com/JcDenis/saba/blob/master/LICENSE) +[![Release](https://img.shields.io/badge/release-2023.08.13-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/saba/releases) +[![Date](https://img.shields.io/badge/date-2023.08.13-c44d58.svg)](https://git.dotclear.watch/JcDenis/saba/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/saba) +[![License](https://img.shields.io/github/license/JcDenis/saba)](https://git.dotclear.watch/JcDenis/saba/blob/master/LICENSE) ## WHAT IS SABA ? -saba : Search Across Blog's Archive is a plugins for the open-source +_saba_ : Search Across Blog's Archive is a plugins for the open-source web publishing software called Dotclear. It replaces public search page and 404 page by a custom page that @@ -17,11 +16,12 @@ show related entries to visitor. ## REQUIREMENTS - saba requires: +_saba_ requires: - * administrator permissions - * Dotclear 2.26 - * Custom templates if default theme is not used. +* administrator permissions +* Dotclear 2.27 +* PHP 7.4 +* Custom templates if default theme is not used. ## USAGE @@ -37,12 +37,12 @@ You can find exemple in plugins/saba/default-tempaltes. ## MORE - * License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html) - * Source & contribution : [GitHub Page](https://github.com/JcDenis/saba) - * Packages & details : [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/saba) +* License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html) +* Source & contribution : [Gitea Page](https://git.dotclear.watch/JcDenis/saba) or [GitHub Page](https://github.com/JcDenis/saba) +* Packages & details: [Gitea Page](https://git.dotclear.watch/JcDenis/saba/releases) or [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/saba) ## 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 316276e..d75f8c6 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 (!defined('DC_RC_PATH') || is_null(dcCore::app()->auth)) { +if (!defined('DC_RC_PATH')) { return null; } @@ -18,15 +18,15 @@ $this->registerModule( 'saba', 'Search across blog archive', 'Jean-Christian Denis and Contributors', - '2023.05.13', + '2023.08.13', [ - 'requires' => [['core', '2.26']], + 'requires' => [['core', '2.27']], 'permissions' => dcCore::app()->auth->makePermissions([ dcCore::app()->auth::PERMISSION_ADMIN, ]), '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 45a513b..b78702c 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,12 +2,12 @@ saba - 2023.05.13 + 2023.08.13 Jean-Christian Denis and Contributors Search across blog archive - https://github.com/JcDenis/saba/releases/download/v2023.05.13/plugin-saba.zip - 2.26 - https://plugins.dotaddict.org/dc2/details/saba - https://github.com/JcDenis/saba + https://git.dotclear.watch/JcDenis/saba/releases/download/v2023.08.13/plugin-saba.zip + 2.27 + https://git.dotclear.watch/JcDenis/saba/src/branch/master/README.md + https://git.dotclear.watch/JcDenis/saba/issues