2010-10-14 Sergio Martin * include/functions_html.php include/functions_io.php include/functions_ui.php godmode/agentes/module_manager.php: Created a new safe input function more soft than safe_input() for html code. Applied this function (safe_input_html()) in few functions like print_image or print_page_header. 2010-10-14 Miguel de Dios * extensions/system_info.php: add TODO. * godmode/agentes/module_manager_editor.php: fixed the ajax with the new safe_ouput function. 2010-10-14 Junichi Satoh * godmode/massive/massive_enable_disable_alerts.php, godmode/massive/massive_standby_alerts.php: Fixed alert listing is not affected by group selection. 2010-10-13 Sergio Martin * operation/agentes/ver_agente.php: Fixed a SQL query with safe_output function 2010-10-13 Sergio Martin * include/functions_db.php: Fixed a SQL query with the safe_output function 2010-10-12 Junichi Satoh * godmode/massive/massive_add_action_alerts.php, godmode/massive/massive_delete_action_alerts.php, godmode/massive/massive_add_alerts.php, godmode/massive/massive_copy_modules.php, godmode/massive/massive_delete_agents.php, godmode/massive/massive_edit_agents.php: Fixed action URLs. 2010-10-11 Miguel de Dios * extensions/system_info.php: finally I finished (I hope) the extension of get system info, now the console part run. Pending task: #3065357 2010-10-11 Miguel de Dios * include/functions_db.php: cleaned source code style. * extensions/system_info.php: first version of extension for extract system info of Pandora System, at the moment run as PHP script shell, the source code for console is commented because I will change for new source code. 2010-10-11 Ramon Novoa * include/fgraph.php: Search history DB if necessary for module charts. 2010-10-11 Miguel de Dios * include/config_process.php: fixed the execution in as script. * include/fgraph.php: fixed in the "graphic_combined_module" when is empty. And cleaned source code style. * include/functions_extensions.php: cleaned source code style. * extensions/pandora_logs.php: cleaned source code style. And set to translation a string. * extras/pandora_diag.php: cleaned source code style. 2010-10-11 Sancho Lerena * include/functions_reporting.php: Fixed problem with SQL custom reports because the SQL html encoding. Added a SQL check for secure user-input SQL code. * include/functions.php: Added check_sql() function to do a basic safety check on SQL code. 2010-10-11 Dario Rodriguez * include/functions_io.php: Added \s character in decode HTML entities function. 2010-10-08 Sancho Lerena * include/functions_io.php: Added \s character to list of HTML decoded/encoded items to be converted from user entries (Safety for XSS and SQL Injection). * pandoradb_data.sql: Added more default templates, actions and commands. This is for remote agent management (refresh). 2010-10-08 Raúl Mateos * operation/agentes/estado_monitores.php: Center status icon. 2010-10-08 Dario Rodriguez * include/functions_io.php: Added functions ascii_to_html and html_to_ascii. Also use this functions to convert no printing chars in function safe_input and to revert the conversion in function safe_output. * include/functions_db.php: Added function escape_string_sql, is a wrapper db indepenten function to do the same that function mysql_real_escape_string * index.php: Use function escape_string_sql with login parameters. 2010-10-08 Sergio Martin * include/javascript/pandora.js include/functions_agents.php operation/agentes/ver_agente.php godmode/massive/massive_add_alerts.php godmode/massive/massive_delete_alerts.php: Improved the addition/deletion of alerts in massive operations to select not only the agents (the modules too) for pending task 3082862 2010-10-08 Sergio Martin * include/functions_db.php: Fixed the function get_agentmodule_id to avoid the pending_delete modules 2010-10-08 Sergio Martin * godmode/agentes/module_manager_editor_common.php godmode/agentes/module_manager_editor.php: Fixed SQL error when try to create a module called 0 2010-10-08 Junichi Satoh * godmode/massive/massive_add_action_alerts.php, godmode/massive/massive_delete_action_alerts.php: Added simple and compound alerts selections. * include/functions_alerts.php: Added new function, get_alert_compounds(). 2010-10-07 Sancho Lerena * godmode/alerts/alert_list.list.php: Another ugly warning fixed due an undefined array. PLEASE dont use foreach on arrays non-checked ! * godmode/agentes/configurar_agente.php: Added custom fields to the global edit/insert code. Not really used here, but for the future. * godmode/modules/module_list.php: Show ID of modules, useful information. 2010-10-07 Miguel de Dios * include/javascript/calendar.js, include/javascript/jquery.colorpicker.js: fixed end of sentences with lost semicolons, the Eclipse IDE warned me some this bugs. * include/javascript/jquery.timeentry.js, include/help/en/help_wmiquery.php, include/help/en/help_tcp_send.php, include/help/en/help_web_checks.php, include/help/es/help_date_format.php, include/help/es/help_tcp_send.php, include/help/es/help_agent_status.php, include/help/es/help_eventview.php, include/help/es/help_configure_gis_map.php, include/help/es/help_web_checks.php, include/help/es/help_plugin_definition.php, include/help/es/help_alert_macros.php, include/help/ja/help_wmiquery.php, include/help/ja/help_date_format.php, include/help/ja/help_alert-matches.php, include/help/ja/help_tcp_send.php, include/help/ja/help_agent_status.php, include/help/ja/help_eventview.php, include/help/ja/help_configure_gis_map.php, include/help/ja/help_map_builder.php, include/help/ja/help_web_checks.php, include/help/ja/help_plugin_definition.php, include/help/ja/help_alert_macros.php, include/help/ja/help_gis_setup_map_connection.php: cleaned html and fixed unclose html tags in source code, the Eclipse IDE warned me some this bugs. 2010-10-07 Miguel de Dios * include/calendar.js, include/FusionCharts/FusionCharts.js: fixed end of sentences with lost semicolons, the Eclipse IDE warned me some this bugs. * include/help/en/help_date_format.php, include/help/en/help_agent_status.php, include/help/en/help_eventview.php, include/help/en/help_configure_gis_map.php, include/help/en/help_alerts.php, include/help/en/help_plugin_definition.php, include/help/en/help_alert_macros.php, include/help/en/help_gis_setup_map_connection.php, general/license/pandora_info_en.html, general/license/pandora_info_pt_BR.html, general/license/pandora_info_es.html, general/license/pandora_info_ja.html, general/pandora_help.php: cleaned html and fixed unclose html tags in source code, the Eclipse IDE warned me some this bugs. 2010-10-07 Sergio Martin * include/functions_reporting.php include/functions_visual_map.php operation/reporting/graph_viewer.php godmode/reporting/graph_builder.preview.php: Fixed the setting of width and height on custom graphs setup. Increased the height of the graph in few sections to fix the rise of the leyend 2010-10-07 Sergio Martin * include/fgraph.php: Fixed crash when try to render a graph without data 2010-10-07 Sergio Martin * godmode/massive/massive_edit_agents.php: Removed the IP address field from the agent massive edition 2010-10-06 Miguel de Dios * godmode/agentes/configurar_agente.php: fixed the source code, now when you create a agent, the agent have not a any module. Fixes: #3077024 2010-10-06 Sergio Martin * godmode/reporting/visual_console_builder.php godmode/reporting/visual_console_builder.editor.js godmode/reporting/visual_console_builder.editor.php: Fixed the bad icon change in visual console editor when update an item for bug 3078016 2010-10-06 Miguel de Dios * extras/pandoradb_migrate_v3.1_to_v3.2.sql: added default sound events in tconfig, fixed bug that found Raul. Thanks for the tips, Raul. Fixes: #3073370 2010-10-06 Miguel de Dios * include/functions_config.php: added in function "process_config" added lines code to check unset 'autoupdate' in $config. * operation/incidents/incident_statistics.php, godmode/users/user_list.php: cleaned source code style. 2010-10-06 Miguel de Dios * operation/agentes/status_monitor.php, operation/agentes/estado_ultimopaquete.php, operation/agentes/estado_monitores.php, godmode/agentes/module_manager.php: fixed the icon of policy in list of modules, now show when the module is unlinked. And cleaned source code style. Fixes: #3078716 2010-10-06 Sergio Martin * include/fgraph.php operation/incidents/incident_statistics.php: Fixed the incident statistics for bug 3078118 2010-10-06 Dario Rodriguez *operation/agentes/estado_agente.php, ver_agente.php: Fixed some problems processing the input 2010-10-06 Miguel de Dios * godmode/agentes/module_manager_editor.php: cleaned source code style. 2010-10-06 Miguel de Dios * include/config_process.php: force the absolute path when include the languages translation files. 2010-10-05 Sancho Lerena * include/config_process.php: Remove config['debug'] from prev. commit. * include/config_process.php: Set to 0 $config['debug'] by default to avoid debug messages on normal operation mode, developers should setup debug mode in their config.php file. * pandoradb_data.sql: Added default template and action as sample. 2010-10-05 Miguel de Dios * include/functions_reporting.php: cleaned source code style and optimize some parts (deleted redundant if sentences). * include/functions_db.php: cleaned source code style. 2010-10-05 Sergio Martin * operation/agentes/estado_ultimopaquete.php operation/agentes/estado_monitores.php: Added the policy column to the monitors in agent view and improve the header of force execution in few monitors view for bug: 3078713 2010-10-05 Sergio Martin * operation/agentes/estado_ultimopaquete.php: Added the policy column to the monitors list for bug 3078713 2010-10-04 Sergio Martin * include/languages/cs.po include/languages/et.mo include/languages/pt_BR.po include/languages/nl.mo include/languages/es.po include/languages/pl.mo include/languages/it.mo include/languages/ko.po include/languages/sl.mo include/languages/sk.po include/languages/uk.po include/languages/ro.po include/languages/pt.mo include/languages/ast.mo include/languages/en_AU.mo include/languages/bg.mo include/languages/index.pot include/languages/bn.po include/languages/ar.po include/languages/cs.mo include/languages/pt_BR.mo include/languages/es.mo include/languages/ko.mo include/languages/fr.po include/languages/sk.mo include/languages/uk.mo include/languages/ro.mo include/languages/ca.po include/languages/da.po include/languages/tr.po include/languages/sv.po include/languages/de.po include/languages/ja.po include/languages/zh_TW.po include/languages/bn.mo include/languages/he.po include/languages/fi.po include/languages/ar.mo include/languages/hi.po include/languages/zh_CN.po include/languages/fr.mo include/languages/te.po include/languages/eu.po include/languages/en_GB.po include/languages/hu.po include/languages/ca.mo include/languages/da.mo include/languages/tr.mo include/languages/de.mo include/languages/sv.mo include/languages/ru.po include/languages/ja.mo include/languages/zh_TW.mo include/languages/he.mo include/languages/fi.mo include/languages/hi.mo include/languages/zh_CN.mo include/languages/el.po include/languages/gl.po include/languages/te.mo include/languages/eu.mo include/languages/en_GB.mo include/languages/et.po include/languages/nl.po include/languages/hu.mo include/languages/pl.po include/languages/it.po include/languages/sl.po include/languages/pt.po include/languages/ru.mo include/languages/ast.po include/languages/en_AU.po include/languages/bg.po include/languages/el.mo include/languages/gl.mo: Updated the po files 2010-10-04 Sergio Martin * mobile/include/user.class.php: Fixed empty translated string 2010-10-04 Sergio Martin * include/javascript/pandora.js operation/agentes/ver_agente.php godmode/massive/massive_operations.php godmode/massive/massive_edit_modules.php: Restructured the massive module editor to increase the power of the tool adding multiple selection methods 2010-10-4 Miguel de Dios * include/pChart/pChart.class: merge bugfixes from the proyect "Babel Enterprise" fixing by Dario Rodriguez . * include/fgraph.php: fixed undefined var $max_value in function "graphic_combined_module". 2010-10-04 Ramon Novoa * operation/agentes/estado_generalagente.php: Properly initialize the custom field array. 2010-10-4 Miguel de Dios * include/fgraph.php: fixed typo tiny error in function "grafico_modulo_sparse" when use $show_event instead $show_events. 2010-09-30 Sergio Martin * godmode/alerts/alert_list.builder.php: Fixed an error of table width declaration for bug 3078730 2010-09-30 Miguel de Dios * include/functions_db.php: cleaned source code style. * mobile/include/system.class.php: fixed when include this file in other parts of pandora, as when unlogin try generate pdf file. 2010-09-30 Miguel de Dios * include/functions_db.php: in function "checklogin" fixed the include of file "user.class.php". In function "__" fixed when try translate a empty string. 2010-09-30 Miguel de Dios * include/functions_db.php: erased deprecate function "comprueba_login". 2010-09-30 Raúl Mateos * godmode/users/*.php: Removed reference to gperfiles sec. * godmode/profiles/: Deleted no more used folder. 2010-09-30 Raúl Mateos * operation/menu.php: Changed sound_events.php page size. * operation/events/sound_events.php: Added some missing HTML tags. Added style. 2010-09-30 Sergio Martin * include/functions_agents.php: Fixed SQL errors in alerts view with not administrator users for bug: 3078113 2010-09-29 Miguel de Dios * include/functions_groups.php: added first version of file with the function "checkUsedGroup". *include/Image/Canvas.php, include/Image/Canvas/GD.php, include/functions.php, mobile/operation/agents/view_agents.php: cleaned source code style. * godmode/groups/group_list.php: fixed the check if the group to delete is empty. Fixes: #3074223 2010-09-29 Sergio Martin * include/functions_db.php operation/messages/message.php: Fixed the ACLs to show only the user group users in the destination users combo for bug: 3077857 2010-09-29 Sergio Martin * godmode/massive/massive_copy_modules.php: Fixed the massive modules copy for bug 3078010 2010-09-29 Sergio Martin * godmode/alerts/alert_list.list.php: Fixed the ugly layout of the alerts list in godmode section for bug 3077999 2010-09-29 Sergio Martin * operation/visual_console/render_view.php: Fixed the missing full screen tab in the visual console section for bug: 3078003 2010-09-29 Sergio Martin * operation/agentes/tactical.php: Hide the server and global data in the tactical view to not administrator users 2010-09-29 Sergio Martin * operation/agentes/tactical.php: Allowed to show in process events in tactical view 2010-09-29 Sergio Martin * include/functions_events.php: Change to the new status images and names to the events on the tactical view. 2010-09-29 Sergio Martin * include/javascript/jquery.pandora.controls.js godmode/groups/group_list.php godmode/massive/massive_operations.php godmode/massive/massive_edit_agents.php: Added the massive agent editor to the massive operations for pending task #3057662 2010-09-29 Sergio Martin * godmode/agentes/fields_manager.php: Fixed the custom fields section notice where is empty 2010-09-28 Sergio Martin * include/functions_html.php: Added style parameter to the print_extended_select_for_time function 2010-09-27 Miguel de Dios * operation/events/sound_events.php: fixed the ajax check for when start with empty list of events. 2010-09-27 Miguel de Dios * include/functions_menu.php, operation/events/events_list.php: cleaned style source code. * operation/menu.php: added subentry in "View events" for "Sound Events". * operation/events/events_rss.php: added source code for the $id_agent equal -2 (this mean that get the agent by text name) and added new check for new status. * operation/events/events.php: added source code for the $id_agent equal -2 (this mean that get the agent by text name). 2010-09-27 Raúl Mateos * godmode/agentes/modificar_agente.php: Vertical aligned some icons. TO DO: The table should be "migrated" to new table code. 2010-09-27 Sergio Martin * godmode/reporting/graph_builder.graph_editor.php godmode/reporting/graph_builder.preview.php: Fixed few foreach loops to avoid notices setting empty array to false variables 2010-09-27 Raúl Mateos * godmode/users/user_list.php, godmode/users/configure_user.php: change the sec url variable to show the menu highlighted. 2010-09-27 Sergio Martin * operation/events/events_list.php: Added confirm popup to delete event button 2010-09-27 Sergio Martin * godmode/reporting/graph_builder.php: Fixed typo bug 2010-09-27 Sergio Martin * godmode/reporting/graph_builder.main.php: Set default value to id_group to avoid notices 2010-09-26 Sancho Lerena * pandora_console.spec: Updated some missing deps. * operation/agentes/estado_generalagente.php: Fixed notice on empty array. * pandora_console.redhat.spec: Specific SPEC for redhat. 2010-09-24 Sancho Lerena * install.php: Updated version and build 2010-09-24 Miguel de Dios * operation/events/events.php: fixed the lost $url var, recovered from the last version of SVN. Fixes: #3071767 2010-09-23 Raúl Mateos * extensions/users_connected.php: Show text to admin if no other user connected. TO DO: This extension gives non-accurate information due to the use of timestamp in one hour since the login event. It should be improved to check logout events in table. 2010-09-23 Raúl Mateos * godmode/users/user_list.php: Able to edit profiles. * godmode/users/configure_profile.php: New page, based on the old profile one (that should be deleted if all it's OK) * godmode/menu.php: Removed profiles menu entry. * godmode/alerts/alert_list.list.php: Centered several icons. 2010-09-23 Miguel de Dios * include/functions_api.php: added function "set_module_data" for to hook call to create module data across web api. 2010-09-23 Miguel de Dios * operation/events/events.php: fixed the re-include two time the file. Fixes: #3073577 2010-09-22 Sancho Lerena * pandora_console.spec: Spec for SUSE updated. Version, and some dep names updated. 2010-09-22 Miguel de Dios * ChangeLog: fixed previous commit of jobmate that erase some lines of ChangeLog. * index.php: cleaned source code style. * mobile/include/style/main.css: added style for the login mobile page. * mobile/include/user.class.php: the "loginShow" function have a nice login box with some style. * mobile/images/transparent_pixel.gif, mobile/images/key.gif: added image files for the login page. The key image is created for "barretr" in "http://www.openclipart.org/detail/3330", thanks. * mobile/index.php: changes for to show logout and new login box. 2010-09-22 Sancho Lerena * godmode/reporting/visual_console_builder.elements.php, godmode/reporting/visual_console_builder.editor.php: Fixed bug #3073239: bad intervals in combo for period selection. 2010-09-22 Sergio Martin * include/functions_modules.php: Fixed bad call to enterprise function 2010-09-21 Miguel de Dios * include/functions_html.php: in function "print_select_groups" and function "print_select_from_sql" added source code to check $config['text_char_long'] for show small text in this widgets. * include/functions.php: in function "get_event_types" and "get_priorities" added source code to check $config['text_char_long'] for show small text in this widgets. And in function "get_priority_class" cleaned source code. * operation/agentes/status_monitor.php, operation/events/events.php: cleaned source code style. * images/pandora.ico.gif: added image file for to use in the mobile footer. * mobile/operation/agents/monitor_status.php, mobile/operation/agents/view_agents.php, mobile/operation/agents/tactical.php, mobile/operation/agents/group_view.php, mobile/operation/events/events.php, mobile/include/style/main.css, mobile/include/functions_web.php, mobile/index.php, general/footer.php: continued the develop, yep the Pandora Console Mobile is complete (only rest the bugs). 2010-09-21 Sergio Martin * include/functions_db.php godmode/agentes/modificar_agente.php: Added the calls to enterprise to delete an agent to all their policies when we delete it for bug 3072471 2010-09-21 Miguel de Dios * include/functions_html.php: fixed the width by default in the function "print_table", now there isn't a default width (before it was 80%). * include/pchart_graph.php: fixed in the function "add_events" when tryed to add a event out the data. * include/fgraph.php: check the user with the mobile methods. * include/functions_db.php: in function "check_login" check the user with the mobile methods. * images/status_sets/default/severity_warning_pixel.png, images/status_sets/default/severity_normal_pixel.png, images/status_sets/default/severity_informational_pixel.png, images/status_sets/default/severity_maintenance_pixel.png, images/status_sets/default/severity_critical_pixel.png: added the image files for to show in the event mobile's page. * mobile/operation/agents/view_agents.php, mobile/operation/agents/tactical.php, mobile/operation/agents/view_alerts.php, mobile/operation/events/events.php, mobile/operation/servers/view_servers.php, mobile/include/user.class.php, mobile/include/system.class.php: changed the style the some pages to show more clearly the pages in old m$-mobiles. 2010-09-21 Junichi Satoh * godmode/massive/massive_add_action_alerts.php, godmode/massive/massive_delete_action_alerts.php: Fixed addition/deletion for compound alerts does not work. * include/functions_alerts.php: To fix above problem, added a function, delete_alert_compound_action(). 2010-09-20 Raúl Mateos * operation/agentes/customfields.php: Add code to show text when no fields defined. 2010-09-20 Sancho Lerena * include/config.inc.php: config_process.php is obtained from defined path in homedir variable. * godmode/agentes/module_manager_editor_network.php: Limit for OID lenght was too short, DB gets 255 chars, now input also gets 255 chars. 2010-09-17 Miguel de Dios * operation/events/events.php: cleaned source code style. * mobile/operation/events/events.php: added page to show list of events in the last day. * mobile/include/functions_web.php: added link to events list page. * mobile/index.php: added the hook to link the event. 2010-09-20 Sergio Martin * operation/agentes/estado_generalagente.php: Fixed a false value into foreach 2010-09-20 Sergio Martin * pandoradb_data.sql: Changed the english language from en to en_GB to use the british english translation to fix mistakes in the english strings 2010-09-20 Sergio Martin * extras/pandoradb_migrate_v3.1_to_v3.2.sql: Fixed a two lines ALTER statment to one line for bug 3065850 2010-09-17 Sergio Martin * include/functions_events.php pandoradb.sql extras/pandoradb_migrate_v3.1_to_v3.2.sql operation/events/events_validate.php operation/events/events_list.php operation/events/events.php: Deleted several columns from the events view and adding a show/hide advanced fields feature. Added a new state 'in process' to validation and an input comment when a status is changed. * include/fgraph.php: Fixed quotes in constant definition * include/functions_ui.php include/functions_agents.php include/functions_alerts.php operation/agentes/alerts_status.php operation/agentes/alerts_status.functions.php images/bell_pause.png godmode/alerts/alert_list.list.php godmode/alerts/alert_list.php godmode/massive/massive_operations.php godmode/massive/massive_standby_alerts.php: Added the feature of set and set off on standby an alert in the alets management and view if an alert is in standby in the rest of views. 2010-09-17 Miguel de Dios * include/fgraph.php: added function "grafico_modulo_sparse_mobile" for to paint a mobile graph. * include/functions_db.php: erased deprecate function "dame_grupo_icono". * include/functions_module.php: moved the functions "format_delete", "format_time", "format_data", "format_verbatim", "format_timestamp", "format_delete", "format_delete_string", "format_delete_log4x" from the file "operation/agentes/datos_agente.php" for to use in other source code places. * operation/agentes/datos_agente.php: extracted the functions "format_delete", "format_time", "format_data", "format_verbatim", "format_timestamp", "format_delete", "format_delete_string", "format_delete_log4x" to "include/functions_module.php" for to use in other source code. * operation/agentes/tactical.php: cleaned source code style. * operation/agentes/group_view.php: cleaned source code style. * mobile/operation/agents/view_agents.php: added class "viewGraph" to show graph and data of any module. * mobile/operation/agents/tactical.php: added first version of page to show tactical mobile page. * mobile/operation/agents/view_alerts.php: added first version of page to show alerts mobile page. * mobile/operation/agents/group_view.php: added first version of page to show group view mobile page. * mobile/operation/servers/view_servers.php: added first version of page to show servers mobile page. * mobile/include/style/main.css: added many new styles. * mobile/include/functions_web.php: added links into menu for new pages. * mobile/include/system.class.php: fixed scope of method "getConfig". * mobile/index.php: added hooks for new pages. 2010-09-17 Junichi Satoh * extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added missing ';'. 2010-09-15 Miguel de Dios * images/status_sets/default/server_down_ball.png, images/status_sets/default/server_ok_ball.png: added small image (for to use in Pandora Mobile) for server status. * mobile/operation/servers/view_servers.php: added first version page to show server status in Pandora Mobile. * mobile/index.php: added hook for the server status page. 2010-09-15 Miguel de Dios * include/functions_reporting.php: in function "get_agent_module_info" added the return "status" and "alert_value". * include/auth/mysql.php: in function "process_user_login" cleaned the source code style. * include/functions_ui.php: in function "print_timestamp" added in the parameter $option the check of units ('large' and 'tiny' at the moment). Added the function "print_group_icon2" that it is the same of "print_group_icon" but it has a new parameter $path for to set the images path. * include/functions.php: in function "human_time_comparation" added the parameter $units to set the type return text for time unit (at the moment only "large" and "tiny"). And in the function "human_time_description_raw" added the paramter $units for to set the type of return text for units, at the moment only "large" and "tiny". * include/functions_db.php, operation/agentes/ver_agente.php: cleaned source code. * mobile/index.php, mobile/operation/agents, mobile/operation/agents/view_agents.php, mobile/include/db.class.php, mobile/include/style, mobile/include/style/main.css, mobile/include/user.class.php, mobile/include/functions_web.php, mobile/include/system.class.php, mobile/images/bricks.png, mobile/images/up.png, mobile/images/zoom.png, mobile/images/down.png: added first version of file for Pandora Mobile version. 2010-09-15 Ramon Novoa * pandoradb.sql: Fixed a typo. 2010-09-13 Ramon Novoa * pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added a new column to talert_template_modules to support standby alerts. 2010-09-13 Miguel de Dios * operation/agentes/ver_agente.php: added the tab to show all graphs in a one page about modules in the agent. * operation/agentes/graphs.php: the page to show all graphs of agent modules. * operation/agentes/stat_win.php: cleaned html and closed some open html tags. Pending task: #3060349 2010-09-13 Sergio Martin * include/languages/cs.po include/languages/et.mo include/languages/nl.mo include/languages/pt_BR.po include/languages/es.po include/languages/pl.mo include/languages/ko.po include/languages/it.mo include/languages/sl.mo include/languages/sk.po include/languages/uk.po include/languages/ro.po include/languages/pt.mo include/languages/ast.mo include/languages/en_AU.mo include/languages/bg.mo include/languages/index.pot include/languages/bn.po include/languages/ar.po include/languages/cs.mo include/languages/pt_BR.mo include/languages/es.mo include/languages/ko.mo include/languages/fr.po include/languages/sk.mo include/languages/uk.mo include/languages/ro.mo include/languages/ca.po include/languages/da.po include/languages/tr.po include/languages/de.po include/languages/sv.po include/languages/ja.po include/languages/zh_TW.po include/languages/he.po include/languages/bn.mo include/languages/fi.po include/languages/ar.mo include/languages/hi.po include/languages/zh_CN.po include/languages/fr.mo include/languages/te.po include/languages/eu.po include/languages/en_GB.po include/languages/hu.po include/languages/ca.mo include/languages/da.mo include/languages/tr.mo include/languages/de.mo include/languages/sv.mo include/languages/ru.po include/languages/ja.mo include/languages/zh_TW.mo include/languages/he.mo include/languages/fi.mo include/languages/hi.mo include/languages/zh_CN.mo include/languages/el.po include/languages/gl.po include/languages/te.mo include/languages/eu.mo include/languages/en_GB.mo include/languages/et.po include/languages/nl.po include/languages/hu.mo include/languages/pl.po include/languages/it.po include/languages/sl.po include/languages/pt.po include/languages/ru.mo include/languages/ast.po include/languages/en_AU.po include/languages/bg.po include/languages/el.mo include/languages/gl.mo: Updated the mo files, the template and added estonian, bulgarian, australian english and british english to the languages 2010-09-13 Sergio Martin * godmode/agentes/configurar_agente.php: Added local module deletion in conf file to another place where the modules can be deleted. Clean the code too 2010-09-13 Sergio Martin * include/functions_modules.php: Added the local module deletion in conf file 2010-09-13 Sergio Martin * operation/reporting/custom_reporting.php: Center an icon into the reports table 2010-09-09 Miguel de Dios * godmode/setup/os.list.php, godmode/setup/os.builder.php, godmode/setup/os.php: changed the source code and added "os.builder.php" and "os.list.php" for to change the management page for to be a "tab page". 2010-09-09 Miguel de Dios * include/functions_networkmap.php: cleaned source code. * include/functions_ui.php: in function "print_os_icon" change the directory to search os icon because it change for new feature. * images/os_icons, images/os_icons/*: copied the icons image files into this dir for to use in new feature. * godmode/menu.php: added new item in submenu "Setup" for the management the OS. * godmode/setup/os.php: added the page to management the list OS of agents. Pending task: #3057663 2010-09-09 Sancho Lerena * fgraph.php: Graph "Modules per agent" was not working properly due a invalid reference to array. Fixed. 2010-09-08 Miguel de Dios * godmode/alerts/alert_list.list.php: fixed the pagination when the list of alerts show into alert tab in agent config page. Fixes: #3055920 * godmode/alerts/alert_list.php: cleaned source code. 2010-09-08 Ramon Novoa * include/functions_reporting.php, operation/reporting/reporting_xml.php: Improved error detection in reports. 2010-09-07 Sancho Lerena * pandoradb_data.sql: Fixed typo in data SQL. 2010-09-06 Miguel de Dios * extensions/plugin_registration.php: fixed the translation string previous to form. Fixes: #3053312 2010-09-06 Miguel de Dios * operation/events/sound_events.php: fixed the location of image in the header. 2010-09-06 Miguel de Dios * ChangeLog: upload lost lines. 2010-09-06 Miguel de Dios * pandoradb_data.sql: added default value for "sound_alert", "sound_critical" and "sound_warning" into table "tconfig". * include/functions_config.php: in function "update_config" added to update sounds. * include/functions_alerts.php: added function "get_event_status_group" for scan the events. * operation/events/sound_events.php: added first version of event sound window. * operation/events/events.php: added the request for ajax of sound event window. * images/pause.button.png, images/ok.button.png,images/music_note.png, images/play.button.png: added images for sound event window and button in the head of events. * godmode/setup/setup.php: added source code for to config the sounds of events. 2010-09-03 Sergio Martin * godmode/massive/massive_operations.php godmode/massive/massive_delete_profiles.php godmode/massive/massive_add_profiles.php: Added the addition an deletion of profiles to users into massive operations 2010-09-03 Sancho Lerena * include/sounds/*.wav: New sounds for the fancy sound alert console feature Miguel is working on :-). All sounds are free (cc) and taken from http://www.freesound.org/. 2010-09-02 Sergio Martin * godmode/massive/massive_operations.php godmode/massive/massive_enable_disable_alerts.php: Added the disable/enable alerts massive operation 2010-09-01 Sergio Martin * operation/menu.php operation/events/events_rss.php: Added url parameters to the event rss to authenticate the user and fix the ACLs 2010-09-01 Sergio Martin * operation/agentes/alerts_status.php operation/search_alerts.php: Fixed the search of alerts in alerts view and in main search 2010-08-31 Sergio Martin * operation/events/export_csv.php: Fixed ACLs to avoid to export system events to not administrators for bug 3053486 2010-08-31 Raúl Mateos * godmode/reporting/reporting_builder.php, godmode/gis_maps/configure_gis_mao.php, include/functions_filemanager.php: Fixed some misspelled strings 2010-08-31 Sergio Martin * operation/agentes/status_monitor.php: Fixed the modules combo in the status monitor screen to show only the visible agents modules 2010-08-31 Sergio Martin * include/functions_db.php: Added support to '<>' comparation in the format_array_to_where_clause_sql function 2010-08-31 Sergio Martin * operation/agentes/networkmap.php: Fixed the groups combo into the options of networkmaps to show only visible groups 2010-08-31 Sergio Martin * extensions/update_manager.php: Removed the update manager extension from the menu if the user doesnt have PM permissions 2010-08-31 Sergio Martin * extensions/users_connected.php: Clean code and added additional ACL condition 2010-08-31 Sergio Martin * operation/search_reports.php: Added the description field to the reports search in the main menu 2010-08-31 Sergio Martin * operation/search_maps.php: Fixed the group icon in the maps search view 2010-08-31 Sergio Martin * operation/search_users.php: Added the id_user field to the search in the main search 2010-08-31 Sergio Martin * operation/search_agents.php operation/search_graphs.php operation/search_alerts.php operation/search_reports.php operation/search_maps.php operation/search_results.php operation/search_users.php: Restructured and fixed ACLs in the global search for bug 3053592 2010-08-30 Sergio Martin * operation/agentes/alerts_status.php: Fixed the ACLs in the alerts view. Now only are showed the alerts of the visible agents for the user 2010-08-30 Sergio Martin * operation/users/user.php operation/users/user_statistics.php operation/menu.php: Deleted the users view and the user statistics from operation menu 2010-08-29 Sancho Lerena * include/pchart_graph.php, include/fgraph.php, include/functions_fsgraph.php: Minor (but important) changes on graphs: combined wired mode available on flash, improved legends on both types, and improved flash wired modes. 2010-08-29 Raúl Mateos * godmode/agentes/fields_manager.php: Added code to show text if no fields defined, instead the table header. 2010-08-27 Junichi Satoh * godmode/agents/module_manager_editor.php: Changed if() statements order. isModuleInPolicy() is not available in open source version. 2010-08-26 Sancho Lerena * include/functions_custom_graphs.php: Fixed ACL problems. * include/functions_agents.php: Call to get_agents () with current user and without returning "all" group, this avoid to render non-visible (ACL) agents in the AJAX control to return an agent. * pandoradb.sql: ttrap value* information resized. * extensions/users_connected.php: ACL check before show users. * operation/events/events_marquee.php: Added ACL check. * operation/events/events.php: System events not shown to normal users. * operation/menu.php: Server view is now only for PM. * extras/pandoradb_migrate_v3.1_to_v3.2.sql: ttrap value* alter table. * general/noaccess.php: Added code to avoid image usage when called from different directories than standard. * godmode/agentes/agent_manager.php: Proper call to get_user_groups(). * godmode/menu.php: Profiles are now under user management. 2010-08-26 Raúl Mateos * godmode/reporting/reporting_builder.list_items.php: Added code to show text if no items found, instead the table header. 2010-08-25 Sergio Martin * pandoradb.sql operation/agentes/estado_generalagente.php operation/agentes/custom_fields.php operation/agentes/ver_agente.php operation/agentes/agent_fields.php extras/pandoradb_migrate_v3.1_to_v3.2.sql godmode/agentes/fields_manager.php godmode/agentes/configurar_agente.php godmode/agentes/configure_field.php godmode/agentes/agent_manager.php godmode/menu.php: Added the custom field feature including agents custom fields managment, agent custom field viewer, custom fields added at the agent configuration, customization of the custom fields to display it in the agent details and the creation of two new tables into the sql scripts All for pending task: 3052918 2010-08-24 Sergio Martin * extensions/module_groups/icon_menu.png extensions/agents_modules extensions/agents_modules/icon_menu.png: Reupload the icons of extensions 2010-08-24 Sancho Lerena * operation/events/events.php: Fixed bug on event searches in different languages than english. * include/functions_reporting.php: Fixed notice on empty foreach. * config_process.php: Trying to supress Deprecated messages. 2010-08-24 Sergio Martin * extensions/agents_modules.php: Improved the agents/modules matrix adding new filters, full screen mode, autorefresh selection and links in the agents names and status squares. For bug: 3051073 2010-08-24 Sergio Martin * extensions/agents_modules.php extensions/agents_modules extensions/agents_modules/icon_menu.png: Added new icon to the matriz agents/modules extension 2010-08-24 Sergio Martin * godmode/reporting/visual_console_builder.php: Fixed the size of the icons when choose 0 pixels into the wizard 2010-08-23 Sergio Martin * operation/agentes/networkmap.php: Add the feature of hide and shot (toggle) the menu of options in the network maps 2010-08-23 Sergio Martin * godmode/alerts/alert_list.list.php: Changed the filter form to use the toggle function 2010-08-23 Sergio Martin * include/functions_ui.php: Fixed the not hidden by default of the div in the toggle function 2010-08-23 Sergio Martin * include/functions_ui.php: Added a function to toggle an html code easly. The function is called toggle() 2010-08-23 Sergio Martin * include/functions_reporting.php: Fixed a null into foreach in SLA function 2010-08-23 Sergio Martin * godmode/reporting/visual_console_builder.php: Fixed an error when add a module into visual map with the wizard for bug: 3051058 2010-08-23 Sergio Martin * include/languages/cs.po include/languages/nl.mo include/languages/pt_BR.po include/languages/es.po include/languages/pl.mo include/languages/ko.po include/languages/it.mo include/languages/sl.mo include/languages/sk.po include/languages/uk.po include/languages/ro.po include/languages/pt.mo include/languages/ast.mo include/languages/bn.po include/languages/ar.po include/languages/cs.mo include/languages/pt_BR.mo include/languages/es.mo include/languages/ko.mo include/languages/fr.po include/languages/sk.mo include/languages/uk.mo include/languages/ro.mo include/languages/ca.po include/languages/da.po include/languages/tr.po include/languages/de.po include/languages/sv.po include/languages/ja.po include/languages/zh_TW.po include/languages/he.po include/languages/bn.mo include/languages/fi.po include/languages/ar.mo include/languages/hi.po include/languages/zh_CN.po include/languages/fr.mo include/languages/te.po include/languages/eu.po include/languages/hu.po include/languages/ca.mo include/languages/da.mo include/languages/tr.mo include/languages/de.mo include/languages/sv.mo include/languages/ru.po include/languages/ja.mo include/languages/zh_TW.mo include/languages/he.mo include/languages/fi.mo include/languages/hi.mo include/languages/zh_CN.mo include/languages/el.po include/languages/gl.po include/languages/te.mo include/languages/eu.mo include/languages/nl.po include/languages/hu.mo include/languages/pl.po include/languages/it.po include/languages/sl.po include/languages/pt.po include/languages/ru.mo include/languages/ast.po include/languages/el.mo include/languages/gl.mo: Updated the traduction strings with the lastest strings of Pandora FMS 2010-08-23 Sergio Martin * include/functions_reporting.php include/fgraph.php: Fixed the max and min values on the graphs 2010-08-23 Junichi Satoh * godmode/alert/alert_list.php, godmode/alert/alert_list.list.php: Added 'Enabled/Disabled' selection to alert filter. 2010-08-23 Junichi Satoh * godmode/alert/alert_compounds.php: Fixed the problem alert compounds settings in step3 can not be saved. 2010-08-20 Sergio Martin * include/styles/menu.css godmode/massive/massive_operations.php: Fixed the massive operations header new message and added style to the menu image to massive operations 2010-08-20 Sergio Martin * godmode/agentes/massive_copy_modules.php godmode/agentes/massive_add_alerts.php godmode/agentes/massive_delete_agents.php godmode/agentes/massive_delete_action_alerts.php godmode/agentes/massive_delete_alerts.php godmode/agentes/massive_edit_modules.php godmode/agentes/massive_operations.php godmode/agentes/massive_delete_modules.php godmode/agentes/massive_add_action_alerts.php godmode/menu.php godmode/massive godmode/massive/massive_copy_modules.php godmode/massive/massive_add_alerts.php godmode/massive/massive_delete_agents.php godmode/massive/massive_operations.php godmode/massive/massive_delete_action_alerts.php godmode/massive/massive_delete_modules.php godmode/massive/massive_delete_alerts.php godmode/massive/massive_edit_modules.php godmode/massive/massive_add_action_alerts.php: Created a new section for massive operations and change the structure of the files to new folder 2010-08-19 Sergio Martin * godmode/agentes/module_manager_editor_common.php godmode/agentes/module_manager_editor_network.php godmode/agentes/module_manager_editor_wmi.php godmode/agentes/module_manager_editor_plugin.php godmode/agentes/module_manager_editor_prediction.php godmode/agentes/module_manager_editor.php: Added the policy linkation configuration in the modules form and allowed to modify modules config if the module is unlinked 2010-08-19 Miguel de Dios * include/functions_html.php: fixed the function "print_checkbox_extended" this function didn't use the parameter $atributes, now yes. 2010-08-19 Sergio Martin * godmode/agentes/module_manager.php: Change the use of isModuleInPolicy to infoModulePolicy in the case of the fixed bad use of isModuleInPolicy 2010-08-19 Sergio Martin * images/sitemap.png images/unlinkpolicy.png images/link_error.png images/link_delete.png images/link_edit.png images/link_add.png images/link2.png images/link_break.png images/sitemap_color.png images/link_go.png images/linkpolicy.png: Added few icons to the icons collection to links and massive operations new features 2010-08-19 Sergio Martin * pandoradb.sql: Fixed a typo bug in the creation of agente_modulo table 2010-08-19 Sergio Martin * pandoradb.sql extra/pandoradb_migrate_v3.1_to_v3.2.sql: added a database field on agente_modulo to unlink the modules from policies * images/unlinkpolicy.png images/linkpolicy.png: Added two icons to linked and unlinked policies 2010-08-19 Junichi Satoh * godmode/modules/manage_network_components_form_network.php: Changed the maximum OID length to 400, the same as definition of database. (120 is too short for some OIDs.) 2010-08-18 Sancho Lerena * pandora_console/operation/search_results.php: Fixed reference for "down" instead "unknown" using the new code for unknown status. * include/functions_io.php: safe_input() modified to detect SQL injection attacks using /**/ strings. * index.php: Prevent HTTP response splitting attacks. * pandora_console.spec: Updated some spec variables and description. * pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added a new field in trecon_task to store the snmp_community on detected hosts in a recon task. * extras/pandora_diag.php: Fixed security problem in relative path. * general/pandora_help.php, general/footer.php: Fixed security problem in relative path/include. * general/login_page.php: Fixed security problem in URL parsing. * godmode/servers/manage_recontask_form.php, manage_recontask.php: Implemented new feature to use a snmp comunity on all network modules added to a new detected host. * config_process.php: Updated build. * functions.php: New version of safe_url_extraclean() function (security fix) and modified also enterprise_include* functions to have a secure include. * functions_ui.php: Secured function get_include_contents(). * operation/agentes/gis_view.php: Secured url extraction/parsing. 2010-08-10 Sancho Lerena * include/config_process.php: Updated build and development version. * pandora_console.spec: Updated some texts and version. 2010-08-10 Sergio Martin * pandoradb.sql extras/pandoradb_migrate_v3.1_to_v3.2.sql: Fixed the creation of tnetwork_map table creation adding the missed column 'center' 2010-08-10 Ramon Novoa * godmode/setup/setup_auth.php: Fixed blacklist id in javascript code. 2010-08-10 Ramon Novoa * operation/events/export_csv.php, operation/agentes/stat_win.php, operation/reporting/reporting_xml.php: Fixed includes. * godmode/setup/setup_auth.php, include/functions_config.php, include/auth/mysql.php: Added support for a remote user blacklist. * include/help/en/help_autocreate_blacklist.php, include/help/es/help_autocreate_blacklist.php: Added to repository. Blacklist help files. 2010-08-10 Sergio Martin * operation/agentes/networkmap.php: Fixed several notices. When a category has not maps, the menu is not showed 2010-08-10 Sergio Martin * images/status_sets/default/module_unknown.png images/status_sets/default/module_alertsfired.png: Added images to some status colors 2010-08-10 Sergio Martin * include/functions_alerts.php: Fixed a typo bug for show the message of succefully copied when you clone an alert action 2010-08-10 Ramon Novoa * include/auth/mysql.php, include/functions_config.php, godmode/setup/setup_auth.php: Added support fore more authentication schemes (enterprise). 2010-08-10 Ramon Novoa * godmode/setup/setup_auth.php: Added to repository. Authentication scheme setup options. 2010-08-10 Ramon Novoa * include/auth/mysql.php, include/functions_config.php, include/config_process.php, pandora_console.spec, ajax.php, godmode/menu.php: Added support for different authentication schemes. Local database and LDAP are implemented. * operation/agentes/networkmap.topology.php, operation/agentes/networkmap.groups.php: Small fixes. Use filter name to compose file names. 2010-08-09 Sergio Martin * extensions/agents_modules.php: Fixed the horizontal pagination to keep the vertical pagination when navigate 2010-08-09 Sergio Martin * extensions/agents_modules.php: Added the meaning of the colours 2010-08-09 Sergio Martin * extensions/module_groups.php: Fixed the status colors of the modules by groups matrix 2010-08-09 Sergio Martin * extensions/agents_modules.php operation/agentes/agents_modules_view.php operation/menu.php: Moved the agents VS modules matrix from menu to extensions 2010-08-09 Sergio Martin * operation/agentes/agents_modules_view.php operation/agentes/tactical.php operation/agentes/group_view.php operation/menu.php: Added the agents VS modules matrix and changed the color of some alert fired numbers and table rows 2010-08-06 Sergio Martin * include/functions_alerts.php godmode/alerts/alert_actions.php: Added the duplicate alert action feature for pending task 3038715 2010-08-04 Miguel de Dios * include/functions_filemanager.php: added parameter $readOnly in the function "file_explorer". *pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: added into the table "talert_template_modules" the column "id_policy_alerts". 2010-08-05 Sergio Martin * operation/agentes/networkmap.php: Change the default map to topology map 2010-08-04 Miguel de Dios * include/functions_filemanager.php: move the action messages to $config intermediate var. * godmode/setup/file_manager.php: added the message of action with the filemanager. 2010-08-04 Sergio Martin * include/functions_reporting.php: Fixed the get_agent_module_info function for avoid to show the disabled modules information 2010-08-04 Sergio Martin * images/status_sets/default/module_no_data_ball.png: Added a image to modules without data 2010-08-04 Sergio Martin * include/styles/pandora.css include/functions_reporting.php include/functions_ui.php include/functions_db.php operation/agentes/status_monitor.php operation/agentes/estado_agente.php operation/agentes/bulbs.php operation/agentes/estado_monitores.php operation/agentes/group_view.php images/status_sets/default/module_no_data.png images/status_sets/default/alert_fired.png images/status_sets/default/agent_no_monitors.png images/status_sets/default/alert_fired_ball.png images/status_sets/default/agent_no_monitors_ball.png images/status_sets/default/agent_down_ball.png images/status_sets/default/agent_down.png: Fixed several modules and agents list status to use the new unknown status. Some images was changed too for show the same colour than the visual and network maps 2010-08-03 Sergio Martin * include/functions_networkmap.php include/functions_db.php: Fixed the networkmaps to do not shows the not init modules and get the new unknown status 2010-08-03 Sergio Martin * operation/agentes/estado_ultimopaquete.php: Fixed log4x modules check from old id value 30 to new id value 24 2010-08-03 Sergio Martin * pandoradb.sql extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added a id_policy_module field into agente_modulo table for future use 2010-08-03 Junichi Satoh * godmode/alerts/alert_list.list.php: Fixed a problem alert filtering by priority does not work. 2010-08-02 Ramon Novoa * include/pchart_graph.php, include/fgraph.php: Removed title from image charts. Show min, max and avg as part of the image. 2010-08-02 Ramon Novoa * include/functions_reporting.php, include/fgraph.php, include/functions_fsgraph.php, operation/agentes/stat_win.php: Moved min, max and avg information into the chart to make it available to reports an custom graphs. 2010-08-02 Miguel de Dios * include/functions_filemanager.php: cleaned source code, changed the show to buttons of actions (create file, upload...) to out the list of files. And check if the directory is writeable to show this buttons. * include/get_file.php: added file to work as mediator between the Pandora and file system, and added a some security checks as check login and others. 2010-07-30 Sergio Martin * extras/pandoradb_migrate_v3.1_to_v3.2.sql: Typo fix into new table name 2010-07-30 Sergio Martin * include/functions_networkmap.php include/help/en/help_network_map.php include/help/es/help_network_map.php pandoradb.sql operation/agentes/networkmap.topology.php operation/agentes/networkmap.groups.php operation/agentes/ver_agente.php operation/agentes/networkmap.php extras/pandoradb_migrate_v3.1_to_v3.2.sql: Created network maps storage on database, clean the network maps code and fixed some little bugs of the same section 2010-07-29 Ramon Novoa * include/functions_reporting.php: Updated reporting functions to work with uncompressed data. * include/fgraph.php, include/functions.php: Added a generic function to check whether a module has compressed data. 2010-07-28 Sergio Martin * include/functions_html.php: Improved the print_select function to allows agroupation of options 2010-07-28 Ramon Novoa * include/fgraph.php: Async modules are not compressed. Fixed charts for these modules. 2010-07-28 Miguel de Dios * install.php: fixed unclose bold tag. 2010-07-28 Miguel de Dios * godmode/reporting/visual_console_builder.data.php: fixed the select box field for to don't show None value for map background. 2010-07-27 Miguel de Dios * include/functions_reporting.php: added new parameters in the function "get_agentmodule_sla", the parameters days of week to search and range of time. And use new parameteres in the call for SLA data in function "render_report_html_item". * pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: in table "treport_content" added the fields for set days of week and range time for SLA. * operation/reporting/reporting_xml.php: use new parameters in the call for SLA data. * godmode/reporting/reporting_builder.php: added source code for save, update new fields (days of week and time range). * godmode/reporting/reporting_builder.item_editor.php: added source code to show the fields (days of week and time range). Pending task: #3033457 2010-07-27 Miguel de Dios * operation/agentes/exportdata.php: fixed the date into export, before it was 12 hour format, now it is 24 hour format. Fixes: #3033541 2010-07-26 Raúl Mateos * godmode/users/user_list.php: Added px to width to ease the change of profile edition to this page. 2010-07-26 Sergio Martin * include/functions_db.php: Changed the priority of the status of agents and groups when get status from their descendents 2010-07-26 Miguel de Dios * include/functions_db.php: added into the function "get_group_icon" the return icon for "all" group. * godmode/groups/configure_group.php: fixed and cleaned source code, for the dinamic change of parent icon, show the select of parent with the parent selected, and fixed the position of parent icon image. Fixes: #3034677 * godmode/groups/group_list.php: changed the source code for to show the "all" group open branch by default. 2010-07-26 Sergio Martin * include/functions_networkmap.php: Changed the color of the modules, agents and groups with alerts fired in the network maps from yellow to orange. 2010-07-26 Miguel de Dios * images/mimetypes/text.png: added lost image file in previous commits about collections. *images/tag_red.disabled.png, images/cross.disabled.png, images/chart_curve.disabled.png, images/config.disabled.png, images/chart_bar.disabled.png, images/photo.disabled.png, images/camera.disabled.png, images/binary.disabled.png: added image files for the new palete buttons (when it are disabled) in visual console editor. * include/styles/pandora.css: added the styles for the new buttons of visual console editor (label and icon), and some changes for new style for buttons of the palete in this page. * include/functions_html.php: in function "print_button" added new parameter $imageButton to set the button as image button, by default is false. * include/ajax/visual_console_builder.ajax.php, godmode/reporting/visual_console_builder.editor.js, godmode/reporting/visual_console_builder.editor.php, godmode/reporting/visual_console_builder.constans.php: change the buttons palete for a palete with more small buttons as icon buttons, added new items for visual map (icon and label). And fixed the dinamic change label color for any elements. * include/functions_visual_map.php: added the new items (label and icon) and cleaned the source code. Pending task: #3019641 2010-07-26 Dario Rodriguez * include/styles/pandora.css: Added css classes for separator. * include/functions_ui.php: Added suport to add a separator betwenn tabs in print_page_header. * operation/agentes/ver_agente.php: Fixed some problems with alt tag in images and added separator to tabs * godmode/agentes/configurar_agente.php: Fixed some problems with alt tag in images and added separator to tabs 2010-07-23 Raúl Mateos * godmode/alerts/alert_list.list.php: Added code to show title if page called from Manage Agents. * godmode/modules/manage_network_components.php: Change title. * godmode/gis_maps/configure_gis_map.php: Change fixed text to variable. 2010-07-23 Sergio Martin * include/functions_networkmap.php include/functions_db.php operation/agentes/networkmap.topology.php operation/agentes/networkmap.groups.php operation/agentes/ver_agente.php operation/agentes/networkmap.php: Rewritten the get status of modules and agents and written the same feature for groups and policies. Added the groups view network map. All for pending task: 3019636 2010-07-23 Dario Rodriguez * operation/agentes/ver_agente.php: Changed code to use print_page_header to print the tabs * godmode/agentes/configurar_agente.php: Changed code to use print_page_header to print the tabs 2010-07-23 Raúl Mateos * godmode/alerts/alert_list*.php: Cleaned code. Removed old title style. * godmode/agentes/massive_operations.php: Updated year. * godmode/agentes/massive_config.php: Use better text in title and button. 2010-07-22 Miguel de Dios * operation/snmpconsole/snmp_view.php: added the show more data when click in the icon eye. Pending task: #3021813 2010-07-21 Miguel de Dios * operation/agentes/estado_ultimopaquete.php: added code for sort by data. * operation/agentes/estado_monitores.php, godmode/agentes/module_manager.php: added the icons and source code for order rows of list alerts by columns Module Name, Type, Interval and Timestamp. 2010-07-21 Miguel de Dios * include/functions_html.php: lost in previus commit the change to "print_select_groups" the new parameter $id_group, to don't show the group with id and children of this group. * include/functions_db.php: in function "format_array_to_where_clause_sql" added to order as array several fields. * operation/agentes/estado_ultimopaquete.php: added the icons and source code for order rows of list alerts by columns Module Name, Type, Interval and Timestamp. 2010-07-21 Miguel de Dios * godmode/groups/configure_group.php: fixed to negate the posibility to hang the father into childrens or same. Fixes: #3032553 * godmode/groups/group_list.php: fixed the delete a group with children, the children move to grandparent. 2010-07-21 Raúl Mateos * images/pandora_logo_header.png, images/custom_logo/pandora_logo_header.*, images/neworkmap/pandora_node.png: Updated images to new logo. 2010-07-21 Miguel de Dios * operation/agentes/alerts_status.php: added the icons and source code for order rows of list alerts by columns Disabled, Agent Name, Module Name or Template Name. 2010-07-21 Miguel de Dios * include/functions_agents.php: in function "get_agent_alerts_simple" changed the query for added the posibility of sort the rows. * include/functions_db.php: in function "format_array_to_where_clause_sql" added the posibility of order pass as array of field and sort order. *godmode/alerts/alert_list.list.php: added the icons and source code for order rows of list alerts by columns Disabled, Agent Name, Module Name or Template Name. 2010-07-20 Miguel de Dios * operation/search_results.php: added icons and source code for order the rows in the list of alerts. 2010-07-20 Miguel de Dios * operation/search_results.php: added icons for order columns in the user list and agent list. 2010-07-20 Miguel de Dios * godmode/setup/gis_step_2.php: fixed when the spanish translation have a problematic characters. Fixes: #3029149 2010-07-19 Raúl Mateos * extras/pandoradb_migrate_v3.1_to_v3.2.sql: Updated year. 2010-07-19 Raúl Mateos * operation/users/user_edit.php, godmode/users/configure_user.php: Use icon and name in groups. Solved link problem due to user list last commit. 2010-07-19 Dario Rodriguez * godmode/groups/group_list.php: fixed bug that allow create and update groups with name field empty. Fixes: #3031642 2010-07-19 Miguel de Dios * include/functions_agents.php: in function "get_agents" added the parameter $order to order list of agents. * operation/agentes/estado_agente.php: added icons for order by columns and source code for management this ordenation by Name, Os, Interval, Group and Last Contact. 2010-07-19 Raúl Mateos * operation/agentes/status_monitor.php, godmode/groups/group_list.php: Center image. * godmode/users/user_list.php: Added delete text to table. 2010-07-19 Miguel de Dios * include/functions_db.php: fixed in the function "get_user_groups", order the list of groups by id_grupo for to other external operations. 2010-07-19 Miguel de Dios * operation/users/user.php, godmode/users/user_list.php: added the default order to columns. * godmode/agentes/modificar_agente.php: added the source code to order by Name, OS or group column in the list agents. 2010-07-19 Sergio Martin * include/functions_db.php: Fixed an index error of groups array. 2010-07-19 Miguel de Dios * include/auth/mysql.php: added function "get_users" the check to $order parameter if it is array, extract the field and order. * operation/users/user.php, godmode/users/user_list.php: added posibility to sort by columns ID User, Full name or Last Contanct. 2010-07-18 Raúl Mateos * operation/incidents/incident_detail.php: Change Add button to links. * godmode/alerts/alert_list.list.php: Centered images. * godmode/alerts/configure_alert_action: Added link to create command. 2010-07-16 Sergio Martin * pandoradb_data.sql: Fixed the default data inserting the new colum of tgrupo "propagate" 2010-07-16 Miguel de Dios * operation/agentes/networkmap.php: fixed the pass to parameters between fullscreen and windowed mode. Fixes: #3013769 2010-07-16 Miguel de Dios * godmode/reporting/reporting_builder.php: fixed lost name of report when delete any element of this element. Fixes: #3025352 2010-07-16 Raúl Mateos * operation/incidents/incident.php: Put create button on the right. 2010-07-15 Miguel de Dios * godmode/gis_maps/configure_gis_map.php: fixed typo in the tip. Fixes: #3029895 2010-07-15 Miguel de Dios * include/functions_html.php: added the function "print_select_groups" to print the field select box for groups with tree style. * include/functions_db.php: in function "get_user_groups" added test to false value in parameter $privilege for get all groups without ACL test. Fixed in function "get_user_groups_tree" the call to "get_user_groups" with the correct parameters. * operation/incidents/incident.php, operation/incidents/incident_detail.php, operation/events/events.php, operation/agentes/status_monitor.php, operation/agentes/estado_agente.php, operation/agentes/alerts_status.functions.php, operation/agentes/exportdata.php, operation/agentes/networkmap.php, operation/messages/message.php, general/ui/agents_list.php, godmode/groups/configure_group.php, godmode/groups/group_list.php, godmode/agentes/massive_add_alerts.php, godmode/agentes/massive_delete_agents.php, godmode/agentes/massive_config.php, godmode/agentes/massive_delete_action_alerts.php, godmode/agentes/massive_delete_alerts.php, godmode/agentes/modificar_agente.php, godmode/agentes/massive_delete_modules.php, godmode/agentes/massive_add_action_alerts.php, godmode/agentes/planned_downtime.php, godmode/agentes/manage_config_remote.php, godmode/agentes/agent_manager.php, godmode/servers/manage_recontask_form.php, godmode/alerts/configure_alert_compound.php, godmode/alerts/alert_compounds.php, godmode/alerts/configure_alert_template.php, godmode/alerts/configure_alert_action.php, godmode/setup/gis_step_2.php, godmode/users/configure_user.php, godmode/gis_maps/configure_gis_map.php, godmode/reporting/graph_builder.main.php, godmode/reporting/reporting_builder.main.php, godmode/reporting/visual_console_builder.data.php: changed the fields select box of group to tree style select box for groups. 2010-07-15 Miguel de Dios * include/functions.php: added function "array_key_to_offset" to resolve the offset in associative array. * include/functions_db.php: added function "get_childrens" for get the childrens of a group, "get_parents" for get the parents of a group (with the flag propagate or not as you want). In function "check_acl" added the method to scan groups that propagate flag in the branches. Added functions "get_user_groups_tree_recursive" and "get_user_groups_tree" for extract the groups as treefied list. Added in the function "get_db_all_rows_in_table" added the parameter $order to get with ASC or DESC order the rows, by default is ASC as mySQL. * godmode/groups/configure_group.php: added the field of propagate to update or creation a group. * godmode/groups/group_list.php: changed for the group trees the source code for to show the table as dinamic table that if the row have branch, you can click and desplegate children rows. 2010-07-13 Miguel de Dios * pandoradb.sql: added in the table tgrupo the column 'propagrate' for to use in the subgroups trees (new feature in comming for 3.2). * extras/pandoradb_migrate_v3.1_to_v3.2.sql: added new migration SQL file to migrate from 3.1 to 3.2. * extras/pandoradb_migrate_v3.0_to_v3.1.sql: erase old file, only find into repository the branch 3.1. 2010-07-13 Miguel de Dios * godmode/modules/manage_network_templates_form.php: fixed the error message when update with nothing a template (0 rows to update) . 2010-07-13 Miguel de Dios * include/functions_filemanager.php: changed the form to upload one or more files to more easy. And changed other things for stetic reasons. 2010-07-13 Sergio Martin * operation/agentes/datos_agente.php: Putted back data range filter into raw data of the modules for bug: 3023769 2010-07-13 Darío Rodríguez * include/help/en/help_reporting_main_tab.php: Added help for report creator for English. * include/help/es/help_reporting_main_tab.php: Added help for report creator for Spanish. Fixes: #3013763 2010-07-13 Darío Rodríguez * godmode/reporting/graph_builder.php: Fixed problem when creating or updating a graph with empty name. Fixes: #3026943 2010-07-13 Sergio Martin * include/functions_visual_map.php godmode/reporting/visual_console_builder.editor.php: Fixed the visualmaps for ignore the disabled and delete pending modules for bug: 3022892 2010-07-13 Darío Rodríguez * general/pandora_help.php: Delete interrogation picture to get a better style. Fixes: #3028524 2010-07-12 Raúl Mateos * godmode/setup/setup.php: Updated year. Cleaned code. * godmode/alerts/alert_list.builder.php: Added link to create action. 2010-07-12 Miguel de Dios * godmode/alerts/configure_alert_compound.php: fixed the page to request ajax, now it's new ajax page. Fixes: #3020713 2010-07-12 Miguel de Dios * include/javascript/pandora_visual_console.js: in function "draw_line" changed the const 15 value to dinamic value half width of image. Fixes: #3019645 * godmode/reporting/visual_console_builder.editor.js: cleaned source code and deleted unused function "eventsButtonsToolbox", this function was in old wip version of visual editor. 2010-07-12 Dario Rodriguez * godmode/reporting/visual_console_builder.php: fixed error getting image size creating a map without background Fixes: #3014276 2010-07-12 Miguel de Dios * operation/agentes/ver_agente.php: re-ordered the tabs. 2010-07-12 Sergio Martin * godmode/reporting/visual_console_builder.php: fixed the reset of the size when change a visual map background 2010-07-12 Dario Rodriguez * operation/search_results.php: fixed bug in search with zero matches and filtering by: maps, reports or graphs. Fixes: #3025607 2010-07-12 Dario Rodriguez * operation/agentes/estado_agente.php: fixed bug with pagination offset and search. Fixes: #3014703 2010-07-08 Miguel de Dios * operation/agentes/ver_agente.php: added hook to collection enterprise. 2010-07-08 Miguel de Dios * include/functions_filemanager.php: added hash2 parameter for to use in directory navigation. 2010-07-08 Miguel de Dios * include/functions_filemanager.php: cleaned source code. And added function "read_recursive_dir" to give a content of dir in a array. * include/functions_config.php: added $config['collection_max_size']. 2010-07-08 Dario Rodriguez * operation/agentes/networkmap.php: fixed order in combo box of zoom page of Network Map Fixes: #3026857 2010-07-08 Dario Rodriguez * operation/agentes/networkmap.php: fixed changing map layout type when you pass from full screen to normal screen or backwards Fixes: #3013601 2010-07-08 Dario Rodriguez * godmode/reporting/visual_console_builder.editor.php: fixed order in Period combo box of Module Graph Fixes: #3014274 2010-07-08 Miguel de Dios * godmode/servers/plugin.php: fixed the description text of ajax return when translate the > or < to < or > instead to keep the entity. Fixes: #3026785 2010-07-08 Miguel de Dios * install.php: added to check zip library for the filemanager. 2010-07-08 Miguel de Dios * include/functions_filemanager.php: added in source code lines to test hash of directories or files for give more security to filemanager. 2010-07-08 Miguel de Dios * include/functions_filemanager.php: added var global through $config to return status of operation. And clean messages of filemanager. 2010-07-07 Miguel de Dios * include/functions_db.php: changed in function "get_db_all_rows_filter" the parameter $filter to set empty array as default value. 2010-07-07 Miguel de Dios * include/functions_filemanager.php: added const MIME_TEXT. added source code to handler the updload files, zips, delete files/dir and create text files. Added function "delete_directory" for to delete recursive and or not empty any dir, function "file_explorer" to show a file explorer, "box_upload_file_complex" to show a controls to upload file or multiple files in a zip, "box_upload_file_explorer" to show controls to upload file, "box_upload_zip_explorer" to show controls to upload multiple files in a zip, "box_create_text_explorer" to show controls to create text files, and in function "get_file_manager_file_info" use new const MIME_TEXT. * godmode/agentes/modificar_agente.php: cleaned source code, closed the tag. * godmode/agentes/configurar_agente.php: added hook to enterprise functions for collection. * godmode/menu.php: added hook to enterprise functions for collection. * godmode/setup/file_manager.php:changed the source code for use new modular functions to show and management files. 2010-07-05 Raúl Mateos * include/functions.php, include/functions_reporting.php: Cleaned code. Fixed "Summatory" typo. 2010-07-05 Sancho Lerena * pandora_console_upgrade: Changed permissions (was 640). 2010-07-02 Sergio Martin * operation/events/events_rss.php operation/events/events_marquee.php operation/events/events.php: Fixed several bugs into events viewer and events rss file. Apply Ip restriction to API Ip's List to rss and marquee files. Bugfix: 3017263 2010-07-01 Sergio Martin * include/functions_db.php: Fixed the notice when delete a IP adress from agent configuration for bug: 3016410 2010-07-01 Sergio Martin * godmode/reporting/reporting_builder.list_items.php: Fixed the reports items filter for bug: 3013841 2010-06-30 Sergio Martin * operation/events/events.php: Changed the Server and All text on the events filter to use gettext. 2010-06-30 Sergio Martin * operation/events/events.php: Fixed the agent filter. Now the pagination keep the agent and shows the name of the agent in the input. Bugfix: 3021807 2010-06-30 Sergio Martin * godmode/reporting/visual_console_builder.editor.js: Fixed the storing of width and height of item in visual maps 2010-06-29 Sergio Martin * godmode/reporting/visual_console_builder.editor.js godmode/reporting/visual_console_builder.editor.php: Fixed storing of width and height of the background of the visual map 2010-06-29 Sergio Martin * include/Image/image_functions.php: Reverted an undesired last commit change 2010-06-29 Sergio Martin * godmode/reporting/visual_console_builder.php godmode/reporting/visual_console_builder.editor.js: Fixed the setting of original size by javascript when you choose 0 x 0 in the visual map background for Bug: 3020721 2010-06-29 Junichi Satoh * pandora_console_install: Added support for FreeBSD and RHEL/CentOS. * install.php: Added support for FreeBSD. 2010-06-28 Sergio Martin * include/functions_db.php: Fixed the get_agent_modules function to avoid return the pending delete modules 2010-06-25 Sergio Martin * include/functions_ui.php: Adding a parameter to printTruncateText to personalize the suffix string of a truncate string 2010-06-25 Sergio Martin * include/functions_ui.php: Changed substr() to mb_strimwidth() into printTruncateText function 2010-06-25 Junichi Satoh * operation/agentes/status_monitor.php: Changed substr() to mb_strimwidth(). Module name should be truncated with displayed length, not number of characters. 2010-06-23 Ramon Novoa * include/fgraph.php: Continue drawing combined charts if modules without data are found. 2010-06-23 Sergio Martin * include/functions_html.php: Added a parameter into print_select function to set style a selective options into the select form control 2010-06-23 Sergio Martin * include/auth/mysql.php operation/users/user.php godmode/users/user_list.php: Added pagination to users list in operations and administration 2010-06-22 Raúl Mateos * godmode/reporting/graph_builder.main.php godmode/reporting/graph_builder.php godmode/reporting/graph_builder.graph_editor.php godmode/reporting/graph_builder.preview.php: Updated year. Clean Code. 2010-06-21 Sergio Martin * godmode/reporting/graph_builder.main.php godmode/reporting/graph_builder.php godmode/reporting/graph_builder.graph_editor.php godmode/reporting/graph_builder.preview.php: Rewritted the combined graphs editor 2010-06-21 Raúl Mateos * godmode/alerts/alert_list_builder.php: Added link to create template. 2010-06-19 Raúl Mateos * operation/agentes/networkmap.php: Added text if twopi binary not found. * include/functions/functions_networkmap.php: Fixed url to group_view. Solves bug 3013775. 2010-06-18 Sergio Martin * godmode/users/user_list.php: Fixed the bug of delete users in Internet Explorer and added the deleting confirmation javascript for bug: 3017261 2010-06-17 Sergio Martin * godmode/users/configure_user.php: Fixed the edition of an user after a fail creation for bug: 3017524 2010-06-17 Sergio Martin * operation/users/user.php godmode/users/user_list.php: Changed the order of the users to id_user 2010-06-17 Sergio Martin * godmode/reporting/map_builder.php: Fixed the ACL permissions for bug: 3017262 2010-06-14 Sergio Martin * include/functions_reporting.php: Fixed the colspan into the Custom Graph report item for bug: 3013859 2010-06-11 Sergio Martin * godmode/reporting/graph_builder.php: Fixed the period of graph for bug #3014781, the creation of combined graphs before store the graph for bug #3014796 and the message over the header for bug #3014798 2010-06-09 Miguel de Dios * include/javascript/pandora.js: fixed lost semi colon. * godmode/reporting/visual_console_builder.editor.php, godmode/reporting/reporting_builder.item_editor.php: fixed lost include autocomplete javascript file. Fixes: #3013425 2010-06-09 Ramon Novoa * general/license/pandora_info_pt_BR.html, general/license/pandora_info_es.html, general/license/pandora_info_ast.html: Added to repository. 2010-06-09 Ramon Novoa * general/license/pandora_info_ast_es.html, general/license/pandora_info_es_es.html, general/license/pandora_info_es_la.html, general/license/pandora_info_pt_br.html: Removed from repository. 2010-06-09 Ramon Novoa * general/footer.php: Show the English license if a localized version is not available. 2010-06-09 Sergio Martin * godmode/agentes/agent_manager.php: Fixed the agent icons on agent setup for bug: 3013426 2010-06-09 Junichi Satoh * godmode/agentes/module_manager_editor_wmi.php: Added missing '_'. 2010-06-08 Raúl Mateos * operation/incidents/incident_detail.php, operation/incidents/incident.php: cleaned code, improved button usability. TODO: Use links instead buttons where adding notes. * operation/incidents/events.php: Cleaned code. 2010-06-08 Ramon Novoa * pandoradb_data.sql, DEBIAN/control, DEBIAN/make_deb_package.sh, include/config_process.php, pandora_console.spec: Update version strings. 2010-06-08 Miguel de Dios * godmode/reporting/reporting_builder.main.php: changed the text of button for more clear mean. 2010-06-08 Miguel de Dios * DEBIAN/conffiles: re-changed the conffiles for try solved a bug in the install DEB package. 2010-06-08 Miguel de Dios * godmode/gis_maps/configure_gis_map.php: refixed layers when to update data of gis map and magic quotes is on. 2010-06-08 Miguel de Dios * operation/agentes/alerts_status.php: fixed the style in the list of alerts. 2010-06-07 Raúl Mateos * godmode/agentes/agent_conf_gis.php: Changed warning text and style. * include/styles/install.css, include/styles/pandora_minimal.css: Fixed some typos. * include/styles/pandora.css: Add new warn style to shown warning texts. 2010-06-07 Miguel de Dios * include/functions_visual_map.php: fixed the uncolour path between parent and child when update 3.0 to 3.1. Fixes: #3008489 2010-06-07 Ramon Novoa * include/functions_reporting.php: Disabled DB cache for get_agent_module_info () to avoid memory errors in big environments. 2010-06-07 Miguel de Dios * godmode/alerts/alert_list.list.php: fixed the style of action list in the alert list. Fixes: #3000991 2010-06-07 Sergio Martin * install.php: Fixed typo bug for bug 3012385 2010-06-06 Raúl Mateos * pandora_console_install, pandora_console_upgrade: Cleaned code. Updated year. 2010-06-06 Raúl Mateos * godmode/reporting/reporting_builder.php, godmode/reporting/graphs.php, godmode/reporting/map_builder.php: Better table headers and table size. * godmode/reporting/reporting/visual_console_builder.editor.php: Added nice icons to buttons. * images/cancel.php: New icon file. * include/styles/pandora.css: New cancel input style. 2010-06-04 Ramon Novoa * pandora_console.spec: Fixed. Upgrading an RPM broke the installation. 2010-06-03 Miguel de Dios * extensions/update_manager/lib/libupdate_manager_client.php: changed the source code, now check the connection to server with a socket. Fixes: #3004761 2010-06-03 Miguel de Dios * general/license/pandora_info_ast_es.html: cleaned html and fixed unclose html tags in source code, the eclipse warned me. 2010-06-03 Miguel de Dios * operation/snmpconsole/snmp_view.php: fixed a typo mistake in SQL query. Fixes: #3010543 2010-06-02 Miguel de Dios * operation/reporting/reporting_xml.php: sorry I lost commit the changes to generate the report item "event_report_group". 2010-06-02 Miguel de Dios * general/header.php, godmode/db/db_audit.php, godmode/reporting/reporting_builder.item_editor.php: cleaned html and fixed unclose html tags in source code, the eclipse warned me. 2010-06-02 Raúl Mateos * operation/agentes/sla_view.php, operation/agentes/datos_agente.php, operation/agentes/estado_ultimopaquete.php: Updated header. 2010-06-02 Sergio Martin * include/auth/ldap.php include/fgraph.php godmode/reporting/graph_builder.php: Changed the deprecated function split() by explode() function for bug: 2989970 2010-06-02 Miguel de Dios * godmode/agentes/module_manager_editor_plugin.php: fixed, now show the description of plugin selected. * godmode/servers/plugin.php: added the response to ajax for query the report description. Fixes: #3008494 2010-06-02 Miguel de Dios * include/functions_reporting.php, include/functions.php, godmode/reporting/reporting_builder.php, godmode/reporting/reporting_builder.item_editor.php: added the code for show a new item event_report_group. 2010-06-02 Ramon Novoa * operation/messages/message.php: Small fixes. Fixed bug #3008779. * godmode/servers/modificar_server.php: Ask for confirmation before deleting a server. 2010-06-02 Sergio Martin * godmode/alerts/alert_list.list.php: Fixed the error showed in manage agents into alerts when the agent has not modules for bug 3010359 2010-06-02 Sergio Martin * operation/agentes/networkmap.php: Fixed the fullscreen icon out of the header for bug: 3004025 2010-06-02 Sergio Martin * include/functions_reporting.php operation/agentes/status_monitor.php operation/agentes/group_view.php: Fixed the group view table values for bug 3010321 and added the log4x type of module to asynchronous exception for bug 3008759 2010-06-01 Sergio Martin * operation/agentes/group_view.php: Fixed the dislocated table of groups view for bug 3010017 2010-06-01 Sergio Martin * operation/agentes/status_monitor.php: Fixed the width of the combos avoid displace objects. For bug: 3008756 2010-06-01 Sergio Martin * godmode/groups/group_list.php: Change the way of get the group incons to function print_group_icon. 2010-06-01 Raúl Mateos * godmode/alerts/alert_list.list.php, godmode/agentes/configurar_agente.php, godmode/agentes/module_manager.php, godmode/agentes/module_manager_editor.php, godmode/agentes/agent_template.php: Updated headers. 2010-06-01 Sergio Martin * godmode/agentes/planned_downtime.php: Fixed the value of time into update downtime for bug: 3004049 2010-06-01 Miguel de Dios * general/license/pandora_info_es_es.html, general/license/pandora_info_en.html, general/license/pandora_info_ca.html, general/license/pandora_info_es_la.html, general/license/pandora_info_fr.html: fixed unclose html tags in source code, the eclipse warm to me. 2010-06-01 Miguel de Dios * include/functions.php, godmode/reporting/reporting_builder.item_editor.php: deleted item type of agent_detailed. 2010-06-01 Miguel de Dios * DEBIAN/conffiles: added file config.php as conf file for package Debian. * DEBIAN/make_deb_package.sh: changed the source to "touch" conf file. * index.php: fixed the tests for config.php, now check if empty file then call installer.php. 2010-06-01 Sergio Martin * include/functions_visual_map.php: Fixed a undefined variable notice in visual console for bug: 3007450 2010-06-01 Sergio Martin * include/functions_ui.php: Fixed the group icon size to 16x16 pixels by default. Bug: 3008508 2010-06-01 Sergio Martin * godmode/users/configure_user.php: Fixed the edition of an user after create it. For bug: 3006988 2010-06-01 Sergio Martin * operation/agentes/estado_agente.php: Fixed the pagination on agents view. Now the total agents not include the disabled ones. Bug: 3008770 2010-06-01 Ramon Novoa * godmode/setup/setup.php: Ask for confirmation before enabling 'Enforce https' since access to Pandora FMS Console may be lost. 2010-06-01 Sergio Martin * include/FusionCharts/FusionCharts_Gen.php: Fixed the blank line over the first dashboard widget when the wisget is a graph (enterprise). Bug: 3006989 2010-06-01 Miguel de Dios * operation/agentes/stat_win.php, general/license/pandora_info_ast_es.html, general/license/pandora_info_es_es.html, general/license/pandora_info_en.html: fixed unclose html tags in source code, the eclipse warm to me. * godmode/db/db_audit.php: fixed lost semi colon in the source code, the eclipse warm to me. 2010-06-01 Miguel de Dios * general/license/pandora_info_ast_es.html, general/license/pandora_info_es_es.html, general/license/pandora_info_ca.html, general/license/pandora_info_pt_br.html, general/license/pandora_info_ja.html, general/error_emptyconfig.php, general/error_perms.php, general/error_authconfig.php, general/error_noconfig.php, general/error_install.php, general/error_dbconfig.php: fixed unclose html tags in source code, the eclipse warm to me. 2010-05-31 Raúl Mateos * operation/agentes/estado_agente.php, operation/agentes/exportdata.php, operation/agentes/status_monitor.php: Added icon to search button. 2010-05-31 Ramon Novoa * include/fgraph.php: Fixed some min and max calculation issues related to data compression. Fixes bug #3008499. 2010-05-31 Sergio Martin * images/cog_del.png godmode/agentes/massive_add_alerts.php godmode/agentes/massive_delete_action_alerts.php godmode/agentes/massive_operations.php godmode/agentes/massive_add_action_alerts.php: Added the alert massive operations 'add alerts', 'add actions' and 'delete actions'. An icon to delete actions added too. All for pending task: 3004606 2010-05-28 Miguel de Dios * godmode/reporting/reporting_builder.item_editor.php: added more intervals for the period (5 days, 15 days and 1 month) and removed tiny intervals. 2010-05-27 Miguel de Dios * include/functions_api.php: added new calls for api "set_new_alert_template", "set_delete_module", "set_new_module", "set_alert_actions", "set_new_event", "set_event_validate_filter_pro", "set_event_validate_filter" and "get_events". Added support function "otherParameter2Filter". 2010-05-27 Miguel de Dios * include/functions_api.php, include/api.php: cleaned and organice the source code. 2010-05-27 Ramon Novoa * extensions/update_manager/main.php: Show an error instead of 'updating...' if a non-enterprise user tries to update. 2010-05-27 Ramon Novoa * include/fgraph.php: Improved the speed of chart drawing algorithms. 2010-05-27 Sergio Martin * operation/users/user_edit.php: Fixed the message over the header for bug: 3007803 2010-05-27 Raúl Mateos * operation/agentes/tactical.php: Give some colour to the data shown. * godmode/menu.php: Updated year. 2010-05-26 Miguel de Dios * include/help/es/help_gis_map_builder.php, general/license/pandora_info_pt_br.html: fixed close open tags, the eclipse searched this bugs and advised me. 2010-05-26 Miguel de Dios * godmode/menu.php: added hook for the submenu enterprise in the reporting. 2010-05-26 Junichi Satoh * include/gettext.php: Changed the function to use. ereg() is deprecated by php 5.3. 2010-05-25 Raúl Mateos * godmode/agentes/module_manager.php, modificar_agente.php: Added some nice icons to buttons. 2010-05-25 Raúl Mateos * operation/menu.php, operation/snmpconsole/snmp_view: Updated year. Clean Code. * godmode/agentes/agent_conf_gis.php: Improved usability. 2010-05-25 Raúl Mateos * extensions/update_manager/lib/*.php: Updated year, clean code. * extensions/update_manager/lib/libupdate_manager.php: Improved usability. 2010-05-24 Sancho Lerena * group_view.php: Much nicer view of group view. Added column for group icon and for force network modules icon. 2010-05-24 Raúl Mateos * include/config_process.php: Updated build to new RC2. * operation/agentes/sla_view.php, operation/agentes/ver_agente.php, godmode/agentes/agent_conf_gis.php, include/styles/menu.css, include/styles/pandora.css: Clean code, updated year. 2010-05-24 Miguel de Dios * godmode/reporting/visual_console_builder.editor.php: fixed fall map in the bottom of visual console editor. 2010-05-24 Miguel de Dios * godmode/setup/performance.php: hidden option perfomance 'Compact CSS and JS into header' because in more Pandora installations have problems. 2010-05-24 Miguel de Dios * include/config_process.php: fixed test php trace level constant E_DEPRECATED, now it is correct test version (5.3.0) not 5.2.11. Fixes: #3005558 2010-05-24 Miguel de Dios * include/fgraph.php: fixed again when execute fgraphs.php without login in the case is execute in host machine (as when execute the cron). 2010-05-21 Raúl Mateos * several php files: Updated "add" or "create" icons. 2010-05-21 Miguel de Dios * operation/agentes/estado_generalagente.php: added the style for disabled agent and tooltip, in the name agent. * operation/search_results.php: added the style for disabled agent and tooltip. * godmode/agentes/modificar_agente.php: added tooltip. 2010-05-20 Raúl Mateos * godmode/alerts/alert_list.php: Added code to show different header depending on GET parameter. * godmode/alerts/alert_list_builder.php: Changed final icon. * godmode/agentes/planned_downtime.php: Center some icons. Now table header is shown only if there are planned downtimes. 2010-05-20 Ramon Novoa * DEBIAN/control, DEBIAN/make_deb_package.sh, include/config_process.php, pandora_console.spec: Updated for the release of Pandora FMS 3.1 RC1. 2010-05-20 Raúl Mateos * operation/users/user_edit.php: Updated year. Use better table in group list. * godmode/snmp_console/snmp_alert.php: Updated year. Removed old header. Added code to show different header depending on GET parameter. 2010-05-20 Miguel de Dios * DEBIAN/make_deb_package.sh: fixed the permissions to DEBIAN temp package. 2010-05-18 Miguel de Dios * DEBIAN/make_deb_package.sh: added parameter to make only packages of pear modules or not. 2010-05-18 Miguel de Dios * include/fgraph.php: fixed the fgraph when cron get a report in PDF for to send, and this situation the fgraph execute in localhost althought it'snt login. 2010-05-18 Sancho Lerena * pandoradb_data.sql: Update build/version to rc1. * extras/pandoradb_migrate_v3.0_to_v3.1.sql: Revised upgrade script. Tested with several 3.0 versions. * pandora_console_upgrade: Updated script, tested to work with 3.1 2010-05-18 Sergio Martin * operation/agentes/ver_agente.php godmode/reporting/visual_console_builder.wizard.php godmode/reporting/visual_console_builder.php: Fixed the multiple agents selection on visual console wizard for bug 2997750 2010-05-18 Miguel de Dios * include/javascript/pandora.js: added function "agent_changed_by_multiple_agents_id" for response to change agent in wizard in visual console editor. * operation/agentes/ver_agente.php: added response to "get_agent_modules_json_for_multiple_agents_id" for the ajax previous function. * godmode/reporting/visual_console_builder.wizard.php: used new javascript function. 2010-05-17 Sergio Martin * include/languages/cs.po include/languages/nl.mo include/languages/pt_BR.po include/languages/es.po include/languages/pl.mo include/languages/ko.po include/languages/it.mo include/languages/sl.mo include/languages/sk.po include/languages/uk.po include/languages/ro.po include/languages/pt.mo include/languages/ast.mo include/languages/index.pot include/languages/bn.po include/languages/ar.po include/languages/cs.mo include/languages/pt_BR.mo include/languages/es.mo include/languages/ko.mo include/languages/fr.po include/languages/sk.mo include/languages/uk.mo include/languages/ro.mo include/languages/ca.po include/languages/da.po include/languages/tr.po include/languages/de.po include/languages/sv.po include/languages/ja.po include/languages/zh_TW.po include/languages/he.po include/languages/bn.mo include/languages/fi.po include/languages/ar.mo include/languages/hi.po include/languages/zh_CN.po include/languages/fr.mo include/languages/te.po include/languages/eu.po include/languages/hu.po include/languages/ca.mo include/languages/da.mo include/languages/tr.mo include/languages/de.mo include/languages/sv.mo include/languages/ru.po include/languages/ja.mo include/languages/zh_TW.mo include/languages/he.mo include/languages/fi.mo include/languages/hi.mo include/languages/zh_CN.mo include/languages/el.po include/languages/gl.po include/languages/te.mo include/languages/eu.mo include/languages/nl.po include/languages/hu.mo include/languages/pl.po include/languages/it.po include/languages/sl.po include/languages/pt.po include/languages/ru.mo include/languages/ast.po include/languages/el.mo include/languages/gl.mo: Updated the languages files from Launchpad 2010-05-17 Miguel de Dios * include/javascript/pandora_modules.js, godmode/agentes/module_manager_editor.php: fixed the snmp_walk for version 2, 2c and 3. Need more test for version 3. 2010-05-17 Miguel de Dios * include/javascript/pandora.js, godmode/reporting/visual_console_builder.wizard.php: fixed the select box modules for when select many agents. 2010-05-17 Sergio Martin * include/functions_reporting.php: Fixed the Warning monitor stauts in tactical view for bug: 3002602 2010-05-17 Sergio Martin * godmode/setup/gis_step_2.php godmode/setup/gis.php: Created error and successfuly messages when create, update or delete a map connection for bug 2994197 2010-05-17 Sergio Martin * operation/extensions.php godmode/extensions.php: Fixed the undefined variable display on extensions sections for bug 2989967 2010-05-17 Junichi Satoh * include/gettext.php: Changed the judgment method for 64bit systems. 'x86_64' is not acceptable by some systems. 2010-05-14 Raúl Mateos * operation/agentes/gis_view.php, tactical.php: Clean code. Updated year. 2010-05-14 Miguel de Dios * godmode/groups/group_list.php: fixed the request of group data when get data about "All" group. Fixes: #2993501 2010-05-14 Sergio Martin * godmode/reporting/visual_console_builder.php: Fixed the adding at visual map only the agent if module is no selected and only the module if is selected. Fixes: #2989339 2010-05-14 Miguel de Dios * godmode/gis_maps/configure_gis_map.php: fixed the title of button to "update layer", and now by default the group of new layer is none. Fixes: #2990762 2010-05-14 Sergio Martin * include/functions_db.php operation/agentes/ver_agente.php godmode/agentes/massive_edit_modules.php: Fixed the ACL check into groups combo for bug 3001500 and All agents display for bug 2999431 2010-05-14 Miguel de Dios * include/gettext.php: Sorry I forget part of changes in "fixed the bug of pseudo-gettext with diferent arquitectures. Now check the arquitecture before." Fixes: #2991545 * godmode/agentes/configurar_agente.php: fixed lost the require file. Fixes: #3000337 2010-05-13 Raúl Mateos * operation/agentes/group_view.php: Clean code. Close tags. Now, if there's no agent, it shows a text. Inefficient? * godmode/agentes/agent_manager: Solved typo with .png files, but those files don't exist in repository... 2010-05-13 Raúl Mateos * install.php: Updated year. Clean code. 2010-05-13 Sergio Martin * godmode/gis_maps/configure_gis_map.php: Fixed the Gis map without map connection. Now is impossible to create or update a GIS map without map connection Bug: 3000014 2010-05-13 Miguel de Dios * include/gettext.php: fixed the bug of pseudo-gettext with diferent arquitectures. Now check the arquitecture before. Fixes: #2991545 2010-05-13 Miguel de Dios * pandoradb.sql: fixed the syntax of sql for compatibility of mysql 5.0 that this versión is used in Debian Lenny for example. Now run in 5.0 and next versións. 2010-05-13 Sergio Martin * include/functions_ui.php: Fixed negative timestamp for bug: 2926876 2010-05-13 Sergio Martin * include/functions_reporting.php operation/agentes/status_monitor.php: Fixed full monitor checks in tactical view and monitor status filter on monitor detail 2010-05-13 Miguel de Dios * include/functions_reporting.php: fixed the empty cell. Fixes: #2996522 2010-05-13 Miguel de Dios * include/javascript/pandora.js: check if exist the "any" text translation. * godmode/reporting/visual_console_builder.wizard.php: add the "any" translation. Fixes: #3000496 2010-05-13 Miguel de Dios * install.php: check the exit library "Multibyte String". Fixes: #3001028 2010-05-12 Sergio Martin * include/functions_reporting.php: Fixed unknown and no init monitors queries for monitor checks. Bug: 3000460 2010-05-12 Sergio Martin * extras/pandora_diag.php: Fixed the SQL error into diagnostic info section. Now the system check the enterprise version before to show tlocal_component info. Bug: 2998918 2010-05-12 Sergio Martin * include/functions_gis.php: Fixed the maps of type Googlemaps in agent view for bug: 2993745 2010-05-11 Ramon Novoa * operation/agentes/stat_win.php: Pass the start date to min, max and avg functions. * godmode/alerts/configure_alert_action.php: Fixed a typo. 2010-05-11 Raúl Mateos * godmode/gis_maps/configure_gis_map.php: Updated year. Clean code. 2010-05-11 Sergio Martin * godmode/setup/gis_step_2.php: Fixed the creation of connection map in GIS maps for bug 3000031 2010-05-11 Raúl Mateos * godmode/reporting/map_builder.php: Fixed a typo. * godmode/gis_maps/index.php: Updated year. Show text if no map defined. 2010-05-11 Sergio Martin * godmode/gis_maps/index.php: Fixed the change of default map for bug: 2993745 2010-05-11 Junichi Satoh * include/help/ja/help_cascade_protection.php: Fixed a typo. 2010-05-11 Junichi Satoh * include/help/ja/help_cascade_protection.php: Updated a help file to reflect recursive cascade protection. 2010-05-10 Ramon Novoa * include/help/en/help_cascade_protection.php, include/help/es/help_cascade_protection.php, images/help/cascade_protection_ilustration.png: Updated help files to reflect recursive cascade protection. 2010-05-10 Sergio Martin * godmode/db/db_refine.php: Fixed the pendingdelete word showed in database purge for bug: 2922769 2010-05-10 Ramon Novoa * include/fgraph.php: Fixed a typo in grafico_modulo_boolean. Fixed the alert and event scale. Removed the 'last' element from the chart data array (does not seem to be used anywhere). 2010-05-10 Sergio Martin * operation/messages/message.php: Fixed the messages over the header for bug: 2993495 2010-05-10 Sergio Martin * godmode/agentes/massive_edit_modules.php: Fixed the massive change of user and password. Also the change of the export target and historical data was disable. Now are fixed too. Bug: 2997083 2010-05-10 Sergio Martin * godmode/agentes/massive_operations.php: Fixed the header using now the print_header function for bug: 2999269 2010-05-09 Raúl Mateos * godmode/setup/file_manager.php: Changed deprecated split() function to explode(). Center delete image. * modules/manage_network_components.php: Center delete image. 2010-05-07 Ramon Novoa * include/functions_reporting.php, include/fgraph.php, include/functions_db.php, include/functions_fsgraph.php: Fixed a lot of chart and report code related to Pandora FMS's data compression algorithm. 2010-05-07 Sergio Martin * godmode/servers/manage_recontask_form.php: Included the help icon into the header for bug: 2997559 2010-05-07 Junichi Satoh * include/help/ja/help_prediction_source_module.php: Added a missing help file. 2010-05-06 Raúl Mateos * include/config*.php: Updated year. Updated build. * include/functions_*.php: Updated year. Clean Code. 2010-05-06 Miguel de Dios * include/config.inc.php: fixed the operation require when the php file to call config.php have a file with same name of "config_process.php" ...in rare cases. * include/config_process.php: fixed the operation require when the php file to call config.php have a file with same name of "functions.php", "functions_db.php", "functions_config.php" ...in rare cases. * include/functions.php, include/functions_config.php: cleaned the source code. 2010-05-05 Miguel de Dios * godmode/reporting/map_builder.php: added the height and width to save in the copy. Fixes: #2989340 2010-05-05 Miguel de Dios * godmode/reporting/visual_console_builder.php: added the extract size of image and save. Fixes: #2992401 2010-05-05 Miguel de Dios * include/functions_visual_map.php: fixed notices php messages when the visual map has the item label (item image without image and only text). * godmode/reporting/visual_console_builder.php: changed the icon tab for the wizard, before it was a pill, now it is a wand. * godmode/reporting/visual_console_builder.editor.js, godmode/reporting/visual_console_builder.editor.php: fixed the validate static graph item. Fixes: #2994103 2010-05-04 Miguel de Dios * include/functions_reporting.php: fixed the php notice message when the index not exist in the var $data in the function "get_agentmodule_sla". 2010-05-04 Sergio Martin * godmode/agentes/agent_template.php: Fixed the link to edit module for bug: 2996521 2010-05-04 Sergio Martin * include/functions_reporting.php: Set style to 'mini' option. 2010-05-04 Miguel de Dios * include/functions_reporting.php: changed the style to show data in the items "TTRT", "TTO", "MTBF" and "MTTR". 2010-05-04 Miguel de Dios * include/functions_reporting.php: fixed in the function "get_agentmodule_data_average" prevent to use the var without value. 2010-05-04 Sergio Martin * include/functions_reporting.php: Added the high variation for the graphs when the parameter $mini is true 2010-05-04 Miguel de Dios * godmode/reporting/reporting_builder.preview.php: added file to show the html preview of report. * godmode/reporting/reporting_builder.php: added the tab for the preview. 2010-05-04 Sergio Martin * godmode/db/db_audit.php godmode/db/db_sanity.php godmode/db/db_refine.php godmode/db/db_info.php godmode/db/db_event.php godmode/db/db_purge.php: Fixed the screens without headers for bug: 2996488 2010-05-04 Miguel de Dios * godmode/reporting/reporting_builder.item_editor.php: added tooltip for to tell what is the separator character in the header. 2010-05-04 Sergio Martin * include/functions_reporting.php: Added "mini" parameter. Usefull for print the report with less size 2010-05-04 Sergio Martin * godmode/agentes/module_manager_editor_common.php: Increased the max number of digits in text inputs for max_critical, min_critical, max_warning and min_warning for bug:2931191 2010-05-03 Miguel de Dios * operation/reporting/reporting_xml.php: added default value "now" in $report["datetime"]. Removed (as comment at the momment) obsolet report items, and added the items: "event_report_agent", "text", "sql", "event_report_module", "alert_report_module", "alert_report_agent", "url", "database_serialized", "TTRT", "TTO", "MTBF" and "MTTR". 2010-05-03 Miguel de Dios * include/functions_reporting.php: added the parameter "$html" in the function "alert_reporting_agent" and "alert_reporting_module", this flag is for return the html table or object table, by default the html. And fixed the title of "alert_report_module" and "alert_report_agent", fixed return of list "event_report_module" in the function "render_report_html_item". * godmode/reporting/reporting_builder.item_editor.php: fixed the lost field "period" in the item "database_serialized". 2010-05-03 Miguel de Dios * include/functions_reporting.php: added the parameter "$html" in the function "get_module_detailed_event_reporting", this flag is for return the html table or object table, by default the html. 2010-05-03 Sergio Martin * operation/agentes/alerts_status.php operation/agentes/alerts_status.functions.php: Fixed typo fix for bug: 2989944 2010-05-03 Sergio Martin * operation/events/events.php: Fixed the successfully message over the header for bug: 2989965 2010-04-30 Sergio Martin * godmode/alerts/alert_list.builder.php: Removed an useless combo of old version. Bug: 2993508 2010-04-30 Sergio Martin * include/functions_ui.php: Fixed the access at the groups without icon. bug: 2944540 2010-04-30 Sergio Martin * operation/agentes/group_view.php: Fixed the group 1 problem. It was not showed 2010-04-30 Sergio Martin * operation/snmpconsole/snmp_view.php: Improved the code using printTruncateText 2010-04-30 Sergio Martin * include/functions_ui.php: Improved the printTruncateText function adding the parameter showTextInTitle 2010-04-30 Sergio Martin * operation/snmpconsole/snmp_view.php: Fixed the custom value column tooltip. Now, the tooltip shows the full value instead of the custom OID. Bug: 2940432 2010-04-30 Miguel de Dios * include/functions_io.php: added in the function "safe_output" the flag $utf8 for set the encoding of output, by default true. 2010-04-29 Miguel de Dios * godmode/reporting/reporting_builder.item_editor.php: fixed typo mistake in the sla vars in javascript. 2010-04-29 Miguel de Dios * include/functions_ui.php: added the function "printTruncateText" for facilitate trunc texts, and add the eye candy the tooltip. * godmode/reporting/reporting_builder.list_items.php: used the new function "printTruncateText". 2010-04-29 Ramon Novoa * include/functions_reporting.php: Added TTO, TTR, MTBF and MTTR reports. * include/functions_db.php: Fixed get_previous_data and wrote get_next_data. 2010-04-29 Ramon Novoa * include/functions_reporting.php include/functions_db.php 2010-04-29 Sergio Martin * godmode/setup/gis_step_2.php: Fixed the creation of map connection without name and without type of connection. Bug:2993713 2010-04-29 Sergio Martin * godmode/servers/manage_recontask.php: Fixed the creation of recon task without name and network. Also, the network is checked by the following regular expression "/[0-9]+.+[0-9]+.+[0-9]+.+[0-9]+\/+[0-9]/" 2010-04-29 Sergio Martin * godmode/reporting/visual_console_builder.php: Fixed that was allowed to create a visual map without name and without background. Bug: 2993503 2010-04-29 Sergio Martin * include/functions_visual_map.php: Fixed the critical render from an object that was not static graph when was heredated from another layout. Bug 2940950 2010-04-29 Sergio Martin * godmode/agentes/module_manager_editor_prediction.php: Limited the source modules availables for the prediction module at the modules with history_data = 1. bug:2922920 2010-04-29 Sergio Martin * pandoradb.sql extras/pandoradb_migrate_v3.0_to_v3.1.sql godmode/setup/gis_step_2.php godmode/gis_maps/configure_gis_map.php: Added at the combos the group All and asigned in creation layers -1 value to None value 2010-04-29 Miguel de Dios * godmode/reporting/reporting_builder.php, godmode/reporting/reporting_builder.item_editor.php: fixed typo mistake in the field "id_agent_module". 2010-04-28 Miguel de Dios * include/functions_reporting.php: added function "alert_reporting_agent" for make the html list of agent alerts, added function "alert_reporting_module" for same thing before function instead it is for modules. In report item "event_report_agent" fixed the output. Added report items "alert_report_module", "alert_report_agent", "url" and "database_serialized". * include/functions_db.php: added function "get_agent_alert_fired" for to extract the alerts fired of agent, and added "get_module_alert_fired" for alerts fired of module. * godmode/reporting/reporting_builder.php, godmode/reporting/reporting_builder.item_editor.php: fixed the renamed column "row_separator" of previus commit. 2010-04-28 Miguel de Dios * pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: renamed the column "row_separator" to more exactly name "column_separator". Sorry. 2010-04-28 Sancho Lerena * pandoradb_data.sql: Updated version to 3.1 * pandoradb_migrate_v3.0_to_v3.1.sql: Fix, set log4x correct type id. * include/functions_gis.php: Fixed a notice by undefined value. * images/gis_maps/icons: Deleted several non-useful icons. 2010-04-28 Miguel de Dios * include/functions_agents.php, godmode/gis_maps/configure_gis_map.php, godmode/reporting/reporting_builder.list_items.php, godmode/reporting/visual_console_builder.php, godmode/reporting/reporting_builder.item_editor.php: cleaned debug traces in the source code. 2010-04-28 Miguel de Dios * godmode/reporting/reporting_builder.php: fixed the lost type in the edit item. * godmode/reporting/reporting_builder.item_editor.php: fixed the position of hidden input for id item, after it was out form. 2010-04-28 Miguel de Dios * godmode/reporting/reporting_builder.item_editor.php: fixed a mistake copy&paste, now you can edit correctly the items. 2010-04-28 Sergio Martin * include/functions_visual_map.php: fixed the error of divided by zero and now the widget display an error message. Bug #2992370 2010-04-28 Sancho Lerena * include/pChart/pData.class, include/pChart/pChart.class: Fixed some notices on undefined variables. * include/fgraph.php: Fixed bug with eventgraph in graph_event_module(). * include/functions.php: return_graphtype() uses now the log4x id 24 in ttipo_modulo, fixing the problem in graph visualizer. Anyway, log4x graphs doesn't work on php >= 5.3.x :(( * operation/agentes/estado_monitores.php: Fixed id (24) for link in log4x. * operation/agentes/stat_win.php: Included missing functions_reporting.php include, it was missing. 2010-04-28 Sergio Martin * include/functions_html.php: Added at print_checkbox function the 'script' parameter 2010-04-27 Miguel de Dios * include/functions_reporting.php: in function "get_agents_detailed_event_reporting" fixed param for $id_agents to array type, fixed the loop to save events and fixed in the loop to make the table. Added the function "get_module_detailed_event_reporting" for events of any module. In function "render_report_html_item" remove trace function, added the render option "event_report_module" for render list of events of any module. * include/functions_db.php: added function "get_module_events". * operation/gis_maps/ajax.php: cleaned source code. 2010-04-27 Sergio Martin * include/functions_db.php operation/gis_maps/ajax.php godmode/agentes/planned_downtime.php godmode/agentes/manage_config_remote.php: Fixed many all group control from 1 to 0 value. Remove deprecated functions list_group() and list_group2() from functions_db.php 2010-04-27 Miguel de Dios * include/functions_reporting.php: added render html for "text" and "sql" item. * include/ajax/reporting.ajax.php: added request for the custom SQL. * include/functions_db.php: in function "get_db_value_filter" fixed the field when the field is escape string. * godmode/reporting/reporting_builder.item_editor.php: added the preview of custom SQL. 2010-04-27 Sergio Martin * godmode/servers/manage_recontask_form.php: Avoided that the All group appears on the combobox for bug # 2992906 2010-04-27 Sergio Martin * extras/pandoradb_migrate_v3.0_to_v3.1.sql: Changed the database values of group from 1 to 0 and remove the group with Id=1 2010-04-27 Miguel de Dios * include/functions_reporting.php: cleaned source code of "render_report_html_item" function for new types of report items. * include/functions.php: cleaned source code of "get_report_types" function and added new types of report items. 2010-04-27 Sergio Martin * pandoradb_data.sql: Changed the group All values on tables with default group form 1 to 0 2010-04-27 Miguel de Dios * operation/agentes/ver_agente.php: removed hack for translate "any" text. * godmode/reporting/graph_builder.php: removed unused javascript function "agent_changed" * godmode/reporting/reporting_builder.php: re-added parameter $values['id_agent_module']. 2010-04-26 Sancho Lerena * operation/agentes/datos_agente.php: Fixed the data table render for log4x data. * operation/agentes/estado_monitores.php: Graph icon should be shown when using Log4x data, it has graphics (need to implement in Flash in the future). 2010-04-26 Ramon Novoa * include/javascript/pandora.js: The id_group filter in agent_module_autocomplete is no longer needed. 2010-04-26 Miguel de Dios * include/javascript/pandora.js: in the function "agent_changed_by_multiple_agents"fixed the id of "All" group, now it's the 0. 2010-04-26 Junichi Satoh * godmode/agentes/module_manager_editor_plugin.php, godmode/agentes/module_manager_editor_wmi.php, godmode/agentes/module_manager_editor_network.php: Added missing '_'. 2010-04-23 Sancho Lerena * include/config_process.php: Fixed a doble include in the functions_enterprise.php file (breaks the tab "inventory" in the agent view). 2010-04-23 Sergio Martin * general/ui/agents_list.php: Changed the all group condition from 1 to 0 2010-04-23 Sergio Martin * godmode/reporting/reporting_builder.php: Changed the All group on combos from 1 to 0 and fix the group all on tables 2010-04-23 Miguel de Dios * godmode/reporting/reporting_builder.php: re-added the list of reports, re-added the delete reports. And fixed the notice PHP message and the action edit in the main tab. 2010-04-23 Sergio Martin * pandoradb.sql extras/pandoradb_migrate_v3.0_to_v3.1.sql: Dropped the foreign key between treport and tgrupo 2010-04-23 Sergio Martin * godmode/servers/manage_recontask_form.php: Added the All group to combo 2010-04-23 Sergio Martin * operation/visual_console/index.php godmode/reporting/map_builder.php: Fixed the group all on tables 2010-04-23 Sergio Martin * godmode/alerts/alert_compounds.php godmode/alerts/alert_list.php godmode/alerts/alert_templates.php godmode/alerts/configure_alert_action.php godmode/alerts/alert_actions.php: Changed the All group on combos from 1 to 0 and fix the group all on tables 2010-04-22 Miguel de Dios * include/ajax/reporting.ajax.php: added ajax respond to delete_sla_item and add_sla actions. * include/functions.php: added in the function "get_report_types" new types of items/contents for reporting. * pandoradb.sql: added columns custom_logo, header, first_page, footer, custom_font into the table treport. And in the table treport_content have new columns text, external_source, treport_custom_sql_id, header_definition, row_separator, line_separator. Added new table treport_custom_sql. * extras/pandoradb_migrate_v3.0_to_v3.1.sql: added changes for DB that it same to pandoradb.sql. * images/sort_none.png, images/sort_down.png, images/sort_up.png: added the images for order list items for reports. * godmode/reporting/reporting_builder.list_items.php, godmode/reporting/reporting_builder.main.php, godmode/reporting/reporting_builder.php, godmode/reporting/reporting_builder.item_editor.php: made new forms to manage the reporting, now Pandora have tabs and list of items. In the list of items, you can order manually or automatically the items. 2010-04-22 Miguel de Dios * include/javascript/pandora.js: added function "agent_changed_by_multiple_agents" for query ajax with one or more agent select. * operation/agentes/ver_agente.php: added ajax response to "get_agent_modules_json_for_multiple_agents". 2010-04-22 Miguel de Dios * include/javascript/tiny_mce/*: re-added (lost files) js library (BSD) for the eyecandy widget for textarea. 2010-04-22 Miguel de Dios * include/javascript/tiny_mce/*: added js library (BSD) for the eyecandy widget for textarea. 2010-04-22 Sergio Martin * operation/users/user_edit.php godmode/users/configure_user.php: Changed the All group on combos from 1 to 0 and fix the group all on tables 2010-04-22 Sergio Martin * operation/incidents/incident.php: Changed the All group on combos from 1 to 0 2010-04-22 Sergio Martin * include/functions_ui.php include/functions_agents.php include/functions_db.php: Change the way of validate the All group. Now the group All has id_group = 0 and is not on the database * extensions/module_groups.php: Remove the All group row from the table. Inprove the table style * operation/agentes/status_monitor.php operation/agentes/alerts_status.php operation/agentes/estado_agente.php operation/agentes/exportdata.php operation/agentes/networkmap.php godmode/agentes/modificar_agente.php godmode/agentes/planned_downtime.php: Changed the All group on combos from 1 to 0 2010-04-22 Sergio Martin * godmode/groups/group_list.php: Added validation when remove a group. Now, if the group is not empty shows a message and dont allow to remove it 2010-04-22 Miguel de Dios * include/javascript/pandora.js: erased trace line in the source of function "agent_changed", and force to select by default the none option. 2010-04-22 Miguel de Dios * include/javascript/pandora.js: changed function "agent_changed" for take the translate any or none texts from ajax or global var. * operation/agentes/ver_agente.php: added to package data the translate text for any. 2010-04-21 Sancho Lerena * include/functions_reporting.php: Added function render_report_html_item() to render a given report element in HTML format. Fixed a small problem in SUM report type (int truncate invalidate most of SUM reports when not using a _inc data type). * include/functions.php: Updated all "is_module_xxx" from using ereg (deprecated) to use preg_match. * include/functions_db.php: Moved reporting functions get_agentmodule_data_average(); get_agentmodule_data_max(), get_agentmodule_data_min() and get_agentmodule_data_sum() from here to functions_reporting.php. * godmode/groups/group_list.php: Removing a group put all agents assigned to that group in other available group (choosen in realtime). * AUTHORS: Authors file update, was very outdated!. * operation/agentes/estado_generalagente.php: Fixed bug #2990430. * operation/reporting/reporting_viewer.php: Some changes for better structuration of the HTML reporting viewer. Removed big chunk of code and put in function_reporting/render_report_html_item() function. 2010-04-21 Miguel de Dios * include/javascript/pandora.js: small improve, added new parameter into the function "agent_module_autocomplete", the parameter is "noneValue" for add a option for none module in the select of modules 2010-04-20 Junichi Satoh * extras/check_other_languages.sh: Added missing '/'. 2010-04-19 Sergio Martin * godmode/users/user_list.php: Fixed the delete the actual user feature hidding the red cross in this user and with internal control 2010-04-19 Sergio Martin * godmode/alerts/alert_list.list.php: Fixed a var definition error 2010-04-19 Sergio Martin * include/functions_html.php: Added the parameter style to print_select_from_sql() function 2010-04-19 Miguel de Dios * include/functions_db.php: rollback to the fixed (r2563) in the function "get_db_value_filter". 2010-04-19 Pablo de la Concepción * godmode/agentes/module_manager_editor_prediction.php: Make the services part (Enterprise) work nicely. * godmode/agentes/configurar_agente.php: Added enterprise hook for the services parameters. 2010-04-19 Pablo de la Concepción * include/javascript/pandora.js: Added function agent_module_autocomplete to use with a text box, a hidden field and a selector to select an agent and a module from the agent. 2010-04-19 Junichi Satoh * godmode/agentes/module_manager.php, godmode/modules/manage_network_components.php, godmode/modules/manage_network_templates_form.php: Changed the substr() to mb_strimwidth(). Strings should be truncated with displayed length, not number of characters. * godmode/include/functions.php: Added wrapper mb_strimwidth(). 2010-04-16 Sergio Martin * godmode/agentes/configurar_agente.php: Added process of services paramters (Enterprise feature) * godmode/agentes/module_manager_editor_prediction.php: Changed control to select the agent and the module. Added code to create a module from a service (Enterprise fature). * include/javascript/pandora.js: Added function agent_module_autocomplete to use with the agent autocomplete box and a module selector. 2010-04-16 Pablo de la Concepción * operation/users/user.php: Modified the users that are showed in the View users section. Now, the users of the logged user group are listed. 2010-04-16 Pablo de la Concepción * include/ajax/agent.php: Modified to return the agent name at the i begining of the serialized result. * godmode/agentes/configurar_agente.php: Added help links and TODO tag to remember to change the tabs to use the print_page_header function. 2010-04-15 Sergio Martin * godmode/users/configure_user.php: fixed bug 2987162. Validation of create a user with User ID null 2010-04-15 Miguel de Dios * include/functions_html.php: added check new attribute "styleTable" to object table, this is for pass the style table. 2010-04-14 Miguel de Dios * include/functions_db.php: fixed bug in the function "format_array_to_update_sql" when the field yet escaped. 2010-04-14 Sergio Martin * godmode/users/user_list.php: fixed bug 2987177. Wrong index was associated with the delete icon in the users list. 2010-04-14 Miguel de Dios * include/functions_db.php: fixed bug in the function "get_db_value_filter" when the field's name is a reserve word of mysql crash. 2010-04-14 Sergio Martin * include/javascript/pandora_modules.js: Typo fix for bug 2953348 2010-04-14 Sergio Martin * godmode/alerts/alert_list.php: Controled the sucessful of the create an alarm to audit it for bug 2987006 2010-04-14 Sergio Martin * godmode/alerts/alert_list.php, godmode/alerts/alert_list.list.php: Changed a button between the files to clean source code 2010-04-14 Sergio Martin * godmode/reporting/map_builder.php: Added Delete visual console for Bug 2986523 2010-04-14 Sergio Martin * ChangeLog: Updated the Changlog with the last forget commit 2010-04-13 Sergio Martin * godmode/reporting/map_builder.php: Added Copy visual console (map clonation) for Pending task 2726277 2010-04-12 Sergio Martin * godmode/alerts/alert_list.php: Added Create button for Feature Request 2985798 2010-04-12 Junichi Satoh * include/help/ja/help_configure_gis_map.php, include/help/ja/help_gis_map_builder.php, include/help/ja/help_gis_setup_map_connection.php, include/help/ja/help_setup_gis_index.php: Added the GIS help files in Japanese. 2010-04-09 Sergio Martin * godmode/alerts/configure_alert_template.php: Typo fix for bug 2981933 2010-04-09 Junichi Satoh * include/functions_extensions.php: Changed the function to use, from substr() to mb_substr(). substr() can't handle multibyte strings correctly. 2010-04-08 Sancho Lerena * include/config_process.php: Update build version. 2010-04-08 Junichi Satoh * godmode/modules/manage_network_components_form_network.php: Added missing '_'. 2010-04-07 Miguel de Dios * godmode/alerts/alert_list.php: added request the search parameter. * godmode/alerts/alert_list.list.php: fixed recove lost source code for build $where var of old version of godmode/alerts/alert_list.php . 2010-04-07 Miguel de Dios * godmode/alerts/alert_list.list.php: fixed the id of agent in source and now hide the column agent in list when the edit alerts is in the agent configuration. 2010-04-07 Miguel de Dios * ChangeLog: fixed date of last commit. 2010-04-07 Miguel de Dios * include/javascript/jquery.pandora.controls.js: changed the page to ajax in the event "pandoraSelectAgentAlert". * include/ajax/alert_list.ajax.php: new file with the source code of ajax request. * godmode/agentes/massive_config.php: changed the page to ajax in the event "source_id_agent" in the javascript source code. * godmode/alerts/alert_list.list.php: cleaned unused javascript source code that is for use in alert_list.builder.php. * godmode/alerts/alert_list.php: erase the php ajax source code and copy to alert_list.ajax.php. And move the action messages (create, delete ...) bellow to header. * godmode/alerts/alert_list.builder.php: : cleaned unused javascript source code that is for use in alert_list.list.php. 2010-04-07 Miguel de Dios * godmode/alerts/alert_list.php: cleaned source code, added the tabs for to use page alone (not in agent). * godmode/alerts/alert_list.builder.php: tab for the make a alert. * godmode/alerts/alert_list.list.php: tab for the list of alerts. 2010-04-07 Miguel de Dios * include/functions_agents.php: changed the functions "get_agent_alerts_simple" and "get_agent_alerts_compound" delete new parameter $limit because you can set the pagination limit in the parameter $options. * operation/agentes/alerts_status.php: changed the calls to previus functions. 2010-04-06 Pablo de la Concepción * operation/menu.php, godmode/menu.php: Hooks to services pages (Enterprise) * images/box.png: Icon for services (Enterprise) * godmode/setup/gis_step_2.php, godmode/setup/gis.php: Links to help pages * include/help/en/help_service_elements_management.php, include/help/en/help_view_services_detail.php, include/help/en/help_view_services.php, include/help/en/help_services_management.php: first version of services help pages. * include/help/en/help_setup_gis_index.php, include/help/en/help_configure_gis_map.php, include/help/en/help_gis_setup_map_connection.php: GIS help pages updated * include/styles/pandora_forms.css, include/styles/menu.css: New styles for forms and style for service menu entry icons. * include/ajax/agent.php: New AJAX file to get info about agents. 2010-04-05 Miguel de Dios * include/functions_agents.php: added parameter $where for SQL in function "get_agent_alerts_compound". * operation/agentes/alerts_status.php: use the new free search for filter the rows of alerts. * operation/agentes/alerts_status.functions.php: added parameter in the function "printFormFilterAlert", the parameter $free_search and add input text control for free search. 2010-04-05 Miguel de Dios * include/functions_ui.php: changed some parts of source code in the functions "forma Raúl Mateos t_alert_row" for show column modules in general view. In the function "pagination" added the parameter $offset_name with default value 'offset' for to use several paginations in one page. * include/functions_agents.php: added the parameters $limit, $idGroup, $count in the function "get_agent_alerts_simple", and now you can limit the rows, search by id group and return the count of rows (without limit). And in the function "get_agent_alerts_compound" added the same parameters to another function $idGroup, $limit, $count for similar uses. * operation/agentes/alerts_status.php: cleaned more parts of source code, fixed the mad array_merge of alerts, fixed SQL with the searchs IN (large large list ids), fixed the pagination before loop all rows, now only loop the block page rows. * operation/agentes/alerts_status.functions.php: new file with the functions "forceExecution", "validateAlert", and "printFormFilterAlert". 2010-04-05 Miguel de Dios * operation/agentes/alerts_status.php, operation/agentes/estado_agente.php, godmode/reporting/visual_console_builder.editor.php: cleaned source code. 2010-04-03 Raúl Mateos * operation/events/event_statistics.php: Updated year and headers. There is a black space after the headers that should be avoided. Same to the events.php file. 2010-03-31 Miguel de Dios * include/functions_visual_map.php: in function "printItemInVisualConsole" changed the text align of elements label to center. * operation/visual_console/render_view.php: changed the title to Pandora's header. * godmode/reporting/visual_console_builder.php: fixed the id of visual console in the update wizard action. * godmode/reporting/visual_console_builder.editor.php: small changes in the style. Set the width and height for module graph. * godmode/reporting/visual_console_builder.editor.js: set the default value for width and height for module graph in the function "cleanFields". And in the function "createItem" deleted br tag the simple value. 2010-03-31 Miguel de Dios * include/functions_html.php: added new parameter for function "print_select" for style. In the function "print_input_hidden" added the parameter $class for set the class of input. * godmode/reporting/map_builder.php: delete old code, now it have only source code of paint list of visual consoles. * godmode/reporting/visual_console_builder.data.php: cleaned style the of form. * godmode/reporting/visual_console_builder.elements.php: cleaned the rows of table, delete label color field and change the text type for a icon. 2010-03-31 Miguel de Dios * include/styles/pandora.css, include/functions_visual_map.php, include/ajax/visual_console_builder.ajax.php, godmode/reporting/visual_console_builder.editor.php, godmode/reporting/visual_console_builder.editor.js: cleaned source code and changed the buttons. 2010-03-30 Miguel de Dios * include/ajax/visual_console_builder.ajax.php: some cleaned the source code...need more. 2010-03-30 Miguel de Dios * include/functions_visual_map.php, godmode/reporting/visual_console_builder.wizard.php, godmode/reporting/visual_console_builder.php, godmode/reporting/visual_console_builder.editor.php, godmode/reporting/visual_console_builder.editor.js, godmode/reporting/visual_console_builder.elements.php: worked about the new visual console builder editor, now it is finished but I will clean and comment the source code. 2010-03-29 Miguel de Dios * include/ajax/visual_console_builder.ajax.php, godmode/reporting/visual_console_builder.editor.php, godmode/reporting/visual_console_builder.constans.php, godmode/reporting/visual_console_builder.editor.js: worked about the new visual console builder editor, now it is developing, don't afray. 2010-03-29 Miguel de Dios * include/ajax/visual_console_builder.ajax.php, godmode/reporting/visual_console_builder.editor.php, godmode/reporting/map_builder.php, godmode/reporting/visual_console_builder.editor.js: worked about the new visual console builder editor, now it is developing, don't afray. * godmode/reporting/visual_console_builder.constans.php: added the file that it has the constans. 2010-03-26 Miguel de Dios * include/config_process.php, godmode/reporting/visual_console_builder.editor.php, godmode/reporting/visual_console_builder.editor.js: worked about the new visual console builder editor, now it is developing, don't afray. * include/javascript/jquery.colorpicker.js: we used the old versión, and patch with self code for z-index to upper position. 2010-03-25 Miguel de Dios * include/functions_visual_map.php, include/ajax/visual_console_builder.ajax.php, godmode/reporting/visual_console_builder.preview.php, godmode/reporting/visual_console_builder.php, godmode/reporting/visual_console_builder.editor.php, godmode/reporting/visual_console_builder.editor.js: worked about the new visual console builder editor, now it is developing, don't afray. 2010-03-24 Junichi Satoh * operation/snmpconsole/snmp_view.php: To follow timestamp setting, changed the function to use, from human_time_comparation() to print_timestamp(). 2010-03-23 Miguel de Dios * include/javascript/jquery.ui.resizable.js: add library of jQuery.ui for resizable elements. * include/functions_visual_map.php *include/ajax, include/ajax/visual_console_builder.ajax.php: add the file for ajax request from visual console builder editor. * include/config_process.php: change $build_version. * include/functions.php: in function "safe_url_extraclean" fix to pages with '.' character. * godmode/reporting/visual_console_builder.php, godmode/reporting/visual_console_builder.editor.php, godmode/reporting/visual_console_builder.data.php, godmode/reporting/visual_console_builder.editor.js, godmode/reporting/visual_console_builder.elements.php: worked about the new visual console builder editor, now it is developing, don't afray. 2010-03-21 Sancho Lerena * include/help/en/check_other_languages.sh: Moved from include/help and rewritten to be more usable. This is a script to check if there are missing help files for each language (taken as parameter). * operation/agentes/datos_agente.php: Cannot detete data from here. Removed old support for individual data delete due the new table schema. * extras/check_other_languages.sh: Moved from include/help * godmode/agentes/modificar_agente.php: Admin can see everything even if agent has a invalid group (group which not exist). This was important because agents with invalid group was "Invisible" until now. 2010-03-19 Eric Ross * operation/agentes/estado_ultimopaquete.php: Fixing color to show WARN messages in orange * operation/agentes/stat_win.php: Now when showing a log4x chart, we don't show the max/min/avg information 2010-03-19 Eric Ross * include/config_process.php: Fixing warning when no timezone is defined for the user 2010-03-19 Eric Ross Adding support to show and purge data from the log4x table * include/fgraph.php * godmode/db/db_main.php * godmode/db/db_purge.php 2010-03-18 Eric Ross * operation/agentes/estado_monitores.php: Now the monitors list display the last data in a proper way (TRACE, DEBUG, ....) 2010-03-18 Eric Ross * godmode/setup/setup.php: Expanded time zone text box to 25 chars 2010-03-18 Eric Ross Ported old graphics for the log4x data. * include/Image/Graph/Plot/Bubble.php: New chart type: bubble * include/Image/Graph.php: Add the new bubble chart to the available charts * include/functions.php: Refactoring way to get type of graph from module type * operation/agentes/estado_ultimopaquete.php: Added links to access log4x graphics * include/fgraph.php: Add log4x graphics rutines. * operation/agentes/stat_win.php: Add support to show log4x graphic. 2010-03-17 Miguel de Dios * include/config_process.php, install.php: change version number. * include/functions_ui.php: add in the function "print_page_header" a read boolean item "active" in array $buttons for paint disabled. * include/functions.php: add function "get_parameterBetweenListValues" this function get a parameter for a GET or POST but between a values. * godmode/reporting/visual_console_builder.php: added new editors for visual console, now it is developing, don't afray. 2010-03-17 Junichi Satoh * operation/messages/message.php : Changed strings. "From" to "Message from", "To" to "Message to" * godmode/reporting/reporting_builder.php : Changed strings. "Down" to "Move down", "Up" to "Move up" * godmode/alerts/alert_list.php: Changed sentence with some strings. "From XX to YY matches of the alert" to "Number of alerts match from XX to YY" 2010-03-15 Junichi Satoh * godmode/alerts/alert_list.php : Added help link, "alert-matches". 2010-03-12 Sancho Lerena * include/help/es/: Added some missing help files in spanish, translated by Julia. Thanks Julia! * godmode/groups/modu_group_list.php, godmode/groups/configure_modu_group.php: New module group editor/manager. Contributed by Antonio Dos Santos, thanks Antonio! * godmode/menu.php: Added modulegroup to menu. 2010-03-12 Junichi Satoh * godmode/alerts/configure_alert_compound.php : Changed not to use variable "alert" on java script. IE8 can't handle it as a variable. 2010-03-11 Sancho Lerena * include/help/en/check_other_languages.sh: Small script to show help files not translated. * include/functions_ui.php: Fixed call to undefined variable. * godmode/setup/setup.php: Small box for textarea. 2010-03-10 Sancho Lerena * pandoradb_data.sql: Added new default values for purge event, string data, audit data, gis data, and snmp trap data. * include/functions_config.php: Support for new gis_purge config token. * godmode/setup/performance.php: Added gis_purge to setup. * godmode/users/user_list.php: Fixed bug which doesn't allow to delete users. * godmode/users/configure_user.php: Fixed bug with profile assigment (Mixed the current user and selected user). 2010-03-10 Junichi Satoh * general/license/pandora_info_ja.html : Added the GPL in Japanese. 2010-03-09 Miguel de Dios * index.php: changed the deprecated var $REMOTE_ADDR for standar $_SERVER['REMOTE_ADDR']. I forget in the last commit. * operation/gis_maps/render_view.php, operation/gis_maps/index.php, operation/menu.php, godmode/gis_maps/configure_gis_map.php: fix the ACL and add in other sites of source code. 2010-03-09 Miguel de Dios * include/config_process.php, extensions/dbmanager.php, extensions/update_manager/settings.php, extensions/pandora_logs.php, extensions/plugin_registration.php, operation/snmpconsole/snmp_view.php, operation/events/event_statistics.php, operation/events/events.php, operation/extensions.php, operation/visual_console/render_view.php, operation/agentes/status_monitor.php, operation/agentes/export_csv.php, operation/agentes/datos_agente.php, operation/agentes/estado_generalagente.php, operation/agentes/estado_agente.php, operation/agentes/sla_view.php, operation/agentes/gis_view.php, operation/agentes/ver_agente.php, operation/agentes/tactical.php, operation/agentes/group_view.php, operation/agentes/networkmap.php, operation/reporting/reporting_xml.php, operation/reporting/reporting_viewer.php, operation/reporting/graph_viewer.php, operation/servers/view_server.php, operation/servers/view_server_detail.php, general/logoff.php, godmode/groups/configure_group.php, godmode/groups/group_list.php, godmode/profiles/profile_list.php, godmode/admin_access_logs.php, godmode/extensions.php, godmode/db/db_main.php, godmode/db/db_audit.php, godmode/db/db_sanity.php, godmode/db/db_refine.php, godmode/db/db_info.php, godmode/db/db_event.php, godmode/db/db_purge.php, godmode/agentes/massive_delete_agents.php, godmode/agentes/massive_config.php, godmode/agentes/massive_delete_alerts.php, godmode/agentes/massive_edit_modules.php, godmode/agentes/massive_operations.php, godmode/agentes/module_manager.php, godmode/agentes/modificar_agente.php, godmode/agentes/massive_delete_modules.php, godmode/agentes/configurar_agente.php, godmode/agentes/planned_downtime.php, godmode/agentes/manage_config_remote.php, godmode/servers/manage_export.php, godmode/servers/manage_export_form.php, godmode/servers/plugin.php, godmode/servers/manage_recontask.php, godmode/servers/modificar_server.php, godmode/servers/manage_recontask_form.php, godmode/alerts/configure_alert_compound.php, godmode/alerts/alert_compounds.php, godmode/alerts/alert_list.php, godmode/alerts/configure_alert_template.php, godmode/alerts/alert_templates.php, godmode/alerts/configure_alert_action.php, godmode/alerts/configure_alert_command.php, godmode/alerts/alert_actions.php, godmode/alerts/alert_commands.php, godmode/snmpconsole/snmp_alert.php, godmode/setup/file_manager.php, godmode/setup/news.php, godmode/setup/gis_step_2.php, godmode/setup/links.php, godmode/setup/setup.php, godmode/setup/performance.php, godmode/setup/gis.php, godmode/setup/setup_visuals.php, godmode/users/user_list.php, godmode/users/configure_user.php, godmode/gis_maps/configure_gis_map.php, godmode/gis_maps/index.php, godmode/modules/manage_network_components_form.php, godmode/modules/manage_nc_groups_form.php, godmode/modules/manage_network_templates.php, godmode/modules/module_list.php, godmode/modules/manage_network_components_form_common.php, godmode/modules/manage_network_components_form_network.php, godmode/modules/manage_network_templates_form.php, godmode/modules/manage_network_components_form_wmi.php, godmode/modules/manage_network_components.php, godmode/modules/manage_nc_groups.php, godmode/reporting/reporting_builder.php, godmode/reporting/map_builder.php, godmode/reporting/map_builder_wizard.php, godmode/reporting/graphs.php, godmode/reporting/graph_builder.php: changed the deprecated var $REMOTE_ADDR for standar $_SERVER['REMOTE_ADDR']. 2010-03-09 Miguel de Dios * operation/search_results.php: fixed the result when call a function db with new method. 2010-03-09 Miguel de Dios * godmode/gis_maps/configure_gis_map.php: fix the request var when it is activate magic quotes. 2010-03-09 Junichi Satoh * include/help/ja : Imported Japanese help files. 2010-03-08 Pablo de la Concepción * godmode/agentes/agent_conf_gis.php: Changed some english phrases to make it more clear. 2010-03-08 Pablo de la Concepción * godmode/agentes/agent_manager.php: Changed some english phrases to make it more clear. 2010-03-08 Pablo de la Concepción * include/functions_gis.php, operation/gis_maps/render_view.php : Changed some english phrases to make it more clear. 2010-03-08 Miguel de Dios * include/javascript/openlayers.pandora.js: deleted the console log debug print. 2010-03-08 Miguel de Dios * include/functions_gis.php: cleaned source code of "printMap", now it is more clean the code because it call the js_printMap only and it haven't the num zoom levels. * include/javascript/openlayers.pandora.js: cleaned source code of "js_printMap", now it is more clean the code and it haven't the num zoom levels. * operation/gis_maps/render_view.php, godmode/setup/gis_step_2.php, godmode/gis_maps/configure_gis_map.php: use new form of "printMap" and "js_printMap". 2010-03-08 Pablo de la Concepción New theme for the maps: New images and background color for the Openlayers controls. * include/javascript/OpenLayers/OpenLayers.js: Channged background color on some components to fit the new theme. * include/javascript/OpenLayers/img/south-mini.png, include/javascript/OpenLayers/img/zoom-plus-mini.png, include/javascript/OpenLayers/img/zoom-world-mini.png, include/javascript/OpenLayers/img/zoom-minus-mini.png, include/javascript/OpenLayers/img/zoombar.png, include/javascript/OpenLayers/img/west-mini.png, include/javascript/OpenLayers/img/slider.png, include/javascript/OpenLayers/img/layer-switcher-maximize.png, include/javascript/OpenLayers/img/north-mini.png, include/javascript/OpenLayers/img/east-mini.png: New images for the new theme of the Openlayers controls. 2010-03-08 Miguel de Dios * include/javascript/pandora.js: change the code into function "html_entity_decode" for fix the decode in IE6 and rename the function to "js_html_entity_decode" for clean source code. * include/javascript/jquery.pandora.controls.js, include/javascript/pandora_modules.js, godmode/alerts/alert_list.php, godmode/alerts/configure_alert_action.php, godmode/reporting/reporting_builder.php, godmode/reporting/map_builder.php, godmode/reporting/graph_builder.php: use the rewrite new function javascript js_html_entity_decode. 2010-03-06 Sancho Lerena * install.php: Fixed width of textarea, too small. * extensions/dbmanager.php, extensions/plugin_registration.php extensions/pandora_logs.php: Added missing ACL checks. 2010-03-05 Miguel de Dios * pandoradb_data.sql: changed some the descriptions text of table type modules. 2010-03-05 Miguel de Dios * godmode/agentes/module_manager_editor_common.php: fix the type for when ajax load by form editor in modules policies. 2010-03-05 Miguel de Dios * include/functions_gis.php: clean source code delete obsolete unused function "get_agent_last_coords". Fixed the function "get_agent_icon_map" now show default icon for agent without modules. * operation/gis_maps/ajax.php: improve the style of bubble info agent and fixed the position for agent without data GIS. * operation/agentes/gis_view.php: clean the style delete the header. Change the text of refresh button. Show the last coords for the agent. * images/gis_map/icons/cross.pink.png, images/gis_map/icons/circle.pink.png: add this image icons for to use in the preview map of config connection map. * godmode/agentes/agent_conf_gis.php: clean the style delete the header. * godmode/setup/gis_step_2.php: use the pink icons for the center and default position in the preview map. 2010-03-04 Sancho Lerena * install.php: Fixed a bad render in IE. * operation/agentes/estado_agente.php: Fixed general view of agents. When show agents without modules, never display it's date because was taking from the most recept module, instead of data from agent itself. 2010-03-04 Pablo de la Concepción * godmode/gis_maps/configure_gis_map.php: Change help link. * godmode/gis_maps/index.php: Added help link. * include/help/en/help_gis_map_builder.php, include/help/en/help_configure_gis_map.php: first version of the help pages. 2010-03-04 Miguel de Dios * include/functions_gis.php: in function "printMap2" disable by default to add the control "layerSwitcher". * operation/gis_maps/render_view.php: add the "layerSwitcher" to controls to show. 2010-03-04 Miguel de Dios * include/functions_gis.php: in function "getAgentMap" change the controls delete overview and change PanZoom for PanZoomBar because the overview fail with google map, and PanZoomBar now the map view is more tall. * operation/gis_maps/render_view.php: delete overview because the overview fail with google. 2010-03-04 Miguel de Dios * include/functions_db.php: in function "get_user_groups" add third parameter $returnAllGroup by true for default. Fix in the function "get_group_agents" now if pass the id_group as 0 or 1 (all group) search for all groups. * godmode/agentes/agent_manager.php: use the new parameter for function "get_user_groups" for don't show the all group. 2010-03-04 Sancho Lerena * pandoradb_data.sql: Added news, default timezone and other minor changes. GIS is disabled by default now. * include/config_process.php: Force a timezone if not defined. * operation/gis_maps/index.php, operation/agentes/gis_view.php: Config.php and header stuff * operation/servers/view_server_detail.php operation/menu.php: Recon operation detail is now shown in the left menu. * admin_access_logs.php, db/db_audit.php db/db_info.php db/db_event.php agentes/configurar_agente.php gis_maps/configure_gis_map.php gis_maps/index.php: More headers and config.php include stuff. 2010-03-04 Raúl Mateos * (lot of files): Updated year and headers. 2010-03-04 Miguel de Dios * godmode/gis_maps/configure_gis_map.php: clean the form, now don't show the box of preview map. 2010-03-04 Miguel de Dios * include/functions_gis.php: add comment include for javascript include for more to easy change version openlayers for test. * include/javascript/OpenLayers/OpenLayers.js: warning the source code is compress. In the method "drawFeature" for the class "Renderer" backport some part of code for to extend the style attributes (labelYOffset in this case). 2010-03-04 Pablo de la Concepción * images/gis_map/icons/circle.bad.png , images/gis_map/icons/circle.default.png , images/gis_map/icons/circle.ok.png , images/gis_map/icons/circle.warning.png , images/gis_map/icons/cross.bad.png , images/gis_map/icons/cross.default.png , images/gis_map/icons/cross.ok.png , images/gis_map/icons/cross.warning.png , images/gis_map/icons/marker.bad.png , images/gis_map/icons/marker.default.png , images/gis_map/icons/marker.ok.png , images/gis_map/icons/marker.warning.png , images/gis_map/icons/square_marker.bad.png , images/gis_map/icons/square_marker.default.png , images/gis_map/icons/square_marker.ok.png , images/gis_map/icons/square_marker.warning.png , images/gis_map/icons/star.bad.png , images/gis_map/icons/star.default.png , images/gis_map/icons/star.ok.png , images/gis_map/icons/star.warning.png , images/gis_map/icons/triangle.bad.png , images/gis_map/icons/triangle.default.png , images/gis_map/icons/triangle.ok.png , images/gis_map/icons/triangle.warning.png: New icons for the agents 2010-03-04 Pablo de la Concepción * include/functions_gis.php: added missing num_zoom_levels value to the baselayers hash when printing the Agent Map 2010-03-03 Raúl Mateos * operation/incidents/*.php: Updated year and headers. 2010-03-03 Sancho Lerena * (A lot of files): Updated include("config.php") and replaced by global $config. * functions_db.php, functions_html.php: Fixed way to get data from the hash instead from the array. 2010-03-03 Miguel de Dios * include/functions_gis.php: add in the last time a function "printMap2" that it is a clean function. Change the function "printMap" to call "printMap2". * include/javascript/openlayers.pandora.js: in function "js_printMap" set the spherical Mercator for google maps. * operation/gis_maps/render_view.php: add to list of $baselayers the name of baselayer. Change order of div for map because now the script don't call when document ready. 2010-03-03 Ramon Novoa * include/functions_db.php: Use mysql_fetch_assoc instead of mysql_fetch_array to avoid duplicate results (hash and array). * godmode/alerts/configure_alert_template.php: Added 'matches_value' support to 'onchange' alerts. 2010-03-03 Miguel de Dios * include/functions_gis.php: add new parameter to function "addPath" the $lastPosition for paint the line to last position that this position is not in the table tgis_data_history. In function "getAgentMap" use the new parameter in the function "addPath". * operation/gis_maps/render_view.php: tiny fix in the include javascript of google. And few stetic changes in the top menu. And add the new parameter to "addPath". 2010-03-03 Miguel de Dios * operation/gis_maps/render_view.php: close in the end a unclose php tag. 2010-03-03 Miguel de Dios * operation/agentes/gis_view.php: fix "Call-time pass-by-reference" for function "print_table". 2010-03-02 Sancho Lerena * include/functions_ui.php: Fixes default icon for operation mode in the title. * operation/incidents/incident.php operation/incidents/incident_detail.php operation/incidents/incident_statistics.php operation/snmpconsole/snmp_view.php operation/users/user.php operation/users/user_edit.php operation/users/user_statistics.php operation/events/event_statistics.php operation/events/export_csv.php operation/events/events_marquee.php operation/events/events.php operation/agentes/export_csv.php operation/agentes/datos_agente.php operation/agentes/estado_ultimopaquete.php operation/agentes/estado_generalagente.php operation/agentes/estado_agente.php operation/agentes/sla_view.php operation/agentes/gis_view.php operation/agentes/ver_agente.php operation/agentes/tactical.php operation/agentes/group_view.php operation/agentes/networkmap.php operation/messages/message.php operation/reporting/reporting_viewer.php operation/servers/view_server.php operation/servers/view_server_detail.php operation/search_results.php godmode/groups/configure_group.php godmode/groups/group_list.php godmode/agentes/agent_manager.php godmode/alerts/alert_list.php: Fixes with include(Config.php) in enterprise mode.: * general/header.php: Detection of Metaconsole to show less options. 2010-03-02 Raúl Mateos * godmode/agentes/*.php, godmode/group/*.php, godmode/modules/*.php * godmode/alerts/*.php, godmode/users/*.php, extensions/users_connected.php: Updated year and headers in several files. Little by little I'll change the rest... 2010-03-02 Miguel de Dios * include/javascript/OpenLayers/lib/*, include/javascript/OpenLayers/news.txt, include/javascript/OpenLayers/readme.txt, include/javascript/OpenLayers/repository-license.txt, include/javascript/OpenLayers/release-license.txt: delete unused files of OpenLayers lib. 2010-03-02 Miguel de Dios * operation/gis_maps/render_view.php: clean source code. 2010-03-02 Pablo de la Concepción * include/functions_gis.php: Added a missing break and remove debugging code. * operation/gis_maps/render_view.php: Added code to render Gmap type of maps. 2010-03-02 Miguel de Dios * include/functions_gis.php: disabled the use of night version of Openlayers. Change the "refreshMapView" javascript to load the library of google maps with the api, and add function "refreshMapViewSecondStep" for asincrone call in "refreshMapView" when load map google. * include/javascript/openlayers.pandora.js: clean source code of "js_refreshParentLines" and add the test if the parent agent is in the map. * godmode/setup/gis_step_2.php: disabled the use of night version of Openlayers in function "printMap" and change the text of hierachy layer for better english text. 2010-03-02 Sancho Lerena * include/functions_reporting.php: Solved issue with several undefined vars. * include/functions_servers.php: Solved issue with several undefined vars. * include/functions_config.php: Added metaconsola witch to readconfig. * include/config_process.php: Update build.. is YYMMDD ! * include/functions_ui.php: Removed deprecated call to split and replaced by preg_split. * index.php: Activated developer mode. * operation/agentes/estado_monitores.php: Solved small problem with modules without history, filling missing column in table. Added headers * godmode/alerts/configure_alert_compound.php, operation/agentes/status_monitor.php godmode/alerts/configure_alert_template.php, godmode/alerts/alert_templates.php, godmode/alerts/configure_alert_action.php, godmode/alerts/configure_alert_command.php, godmode/alerts/alert_actions.php, godmode/alerts/alert_commands.php, godmode/modules/manage_network_templates.php, godmode/modules/module_list.php, godmode/modules/manage_network_components.php, godmode/modules/manage_nc_groups.php: Removed deprecated call to include config.php and in some cases, added new header style. 2010-03-02 Miguel de Dios * godmode/setup/gis_step_2.php: fix a mechanographic mistake. 2010-03-02 Miguel de Dios * include/functions_gis.php: add function "addParentLines", in ths function make a hierachy layer and call "js_refreshParentLines" for paint hierachy lines. In function "activateAjaxRefresh" use the function "js_refreshParentLines" for repaint the lines. *include/javascript/openlayers.pandora.js: add the global var "storeLayerNameHierachy" for save the text localiced name of Hierachy lines layer. Add the function "js_refreshParentLines" for paint the lines from parent to sons. In function "changeShowStatus" add the "js_refreshParentLines" * operation/gis_maps/render_view.php: use the function "addParentLines" for start the parent lines. * operation/agentes/gis_view.php: clean sourcecode. 2010-03-02 Miguel de Dios * operation/gis_maps/ajax.php: fix the query to extract the GIS data for agent, in any moment in the past I dirty the query, but now it's clean, and now run fine the agent movement. 2010-03-01 Pablo de la Concepción * include/javascript/openlayers.pandora.js: Modified js_printMap to support Gmap type of maps. * include/functions_gis.php: Modified printMap to support Gmap type of maps * godmode/setup/gis_step_2.php: Modified to load on demand the Gmaps api TODO: Use the key from the gmap_key input box. 2010-03-01 Sancho Lerena * include/styles/menu.css, include/functions_db.php, operation/menu.php: New code for give support for Metaconsole. Added nocache settings in some SQL main functions to avoid globally usage of SQL cache. 2010-03-01 Miguel de Dios * godmode/gis_maps/configure_gis_map.php: fix in javascript function "setFieldsFormLayer" set the checkbox. 2010-03-01 Miguel de Dios * include/functions_gis.php: in fuction "getAgentsLayer" fix when none data for agents in this layer. * operation/gis_maps/render_view.php: fix link to edit map and fix the text of header. operation/gis_maps/index.php: use function "print_page_header". 2010-03-01 Miguel de Dios * include/functions_gis.php: now function "getAgentMap" return true or false if there is default map or not. * operation/agentes/gis_view.php, godmode/agentes/agent_conf_gis.php: show message of error when there isn't a default map 2010-03-01 Miguel de Dios * extras/pandoradb_migrate_v3.0_to_v3.1.sql: update with the new data in the sql data file of pandora. include/config_process.php: update the version. 2010-03-01 Miguel de Dios * godmode/gis_maps/configure_gis_map.php: erase console log in some parts in javascript, and fix the fill a hidden input with the levels of zoom in a connection. 2010-03-01 Miguel de Dios * pandoradb_data.sql: add the default map from Open street map, and set active by default the GIS. * godmode/setup/gis_step_2.php: fix tiny bugs in the form that the default values for zooms were exchangeds. 2010-02-25 Miguel de Dios * include/functions_gis.php: use zoom level. * godmode/gis_maps/configure_gis_map.php: include the things about default zoom level in function "validateMapData", "getMapData" and add the function "getNumZoomLevelsOfConnectionDefault". 2010-02-25 Sancho Lerena * godmode/alerts/configure_alert_template.php, godmode/alerts/alert_templates.php, godmode/alerts/configure_alert_action.php, godmode/alerts/alert_actions.php: Show/Edit group for templates and actions. * include/functions_ui.php: Alert information now show the default actions properly,and the action conditions (max/min). * include/functions_alerts.php: Added support on get_alert_templates_types for new alert type "onchange". * pandoradb.sql * extras/pandoradb_migrate_v3.0_to_v3.1.sql: Added new support for alert type "onchange". * godmode/alerts/alert_list.php: Alert information now shows the default action (if exist) and have a link to edit the template directly from here. 2010-02-25 Miguel de Dios * godmode/agentes/agent_manager.php: fix dinamic show icon when change the select and show other icon the icon with "without status". 2010-02-25 Miguel de Dios * ChangeLog: I did'nt upload in previous commit the changelog. * include/functions_gis.php: refactor the name of function "addPoint" to "addAgentPoint". In function "get_agent_icon_map" add new parameter $status for pass the status. * include/javascript/openlayers.pandora.js: add function "js_addAgentPoint" is same more or less "js_addPoint" and too for "js_addAgentPointExtent" and "js_addPointExtent". * operation/gis_maps/render_view.php: add the id_parent in the call of "addAgentPoint". * operation/gis_maps/ajax.php: clean source code and add the id_parent to return json for each agent. 2010-02-25 Miguel de Dios * include/functions_gis.php: in function "addPath" fix the query to extract the path from a time. * operation/agentes/gis_view.php: add no-ajax control for filter the time to show path. 2010-02-25 Miguel de Dios * include/functions_gis.php: in function "addPath" add the parameter $history_time for to set limit in seconds to past where to start path. Use new parameter in function "getAgentMap". 2010-02-25 Miguel de Dios * operation/agentes/gis_view.php: change the empty message to standar. * godmode/menu.php: change the text of visual console builder and GIS map builder, and move to down the Conection GIS editor. * godmode/gis_maps/configure_gis_map.php: change some text. * godmode/gis_maps/index.php: use new header. * godmode/reporting/map_builder.php: change some text. 2010-02-25 Miguel de Dios * include/functions_gis.php: change the setup params "maxExtent", "maxResolution", "numZoomLevels" from map to baselayer. Add new function "getAgentsLayer" to get agent info of agents in layer, but only agents not in group in layer. * operation/gis_maps/render_view.php: use new function "getAgentsLayer". * operation/gis_maps/ajax.php: fix the extract agent gis info, and clean source code. 2010-02-25 Pablo de la Concepción * godmode/setup/gis_step_2.php: Modified to get the KEY to load the Google Maps Javascript for the used domain. Now it stores the key, but still it doesn't load dinamicaly the javascript to show the preview. 2010-02-24 Miguel de Dios * include/functions_gis.php: fix map to show correct position the agent icons in the function "printMap". * include/javascript/openlayers.pandora.js: fix map to show correct position the agent icons in the function "js_printMap". * godmode/gis_maps/configure_gis_map.php: fix a mechanographic mistake in a text. 2010-02-24 Miguel de Dios * include/functions_gis.php: in function "printMap" add the posibility to show the Static_Image base layer (WIP because it'snt show the icons), in function "getAgentMap" pass the status in the feature. * include/javascript/openlayers.pandora.js: in the function "js_printMap" add the posibility to show the Static_Image base layer (WIP). * operation/gis_maps/render_view.php: clean source code for the part of baselayers and add the code for Static Image baselayer. * godmode/setup/gis_step_2.php: clean source code uninitialize vars, add the preview static image var (WIP because it'snt show the icons). 2010-02-24 Pablo de la Concepción * godmode/setup/gis_step_2.php: Modified to be able to manage also Goolge Maps (TODO:preview and KEY management) and Static Images (TODO: preview). 2010-02-24 Miguel de Dios * include/functions_gis.php: fix the refresh time in function "activateAjaxRefresh", in functions "activateAjaxRefresh" and "addPoint" add status agent. * include/javascript/openlayers.pandora.js: add function "changeShowStatus" for change show icons by status, in function "changeRefreshTime" add reset timer, in function "js_addPoint" and "js_addPointExtent" add the state and hide if it's necesary. * operation/gis_maps/render_view.php: change the style of page, and add controls for hide agent icons by state. * operation/gis_maps/ajax.php: add the option "get_map_connection_data" in switch for get map connection data. * godmode/gis_maps/configure_gis_map.php: start to develop the preview map in editor. 2010-02-24 Pablo de la Concepción * operation/gis_maps/render_view.php: Changed PanZoom to PanZoomBar in the map. 2010-02-23 Miguel de Dios * include/functions_gis.php: in function "activateAjaxRefresh" add the posibility to change refresh time in execution time. * include/functions_ui.php: add in the "print_page_header" the feature to pass a array of buttons/items. * include/javascript/openlayers.pandora.js: add the function "changeRefreshTime" for change the refresh time. * operation/gis_maps/render_view.php: change the top of page for to adapt the new header, and add refresh control. 2010-02-23 Pablo de la Concepción * godmode/setup/gis_step_2.php, godmode/gis_maps/configure_gis_map.php: Usability improvements, change some texts, added some contextual tips. 2010-02-23 Miguel de Dios * include/functions_gis.php: change the function "activateAjaxRefresh" for refresh also the agent maps, and in the function "getAgentMap" show icon with status the agent maps. * operation/gis_maps/ajax.php: in the switch option "get_new_positions" return GIS data for agent maps, in the "point_agent_info" and "point_path_info" option change for new tables. * operation/agentes/gis_view.php: add the ajax moving agent and click bubble info. 2010-02-22 Sancho Lerena * include/functions_menu.php: Add calls for new enterprise ACL system. * include/config_process.php include/functions_config.php: Added new setup token for ACL enterprise. * index.php: Implemented new Enterprise ACL on page load. * extras/pandora_diag.php: Added new header style. * general/noaccess.php: Ending
was breaking layout. Fixed. * godmode/db/db_main.php: Added new header style. * godmode/menu.php: Added new Setup option for Enterprise ACL system. * godmode/snmpconsole/snmp_alert.php, godmode/setup/news.php godmode/users/configure_user.php godmode/reporting/map_builder.php: Added new header style. * godmode/setup/setup.php: Added new Setup option for Enterprise ACL system. * godmode/setup/setup_visuals.php: Added new header style. 2010-02-22 Miguel de Dios * operation/gis_maps/ajax.php: fix bug that pass wrong var to search status in function "get_agent_status". 2010-02-22 Miguel de Dios * include/functions_alerts.php: fix when try delete only the alerts from alert policies form. 2010-02-22 Miguel de Dios * images/groups_small/*.ok.png, images/groups_small/*.default.png, images/groups_small/*.bad.png, images/groups_small/*.warning.png: add the group images for diferent status, it's used in the GIS map. * godmode/agentes/agent_manager.php: change for new form to name the icons with status. * include/functions_gis.php: clean source code in function "addPoint", rewrite the function "get_agent_icon_map" for used icons with state for group, change some parts of source code in the function "getArrayListIcons" for new form to name the icons. * images/gis_map/icons/*.png: change some icons. * operation/agentes/estado_generalagente.php: show message when there isn't the GIS data. * operation/gis_maps/ajax.php: change the source code and db query to return the GIS data for return default position for agent without GIS data. * operation/gis_maps/render_view.php: show agents without GIS data. 2010-02-22 Miguel de Dios * operation/agentes/estado_generalagente.php: fix, use the new tables. 2010-02-20 Sancho Lerena * godmode/setup/setup.php: Fixed bug #2952636, thanks Junichi for the patch. * include/gettext.php: Applied patch to solve problem in 64bit systems. Thanks Junichi!. 2010-02-19 Sancho Lerena * functions_events.php: Fixed typo (switched meaning) in two labels. * include/styles/pandora.css: Changed background color of th default style. * include/functions_reporting.php: Improved function get_group_stats(). Now supports stats from batch-mode and get realtime stats in a more efficient way. Fixed get_fired_alerts_reporting_table() to avoid problems in external reporting (PDF & XML). * include/functions_servers.php: get_server_performance() now uses batch mode stats reporting, and improved also the realtime stats generation. Same with function get_server_info(). * include/functions_config.php: Added new config tokens (not fully implemented yet) for event, trap, strings and audit automatic purge. * include/functions_ui.php: Added new print_page_header() function to set the new standard header in all pages, using the "tabbed" format to show the title, subtitle and other options like help, or custom-tabs for the page * pandoradb.sql: Added tserver.stat_utimestamp field. Added indexes to tsession table. Fixed typo in field name in tgroup_stat: agents_uknown to agents_unknown. * extensions/ext_backup: New directory to place "deleted" extensions. * extensions/dbmanager/dbmanager.css: Table names now are in it's original lowercase/uppercase format. * extensions/dbmanager.php: Updated headers, and now return "empty" when a search is empty, instead "error" as before. * extensions/users_connected.php extensions/module_groups.php extensions/plugin_registration.php extensions/pandora_logs.php operation/incidents/incident.php operation/snmpconsole/snmp_view.php operation/users/user.php operation/users/user_edit.php godmode/agentes/planned_downtime.php operation/events/events.php operation/visual_console/index.php operation/agentes/estado_generalagente.php operation/agentes/estado_agente.php operation/agentes/exportdata.php operation/agentes/ver_agente.php operation/agentes/status_monitor.php operation/agentes/alerts_status.php operation/users/user_statistics.php: Added new header format. * operation/agentes/estado_grupo.php: Removed old group view. * operation/agentes/tactical.php: Adapted to use new realtime/batch statistical system. Placed events above server info. Showing only pending events and other minor changes. * operation/agentes/group_view.php: NEW screen, replacing old one. Probably most ugly, but much more useful than before. * operation/agentes/networkmap.php: Added title. * operation/messages/message.php: Added title and adding some exists in code was missing before. * operation/reporting/reporting_viewer.php: Added title. * operation/reporting/graph_viewer.php: Added title. * operation/reporting/custom_reporting.php: Added title. * operation/servers/view_server.php: * operation/menu.php: Replaced old group view with new (this has english name). Removed autorefresh "by default" in server view. * extras/pandoradb_migrate_v3.0_to_v3.1.sql: Fixed typo. * extras/pandora_diag.php: Minor changes, removed some info and added other. * general/logon_ok.php: Minor aesthetic changes. * general/header.php: Fixed missing ";" * operation/extensions.php, godmode/extensions.php: Added support for delete extensions. * godmode/menu.php: New setup items. * godmode/setup/setup.php, godmode/setup/performance.php, godmode/setup/setup_visuals.php: Reordered setup options, new setup section "Performance", added new performance options to set "realtime" statistics or "batchmode" with it's own interval. Some setup info is now shared with the servers (but it it's any change in setup, servers should be restarted anyway). 2010-02-19 Miguel de Dios * include/functions_gis.php: adapt to new tables. * include/javascript/openlayers.pandora.js * operation/gis_maps/render_view.php: adapt to new tables. * operation/gis_maps/ajax.php: adapt to new tables. * operation/agentes/gis_view.php: clean source code. 2010-02-18 Miguel de Dios * godmode/agentes/configurar_agente.php: fix the date to save into DB. 2010-02-18 Miguel de Dios * operation/gis_maps/render_view.php: change to use new tables. 2010-02-18 Miguel de Dios * include/functions_gis.php: check in the function "addPath" if the agent haven't history data. And clean source code. * operation/agentes/gis_view.php: change to use new tables, and show messages when the agent haven't data GIS. * godmode/agentes/agent_conf_gis.php: change the message for agent without data GIS. 2010-02-18 Miguel de Dios * include/functions_html.php: hightlight that the parameter $script in function print_input_text_extended isn't in use. * include/functions_gis.php: create function "getDataLastPositionAgent" that return row of position and other data for id agent. * godmode/agentes/agent_conf_gis.php: add the validate fields and adapt to new tables. * godmode/agentes/configurar_agente.php: adapt to new tables. 2010-02-17 Pablo de la Concepción * pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: Modified data model using a new table tgis_data_status to save the current GIS data and the table tgis_data_history to store the historical GIS data. That also means that the GIS related fields from the table tagente are now in the table tgis_data_status. The foreign key in the table tgis_map_layer to tgrupo has been droped because now it's possible to have layers without group, just agents. 2010-02-17 Miguel de Dios * include/functions_gis.php: add the parameter id layer in the function "makeLayer" for add the id layer (id of db) in the layer. Fill in the sourcecode in the function "activateAjaxRefresh" that now show new agents in the map in real time and add make changes in this function. * operation/gis_maps/render_view.php: use the new parameter in the call of function "makeLayer". * operation/gis_maps/ajax.php: add code to return new positions (and name and icon) when the ask the positions in "activateAjaxRefresh". 2010-02-16 Raúl Mateos * extensions/module_groups.php: Better description text. Changed font colour. 2010-02-16 Miguel de Dios * include/functions_gis.php: add the function "getMapConnection" get the row of connection for id connection, "updateMap" function update the all data in the DB, "validateMapData" function validate the map data previous update or save in the database and if it's invalid, write the css code for set colors and other styles, "getMapData" return all data about map for id map, "addConectionMapsInForm" tranlate the map connection array to html code and javascript for to write in the form when edit, "addLayerList" translate the layer array to html code and javascript for write in the form when edit. * operation/gis_maps/render_view.php: fix the link to edit map. * godmode/gis_maps/configure_gis_map.php: change many parts of the source code for add the method the edit in the form and add more usability to form. * godmode/gis_maps/index.php: fix the links to edit and view map. 2010-02-15 Pablo de la Concepción * extras/pandoradb_migrate_v3.0_to_v3.1.sql: Added cusstom colums ( custom_string_1, custom_string_2, custom_string_3, custom_integer_1 and custom_integer_2) to tnetwork_component, added also some configuration parameters that were missing. Reordering a bit. And fixed a missplaced ';' 2010-02-15 Eric Ross First batch of changes to implement the new log4x data type. Modified files to show the new data type: * include/functions_html.php * operation/agentes/estado_ultimopaquete.php * operation/agentes/datos_agente.php * operation/agentes/estado_monitores.php * pandoradb.sql: New table * pandoradb_data.sql: New data for new module type 2010-02-15 Miguel de Dios * include/functions_gis.php: in the function "saveMap" set the first map as default. * godmode/setup/gis_step_2.php: minor stetic change the link of refresh by button. * godmode/gis_maps/index.php: add many alerts in the change the default map and delete any map. And fix the delete map parameter. 2010-02-12 Miguel de Dios * include/javascript/pandora_modules.js: add support to snmp ver3 in the load network component. 2010-02-12 Miguel de Dios * pandoradb.sql: add new fields to tnetwork_component for support the snmp ver 3. * godmode/modules/manage_network_components_form.php, godmode/modules/manage_network_components_form_network.php godmode/modules/manage_network_components.php: add support to snmp ver 3, add the fields for this use, and now can create and edit network component with snmp ver 3. 2010-02-12 Miguel de Dios * godmode/modules/manage_network_components_form.php: clean source code and set correct ident. *godmode/modules/manage_network_components_form_network.php: remove the end of source code that it's unused. 2010-02-11 Miguel de Dios * include/functions_gis.php: clean source code, delete javascript debug info messages for firebug. * godmode/agentes/module_manager_editor_network.php, godmode/agentes/configurar_agente.php: add support for SMNP ver3 in the forms to add or edit "Network module". 2010-02-10 Sancho Lerena * godmode/db/db_main.php: Added new metrics about DB usage. Added last time pandora_db.pl was running in the system. * godmode/db/db_info.php: Added graphic from db_main * operation/reporting/reporting_viewer_pdf.php include/functions_reporting_pdf.php: Small fixes for PDF reporting. Decode entities to show texts correctly in description of each element. * pandoradb.sql: new enterprise structures. 2010-02-10 Miguel de Dios * include/functions_gis.php: in function "saveMap" now save the default connection. * operation/gis_maps/ajax.php: add option "get_data_conexion" for get by ajax the data connection when pass id_connection. * godmode/gis_maps/configure_gis_map.php: now you can set the default connection and too load the data by default for each connection. 2010-02-10 Pablo de la Concepción * godmode/gis_maps/index.php: Fixed regresion, standarized using map_id as parameter. * pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: Added column default_map to table tgis_map to mark the default map 2010-02-10 Sancho Lerena * events.php: Fixed a bad link with an invalid id_agent. * pandoradb.sql: Changes in several tables and new tgroup_stat table. Added several index and dropped some fields in tagente_datos and tagente_datos_string tagent_access. * godmode/setup/setup.php, * include/functions_config.php: Management of new timezone settings and realtime stats parameters. * include/config_process.php: New timezone management. Updated build. * pandoradb_data.sql: Build update. Added new tokens realtimestats and stats_interval. * install.php: Several changes: Now display GPL licence, better SQL error management, and steps are shown now as text instead a progress bar. Also show version and build of the installer. * extensions/dbmanager.php: Removed some warnings * extras/pandoradb_migrate_v3.0_to_v3.1.sql: Updated with latest changs. * godmode/agentes/module_manager_editor_network.php godmode/agentes/configurar_agente.php godmode/agentes/module_manager_editor.php: Implemented partial support for SNMP v3. Miguel will finish the work :-) * index.php: Session close function deprecated, replaced by a more standard method with unset. 2010-02-10 Miguel de Dios * include/functions_gis.php: add in the function "getAgentMap" a new parameter "centerInAgent" (default true) for center the map in the last position of agent. * operation/agentes/ver_agente.php: clean source code. * godmode/agentes/agent_conf_gis.php: add page that you can change the position of agent. * godmode/agentes/configurar_agente.php: add the code to update the changed coords of agent, and show the tab to access the agent_conf_gis.php. 2010-02-10 Miguel de Dios * include/styles/pandora.css: add lost style for disable button. * include/functions_gis.php: fix the function "getAgentMap" now back run. * include/functions_ui.php: clean source code. * operation/agentes/ver_agente.php: add require javascript openlayers.pandora.js. 2010-02-09 Miguel de Dios * include/functions_gis.php: clean source code, and extract the javascript code to openlayers.pandora.js. * include/javascript/openlayers.pandora.js: new file, have a source code of gis in javascript. * operation/gis_maps/render_view.php, operation/gis_maps/index.php, operation/agentes/gis_view.php, godmode/agentes/agent_manager.php, godmode/setup/gis.php, godmode/gis_maps/configure_gis_map.php, godmode/gis_maps/index.php: add the require javascript to "openlayers.pandora.js". * godmode/setup/gis_step_2.php: add the source code to improve usability, now can set with the mouse points of center and default position for agents without gis data. 2010-02-08 Pablo de la Concepción * general/header.php, extensions/module_groups.php: Applied patch from Junichi Satoh to fix Bug #2946318 2010-02-04 Miguel de Dios * godmode/menu.php: small stetical change in menu entry that I forget to commit in previus upload. 2010-02-04 Miguel de Dios * include/functions_gis.php: add javascript function "isInt" for test int values, rename some javascript functions for to avoid typing mistakes with similar name functions in PHP. Add the function "activateAjaxRefresh" and "getArrayListIcons". * operation/gis_maps/ajax.php: add new operation "get_new_positions" for ajax refresh the points. * operation/gis_maps/render_view.php: change the source code for to use new functions as "activateAjaxRefresh" for example. 2010-02-04 Miguel de Dios * operation/agentes/ver_agente.php: fix the show icon agent view. * images/gis_map/icons/dot_bad.png, images/gis_map/icons/dot_ok.png, images/gis_map/icons/dot.png, images/gis_map/icons/dot_warning.png: add one more icons for agent in GIS system. 2010-02-04 Miguel de Dios * godmode/agentes/configurar_agente.php, godmode/agentes/agent_manager.php: add in the agent config form the fields Icon agent select and Ignore new GIS data. 2010-02-01 Sancho Lerena Changes ported from 3.0 branch. * include/javascript/pandora_visual_console.js: Thiner lines in maps. * include/functions_visual_map.php: Fixed several issues in visual maps (bad hierarchy status color, limited depth for recursion, get unknown for agents and modules, and line color is now always associated to parent status) and non-status elements like labels, graphs or progress bars now doesnt propagate module status to parents. * include/functions_db.php: Added parameter to get_db_all_rows_sql() to avoid use of cache. Function process_sql() was not properly checking if cache usage was disabled and was always using cache. Added support for checking unknown status in get_agentmodule_status() function. * extensions/dbmanager/dbmanager.css, extensions/dbmanager.php: Fixed width of textarea. * operation/events/events.php: Fixed bug #2943907. * operation/agentes/exportdata.php: Fixed problem exporting CSV when data to export is TOO big, using an internal cache to read data. 2010-02-01 Raúl Mateos * operation/agentes/estado_agente.php: Changed colour order for module status. * include/help/en/help_agent_status.php: Improved help. 2010-01-29 Pablo de la Concepción * operation/gis_maps/render_view.php: Fixed call to get_agent_names to get the names in the same case as they are in the DB. * operation/agentes/gis_view.php: Changed size of the map to be relative * include/functions_gis.php: Fixed the call to addPoint in getAgentMap to use the new parameters. 2010-01-29 Miguel de Dios * godmode/reporting/map_builder.php: use "clean_cache" in the deleting of visual map. 2010-01-28 Miguel de Dios * operation/gis_maps/render_view.php: add the check if there aren't any connection to map. * operation/menu.php: change parameter "id" to "id_map". 2010-01-28 Miguel de Dios * include/functions_gis.php: add function "deleteMap" for to delete the map and other rows in tables related. * godmode/gis_maps/index.php: use the "deleteMap" in link of delete map. * include/functions_db.php: add function "clean_cache" for clean the problematic (sometimes) cache. 2010-01-27 Miguel de Dios * operation/gis_maps/ajax.php: clean source code, erased comment lines. * include/functions_gis.php, godmode/gis_maps/configure_gis_map.php: clean source, change the name of saveMap2 to saveMap. 2010-01-27 Pablo de la Concepción * include/functions_gis.php: Modiffied addPoint and addPointExtent to receive more parmeters so it's possible to use any kind of point. Modified comments on saveMap2 * operation/gis_maps/render_view.php: Used map_id instead if id when the parameter passed in the url is a map id. Fixed to work with the new function getMapConf. Improved "pure" view. Still some things are hardcoded and needs improvement * operation/gis_maps/ajax.php: Modified to suppor calls to get info of different kind of points. Removed hardcoded data. * operation/gis_maps/index.php: Used map_id instead if id when the parameter passed in the url is a map id. 2010-01-27 Miguel de Dios * include/functions_gis.php: fix a typing "print_r" in function "getMapConf" and fill with code the function saveMap2 and add the commment in format phpdoc. 2010-01-27 Pablo de la Concepción * include/functions_gis.php: Updated getMapConf to work with the new database model; 2010-01-27 Miguel de Dios * include/functions_gis.php: add the prototipe of function "saveMap2" at the moment for to develop in next hours or days. * include/javascript/jquery.json.js: add json plugin for jquery. * godmode/gis_maps/configure_gis_map.php: rewrite all source code, change the form and adapt to new gis tables. * godmode/gis_maps/index.php: few changes for more correct source code. 2010-01-27 Pablo de la Concepción * include/functions_gis.php: Added more Openlayers Controls to the case on the printMap function, fixed typo manual_placemen -> manual_placement, added gectConectionConf and getAgentMap functions (last one still with some hardcoded values). Function get_agent_last_coords now also returns the agent name. * operation/agentes/estado_generalagente.php: Added last position information, and timezone offset if is not 0 * operation/agentes/gis_view.php: Added map with the last position of the agent and table with the previous positions of the agent. * operation/agentes/ver_agente.php: Used agent icon to show status if icon_path is defined. 2010-01-26 Miguel de Dios * include/functions_gis.php: add functions "saveMapConnection" and "deleteMapConnection". * godmode/setup/gis_step_2.php, godmode/setup/gis.php: add the forms to make, edit and delete map connections. 2010-01-25 Sancho Lerena * include/functions.php: Fixed problem in show_event_type() function who mades events.php to do a invalid filtering by event status. * operation/events/events_rss.php: Added optional (commented code) support for filtering RSS request by the API ACL. need to implement a switch in the config array to use here ACLs or not. * operation/events/events.php: Fixed problem filterings events by status (warning, critical, normal and not-normal). 2010-01-25 Pablo de la Concepción * extras/pandoradb_migrate_v3.0_to_v3.1.sql: Added group column to control ACLs as it was done in pandoradb.sql. 2010-01-25 Miguel de Dios * pandoradb.sql: add the group column for SLA purposes. * operation/agentes/gis_view.php: page for GIS data in agents view. * operation/agentes/ver_agente.php: add the tab for GIS data. * operation/menu.php, godmode/menu.php: change the lines for show the entries in menu, now show the entries gis when it's set on. * godmode/setup/setup.php: add the field to set on or off the GIS features in the Pandora Console. 2010-01-25 Miguel de Dios * include/config_process.php: small fix for to erase a alert message in php when call a ajax.php. 2010-01-22 Sancho Lerena * include/help/es/help_alert_macros.php: Update spanish help for alet macros. 2010-01-22 Pablo de la Concepción * include/functions_config.php: Modified to handle activate_gis configuration parameter. And establish a default value. 2010-01-22 Pablo de la Concepción * pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql, pandoradb_data.sql: Modified the GIS related tables, to make a better GIS Data model, also included the activate_gis config parameter on tconfig. Added column timezone_offset to table tserver_export so the export server can send timezone information 2010-01-21 Miguel de Dios * include/config_process.php: use the flag "$develop_bypass" to change the method to show the php messages for developing purposes. 2010-01-21 Miguel de Dios * godmode/setup/setup.php: fix bug that overwrite the row of "Attachment store" field when put the row of field "IP list with API access". 2010-01-21 Miguel de Dios * ChangeLog: fix mistake with dates, sorry. 2010-01-21 Miguel de Dios * include/styles/menu.css, godmode/gis_maps, godmode/menu.php, godmode/gis_maps/configure_gis_map.php, godmode/gis_maps/index.php: add the page to manipulate the GIS maps and add the page to create (and edit not at the moment) the GIS maps. * operation/gis_maps/render_view.php: small changes in the develop of render, add events and popups. * include/functions_gis.php: add code for respond to events, add function "saveMap" to save a map. 2010-01-21 Miguel de Dios * include/javascript/OpenLayers/*: commit lost files of OpenLayer library. 2010-01-20 Ramon Novoa * godmode/setup/file_manager.php: Added support for file and empty directory deletion. 2010-01-20 Ramon Novoa * include/functions_fsgraph.php: Fixed paths for Fusion Charts. 2010-01-18 Miguel de Dios * include/functions_gis.php, operation/gis_maps/ajax.php: code for GIS maps, now show correctly the path points and start to show the popup for this points. * include/javascript/OpenLayers/lib/Gears/gears_init.js, include/javascript/OpenLayers/lib/OpenLayers/Format/ArcXML/Features.js: some files of OpenLayers that I erased in the previous clean. * images/spinner.gif: image for ajax loading. 2010-01-18 Miguel de Dios * operation/visual_console/render_view.php: fix style, add a white space. * include/styles/menu.css, include/styles/pandora.css: add styles for GIS maps. * operation/gis_maps/*, operation/menu.php, images/gis_map, godmode/setup/gis.php, godmode/menu.php: add first version of GIS maps. 2010-01-18 Miguel de Dios * include/javascript/OpenLayers/*: include the OpenLayers library into the Pandora file system for GIS use. 2010-01-15 Pablo de la Concepción * pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: Added column number_of_packages to tgis_data to track the number of data packages received while the agent is in the same position. 2010-01-15 Pablo de la Concepción * pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: Modified DB schema to give a default value to start_timestamp on tgis_data, without it as is a timestamp MySQL sets the default value as CURRENT_TIMESTAMP and also sets the CURRENT_TIMESTAMP ON UPDATE, setting the DEFAULT CURRENT_TIMESTAMP prevents MySQL to set the ON UPDATE CURRENT_TIMESTAMP. 2010-01-14 Pablo de la Concepción * pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: Modified DB schema to add, group_id and zoom_level to the table tgis_map and set the primary keys of the new tables as autoincremet. 2010-01-13 Pablo de la Concepción * pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: Modified DB schema to store more efficiently the GIS information,and added some comments to explain the use of the new columns. Also added the last change on the graph weights to the migrate script. 2010-01-12 Pablo de la Concepción * pandoradb.sql: Added GIS tables, and timezone_offset, icon, and update_gis_data to tagente. * extras/pandoradb_migrate_v3.0_to_v3.1.sql: Added new migration script * extras/pandoradb_migrate_v2.x_to_v3.0.sql: Removed old migration script 2009-12-31 Sancho Lerena * pandoradb.sql: Custom graph weights now can be float. * include/config_process.php: Updated version to 3.1-dev This is the first commit of 3.1 version ! :-) 2009-12-29 Sancho Lerena * pandoradb.sql: upps, too small, in huge systems could give a problem in the autoinsert ID. * extras/pandoradb_migrate_v2.x_to_v3.0.sql: Fixed a broken line that make problems in our upgrade script. Added upgrade for update manager from 2.x to 3.0 version URL. * include/Image/image_functions.php: PHP 5.2 and higher does not support (deprecated) get_mimetype. Avoiding headers lets the browser to decide contents of stream and now this works on modern PHP, before not :( * extensions/hello: Removed sample. * include/functions_servers.php: Fixed notice (division by 0). * include/functions_visual_map.php: Fixed problem in graphs embedded in the visual console maps (problem with & in fgraph call !!?). * include/config_process.php: Added supression of DEPRECATED system messages for PHP 5.2.11 or higher insted 5.3 * godmode/agentes/module_manager_editor_prediction.php: Fixed several missing fields in the prediction module edition. 2009-12-28 Sancho Lerena * module_manager_editor_common.php: Latest changes from mdtrooper break some code, reverted specific changes in order to work. * pandoradb.sql: tnetwork_component double(18,13) -> double (18,3) by a typo !¡¿?. That is the type for tagente_modulo. * includes/languages/* : Updated languages for 3.0 final release. * include/config_process: Fixed problems detected in system/user language settings. Now use config["language"] avoiding use of old token "language_code" * include/function_config.php: config["language"] is now a "stardard" config token, avoding to use as special one, was giving a big headache in order to maintain old compatibility. Now will use config["language"] always and create it if doesnt exist using english as base lang. * pandoradb_data.sql: Token is not "language" instead "language_code" * godmode/setup/setup.php: Use config["language"], manage like other variable in the sytem, avoiding conflicts and problems detected. 2009-12-27 Raúl Mateos * extensions/users/menu.png, extensions/dbmanager/menu.png: New files * extensions/users_connected.php: Added icon and changed menu section. Added new godmode function that allows the user to be edited. * extensions/dbmanager.php: Added icon. Added link to the db menu. * extensions/pandora_logs.php, update_manager.php: Changed menu section. 2009-12-24 Raúl Mateos * images/pandora_logo.jpg: New file, used in dashboard (dashboard should use the .png instead this .jpg. 2009-12-24 Miguel de Dios * godmode/agentes/module_manager_editor_common.php, godmode/agentes/module_manager_editor_network.php, godmode/agentes/module_manager_editor_wmi.php, godmode/agentes/module_manager_editor_plugin.php, godmode/agentes/module_manager_editor_prediction.php: fix bug to call enterprise function without test if the enterprise install. 2009-12-24 Miguel de Dios * include/functions_ui.php: fix bug that show SQL error message and don't show the actions for compound alerts. * include/functions_alerts.php: in function "get_alert_agent_module_actions" add the parameter compound for search compound actions. 2009-12-24 Miguel de Dios * godmode/agentes/module_manager_editor_common.php, godmode/agentes/module_manager_editor_network.php, godmode/agentes/module_manager_editor_wmi.php, godmode/agentes/module_manager_editor_plugin.php, godmode/agentes/module_manager_editor_prediction.php: change the lines to test if the form is for policy use. And clean source code. 2009-12-24 Sancho Lerena * DEBIAN/postinst: Fixed some perms on postinstall. * pandora_console_install: Fixed some perms on postinstall. * pandora_console.spec: Removed one blank space :-)) 2009-12-23 Ramon Novoa * include/functions_db.php: Fixed avg. calculation in custom reports. 2009-12-23 Miguel de Dios * godmode/agentes/planned_downtime.php: fixes bug in several fields of edit form downtime. Fixes: 2919938 2009-12-23 Sancho Lerena * include/config_process.php: Updated build. * godmode/agentes/planned_downtime.php: Fixed bad render when downtime is running. 2009-12-23 Miguel de Dios * include/functions_db.php: fix warning messages when pass only group as string or integer in the function "isAllGroups". * include/functions_reporting.php: fix ambiguous colummn in query in the function "get_group_stats". 2009-12-22 Miguel de Dios * include/functions_custom_graphs.php: fix the name of custom graphs in the config select box in widget. Fixes: 2918740 2009-12-22 Miguel de Dios * include/config_process.php, include/functions_db.php: fix alert message when the history DB is'nt setup. * general/header.php: fix alert message when the custom logo didn't exit. 2009-12-22 Miguel de Dios * include/fgraph.php: clean source code, fix when try show boolean without data, and some changes in "grafico_modulo_sparse". * operation/agentes/stat_win.php: clean source code. 2009-12-22 Miguel de Dios * include/functions_html.php: add debug function "f2str" that return as string any call of function, for example "var_dump". *include/fgraph.php: into function "grafico_modulo_boolean" re-add alarms, clean source code and show again the flash graph. *include/functions_db.php: fix the access to IP client, it used very deprecate var, that clean of notice php message of error for this cause. 2009-12-21 Ramon Novoa * include/api.php: Added an Enterprise API. 2009-12-21 Miguel de Dios * install.php: clean source code. * operation/agentes/datos_agente.php: fix bug, there was a wrong copy&paste, now there is correct parameters. Fixes: 2916332 2009-12-18 Sancho lerena * pandora_console.spec: Ypdated build. * pandora_console_upgrade: Applied patch for more verbose information, submitted in Sourceforge. * pandoradb_data.sql: Updated version to FINAL build and version ;-) * include/config_process.php: Updated build. 2009-12-18 Miguel de Dios * include/fgraph.php: fix the graph boolean, it's rewrite. Fixes: 2916195 2009-12-18 Ramon Novoa * include/functions_reporting.php: Fixed SLA calculation. Was not working. * include/functions_fsgraph.php: Fixed bug #2913813. * include/functions_config.php, include/config_process.php, include/fgraph.php, include/functions_db.php, operation/events/export_csv.php, operation/agentes/export_csv.php, operation/agentes/datos_agente.php, godmode/menu.ph: Added history database support. 2009-12-17 Miguel de Dios * pandora_console/godmode/reporting/graph_builder.php: fix blank row when redraw graph in builder, and fix the empty column agent name in table of modules. Fixes: 2916194 2009-12-17 Miguel de Dios * pandora_console/extensions/update_manager/load_updatemanager.php: add more info (Pandora version and build) to statistics in update process. 2009-12-16 Raul Mateos * include/config_process.php, DEBIAN/make_deb_package.sh: Preparing release changing version to final. 2009-12-16 Miguel de Dios * godmode/modules/manage_network_components.php: fix re-duplicate modules now only generate one copy. Fixes: 2915470 2009-12-16 Miguel de Dios * include/fgraph.php: fix print image error as tag instead content file when there is error in data string. And add new type of graph, error graph. Fixes: 2908174 2009-12-16 Miguel de Dios * ChangeLog: fix the days in the last dates. 2009-12-16 Miguel de Dios * include/functions_servers.php: tiny fix (a zero division) the tactical view when start with a empty Pandora. 2009-12-15 Miguel de Dios * include/fgraph.php: fix in the function "grafico_modulo_boolean" for show correct graph, and clean source code. * include/functions_extensions.php: change include_once to require_once for more security. Fixes: 2883786 2009-12-15 Ramon Novoa * include/functions_fsgraph.php: Fixed bug #2913813. 2009-12-14 Miguel de Dios * ChangeLog: fix before copy&paste. 2009-12-14 Miguel de Dios * include/swiftmailer/* : add the library "Swift Mailer" for make more easy and less bugs the source code. 2009-12-13 Raul Mateos * include/styles/pandora.css: Changed some colours. * godmode/reporting/map_builder_wizard.php: Updated title. 2009-12-09 Miguel de Dios * include/functions_db.php: change the function "get_db_all_row_by_steps_sql", now it support more connection with parameter $new for new conection and $result for connection. * operation/events/export_csv.php: rewrite to adapt the new "get_db_all_row_by_steps_sql". 2009-12-09 Raul Mateos * images/god9.png: New image. * include/styles/menu.css: Added style for new menu item. * godmode/menu.php: New menu item. * godmode/reporting/map_builder.php: Updated internal links and title because it will be a new entry in the menu. * operation/visual_console/render_view.php: Updated internal link for setup. 2009-12-09 Raul Mateos * godmode/reporting/map_builder.php: Changed H1 to H3, to maintain coherence. * operation/visual_console/render_view.php: Added title. 2009-12-09 Raul Mateos * godmode/reporting/reporting_builder.php: Print table of items only if the the tables has data, else print no items defined. 2009-12-09 Miguel de Dios * godmode/reporting/reporting_builder.php: Test empty title report before on submit in javascript, and test empty this title in PHP. Fixes: 2910627 2009-12-09 Raul Mateos * godmode/db/db_info.php: Added icon to download database info. * include/style/tip.css: Removed unused style. Still help style is in the file. Not removed, maybe used some day... * operation/agentes/estado_grupo.php: Added colours to the numbers. Added the text "modules". 2009-12-09 Raul Mateos * include/fgraph2.php: Deleted test file, never used. Will ezComponents graph be used someday...? 2009-12-08 Miguel de Dios * include/functions_db.php: in function "create_user_profile" add the parameter $assignUser to set assign user in table. And add the function "get_db_num_rows" that return the num of rows get from SQL. * include/functions_api.php: add functions for new calls in the API, "set_new_user" create new user, "set_delete_user" delete a user, "set_add_user_profile" attach a user into group and profile, "set_delete_user_profile" deattach a user into group and profile, "set_new_incident" add new incident, "set_new_note_incident" add into new note into incident. 2009-12-08 Raul Mateos * include/auth/*.php: added style to error when accessing the files directly. 2009-12-08 Miguel de Dios * operation/agentes/networkmap.php: fix style for to clean form in networkmap when active "No Overlap". Fixes: 2821967 2009-12-08 Miguel de Dios * include/functions_db.php: add in "get_db_all_rows_filter" new parameter $returnSQL for return the string formated SQL instead the data. And add new function "get_db_all_row_by_steps_sql" that return row by row the data of query. * operation/events/export_csv.php: fixed the memory overload when try save into CSV a 10000 events or more, now use "get_db_all_row_by_steps_sql" for extract row by row the data. Fixes: 2859758 2009-12-08 Miguel de Dios * operation/events/events.php: fix notice undefined var message. 2009-12-08 Miguel de Dios * include/functions_agents.php, operation/agentes/tactical.php: fix notice undefined var message. 2009-12-07 Pablo de la Concepción * Changelog: Changelog with the last changes that I forgot to include in the last commit. 2009-12-07 Pablo de la Concepción * include/functions_api.php, include/functions.php, extensions/plugin_registration.php, operation/events/events.php, operation/agentes/exportdata.php, operation/agentes/stat_win.php, godmode/setup/setup.php, godmode/agentes/configurar_agente.php, godmode/agentes/agent_manager.php, godmode/reporting/reporting_builder.php, godmode/reporting/map_builder.php, godmode/reporting/graphs.php, godmode/reporting/graph_builder.php, godmode/alerts/alert_list.php: English text strings updated to be more clear. * include/languages/index.pot: Regenerated with updated strings 2009-12-07 Miguel de Dios * include/functions_modules.php: in the function "create_agent_module" add new parameter $disableACL (by default false) for use in API. * include/functions_api.php: add new functions for add new features to api, functions: "set_new_agent" create agent, "set_delete_agent" delete agent, "set_create_network_module" create network module, "get_module_data" get module data as CSV format in a period time, "get_graph_module_data" get a image file of module data in a period time. * include/functions_db.php: in function "delete_agent" add new parameter $disableACL (by default false) for use in API for example. * operation/agentes/datos_agente.php: clean source code. 2009-12-07 Miguel de Dios * operation/agentes/datos_agente.php: add a select box for select chunck to time to show data of agent module. 2009-12-05 Sancho Lerena * operation/agentes/estado_monitores.php: Names and description was cutted and not shown as popup description. Fixed. 2009-12-05 Raul Mateos * install.php: Modified description for XML_RPC. * extensions/pdate_manager/lib/libupdate_manager_client.php: Format error page if XML_PRC not found. 2009-12-05 Raul Mateos * images/pandora.png, pandora_logo.jpg: Deleted old files. * images/image_problem: Change background with new logo. 2009-12-04 Raul Mateos * include/config_process.php: Solved notice when PHP < 5.3 * general/header.php: Add some alts and title. * general/include/cluetip.css: Changed .gif to .png. * images/daarrow*.png: New files, converted from .gif files. * Changelog: Format dates. 2009-12-04 Miguel de Dios * operation/agentes/datos_agente.php: fix the bug when you have a large, very large list of data of module. And add the pagination. Fixes: 2908241 2009-12-04 Sancho Lerena * extensions/users_connected.php: New extension that shows currently active users connected to console. * extensions/pandora_logs.php: New extension that show to the user the contents of main log files (console, and server logs) only for Pandora administrators, of course. * general/header.php: Removed text label, this give problems on some languages and doesn't give needed information. * include/styles/pandora.css: Modified style for 3.0 * images/pandora_textlogo.png, images/pandora_header_logo_enterprise.png, images/custom_logo/none.png images/custom_logo/sourceforge.png images/custom_logo/artica_logo.png images/header.jpg images/pandora_header_logo.png images/pandora_logo.png: New logos and background for 3.0 style. * general/login_page.php: Updated style. * general/logon_ok.php: Removed small bug in the audit log block. * general/header.php: Pandora logo is now in left, and custom logo at right. * include/functions_config.php: By default custom logo is "none" 2009-12-04 Miguel de Dios * godmode/alerts/alert_templates.php: use the function to translate the seconds time to "human time" for time threshold. Fixes: 2905968 2009-12-03 Miguel de Dios * operation/agentes/estado_ultimopaquete.php: fix the column of data with a empty module string. Fixes: 2881181 2009-12-03 Miguel de Dios * godmode/agentes/module_manager_editor_common.php: clean source code. * include/functions_reporting.php: fix the query to count bad modules for SLA. Fixes: 2908101 2009-12-03 Miguel de Dios * godmode/reporting/map_builder.php: tiny fix the text for select all modules in select box. Fixes: 2897433 2009-12-01 Sancho Lerena * include/functions_reporting.php: Fixed some innacurate queries, skipping non-init modules, async modules and keepalive modules. * include/functions_servers.php: Improved LAG calculation algorithm, now is VERY precise. Added performance meter for local & remote checks. * include/config_process.php: error_reporting() has better default values now (skipping notices and non-important messages) for pandora_console.log * include/functions_agents.php: Fixing a problem in an alert SQL on function get_agent_alerts_simple(). * include/functions_db.php: get_server_info() moved to functions_servers.php * operation/events/events.php: Fixed a bug with pagination and other bug with user validated events search. * operation/agentes/status_monitor.php: Better management of async modules, non init and unknown modules. Now works as expected. * operation/agentes/estado_monitores.php: Removed blank space between icons to let table row more compact. * operation/agentes/tactical.php: Added performance information. Removed some information (not used) from snmp and recon servers. * general/header.php: Latest changes here don't work as expected. Rewritten and now works fine (enterprise/open logo in header). * godmode/admin_access_logs.php: Fixed pagination bug in tracker. Added table layout with two alternate colors (rowOdd method). * operation/servers/view_server.php, * godmode/servers/modificar_server.php: Added include to functions_servers.php to use the new server functions, moved from functions_db.php. 2009-12-01 Miguel de Dios * include/functions_alerts.php: fix the select box of correlation alerts, now it has the XOR operation. Fixes: 2849260 2009-12-01 Miguel de Dios * extensions/module_groups.php: fix the style of page, adjust the with of table of modules, and fix the description text that fail in panoramic style. Fixes: 2866316 2009-12-01 Sancho Lerena * include/functions_reporting.php: SLA readjust to be used in SLA view. * include/config_process.php, * include/functions_config.php: Added support for custom_logo option. * include/help/en/help_agent_access.php, include/help/en/help_custom_logo.php: New help topics. * include/functions_agents.php: Replaced audit_db with pandora_audit(). * include/functions_db.php: pandora_audit() will replace audit_db(). * operation/agentes/sla_view.php: now show render ok modules with min_critical defined and uses to calculate automatically a SLA based on it's critical definition. * operation/messages/message.php: Message view was not working!. Fixed * Some new images added: images/people_2.png images/MiniLogoArtica.jpg images/pandora_header_logo_enterprise.png images/custom_logo images/custom_logo/sourceforge.png images/custom_logo/artica_logo.png images/custom_logo/pandora_logo_head.png images/pandora_header_logo.png images/people_1.png: * general/header.php: Changes to add new custom logo feature and replace logos with a image instead text. * godmode/setup/setup_visuals.php: now is possible to choose a custom logo to be displayed in header. *operation/agentes/ver_agente.php, * godmode/agentes/configurar_agente.php: Tabs do not have text at sides. This avoid problems in other languages different than english with long text strings. 2009-11-30 Miguel de Dios * include/functions_agents.php: added new parameter for order the result of query, $orderby. * operation/agentes/alerts_status.php, godmode/alerts/alert_list.php: use new parameter to order by module name. Fixes: 2902603 2009-11-30 Miguel de Dios * include/functions_ui.php: show the deault action with other style. Fixes: 2905966 2009-11-30 Miguel de Dios * include/functions_alerts.php: fix deletion of compound alerts in the function "delete_alert_agent_module". Fixes: 2902618 * godmode/agentes/configurar_agente.php: use the "delete_alert_agent_module" instead the sql method. 2009-11-30 Miguel de Dios * godmode/agentes/configurar_agente.php: delete the simple alerts asociated to deleted module. 2009-11-30 Miguel de Dios * include/functions_agents.php: fix now don't show alerts with delete pending modules. * index.php: clean source code, end return that show in browser. 2009-11-30 Raul Mateos * godmode/servers/plugin.php, godmode/reporting/map_builder.php, godmode/profiles/profile_list.php, godmode/reporting/map_builder_wizard.php, godmode/agentes/module_manager.php, godmode/agentes/planned_downtime.php: Better use of icons in creating components, improving appearance. * DEBIAN/make_deb_package.sh: Changed version string from rc2 to RC3. 2009-11-27 Sancho lerena * operation/menu.php: User section has no ACL check, always can be seen. * index.php: Added suppor for user-defined custom language (this code was on my disk for 3 months, pending to be commited!). * include/functions_db.php, * include/functions_agents.php, * godmode/alerts/alert_list.php, * godmode/agentes/modificar_agente.php, * godmode/agentes/configurar_agente.php: Added audit calls to several management operations who don't have or have insufficient audit info. * godmode/users/configure_user.php: Fixed several annoyings bugs. Added custom language support, and added more audit info on management operations. * godmode/users/user_list.php: More audit info. * include/config_process.php: Add new debug option to render error log to /pandora_console.log. Also set timezone if not defined (this makes warnings on several PHP 5.x setups). Added user custom language support. * include/functions_events.php: More audit info. Fixed problems with HTML encoding render. * functions_io.php: Some cleaning. * include/functions_messages.php: Fixed problems with HTML encoding render. * functions_ui.php: Fixed problems with HTML encoding render in print_string_substr() function. * auth/mysql.php: is_user_admin() functions seems to be broken ¿?¿!. Fixed. * styles/pandora.css: removed green colored left border in default style. * message.php, incident*: Fixed problems with HTML encoding render. * user.php: Better ACL check before let user to view/edit another user. * user_edit: Removed some un-used form fields, some arrangements in layout, and FIXED forever problems with password change (new code written). * users/user_statistics.php: Now user can see its own audit records. 2009-11-27 Miguel de Dios * include/functions_html.php: add disabled parameter in functions, "print_input_password" and "print_checkbox". * godmode/agentes/module_manager_editor_common.php, godmode/agentes/module_manager_editor_network.php, godmode/agentes/module_manager_editor_wmi.php, godmode/agentes/module_manager_editor_plugin.php, godmode/agentes/module_manager_editor_prediction.php: check the module is in any policy and disable some form fields. Fixes: 2902631 2009-11-26 Miguel de Dios * include/functions_alerts.php: add more values into function "get_alert_template_threshold_values", values as 1 week, 2 weeks, 1 month and 6 months. * godmode/alerts/configure_alert_template.php: change the default value to 1 day. Fixes: 2902458 2009-11-25 Miguel de Dios * include/functions_ui.php: fix the bug in the pagination that write wrong the url of pages. Fixes: 2903774 2009-11-25 Miguel de Dios * operation/events/events_rss.php: fix the bug in the creation of xml. Fixes: 2902134 2009-11-25 Miguel de Dios * operation/agentes/status_monitor.php: fix the what interval to check in the monitor. Fixes: 2902446 2009-11-25 Miguel de Dios * include/functions_filemanager.php: fix bug that the url content "//" in cases for example install in root of www directory. Only fix in this part of source code because the rest of sources run fine. Fixes: 2903005 2009-11-25 Miguel de Dios * index.php: clean source code, the blank end line in the end of document and show in the browser too. * include/functions_ui.php, operation/agentes/alerts_status.php: add new colummn, the action column that it show the actions of alert. * godmode/alerts/alert_templates.php: add the 'Time threshold' in the tooltip. 2009-11-25 Miguel de Dios * include/functions_modules.php: fix the deletion of module in the function "delete_agent_module" for change the name to avoid the row collision. This change is advised by Sancho lerena. 2009-11-25 Miguel de Dios * include/functions_io.php, include/functions.php: change and add functions for manage the input output with correct encoding and decoding. *include/functions_html.php, include/functions_ui.php, operation/agentes/status_monitor.php, operation/agentes/estado_ultimopaquete.php, operation/agentes/estado_monitores.php: change the function "salida_limpia" for "safe_output" and other changes. 2009-11-25 Miguel de Dios * godmode/alerts/alert_list.php: add column status of alert in alert management view in agent. 2009-11-22 Raul Mateos * images/spinner.png, images/background-li.png: New images converted from gif. * *.php: Changed several files from spinner.gif to spinner.png. * extensions/update_manager/settings.php: Changed header. 2009-11-21 Raul Mateos * godmode/alerts/alert_list.php, operation/events/events.php, operation/snmpconsole/snmp_view.php: Use down icon instead wand icon, due to wand is reserved for creation purposes. * godmode/agentes/module_manager_editor.php: Added header and down icon. 2009-11-21 Raul Mateos * extensions/*.php: Changed title for all extensions, improving common apparence. By the way... It's my brithday!!! 2009-11-19 Miguel de Dios * include/functions.php: change the "safe_input" for estandarize the input and clean bugs for this cause. Now Pandora Console depends of 5.2.3 PHP version or up. * extensions/dbmanager.php: change the source code to use correctly the "safe_input". 2009-11-19 Miguel de Dios * godmode/modules/manage_network_components_form_plugin.php: tiny fix in the size of field "plugin_parameter". 2009-11-18 Miguel de Dios * operation/agentes/exportdata.php: change "search_agents" in the ajax, now you can add paramater "add" as array json with the names of agents or other things that you want show in the box of result. * operation/events/events.php: change the select box for a ajax autocomplete box for agent form filter. 2009-11-16 Miguel de Dios * godmode/reporting/reporting_builder.php, godmode/reporting/graph_builder.php, godmode/alerts/alert_list.php: fix the bug that show the modules "pending delete" in more select box in some forms. Fixes: 2894921 2009-11-12 Miguel de Dios * godmode/db/db_sanity.php: fix typo error there was one "zero" more in query SQL. Fixes: 2895298 2009-11-12 Sancho lerena * include/help/en/help_web_checks.php: Added missing help. * include/help/en/help_alert_macros.php: Added missing macros. 2009-11-11 Miguel de Dios * include/functions_reporting.php: fix the debug trace I forget in source code. 2009-11-11 Miguel de Dios * godmode/agentes/configurar_agente.php: fix the web module, change the field to save the request retry. * godmode/agentes/configurar_agente.php: change the query for tactical view the counts of modules before count the disabled modules. 2009-11-10 Sancho Lerena * pandora_console.spec: Fixed small problem with .spec * DEBIAN/control: Edited package description. * DEBIAN/make_deb_package.sh: Several changes, deletion and copy of files and .svn are not made with cp and xargs | rm: Faster. 2009-11-07 Sancho Lerena * include/config_process.php: COme back to non-persistent pconnect who seems to raise some "MySQL has gone away" in PHP 5.3.x * extensions/update_manager/sql/update_manager.sql: Updated update manager URL to point 3.0 version. 2009-11-07 Raul Mateos * operation/servers/view_server_detail.php: Change title to show the father section and some added texts. * include/help/en/help_*.php: Several language fixes. 2009-11-06 Raul Mateos * operation/agentes/tactical.php, general/logon_ok.php: Use the same order for summary, use the same colors (some from tango palette) in both files. * images/status_sets/default/server_ok.png: Use the same colour as the other OK status images (from tango palette). * DEBIAN/make_deb_package.sh: Improved english texts. 2009-11-06 Miguel de Dios * operation/snmpconsole/snmp_view.php: fix and optimize the query to traps in DB, because the old style didn't run with paginator and it was slow with much traps registers. * operation/agentes/status_monitor.php, godmode/alerts/configure_alert_compound.php: little fix arround the code style. 2009-11-04 Miguel de Dios * DEBIAN/control: fix dependencies, not necesary mysql-server, because the mysql can install in another machine. 2009-11-04 Ramon Novoa * godmode/snmpconsole/snmp_alert.php: An agent, OID and custom OID may be specified at the same time. 2009-11-04 Raul Mateos * operation/agentes/alerts_status.php: different colour for table header. * operation/agentes/tactical.php: Use red colour from tango palette. * godmode/alerts/alert_lists.php, godmode/alerts/alert_compounds.php, godmode/alerts/configure_alerts.php: Added text if no alerts defined. * Changelog: Added missed change. * DEBIAN/make_deb_package.sh: Small change from rc1 to rc2. 2009-11-04 Miguel de Dios * DEBIAN/make_deb_package.sh: simplify the source code of script. 2009-11-03 Miguel de Dios * godmode/alerts/alert_list.php: fix notice alert php describe in the tracker of sourceforge. * godmode/alerts/alert_compounds.php: fix the SQL query bug in PHP when load this page without agent in Pandora. Fixes: 2891215 2009-11-03 Miguel de Dios * godmode/agentes/module_manager_editor_plugin.php: fix the size of field "Plugin parameters". Fixes: 2888996 2009-11-03 Miguel de Dios * godmode/users/configure_user.php: fix to set the admin user when you create new user. 2009-11-03 Miguel de Dios * DEBIAN/make_deb_package.sh: move the script to make the deb package into the DEBIAN and change some things into the sourcecode for the directory change. 2009-11-03 Raul Mateos * godmode/alerts/configure*.php: Improving integrity of appareance in title. * godmode/alerts/alert_actions.php, godmode/alerts/alert_templates.php: Added text if no action or template defined. * godmode/alerts/alert_list.php: Small fix * include/styles/pandora.css: Use red colour from tango palette in error. 2009-11-02 Sancho Lerena * include/config_process.php: Updated build/version. * pandora_console.spec: Updated to release 2; preparing the rc2. * godmode/agentes/module_manager.php: Fixed a small problem, don't allow to create network modules if not have the snmpconsole due a bad SQL. Fixed. * include/api.php: Removed ending line. 2009-10-30 Ramon Novoa * operation/snmpconsole/snmp_view.php: Added a status filter. Fixed deletion confirmation. 2009-10-30 Miguel de Dios * include/functions_api.php: fix the tiny bug that not set the default separator in function "get_tree_agents". * godmode/reporting/reporting_builder.php: fix the bug that don't change the select box of module. Fixes: 2888988 2009-10-30 Miguel de Dios * DEBIAN/control, DEBIAN/md5sums, DEBIAN/postinst, DEBIAN/prerm, DEBIAN/conffiles: sorry, I had the permissions to directory DEBIAN not "755" and in the previus commit don't upload. 2009-10-29 Miguel de Dios * DEBIAN/postinst: add the same message as RPM in the finish installation. 2009-10-29 Miguel de Dios * DEBIAN/control, DEBIAN/md5sums, DEBIAN/postinst: debian base files for to make a .deb package. * make_deb_package.sh: shell script for make automatically the debs packages for standard installation in a Debian Lenny, this script make two packages "pandorafms.console_3.0.0.rc1.deb" and "php-xml-rpc_1.5.2-1_all.deb" the rest of packages dependencies is in official Debian repositories. 2009-10-27 Miguel de Dios * include/functions_api.php: extend the funcionality "returnError". 2009-10-27 Miguel de Dios * include/functions_api.php: add in the function "isInACL" the posibility to no filter if set in ACL the character "*". 2009-10-26 Ramon Novoa * extensions/update_manager.php, operation/incidents/incident.php, operation/menu.php, godmode/setup/links.php, godmode/users/configure_user.php, godmode/agentes/planned_downtime.php, godmode/agentes/agent_manager.php, godmode/reporting/reporting_builder.php, godmode/reporting/map_builder.php, godmode/reporting/graphs.php, godmode/reporting/graph_builder.php, godmode/alerts/alert_templates.php, godmode/menu.php: Several ACL related fixes. 2009-10-26 Miguel de Dios * pandora_console/godmode/agentes/module_manager_editor.php: fix the bug in when create a module manually in open versión of Pandora Console. 2009-10-26 Miguel de Dios * pandora_console/include/functions_api.php, pandora_console/include/api.php: new feature, API to call by format url for values or CSV list of values to connect Pandora with your or other aplications. Please see the wiki for more information. * pandora_console/include/functions_agents.php, pandora_console/godmode/setup/setup.php: add the field ACL IP list for access API and change the function "update_config_value" for divide in chunks the list of IPs and save in serveral rows (if necesary). And change the function "process_config" to paste the chunks of rows in one config item. * pandora_console/include/functions_config.php, pandora_console/include/functions_db.php: changes for engage the API with Pandora Console. The function "get_agent_alerts_simple" add parammeter "allModules" return all modules (disabled and enabled). The function "get_group_agents" add the parameter "noACL" for engage the API call. * pandora_console/godmode/agentes/agent_manager.php: fix typo and ident source code. 2009-10-26 Miguel de Dios * pandora_console/operation/agentes/exportdata.php: fix the export data the order of dates were wrong. 2009-10-26 Miguel de Dios * pandora_console/godmode/alerts/alert_list.php: fix bug that load ajax empty select of actions. Fixes: 2885901 2009-10-21 Miguel de Dios * include/functions_ui.php: add param "style" in the function "print_agent_name" for set the css style in the agent name return html string. Add in the "format_alert_row" the features: show icon policy from enterprise and css grey disabled alert. *include/functions_agents.php: add in the function "get_agent_alerts_simple" and the function "get_agent_alerts_compound" the search "filter" param posibility "all_enabled". * operation/agentes/alerts_status, godmode/alerts/alert_list.php: add the show rows of disabled alert, and add the select the "all (enabled)" (by default show only alerts enabled). And add the icon of policy in the enterprise version. 2009-10-21 Miguel de Dios * include/functions_events.php: tiny fix, the icon for event not validate was old file. 2009-10-21 Miguel de Dios * operation/search_results.php: fix interval agent in the search result list. 2009-10-21 Ramon Novoa * include/functions_custom_graphs.php, operation/snmpconsole/snmp_view.php, operation/events/events.php, godmode/servers/manage_export.php, godmode/servers/manage_recontask.php, godmode/servers/modificar_server.php: ACL related fixes. 2009-10-20 Sancho Lerena RC1 Release * include/help/en/help_ff_threshold.php: Added missing help topic. * general/error_perms.php, general/error_install.php: Removed print of version, don't know this variable at this point. 2009-10-20 Miguel de Dios * pandora_console/operation/menu.php, pandora_console/godmode/reporting/graphs.php, pandora_console/godmode/reporting/graph_builder.php: clean debug trace functions. * pandora_console/godmode/agentes/module_manager.php, pandora_console/godmode/alerts/alert_list.php: add the enterprise column that it has a icon when the alert or module is make for policy. * pandora_console/godmode/agentes/agent_manager.php: fix bug that when create a new agent and in the md5 dir has a file with the next name d41d8cd98f00b204e9800998ecf8427e, that name is a md5 of empty string. When you has this file, the form take as conf file. 2009-10-20 Sancho Lerena * include/help/en/help_alert_macros.php: Updated help. * include/fgraph.php, include/functions_fsgraph.php: Solves a small problem with Flash graphs when pandora fms console install dir is "/". * include/functions_db.php: Fixed bug #2859919 (Transaction lock timeout). * include/error*: Fixed a formatting error and added better error message when mysql is up but credentials doesn't work. 2009-10-17 Miguel de Dios * include/functions_custom_graphs.php, operation/reporting/graph_viewer.php, godmode/reporting/graphs.php, godmode/reporting/graph_builder.php, godmode/menu.php: change the process to create graphs, now you can edit all parts of any grahps (edit, delete, add..) and has a list of graphs. Start to add ACL in graphs...only pending test. 2009-10-17 Miguel de Dios * godmode/alerts/alert_list.php: set default action in alert combo box when you make a new alert. 2009-10-16 Raul Mateos * include/config_process.php: Update build after last changes. * godmode/agentes/planned_downtime*.php: Improving integrity of appareance in title. * Changelog: Correct some dates. 2009-10-16 Sancho Lerena * include/functions_db.php: Updated description for ACL flags. 2009-10-14 Miguel de Dios * include/javascript/pandora_modules.js, godmode/agentes/module_manager_editor.php: add the type as parse in the module data in the local component, in the ajax (request in php and load in js). 2009-10-14 Miguel de Dios * operation/agentes/status_monitor.php: fix, show only monitor in unknow status when you click in the "Unknown monitors" in tactical agent view. 2009-10-14 Miguel de Dios * general/ui/agents_list.php: remove the pass-by-reference in the two calls to "render_agent_field" because it are not necesary that in the function "render_agent_field" there aren't any change in the $agent param. * include/styles/pandora.css: fix minor bug that the path to arrow.png was wrong. 2009-10-13 Sancho Lerena * operation/events/events.php: Replaced old icon (red cross) by a white tick. * images/tick_off.png: White tick. * include/config_process.php: Ooopps, this is RC1 ! Upps, Tuesday #13, bad day for a last commit before launch RC1 ! :-S * general/logon_ok.php: Fixed ugly format of table showing last activity (has a too wide table width). * godmode/admin_access_logs.php: Removed that crappy div fashion code and replaced by old and reliable table-based-code :-) to fix the mess with the pagination. * godmode/agentes/configurar_agente.php: fixed problem with postprocess values very bug (like 0.0000000123), parameter is now passed as string because PHP is passing the value as scientific notation and mYsql don't understand that. * operation/agentes/exportdata.php, * operation/search_results.php, * godmode/reporting/map_builder.php, * godmode/agentes/agent_manager.php, * godmode/reporting/graph_builder.php, * godmode/agentes/modificar_agente.php: Added non-case search SQL code for make agent searches non case sensitive (nombre COLLATE utf8_general_ci LIKE...) * module_manager_editor_common.php: More size for postprocess field. * pandora_console/godmode/alerts/configure_alert_action.php: More width for field2 in action form. * godmode/alerts/configure_alert_command.php: Command field has more width and added a help icon for macro subtitutions. * include/functions_db.php: get_agent_name() now defaults to non uppercase the agent names, because 3.0 has case sensitive agent names, and all data must show the real Case. * include/styles/pandora.css: removed uppercase transition for menu items and agent tabs. * operation/agentes/estado_agente.php: Agent is not shown in uppercase anymore. * operation/agentes/estado_generalagente.php: Agent name and parent name is not in uppercase. OS version shows only last 15 characters or full string if strlen() < 15. * operation/agentes/status_monitor.php: Agent name is not in uppercase anymore. 2009-10-08 Ramon Novoa * include/functions_ui.php, include/functions_incidents.php, operation/incidents/incident_detail.php: Security related fixes. Thanks to ~finalbeta and ~remove from the Global-Evolution Security Group. 2009-10-07 Miguel de Dios * pandoradb.sql, extras/pandoradb_migrate_v2.x_to_v3.0.sql: change the field "name" in the table "tagente" to binary varchar. * include/functions_events.php, operation/events/events.php: add new columns, the severity colummn and the validate colummn. * images/tag_red.png, images/tick.png, images/status_sets/default/severity_informational.png, images/status_sets/default/severity_maintenance.png, images/status_sets/default/severity_critical.png, images/status_sets/default/severity_warning.png, images/status_sets/default/severity_normal.png: add the new files to use in the events list new colummns. * include/help/en/help_eventview.php: change the content in this help for show help info of new colummns. Comments: I hate the massive and mixed commits...but I have not choice, and in this commit there are two parts, the changes in the sql table and the changes in the event list colummn. 2009-10-06 Miguel de Dios * godmode/reporting/reporting_builder.php: fix in part the bug #2870769, exactly the second and third paragraph. 2009-10-06 Miguel de Dios * operation/agentes/estado_generalagente.php, operation/agentes/estado_agente.php: change the intervals, and use the new function "getNextAgentContact" for interval in agent view. 2009-10-06 Miguel de Dios * include/functions_agents.php: add the function "getNextAgentContact" that return the percentage of time for next contanct of agent (pass as id_agent). 2009-10-06 Miguel de Dios * include/fgraph.php: lost in the last commit this file, fix the path for javascript. 2009-10-06 Miguel de Dios * operation/agentes/stat_win.php: fix the jquery lost in the last commit, fix the auto-refresh graph, fix z-index level for calendar and fix the set begin data for graph. Fixes: 2857280 2009-10-06 Miguel de Dios * godmode/agentes/agent_manager.php: change the textbox interval for "print_extended_select_for_time" widget. * include/styles/pandora_minimal.css, operation/agentes/stat_win.php: change the period widget for "print_extended_select_for_time" too, and change the css for enlarge the float menu for new item. 2009-10-06 Miguel de Dios * include/functions.php: add "exactly" param to "human_time_description_raw" for return the time in time fractions as example "1 day 23:23:2". 2009-10-06 Miguel de Dios * include/functions_html.php: add new function for add extend widget "print_extended_select_for_time", that write a two html control a select and textbox and scripting for interconet twice components and when change the textbox and save add the value in select and when change the selected put in textbox. 2009-10-05 Sancho Lerena * include/fgraph.php: Solved ticks in X label for boolean graphs. * operation/agentes/datos_agente.php: Show absolute timestamp and data with format_numeric() filter. * operation/agentes/estado_monitores.php: Solved typo. 2009-10-01 Miguel de Dios * pandora_console/godmode/reporting/reporting_builder.php: change the agent select html for ajax autocomplete ajax. Fix in part the bug #2870769, exactly 1º paragraph. 2009-10-01 Miguel de Dios * pandora_console/godmode/alerts/alert_list.php: fix small bug that throw notice message for a array uninitialize. 2009-09-30 Sancho Lerena * pandora_console.spec: Updated spec for a more complete uninstall. 2009-09-29 Miguel de Dios * include/javascript/pandora_mod, include/javascript/pandora.js: cleanup the sourcecode and add more funcionality to funciton "html_entity_decode". 2009-09-29 Miguel de Dios * godmode/alerts/configure_alert_template.php: 2009-09-29 Miguel de Dios * godmode/alerts/configure_alert_template.php: fix small typing bug. 2009-09-28 Sancho Lerena * include/help/en/help_alert_macros.php: Updated macros help * pandoradb.sql: Added id_group to talert_action, talert_templates and tplanned_downtime to be able to segregate all pandora functions for different groups/users. Need to implement in interface code. * extras/pandoradb_migrate_v2.x_to_v3.0.sql: Updated migration script for latest SQL changes. 2009-09-28 Sancho Lerena * godmode/agentes/module_manager_editor_common.php: Postprocess field is now bigger. * godmode/servers/manage_export_form.php: Export servers was incorrectly assigned. Fixed. 2009-09-26 Raul Mateos * include/config_process.php: Update build after last changes. * operation/agentes/alerts_status.php, operation/agentes/sla_view.php: Unify titles improving integrity of appearance. * operation/search_results.php: Add style to not found message. 2009-09-25 Miguel de Dios * include/javascript/pandora_modules.js: fix the js and add more entities for decode. 2009-09-25 Miguel de Dios * godmode/modules/manage_network_components.php: change the duplicate method and delete method, before it's a form with post and now it's a link with get. 2009-09-25 Miguel de Dios * godmode/agentes/configurar_agente.php: add the feature to delete remote conf file in the agent configuration. 2009-09-25 Miguel de Dios * include/functions_db.php: fix the delete the conf and md5 files of agent to delete, before try delete conf and md5 files with name in uppercase. 2009-09-25 Miguel de Dios * include/functions_html.php: add second parameter for trace a log in server file (plain text). 2009-09-25 Miguel de Dios * godmode/agentes/module_manager.php: add checkbox to multiple delete modules in agent managent. And add class style css for disabled modules. * include/styles/pandora_minimal.css, include/styles/pandora_red.css, include/styles/pandora.css: Add "disabled_module" class for use this style. 2009-09-25 Sancho lerena * pandoradb.sql: SUSE is not very happy with some comments, fixed. 2009-09-24 Sancho Lerena * pandora_console/operation/agentes/datos_agente.php: Data in dataview must be complete data, not "rounded" data. 2009-09-21 Sancho Lerena * include/functions_network_components.php, godmode/modules/manage_network_components.php: add icon duplicate (and necesary code...functions), that it's use for duplicate with easy the local components. 2009-09-21 Sancho Lerena * install.php: Updated version in the main screen (2.0 > 3.0) 2009-09-18 Sancho Lerena * pandoradb.sql: more changes to schema :(. Added id_group to custom graph * pandoradb_data.sql: Updated build number of DB schema, * extras/pandoradb_migrate_v2.x_to_v3.0.sql: Added new field for upgrade script. 2009-09-18 Miguel de Dios * include/functions_modules.php: change the function "update_agent_module" for to add the update only that not delete pending. * godmode/agentes/massive_edit_modules.php: fix form to set disabled and history data as select box instead checkbox that this had bug because it was disabled didn't set false or true in db. Fixes: 2860987 2009-09-17 Miguel de Dios * pandora_console/godmode/reporting/map_builder.php: add parameter to ajax for filter the modules disabled. Fixes: 2857374 2009-09-17 Miguel de Dios * pandora_console/godmode/reporting/map_builder.php: fix small bug when there are'nt any elements in the map and it try loop foearch. 2009-09-17 Miguel de Dios * pandora_console/include/functions_events.php: fix the insert event, before Pandora console inserted timestamp as string timestamp, now Pandora console insert the event with clean and numeric unix timestamp. * pandora_console/include/functions_alerts.php: cleanup the sourcecode. Fixes: 2854087 2009-09-16 Miguel de Dios * operation/agentes/estado_agente.php, godmode/alerts/alert_list.php: fix bug when there aren't not defined or attach action in template alert. Before it was showing the loading ajax gif, now it show the select box with none. 2009-09-16 Miguel de Dios * include/functions_reporting.php, include/functions_agents.php: cleanup sourcecode, and important optimize, because the old querys was very huge when the query have consult with all agent ids. That affect when login as admin into Pandora Console in systems with few resources (more or less 1Gb RAM in a desktop computer). * include/functions_db.php: add function "isAllGroups" that test if the array pass as parameter is all groups in DB, and return true o false. And cleanup source code. Fixes: 2824327 2009-09-16 Miguel de Dios * include/functions_db.php: cleanup the source code. 2009-09-16 Miguel de Dios * operation/events/events.php: cleanup the source code and add many comments 2009-09-15 Miguel de Dios * include/javascript/pandora_alerts.js: fix the id for access to jquery in the field3. * godmode/alerts/configure_alert_action.php: fix the id for access to jquery in the event keyup. Fixes: 2845692 2009-09-15 Miguel de Dios * include/functions_db.php: add function "get_db_value_sql" for use in alert_list.php and in futures uses. This function returns the first column and first row from a query pass as parameters. * godmode/alerts/alert_list.php: fix bug that you can't add new alerts. Fixes: 2859264 2009-09-15 Miguel de Dios * godmode/agentes/module_manager.php: change the method for test if a module is a numeric, and can normalize. Now obtain the ids from modules tipe that it's not proc or string, and this ids use to test. Fixes: 2849325 2009-09-15 Miguel de Dios * godmode/reporting/map_builder.php: change (at the moment) the ajax for delete elements by html static form with select, because sometimes (when you try delete elements with bigger dimensions fail). Fixes: 2815063 2009-09-14 Miguel de Dios * godmode/agentes/modificar_agente.php: fix the pagination when it has a search, and fix the pagination and delete element in the page. Fixes: 2857846 2009-09-14 Miguel de Dios * operation/agentes/exportdata.php, godmode/agentes/agent_manager.php, godmode/reporting/map_builder.php, godmode/reporting/graph_builder.php, godmode/alerts/alert_list.php: fix the bug that the div of autocomplete don't show. Fixes: 2856945 2009-09-14 Miguel de Dios * include/styles/pandora.css, godmode/alerts/alert_list.php: minor fixes for styles warnings. 2009-09-14 Sancho Lerena * general/error_dbconfig.php, general/error_authconfig.php general/error_emptyconfig.php: Error messages have it's own page. * config_process.php, functions_config.php: Removed "inline" error pages, and moved out. Auto_update is not set to ON if not present, just once, and this is managed by extension itself. * functions.php: Added function "return_graphtype" to calculate graphtype depending on id_module_type. * styles/install.css: Some style fixes. * operation/agentes/estado_monitores.php: Some code cleanup using the new function to get graphtype. * operation/agentes/estado_ultimopaquete.php: Some code cleanup with the new function to get graphtype and fixed a bug in data timestamp calculation. * operation/agentes/status_monitor.php: monitor list now show quick links to graph and show latest data, like the main agent view. 2009-09-11 Miguel de Dios * operation/events/events.php: change the order to include and write "