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 "