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 Concepcipón * Changelog: Changelog with the last changes that I forgot to include in the last commit. 2009-12-07 Pablo de la Concepcipó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 "