diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index eeb6a709c4..9de07203db 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,19 @@ +2007-12-16 Sancho Lerena + + * pandoradb.sql: New field for tagente_modulo: disabled, to be + able to disable individual modules on an agent. + + * index.php: Version number is now officially "1.4dev". There is + a long way to finish 1.4. + + * operation/servers/view_server_detail.php: FIX. If no tasks, show + a little message. + + * images/console/icons/smalldot*: New small graph for graph console. + + * reporting/fgraph.php: FIX. Combined graphs with components of scale =1 + does not readjust automatically. + 2007-12-16 Raul Mateos * include/languages/language_en.php, language_es_es.php, language_fr.php, diff --git a/pandora_console/images/console/icons/smalldot.png b/pandora_console/images/console/icons/smalldot.png new file mode 100644 index 0000000000..ecabe45315 Binary files /dev/null and b/pandora_console/images/console/icons/smalldot.png differ diff --git a/pandora_console/images/console/icons/smalldot_bad.png b/pandora_console/images/console/icons/smalldot_bad.png new file mode 100644 index 0000000000..9e2577ddde Binary files /dev/null and b/pandora_console/images/console/icons/smalldot_bad.png differ diff --git a/pandora_console/images/console/icons/smalldot_ok.png b/pandora_console/images/console/icons/smalldot_ok.png new file mode 100644 index 0000000000..ecabe45315 Binary files /dev/null and b/pandora_console/images/console/icons/smalldot_ok.png differ diff --git a/pandora_console/index.php b/pandora_console/index.php index b76be01d56..0fe865833e 100644 --- a/pandora_console/index.php +++ b/pandora_console/index.php @@ -25,7 +25,7 @@ //Pandora Version, if not defined here it would take from config.php $build_version="PC071216"; -$pandora_version="v1.4 Beta1"; +$pandora_version="v1.4dev"; global $build_version; global $pandora_version; diff --git a/pandora_console/operation/servers/view_server_detail.php b/pandora_console/operation/servers/view_server_detail.php index af65bfe52e..4f1b57ab1e 100644 --- a/pandora_console/operation/servers/view_server_detail.php +++ b/pandora_console/operation/servers/view_server_detail.php @@ -131,6 +131,8 @@ if ((comprueba_login() == 0) AND (give_acl($id_user, 0, "AR")==1) ) { } } echo ""; + } else { + echo "This server has no recon tasks assigned"; } } } diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index 1e750c1fea..167821fd7b 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -127,6 +127,7 @@ CREATE TABLE `tagente_modulo` ( `id_module_group` int(4) unsigned default '0', `flag` tinyint(3) unsigned default '1', `id_modulo` int(11) unsigned NULL default 0, + `disabled` tinyint(3) unsigned default '0', PRIMARY KEY (`id_agente_modulo`, `id_agente`), KEY `tam_agente` (`id_agente`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; diff --git a/pandora_console/reporting/fgraph.php b/pandora_console/reporting/fgraph.php index 81089b09e8..cc41689fa9 100644 --- a/pandora_console/reporting/fgraph.php +++ b/pandora_console/reporting/fgraph.php @@ -210,7 +210,8 @@ function graphic_combined_module ($module_list, $weight_list, $periodo, $width, } for ($y = 0; $y < $module_number; $y++){ - $weight_list[$y] = ($max_value / $mod_data[$y]) + ($weight_list[$y]-1); + // Disabled autoadjusment, is not working fine :( + // $weight_list[$y] = ($max_value / $mod_data[$y]) + ($weight_list[$y]-1); if ($weight_list[$y] != 1) $module_list_name[$y] .= " (x". format_numeric($weight_list[$y],1).")"; $module_list_name[$y] = $module_list_name[$y]." (MAX: ".format_numeric($mod_data[$y]).")";