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 "