Skip to content

Commit

Permalink
welcome 2019; add version stats in content-stats page
Browse files Browse the repository at this point in the history
  • Loading branch information
gggeek committed Jan 22, 2019
1 parent 908152f commit 4aa7fac
Show file tree
Hide file tree
Showing 66 changed files with 70 additions and 68 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-2018
* @copyright (C) G. Giunta 2012-2019
* @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-2018
* @copyright (C) G. Giunta 2012-2019
* @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 @@ -33,13 +33,15 @@ static function gather()
'Objects (including users)' => array( 'table' => 'ezcontentobject' ),
'Users' => array( 'table' => 'ezuser' ),
'Nodes' => array( 'table' => 'ezcontentobject_tree' ),
'Object versions (including users)' => array( 'table' => 'ezcontentobject_versions' ),
'Content Classes' => array( 'table' => 'ezcontentclass' ),
'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'" ),
'Binary files (content)' => array( 'table' => 'ezbinaryfile' ),
'Image files (content)' => array( 'table' => 'ezimagefile' ),
'Media files (content)' => array( 'table' => 'ezmedia' ),
'Maximum versions per object' => array( 'sql' => 'SELECT MAX(tot) AS NUM FROM ( SELECT count(*) AS tot FROM ezcontentobject_version GROUP BY contentobject_id ) versions' ),
'Maximum children per node' => array( 'sql' => 'SELECT MAX(tot) AS NUM FROM ( SELECT count(*) AS tot FROM ezcontentobject_tree GROUP BY parent_node_id ) nodes' ),
'Maximum nodes per object' => array( 'sql' => 'SELECT MAX(tot) AS NUM FROM ( SELECT count(*) AS tot FROM ezcontentobject_tree GROUP BY contentobject_id ) nodes' ),
'Maximum incoming relations to an object' => array( 'sql' => 'SELECT MAX(tot) AS NUM FROM ( SELECT count(*) AS tot FROM ezcontentobject_link GROUP BY to_contentobject_id ) links', 'nvl' => 0 ),
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-2018
* @copyright (C) G. Giunta 2012-2019
* @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-2018
* @copyright (C) G. Giunta 2014-2019
* @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-2018
* @copyright (C) G. Giunta 2008-2019
* @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-2018
* @copyright (C) G. Giunta 2010-2019
* @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-2018
* @copyright (C) G. Giunta 2014-2019
* @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-2018
* @copyright (C) G. Giunta 2010-2019
* @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-2018
* @copyright (C) G. Giunta 2010-2019
* @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-2018
* @copyright (C) G. Giunta 2010-2019
* @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-2018
* @copyright (C) G. Giunta 2012-2019
* @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-2018
* @copyright (C) G. Giunta 2014-2019
* @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-2018
* @copyright (C) G. Giunta 2014-2019
* @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-2018
* @copyright (C) G. Giunta 2014-2019
* @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-2018
* @copyright (C) G. Giunta 2014-2019
* @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-2018
* @copyright (C) G. Giunta 2014-2019
* @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-2018
* @copyright (C) G. Giunta 2010-2019
* @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-2018
* @copyright (C) G. Giunta 2008-2019
* @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-2018
* @copyright (C) G. Giunta 2014-2019
* @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-2018
* @copyright (C) G. Giunta 2014-2019
* @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-2018
* @copyright (C) G. Giunta 2014-2019
* @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-2018
* @copyright (C) G. Giunta 2014-2019
* @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-2018
* @copyright (C) G. Giunta 2014-2019
* @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-2018
* @copyright (C) G. Giunta 2014-2019
* @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-2018
* @copyright (C) G. Giunta 2014-2019
* @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-2018
* @copyright (C) G. Giunta 2014-2019
* @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-2018
* @copyright (C) G. Giunta 2014-2019
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
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.8</version>
<copyright>Copyright (C) 2008-2018 Gaetano Giunta</copyright>
<version>0.9.9</version>
<copyright>Copyright (C) 2008-2019 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.8",
'Copyright' => "Copyright (C) 2008-2018 Gaetano Giunta",
'Version' => "0.9.9",
'Copyright' => "Copyright (C) 2008-2019 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-2018
* @copyright (C) G. Giunta 2014-2019
* @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-2018
* @copyright (C) G. Giunta 2013-2019
* @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-2018
* @copyright (C) G. Giunta 2008-2019
* @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-2018
* @copyright (C) G. Giunta 2008-2019
* @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-2018
* @copyright (C) G. Giunta 2008-2019
* @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-2018
* @copyright (C) G. Giunta 2008-2019
* @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-2018
* @copyright (C) G. Giunta 2014-2019
* @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-2018
* @copyright (C) G. Giunta 2014-2019
* @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-2018
* @copyright (C) G. Giunta 2008-2019
* @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-2018
* @copyright (C) G. Giunta 2008-2019
* @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-2018
* @copyright (C) G. Giunta 2014-2019
* @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-2018
* @copyright (C) G. Giunta 2012-2019
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion modules/sysinfo/eaccelerator.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-2018
* @copyright (C) G. Giunta 2008-2019
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
Loading

0 comments on commit 4aa7fac

Please sign in to comment.