2007-12-16 Sancho Lerena <slerena@gmail.com>

* 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.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@683 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2007-12-16 23:56:31 +00:00
parent 7e6500c1da
commit 813d5dc10a
8 changed files with 22 additions and 2 deletions

View File

@ -1,3 +1,19 @@
2007-12-16 Sancho Lerena <slerena@gmail.com>
* 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 <raulofpandora@gmail.com>
* include/languages/language_en.php, language_es_es.php, language_fr.php,

Binary file not shown.

After

Width:  |  Height:  |  Size: 309 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 486 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 309 B

View File

@ -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;

View File

@ -131,6 +131,8 @@ if ((comprueba_login() == 0) AND (give_acl($id_user, 0, "AR")==1) ) {
}
}
echo "</table>";
} else {
echo "This server has no recon tasks assigned";
}
}
}

View File

@ -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;

View File

@ -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]).")";