From 0e2b6c7ed8a02ee85a6a8ca2e9c70347e56e32e1 Mon Sep 17 00:00:00 2001 From: guruevi Date: Fri, 12 Dec 2008 21:54:40 +0000 Subject: [PATCH] 2008-12-12 Evi Vanoost * pandora_console/operation/agentes/datos_agente.php: Rewrite. Uses new functions and better security and validation * pandora_console/include/functions_db.php: Renamed some functions and created agentmodule functions for consistency with documentation and to avoid searching for and typing certain function names: get_agentmodules is now get_agent_modules; dame_grupo is now get_group_name; dame_nombre_agente is now get_agent_name; get_agentmodule_agent is new; dame_nombre_agente_agentemodulo is now get_agentmodule_agent_name; dame_nombre_modulo_agentemodulo is now get_agentmodule_name; dame_id_tipo_modulo_agentemodulo is now get_agentmodule_type; dame_nombre_tipo_modulo is now get_moduletype_name; dame_nombre_grupo is now get_group_name; get_agentmodule_count is get_agent_modules_count; get_agentmodule_group is new; get_agent_group is new; * pandora_console/include/functions_reporting.php, pandora_console/include/functions.php, pandora_console/operation/incidents/incident.php, pandora_console/operation/users/user.php, pandora_console/operation/users/user_edit.php, pandora_console/operation/events/events.php, pandora_console/operation/visual_console/index.php, pandora_console/operation/agentes/estado_grupo.php, pandora_console/operation/agentes/export_csv.php, pandora_console/operation/agentes/estado_agente.php, pandora_console/operation/agentes/estado_ultimopaquete.php, pandora_console/operation/agentes/estado_generalagente.php, pandora_console/operation/agentes/sla_view.php, pandora_console/operation/agentes/exportdata.php, pandora_console/operation/agentes/ver_agente.php, pandora_console/operation/agentes/tactical.php, pandora_console/operation/agentes/networkmap.php, pandora_console/operation/messages/message.php, pandora_console/operation/reporting/reporting_xml.php, pandora_console/operation/reporting/reporting_viewer.php, pandora_console/reporting/fgraph.php, pandora_console/godmode/groups/group_list.php, pandora_console/godmode/users/user_list.php, pandora_console/godmode/users/configure_user.php, pandora_console/godmode/db/db_refine.php, pandora_console/godmode/db/db_info.php, pandora_console/godmode/db/db_purge.php, pandora_console/godmode/agentes/manage_config.php, pandora_console/godmode/agentes/modificar_agente.php, pandora_console/godmode/agentes/configurar_agente.php, pandora_console/godmode/agentes/manage_config_remote.php, pandora_console/godmode/modules/manage_network_components_form_network.php, pandora_console/godmode/modules/manage_network_components_form_wmi.php, pandora_console/godmode/reporting/reporting_builder.php, pandora_console/godmode/reporting/map_builder.php, pandora_console/godmode/reporting/graph_builder.php: Renamed functions git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1291 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 55 ++++++ .../godmode/agentes/configurar_agente.php | 2 +- .../godmode/agentes/manage_config.php | 4 +- .../godmode/agentes/manage_config_remote.php | 8 +- .../godmode/agentes/modificar_agente.php | 19 +- pandora_console/godmode/db/db_info.php | 4 +- pandora_console/godmode/db/db_purge.php | 8 +- pandora_console/godmode/db/db_refine.php | 4 +- pandora_console/godmode/groups/group_list.php | 2 +- ...manage_network_components_form_network.php | 2 +- .../manage_network_components_form_wmi.php | 2 +- .../godmode/reporting/graph_builder.php | 4 +- .../godmode/reporting/map_builder.php | 2 +- .../godmode/reporting/reporting_builder.php | 8 +- .../godmode/users/configure_user.php | 2 +- pandora_console/godmode/users/user_list.php | 2 +- pandora_console/include/functions.php | 50 +---- pandora_console/include/functions_db.php | 117 ++++++------ .../include/functions_reporting.php | 6 +- .../operation/agentes/datos_agente.php | 173 +++++++----------- .../operation/agentes/estado_agente.php | 13 +- .../agentes/estado_generalagente.php | 2 +- .../operation/agentes/estado_grupo.php | 11 +- .../agentes/estado_ultimopaquete.php | 8 +- .../operation/agentes/export_csv.php | 4 +- .../operation/agentes/exportdata.php | 20 +- .../operation/agentes/networkmap.php | 2 +- .../operation/agentes/sla_view.php | 9 +- .../operation/agentes/tactical.php | 2 +- .../operation/agentes/ver_agente.php | 6 +- pandora_console/operation/events/events.php | 4 +- .../operation/incidents/incident.php | 2 +- .../operation/messages/message.php | 2 +- .../operation/reporting/reporting_viewer.php | 8 +- .../operation/reporting/reporting_xml.php | 8 +- pandora_console/operation/users/user.php | 4 +- pandora_console/operation/users/user_edit.php | 2 +- .../operation/visual_console/index.php | 4 +- pandora_console/reporting/fgraph.php | 24 +-- 39 files changed, 298 insertions(+), 311 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index f479f8e9af..dde6a21d8a 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,58 @@ +2008-12-12 Evi Vanoost + + * pandora_console/operation/agentes/datos_agente.php: Rewrite. Uses new + functions and better security and validation + + * pandora_console/include/functions_db.php: Renamed some functions and + created agentmodule functions for consistency with documentation and to + avoid searching for and typing certain function names: + get_agentmodules is now get_agent_modules; + dame_grupo is now get_group_name; + dame_nombre_agente is now get_agent_name; get_agentmodule_agent is new; + dame_nombre_agente_agentemodulo is now get_agentmodule_agent_name; + dame_nombre_modulo_agentemodulo is now get_agentmodule_name; + dame_id_tipo_modulo_agentemodulo is now get_agentmodule_type; + dame_nombre_tipo_modulo is now get_moduletype_name; dame_nombre_grupo is + now get_group_name; get_agentmodule_count is get_agent_modules_count; + get_agentmodule_group is new; get_agent_group is new; + + * pandora_console/include/functions_reporting.php, + pandora_console/include/functions.php, + pandora_console/operation/incidents/incident.php, + pandora_console/operation/users/user.php, + pandora_console/operation/users/user_edit.php, + pandora_console/operation/events/events.php, + pandora_console/operation/visual_console/index.php, + pandora_console/operation/agentes/estado_grupo.php, + pandora_console/operation/agentes/export_csv.php, + pandora_console/operation/agentes/estado_agente.php, + pandora_console/operation/agentes/estado_ultimopaquete.php, + pandora_console/operation/agentes/estado_generalagente.php, + pandora_console/operation/agentes/sla_view.php, + pandora_console/operation/agentes/exportdata.php, + pandora_console/operation/agentes/ver_agente.php, + pandora_console/operation/agentes/tactical.php, + pandora_console/operation/agentes/networkmap.php, + pandora_console/operation/messages/message.php, + pandora_console/operation/reporting/reporting_xml.php, + pandora_console/operation/reporting/reporting_viewer.php, + pandora_console/reporting/fgraph.php, + pandora_console/godmode/groups/group_list.php, + pandora_console/godmode/users/user_list.php, + pandora_console/godmode/users/configure_user.php, + pandora_console/godmode/db/db_refine.php, + pandora_console/godmode/db/db_info.php, + pandora_console/godmode/db/db_purge.php, + pandora_console/godmode/agentes/manage_config.php, + pandora_console/godmode/agentes/modificar_agente.php, + pandora_console/godmode/agentes/configurar_agente.php, + pandora_console/godmode/agentes/manage_config_remote.php, + pandora_console/godmode/modules/manage_network_components_form_network.php, + pandora_console/godmode/modules/manage_network_components_form_wmi.php, + pandora_console/godmode/reporting/reporting_builder.php, + pandora_console/godmode/reporting/map_builder.php, + pandora_console/godmode/reporting/graph_builder.php: Renamed functions + 2008-12-10 Evi Vanoost * include/functions.php: format_for_graph is now much simpler and uses diff --git a/pandora_console/godmode/agentes/configurar_agente.php b/pandora_console/godmode/agentes/configurar_agente.php index 46d16ad90d..629b96c53c 100644 --- a/pandora_console/godmode/agentes/configurar_agente.php +++ b/pandora_console/godmode/agentes/configurar_agente.php @@ -186,7 +186,7 @@ echo "