From a39eca604a7a3f8797e89f592148a658cd1470dd Mon Sep 17 00:00:00 2001 From: Norbert Micheel Date: Mon, 18 Dec 2023 01:24:54 +0100 Subject: [PATCH] little offline precision & version bump --- CHANGELOG.md | 7 +++++++ lib/search_it.php | 8 ++++---- package.yml | 2 +- plugins/autocomplete/package.yml | 2 +- plugins/documentation/package.yml | 2 +- plugins/plaintext/package.yml | 2 +- plugins/stats/package.yml | 2 +- 7 files changed, 16 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b6cd878..0716f8b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,15 @@ # Changelog +## Version 6.10.1 (2023-12-18) + +- keypress event replaced by keyup +- Change in respect to accessdenied AddOn + ## Version 6.9.10 (2023-10-21) + - Security Fix: escape Suchbegriffe ## Version 6.9.9 (2023-09-23) + - Fix indexing wenn hinter Proxy ;-) - Code Style (CS) diff --git a/lib/search_it.php b/lib/search_it.php index c03539e..0682233 100644 --- a/lib/search_it.php +++ b/lib/search_it.php @@ -254,8 +254,8 @@ public function indexArticle($_id, $_clang = false, $clearCache = false) $return[$langID] = SEARCH_IT_ART_IDNOTFOUND; continue; } - - //EP to check if Article should be indexed + + //EP to check if Article should be indexed $doindex = rex_extension::registerPoint(new \rex_extension_point('SEARCH_IT_INDEX_ARTICLE', true, [ 'article' => $article ])); @@ -264,8 +264,8 @@ public function indexArticle($_id, $_clang = false, $clearCache = false) $return[$langID] = SEARCH_IT_ART_EXCLUDED; continue; } - - if (is_object($article) and ($article->isOnline() or rex_addon::get('search_it')->getConfig('indexoffline')) and $_id != 0 + + if (is_object($article) and ($article->isOnline() or (rex_addon::get('search_it')->getConfig('indexoffline') AND 0 === $article->getValue('status'))) and $_id != 0 and ($_id != rex_article::getNotfoundArticleId() or $_id == rex_article::getSiteStartArticleId())) { if (!$dont_use_socket) { diff --git a/package.yml b/package.yml index 5f43a6d..93a1d89 100644 --- a/package.yml +++ b/package.yml @@ -1,5 +1,5 @@ package: search_it -version: '6.9.10' +version: '6.10.1' author: Friends Of REDAXO supportpage: https://github.com/FriendsOfREDAXO/search_it diff --git a/plugins/autocomplete/package.yml b/plugins/autocomplete/package.yml index ab9b44a..a06d02b 100644 --- a/plugins/autocomplete/package.yml +++ b/plugins/autocomplete/package.yml @@ -1,5 +1,5 @@ package: search_it/autocomplete -version: '6.9.10' +version: '6.10.1' author: Manétage title: 'translate:search_it_autocomplete_plugin_title' diff --git a/plugins/documentation/package.yml b/plugins/documentation/package.yml index 7f01e0b..f65b43a 100644 --- a/plugins/documentation/package.yml +++ b/plugins/documentation/package.yml @@ -1,5 +1,5 @@ package: search_it/documentation -version: '6.9.10' +version: '6.10.1' author: Friends Of REDAXO title: 'translate:search_it_documentation_title' diff --git a/plugins/plaintext/package.yml b/plugins/plaintext/package.yml index dec756f..4c5cc0e 100644 --- a/plugins/plaintext/package.yml +++ b/plugins/plaintext/package.yml @@ -1,5 +1,5 @@ package: search_it/plaintext -version: '6.9.10' +version: '6.10.1' author: Friends Of REDAXO title: 'translate:search_it_plaintext_title' diff --git a/plugins/stats/package.yml b/plugins/stats/package.yml index 6e02279..2b48269 100644 --- a/plugins/stats/package.yml +++ b/plugins/stats/package.yml @@ -1,5 +1,5 @@ package: search_it/stats -version: '6.9.10' +version: '6.10.1' author: Friends Of REDAXO title: 'translate:search_it_stats_plugin_title'