From d1d1c5a31b6f6a72f6d28d3926a83f24f268ce6c Mon Sep 17 00:00:00 2001 From: gggeek Date: Tue, 21 Jan 2020 10:44:49 +0000 Subject: [PATCH] welcome 2020; add count of ezfind index_subtree events in content stats --- bin/php/report.php | 2 +- classes/contentstatsgatherer.php | 4 +++- classes/dbchecker.php | 2 +- classes/ezinactiveextensionloader.php | 2 +- classes/ezlogsgrapher.php | 2 +- classes/ezmodulelister.php | 2 +- classes/ezsysinfoclustermanager.php | 2 +- classes/ezsysinfomodule.php | 2 +- classes/inichecker.php | 2 +- classes/phpchecker.php | 2 +- classes/reportgenerator.php | 2 +- classes/reports/ezcontentclassesreport.php | 2 +- classes/reports/ezinireport.php | 2 +- classes/reports/ezpoliciesreport.php | 2 +- classes/reports/ezworkflowsreport.php | 2 +- classes/statustests/sysinfotests.php | 2 +- classes/sysinfomodule.php | 2 +- classes/sysinfotools.php | 2 +- classes/systemchecker.php | 2 +- classes/tplchecker.php | 2 +- classes/viewgroups/ezsysinfobaseviewgroup.php | 2 +- classes/viewgroups/ezsysinfodevelopmentviewgroup.php | 2 +- classes/viewgroups/ezsysinfoezpublishviewgroup.php | 2 +- classes/viewgroups/ezsysinfoindexviewgroup.php | 2 +- classes/viewgroups/ezsysinfophpviewgroup.php | 2 +- classes/viewgroups/ezsysinfoqaviewgroup.php | 2 +- classes/viewgroups/ezsysinforeportsviewgroup.php | 2 +- doc/changelogs/CHANGELOG-0.9.11-to-0.9.12 | 2 +- doc/changelogs/CHANGELOG-0.9.12-to-0.9.13 | 3 +++ extension.xml | 4 ++-- ezinfo.php | 4 ++-- interfaces/ezsysinfoviewgroup.php | 2 +- modules/sysinfo/acceleratorplus.php | 2 +- modules/sysinfo/apc.php | 2 +- modules/sysinfo/cachesearch.php | 2 +- modules/sysinfo/cachestats.php | 2 +- modules/sysinfo/clustercachestats.php | 2 +- modules/sysinfo/clustermasterview.php | 2 +- modules/sysinfo/clusterslaveview.php | 2 +- modules/sysinfo/clusterstoragestats.php | 2 +- modules/sysinfo/contentstats.php | 2 +- modules/sysinfo/customlogview.php | 2 +- modules/sysinfo/databaseqa.php | 2 +- modules/sysinfo/eaccelerator.php | 2 +- modules/sysinfo/eventtypelist.php | 2 +- modules/sysinfo/fetchlist.php | 2 +- modules/sysinfo/genericview.php | 2 +- modules/sysinfo/inifilesqa.php | 2 +- modules/sysinfo/inisettingsqa.php | 2 +- modules/sysinfo/logchurn.php | 2 +- modules/sysinfo/logstats.php | 2 +- modules/sysinfo/logview.php | 2 +- modules/sysinfo/modulelist.php | 2 +- modules/sysinfo/mysqli.php | 2 +- modules/sysinfo/operationlist.php | 2 +- modules/sysinfo/operatorlist.php | 2 +- modules/sysinfo/php.php | 2 +- modules/sysinfo/phpfilesqa.php | 2 +- modules/sysinfo/policylist.php | 2 +- modules/sysinfo/secinfo.php | 2 +- modules/sysinfo/storagechurn.php | 2 +- modules/sysinfo/storagestats.php | 2 +- modules/sysinfo/systemcheck.php | 2 +- modules/sysinfo/systemstatus.php | 2 +- modules/sysinfo/tplfilesqa.php | 2 +- modules/sysinfo/viewlist.php | 2 +- modules/sysinfo/wincache.php | 2 +- modules/sysinfo/xcache.php | 2 +- 68 files changed, 74 insertions(+), 69 deletions(-) create mode 100644 doc/changelogs/CHANGELOG-0.9.12-to-0.9.13 diff --git a/bin/php/report.php b/bin/php/report.php index bfaceba..1704d5b 100644 --- a/bin/php/report.php +++ b/bin/php/report.php @@ -8,7 +8,7 @@ * also this script uses a custom autoloader for php classes * * @author G. Giunta - * @copyright (C) G. Giunta 2012-2019 + * @copyright (C) G. Giunta 2012-2020 * @license Licensed under GNU General Public License v2.0. See file license.txt * * @todo add options to let users to select which tests to run when running status report (ALL by default) diff --git a/classes/contentstatsgatherer.php b/classes/contentstatsgatherer.php index 8d25a87..180f37e 100644 --- a/classes/contentstatsgatherer.php +++ b/classes/contentstatsgatherer.php @@ -2,7 +2,7 @@ /** * * @author G. Giunta - * @copyright (C) G. Giunta 2012-2019 + * @copyright (C) G. Giunta 2012-2020 * @license Licensed under GNU General Public License v2.0. See file license.txt * * @todo add more classes of content that have no stats in main admin interface @@ -38,6 +38,7 @@ static function gather() 'Information Collections' => array( 'table' => 'ezinfocollection' ), 'Pending notification events' => array( 'table' => 'eznotificationevent', 'wherecondition' => 'status = 0' ), 'Objects pending indexation' => array( 'table' => 'ezpending_actions', 'wherecondition' => "action = 'index_object'" ), + 'Objects pending subtree indexation (ezfind)' => array( 'table' => 'ezpending_actions', 'wherecondition' => "action = 'index_subtree'" ), 'Binary files (content)' => array( 'table' => 'ezbinaryfile' ), 'Image files (content)' => array( 'table' => 'ezimagefile' ), 'Media files (content)' => array( 'table' => 'ezmedia' ), @@ -77,6 +78,7 @@ static function gather() 0, strrpos( rtrim( $ini->variable( 'SolrBase', 'SearchServerURI' ), '/' ), '/' ) ) . "/admin/cores"; + /// @todo it would be nice to be able to use a specific timeout here, in case of firewalls that block the connection... $data = eZHTTPTool::getDataByURL( $ezfindSatsUrl, false ); /// @todo add support for multi-core setups if ( preg_match( '#([^<]+)#', $data, $matches ) ) diff --git a/classes/dbchecker.php b/classes/dbchecker.php index 79c74d2..fd61586 100644 --- a/classes/dbchecker.php +++ b/classes/dbchecker.php @@ -1,7 +1,7 @@ ggsysinfo - 0.9.12 - Copyright (C) 2008-2019 Gaetano Giunta + 0.9.13 + Copyright (C) 2008-2020 Gaetano Giunta GNU General Public License v2.0 diff --git a/ezinfo.php b/ezinfo.php index bbca207..403b1e4 100644 --- a/ezinfo.php +++ b/ezinfo.php @@ -5,8 +5,8 @@ class ggsysinfoInfo static function info() { return array( 'Name' => "ggsysinfo", - 'Version' => "0.9.12", - 'Copyright' => "Copyright (C) 2008-2019 Gaetano Giunta", + 'Version' => "0.9.13", + 'Copyright' => "Copyright (C) 2008-2020 Gaetano Giunta", 'License' => "GNU General Public License v2.0" ); } diff --git a/interfaces/ezsysinfoviewgroup.php b/interfaces/ezsysinfoviewgroup.php index e584f3a..5cf4d35 100644 --- a/interfaces/ezsysinfoviewgroup.php +++ b/interfaces/ezsysinfoviewgroup.php @@ -1,7 +1,7 @@