Skip to content

Commit

Permalink
welcome 2020; add count of ezfind index_subtree events in content stats
Browse files Browse the repository at this point in the history
  • Loading branch information
gggeek committed Jan 21, 2020
1 parent ced9042 commit d1d1c5a
Show file tree
Hide file tree
Showing 68 changed files with 74 additions and 69 deletions.
2 changes: 1 addition & 1 deletion bin/php/report.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 3 additions & 1 deletion classes/contentstatsgatherer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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' ),
Expand Down Expand Up @@ -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( '#<int +name="numDocs" ?>([^<]+)</int>#', $data, $matches ) )
Expand Down
2 changes: 1 addition & 1 deletion classes/dbchecker.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @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
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/ezinactiveextensionloader.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2019
* @copyright (C) G. Giunta 2014-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/ezlogsgrapher.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2008-2019
* @copyright (C) G. Giunta 2008-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/ezmodulelister.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Copied here from ezwebservicesapi and renamed to avoid clashes
*
* @author G. Giunta
* @copyright (C) G. Giunta 2010-2019
* @copyright (C) G. Giunta 2010-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/ezsysinfoclustermanager.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2019
* @copyright (C) G. Giunta 2014-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/ezsysinfomodule.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Class used to help managing in a single place all module/view info
*
* @author G. Giunta
* @copyright (C) G. Giunta 2010-2019
* @copyright (C) G. Giunta 2010-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/inichecker.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2010-2019
* @copyright (C) G. Giunta 2010-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/phpchecker.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2010-2019
* @copyright (C) G. Giunta 2010-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/reportgenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* A helper class for generating reports
*
* @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
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/reports/ezcontentclassesreport.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2019
* @copyright (C) G. Giunta 2014-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/reports/ezinireport.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2019
* @copyright (C) G. Giunta 2014-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/reports/ezpoliciesreport.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2019
* @copyright (C) G. Giunta 2014-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/reports/ezworkflowsreport.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2019
* @copyright (C) G. Giunta 2014-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/statustests/sysinfotests.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
*
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2019
* @copyright (C) G. Giunta 2014-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/sysinfomodule.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Class used to help managing in a single place all module/view info
*
* @author G. Giunta
* @copyright (C) G. Giunta 2010-2019
* @copyright (C) G. Giunta 2010-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/sysinfotools.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
*
* @author G. Giunta
* @copyright (C) G. Giunta 2008-2019
* @copyright (C) G. Giunta 2008-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/systemchecker.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2019
* @copyright (C) G. Giunta 2014-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/tplchecker.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2019
* @copyright (C) G. Giunta 2014-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/viewgroups/ezsysinfobaseviewgroup.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2019
* @copyright (C) G. Giunta 2014-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/viewgroups/ezsysinfodevelopmentviewgroup.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2019
* @copyright (C) G. Giunta 2014-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/viewgroups/ezsysinfoezpublishviewgroup.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2019
* @copyright (C) G. Giunta 2014-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/viewgroups/ezsysinfoindexviewgroup.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2019
* @copyright (C) G. Giunta 2014-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/viewgroups/ezsysinfophpviewgroup.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2019
* @copyright (C) G. Giunta 2014-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/viewgroups/ezsysinfoqaviewgroup.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2019
* @copyright (C) G. Giunta 2014-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/viewgroups/ezsysinforeportsviewgroup.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2019
* @copyright (C) G. Giunta 2014-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion doc/changelogs/CHANGELOG-0.9.11-to-0.9.12
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Changes from 0.9.11 to 0.9.12 - unreleased
Changes from 0.9.11 to 0.9.12 - released 2019/3/23

Fix: in content stats page, request Solr data using an url which corresponds to Solr 4.10 admin interface
3 changes: 3 additions & 0 deletions doc/changelogs/CHANGELOG-0.9.12-to-0.9.13
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Changes from 0.9.12 to 0.9.13 - released 2020/1/21

Add: in content stats page, list number of pending ezfind index_subtree events
4 changes: 2 additions & 2 deletions extension.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<software>
<metadata>
<name>ggsysinfo</name>
<version>0.9.12</version>
<copyright>Copyright (C) 2008-2019 Gaetano Giunta</copyright>
<version>0.9.13</version>
<copyright>Copyright (C) 2008-2020 Gaetano Giunta</copyright>
<license>GNU General Public License v2.0</license>
</metadata>

Expand Down
4 changes: 2 additions & 2 deletions ezinfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ class ggsysinfoInfo
static function info()
{
return array( 'Name' => "<a href=\"http://projects.ez.no/ggsysinfo\">ggsysinfo</a>",
'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"
);
}
Expand Down
2 changes: 1 addition & 1 deletion interfaces/ezsysinfoviewgroup.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2019
* @copyright (C) G. Giunta 2014-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion modules/sysinfo/acceleratorplus.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
*
* @author G. Giunta
* @copyright (C) G. Giunta 2013-2019
* @copyright (C) G. Giunta 2013-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion modules/sysinfo/apc.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
*
* @author G. Giunta
* @copyright (C) G. Giunta 2008-2019
* @copyright (C) G. Giunta 2008-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion modules/sysinfo/cachesearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
*
* @author G. Giunta
* @copyright (C) G. Giunta 2008-2019
* @copyright (C) G. Giunta 2008-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*
* @todo add support for offset, to facilitate display of long searches results
Expand Down
2 changes: 1 addition & 1 deletion modules/sysinfo/cachestats.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
*
* @author G. Giunta
* @copyright (C) G. Giunta 2008-2019
* @copyright (C) G. Giunta 2008-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*
* @todo add more details, such as dates of first/last files
Expand Down
2 changes: 1 addition & 1 deletion modules/sysinfo/clustercachestats.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
*
* @author G. Giunta
* @copyright (C) G. Giunta 2008-2019
* @copyright (C) G. Giunta 2008-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*
* @todo add more details, such as dates of first/last files
Expand Down
2 changes: 1 addition & 1 deletion modules/sysinfo/clustermasterview.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Mode of operation: iframe contents are served from this same view, which acts as a proxy, requesting the data from other nodes
*
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2019
* @copyright (C) G. Giunta 2014-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*
* @todo use a 3-level path, with the name of the group as 2nd element ?
Expand Down
2 changes: 1 addition & 1 deletion modules/sysinfo/clusterslaveview.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2019
* @copyright (C) G. Giunta 2014-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*
* A view which is used to do alternative permission checking, then execute one of the std views
Expand Down
2 changes: 1 addition & 1 deletion modules/sysinfo/clusterstoragestats.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
*
* @author G. Giunta
* @copyright (C) G. Giunta 2008-2019
* @copyright (C) G. Giunta 2008-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*
* @todo add more details, such as dates of first/last files
Expand Down
2 changes: 1 addition & 1 deletion modules/sysinfo/contentstats.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
*
* @author G. Giunta
* @copyright (C) G. Giunta 2008-2019
* @copyright (C) G. Giunta 2008-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion modules/sysinfo/customlogview.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Display a log file
*
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2019
* @copyright (C) G. Giunta 2014-2020
* @license Licensed under GNU General Public License v2.0. See file license.txt
*
* @todo add support for if-modified-since, etag headers
Expand Down
2 changes: 1 addition & 1 deletion modules/sysinfo/databaseqa.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @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
*/

Expand Down
Loading

0 comments on commit d1d1c5a

Please sign in to comment.