Commit Graph

2899 Commits

Author SHA1 Message Date
mdtrooper 985fd754fb 2011-05-05 Miguel de Dios <miguel.dedios@artica.es>
* operation/search_agents.php: changed the SQL query for PostgreSQL.
	
	* godmode/agentes/configurar_agente.php: cleaned source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4313 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-06 09:17:40 +00:00
darode 833f927ab6 2011-05-06 Dario Rodriguez <dario.rodriguez@artica.es>
* include/graphs/functions_gd.php: Added new parameter to function
	gd_progress_bar.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4312 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-06 09:13:57 +00:00
jsatoh ef803c7ce9 2011-05-06 Junichi Satoh <junichi@rworks.jp>
* godmode/alerts/alert_list.list.php: Fixed filter parameters are not
	taken over with offset selection.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4310 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-06 07:19:59 +00:00
mdtrooper 66ad4324de 2011-05-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php,
	include/ajax/visual_console_builder.ajax.php: fixed the include the new
	graph engine in the ajax calls.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4309 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-06 07:12:58 +00:00
zarzuelo 1d2306cf68 2011-05-05 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/configurar_agente.php
	godmode/agentes/module_manager_editor.php: Added the feature of
	edit the modules from the agent config or create a module from
	a local component or manually



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4307 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-05 16:07:32 +00:00
mdtrooper e242298137 2011-05-05 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql, pandoradb.postgreSQL.sql,
	extras/pandoradb_migrate_v3.2_to_v4.0.sql: changed the default value for
	zero/null date "0000-00-00 00:00:00" to "01-01-1970 00:00:00".

	* include/functions_graph.php,include/db/postgresql.php,
	include/functions_modules.php, include/functions_agents.php,
	operation/agentes/alerts_status.php,
	operation/agentes/estado_generalagente.php,
	operation/agentes/estado_agente.php, operation/agentes/exportdata.php,
	operation/agentes/ver_agente.php, operation/servers/view_server.php,
	operation/gis_maps/ajax.php, godmode/db/db_sanity.php,
	godmode/agentes/agent_template.php,
	godmode/agentes/module_manager_editor_network.php,
	godmode/agentes/configurar_agente.php, godmode/servers/plugin.php,
	godmode/snmpconsole/snmp_alert.php: small fixeds for the support the
	PostgreSQL engine.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4306 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-05 15:20:49 +00:00
vgilc e852396bab 2011-05-04 Vanessa Gil <vanessa.gil@artica.es>
*  operation/agentes/estado_agente.php: Fixed error on list of agents


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4302 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-04 11:44:31 +00:00
jsatoh 7cee88e20b 2011-05-03 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_reporting_advanced_tab.php: Added a missing
	help file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4296 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-03 14:23:57 +00:00
zarzuelo d995cb010a 2011-05-03 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php: Clean code
	merged from integria library



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4295 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-03 11:23:24 +00:00
slerena 5ffb96ebd5 2011-05-02 Sancho Lerena <slerena@artica.es>
*  include/help/en/help_reporting_advanced_tab.php,
        include/help/es/help_reporting_advanced_tab.php: Missing help
        files.  




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4294 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-02 11:18:49 +00:00
jsatoh e7296691a4 2011-05-02 Junichi Satoh <junichi@rworks.jp>
* include/styles/pandora_width.css: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4292 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-02 08:31:03 +00:00
mdtrooper 0c6012fe58 2011-04-29 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php, include/graphs/functions_pchart.php,
	include/graphs/fgraph.php: back to previous version of Juan Manuel, because
	he update old version of trunk.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4290 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-29 09:13:26 +00:00
jsatoh 556281d38b 2011-04-28 Junichi Satoh <junichi@rworks.jp>
* godmode/admin_access_logs.php: Fixed filter parameters are not
	taken over with offset selection. (Fixed degraded.)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4287 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-28 02:51:59 +00:00
slerena 4cb5b8a414 2011-04-27 Sancho Lerena <slerena@artica.es>
* include/graphs/functions_gd.php: Fontsize was not being passed
    as parameter in drawRating(), now is passed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4284 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-27 17:50:42 +00:00
juanmanuelr b84d88ab0e 2011-04-27 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/setup/setup_visuals.php
	godmode/users/configure_user.php: Fixed some mistakes of my last 
	commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4282 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-27 14:58:51 +00:00
juanmanuelr d5953df87b 2011-04-27 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php
	include/functions_users.php
	include/functions_events.php
	include/functions_html.php
	include/functions_menu.php
	include/styles/pandora.css
	include/graphs/functions_pchart.php
	include/functions_messages.php
	include/functions_exportserver.php
	include/functions_modules.php
	include/functions_reporting.php
	include/functions_filemanager.php
	include/functions_groups.php
	include/functions_gis.php
	include/functions_networkmap.php
	include/functions_servers.php
	include/functions_network_components.php
	include/functions_visual_map.php
	include/ajax/skins.ajax.php
	include/ajax/visual_console_builder.ajax.php
	include/help/en/help_gis_map_builder.php
	include/help/en/help_agent_status.php
	include/help/en/help_eventview.php
	include/help/en/help_configure_gis_map.php
	include/help/en/help_cascade_protection.php
	include/help/en/help_setup_gis_index.php
	include/help/es/help_gis_map_builder.php
	include/help/es/help_agent_status.php
	include/help/es/help_eventview.php
	include/help/es/help_configure_gis_map.php
	include/help/es/help_cascade_protection.php
	include/help/ja/help_gis_map_builder.php
	include/help/ja/help_agent_status.php
	include/help/ja/help_eventview.php
	include/help/ja/help_configure_gis_map.php
	include/help/ja/help_cascade_protection.php
	include/help/ja/help_setup_gis_index.php
	include/functions_ui.php
	include/functions_incidents.php
	include/functions.php
	include/functions_agents.php
	include/functions_db.php
	include/functions_fsgraph.php
	include/functions_extensions.php
	include/functions_ui_renders.php
	extensions/insert_data.php
	extensions/system_info.php
	extensions/extension_uploader.php
	extensions/agents_modules.php
	extensions/dbmanager.php
	extensions/resource_registration.php
	extensions/resource_exportation.php
	extensions/users_connected.php
	extensions/module_groups.php
	extensions/update_manager/settings.php
	extensions/update_manager/main.php
	operation/incidents/incident.incident.php
	operation/incidents/incident.php
	operation/incidents/incident.files.php
	operation/incidents/incident.tracking.php
	operation/incidents/incident_detail.php
	operation/incidents/incident.workunits.php
	operation/incidents/incident.list.php
	operation/search_modules.php
	operation/extensions.php
	operation/visual_console/render_view.php
	operation/visual_console/index.php
	operation/agentes/status_monitor.php
	operation/agentes/estado_ultimopaquete.php
	operation/agentes/datos_agente.php
	operation/agentes/alerts_status.php
	operation/agentes/estado_generalagente.php
	operation/agentes/custom_fields.php
	operation/agentes/estado_agente.php
	operation/agentes/networkmap.topology.php
	operation/agentes/alerts_status.functions.php
	operation/agentes/networkmap.groups.php
	operation/agentes/sla_view.php
	operation/agentes/exportdata.php
	operation/agentes/gis_view.php
	operation/agentes/estado_monitores.php
	operation/agentes/ver_agente.php
	operation/agentes/graphs.php
	operation/agentes/tactical.php
	operation/agentes/group_view.php
	operation/agentes/networkmap.php
	operation/agentes/stat_win.php
	operation/servers/view_server.php
	operation/servers/view_server_detail.php
	operation/search_agents.php
	operation/search_graphs.php
	operation/snmpconsole/snmp_view.php
	operation/users/user_edit.php
	operation/integria_incidents/incident.incident.php
	operation/integria_incidents/incident.php
	operation/integria_incidents/incident.files.php
	operation/integria_incidents/incident.tracking.php
	operation/integria_incidents/incident_detail.php
	operation/integria_incidents/incident.workunits.php
	operation/integria_incidents/incident.list.php
	operation/gis_maps/render_view.php
	operation/gis_maps/ajax.php
	operation/gis_maps/index.php
	operation/events/export_csv.php
	operation/events/sound_events.php
	operation/events/events_validate.php
	operation/events/events_list.php
	operation/events/events.php
	operation/search_alerts.php
	operation/messages/message.php
	operation/reporting/reporting_xml.php
	operation/reporting/reporting_viewer.php
	operation/reporting/graph_viewer.php
	operation/reporting/custom_reporting.php
	operation/search_reports.php
	operation/search_maps.php
	operation/search_results.php
	operation/search_users.php
	mobile/operation/agents/monitor_status.php
	mobile/operation/agents/view_agents.php
	mobile/operation/agents/tactical.php
	mobile/operation/agents/view_alerts.php
	mobile/operation/agents/group_view.php
	mobile/operation/events/events.php
	mobile/operation/servers/view_servers.php
	mobile/include/user.class.php
	general/pandora_help.php
	general/noaccess.php
	general/login_page.php
	general/logon_ok.php
	general/logoff.php
	general/ui/agents_list.php
	general/header.php
	godmode/groups/modu_group_list.php
	godmode/groups/configure_group.php
	godmode/groups/configure_modu_group.php
	godmode/groups/group_list.php
	godmode/admin_access_logs.php
	godmode/extensions.php
	godmode/db/db_sanity.php
	godmode/db/db_refine.php
	godmode/db/db_info.php
	godmode/db/db_event.php
	godmode/db/db_purge.php
	godmode/agentes/agent_template.php
	godmode/agentes/module_manager_editor_common.php
	godmode/agentes/module_manager_editor_network.php
	godmode/agentes/fields_manager.php
	godmode/agentes/module_manager_editor_wmi.php
	godmode/agentes/module_manager_editor_plugin.php
	godmode/agentes/agent_conf_gis.php
	godmode/agentes/module_manager_editor_prediction.php
	godmode/agentes/module_manager.php
	godmode/agentes/modificar_agente.php
	godmode/agentes/configurar_agente.php
	godmode/agentes/configure_field.php
	godmode/agentes/module_manager_editor.php
	godmode/agentes/planned_downtime.php
	godmode/agentes/manage_config_remote.php
	godmode/agentes/agent_manager.php
	godmode/servers/recon_script.php
	godmode/servers/plugin.php
	godmode/servers/manage_recontask.php
	godmode/servers/modificar_server.php
	godmode/servers/manage_recontask_form.php
	godmode/alerts/alert_list.list.php
	godmode/alerts/configure_alert_compound.php
	godmode/alerts/alert_compounds.php
	godmode/alerts/alert_list.php
	godmode/alerts/configure_alert_template.php
	godmode/alerts/alert_templates.php
	godmode/alerts/configure_alert_action.php
	godmode/alerts/configure_alert_command.php
	godmode/alerts/alert_actions.php
	godmode/alerts/alert_list.builder.php
	godmode/alerts/alert_commands.php
	godmode/snmpconsole/snmp_alert.php
	godmode/snmpconsole/snmp_filters.php
	godmode/setup/file_manager.php
	godmode/setup/os.list.php
	godmode/setup/news.php
	godmode/setup/gis_step_2.php
	godmode/setup/links.php
	godmode/setup/setup.php
	godmode/setup/os.php
	godmode/setup/performance.php
	godmode/setup/setup_auth.php
	godmode/setup/gis.php
	godmode/setup/os.builder.php
	godmode/setup/setup_visuals.php
	godmode/users/user_list.php
	godmode/users/configure_user.php
	godmode/users/configure_profile.php
	godmode/gis_maps/configure_gis_map.php
	godmode/gis_maps/index.php
	godmode/massive/massive_add_alerts.php
	godmode/massive/massive_copy_modules.php
	godmode/massive/massive_delete_agents.php
	godmode/massive/massive_enable_disable_alerts.php
	godmode/massive/massive_operations.php
	godmode/massive/massive_delete_profiles.php
	godmode/massive/massive_edit_agents.php
	godmode/massive/massive_delete_action_alerts.php
	godmode/massive/massive_delete_modules.php
	godmode/massive/massive_add_profiles.php
	godmode/massive/massive_delete_alerts.php
	godmode/massive/massive_edit_modules.php
	godmode/massive/massive_standby_alerts.php
	godmode/massive/massive_add_action_alerts.php
	godmode/modules/manage_network_components_form.php
	godmode/modules/manage_nc_groups_form.php
	godmode/modules/manage_network_templates.php
	godmode/modules/module_list.php
	godmode/modules/manage_network_components_form_common.php
	godmode/modules/manage_network_components_form_network.php
	godmode/modules/manage_network_templates_form.php
	godmode/modules/manage_network_components_form_wmi.php
	godmode/modules/manage_network_components.php
	godmode/modules/manage_nc_groups.php
	godmode/modules/manage_network_components_form_plugin.php
	godmode/reporting/reporting_builder.list_items.php
	godmode/reporting/graph_builder.main.php
	godmode/reporting/visual_console_builder.wizard.php
	godmode/reporting/visual_console_builder.php
	godmode/reporting/reporting_builder.preview.php
	godmode/reporting/reporting_builder.main.php
	godmode/reporting/visual_console_builder.data.php
	godmode/reporting/visual_console_builder.elements.php
	godmode/reporting/graph_builder.php
	godmode/reporting/graph_builder.graph_editor.php
	godmode/reporting/reporting_builder.php
	godmode/reporting/visual_console_builder.editor.php
	godmode/reporting/reporting_builder.item_editor.php
	godmode/reporting/map_builder.php
	godmode/reporting/graphs.php
	godmode/reporting/graph_builder.preview.php: Now functions on 
	functions_html.php, functions_gis.php, functions_filemanager.php, 
	functions_exportserver.php have "html_", "gis_", "filemanager_" and
	"exportserver_" prefix respectively.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4281 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-27 13:43:31 +00:00
zarzuelo 1e97f7f852 2011-04-26 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php
	include/graphs/functions_gd.php
	include/graphs/fgraph.php: Merged sancho works from 
	integria passing fonts and sizes in integria. Little 
	fixes



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4280 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-26 17:52:25 +00:00
javilanz 98b8d17cb6 2011-04-25 Javier Lanz <javier.lanz@artica.es>
* include/functions_reporting.php: Fixed a small font problem displaying
	SLA reports status


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4279 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-25 16:24:43 +00:00
mdtrooper 74b7d16e79 2011-04-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php, include/graphs/functions_pchart.php,
	include/graphs/fgraph.php: added parameter to choose if show all xaxis
	marks or not.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4278 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-25 11:48:27 +00:00
javilanz 1bd1d3149b 2011-04-25 Javier Lanz <javier.lanz@artica.es>
* operation/agentes/tactical.php: Fixed a style problem on Internet
	Explorer

	Fix: #3279238


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4276 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-25 10:04:20 +00:00
mdtrooper b13128b983 2011-04-20 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb_data.sql, pandoradb.data.postgreSQL.sql,
	pandoradb.data.oracle.sql: added the default value for flash_chart for
	admin user. The value is "use the global conf".
	
	* include/db/mysql.php: cleaned source code style.
	
	* godmode/users/configure_user.php: fixed when update or create the user
	in Pandora Console without Enterprise version installed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4275 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-25 09:41:35 +00:00
jsatoh 79b76a799f 2011-04-23 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_alert_macros.php: Added the new _policy_ alert
	  macro.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4274 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-23 07:08:15 +00:00
mdtrooper 5efec44fef 2011-04-20 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php,
	include/graphs/functions_pchart.php: some fixes, and set font size equal
	for all text in graphs. And starte the change to vertical bar the graph
	for string module.

	* include/functions_reporting.php: added to take the font and size.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4273 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-20 16:57:06 +00:00
ramonn 4acde1638a 2011-04-20 Ramon Novoa <rnovoa@artica.es>
* include/help/en/help_alert_macros.php,
	  include/help/es/help_alert_macros.php: Added the new _policy_ alert
	  macro.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4272 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-20 16:20:16 +00:00
mdtrooper c4307abaed 2011-04-20 Miguel de Dios <miguel.dedios@artica.es>
* include/fonts/unicode.ttf: renamed form code.ttf.
	
	* include/fonts/smallfont.ttf: added new smaller font.
	
	* include/functions_config.php, godmode/setup/setup_visuals.php: now you
	can set the size of font for the graphs.
	
	* include/functions_graph.php, include/graphs/functions_pchart.php,
	include/graphs/fgraph.php: changed source code to set the size of font
	in the graphs.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4270 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-20 15:54:31 +00:00
mdtrooper b4a231334f 2011-04-20 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php, include/graphs/functions_pchart.php,
	include/fgraph.php, operation/agentes/stat_win.php: fixed duplicate
	functions, and start to support custom font in Pandora connector.

	* index.php: fixed when include again the extension file.
	
	* include/functions_html.php: fixed when include this file in other
	location to index.

	* godmode/reporting/graph_builder.preview.php: cleaned source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4268 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-20 14:22:40 +00:00
javilanz c530229a70 2011-04-20 Javier Lanz <javier.lanz@artica.es>
* godmode/alerts/configure_alert_action.php: Fixed a small bug about
	entities on "Command preview"

	Fix: #3276373


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4267 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-20 14:08:12 +00:00
juanmanuelr 480688a7b4 2011-04-20 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php: Fixed some mistakes of my last commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4265 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-20 11:51:07 +00:00
juanmanuelr a075d2662b 2011-04-20 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_events.php
	include/functions_reporting.php: Fixed some mistakes of my last commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4264 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-20 11:31:25 +00:00
mdtrooper f75896b076 2011-04-20 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php: fixed duplicated function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4263 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-20 11:11:57 +00:00
mdtrooper 37f8112073 2011-04-20 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php: fixed duplicated function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4262 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-20 11:03:50 +00:00
mdtrooper 5d8ea2bfa8 2011-04-20 Miguel de Dios <miguel.dedios@artica.es>
* images/logo_vertical_water.png: added water mark for the graphs.
	
	* godmode/db/db_info.php: cleaned source code style.
	
	* include/graphs/pChart/pDraw.class.php: re-added lost line for the
	rotation label value.

	* include/functions_graph.php, include/graphs/functions_pchart.php,
	include/graphs/functions_fsgraph.php, include/graphs/fgraph.php: added the
	source code to show warter mark.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4261 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-20 09:23:54 +00:00
juanmanuelr e0b62c0733 2011-04-20 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_events.php
	include/functions_reporting.php
	include/functions_alerts.php
	operation/incidents/incident_detail.php
	operation/agentes/status_events.php
	operation/agentes/tactical.php
	operation/integria_incidents/incident_detail.php
	operation/events/events_validate.php
	operation/events/events_list.php
	operation/events/events.php
	operation/reporting/reporting_xml.php: Functions in functions_events.php have "events_"
	prefix.  
	* index.php: Added some "db_" prefixes that I forgot in my last commit. Functions in 
	functions_events.php have "events_" prefix.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4260 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-20 09:09:40 +00:00
juanmanuelr a7fdc8fa26 2011-04-19 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* Changelog: Forget to update the Changelog in my last commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4259 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-19 18:47:46 +00:00
juanmanuelr 14c3c216ec * include/functions_graph.php
include/functions_html.php
	include/functions_messages.php
	include/db/postgresql.php
	include/db/mysql.php
	include/db/oracle.php
	include/functions_reporting.php
	include/functions_filemanager.php
	include/functions_gis.php
	include/auth/ldap.php
	include/auth/mysql.php
	include/functions_networkmap.php
	include/functions_network_components.php
	include/ajax/skins.ajax.php
	include/ajax/reporting.ajax.php
	include/ajax/visual_console_builder.ajax.php
	include/ajax/alert_list.ajax.php
	include/ajax/module.php
	include/functions_config.php
	include/functions_api.php
	include/help/en/help_timesource.php
	include/help/es/help_timesource.php
	include/help/ja/help_timesource.php
	include/config_process.php
	include/functions_ui.php
	include/functions_custom_graphs.php
	include/fgraph.php
	include/functions_incidents.php
	include/api.php
	include/functions_reports.php
	include/functions_ui_renders.php
	extensions/insert_data.php
	extensions/system_info.php
	extensions/extension_uploader.php
	extensions/pandora_logs.php
	extensions/agents_modules.php
	extensions/update_manager.php
	extensions/ssh_console.php
	extensions/dbmanager.php
	extensions/vnc_view.php
	extensions/resource_registration.php
	extensions/resource_exportation.php
	extensions/users_connected.php
	extensions/module_groups.php
	extensions/update_manager/load_updatemanager.php
	extensions/update_manager/lib/libupdate_manager_client.php
	extensions/update_manager/lib/libupdate_manager.php
	extensions/update_manager/lib/libupdate_manager_components.php
	extensions/update_manager/lib/libupdate_manager_updates.php
	extensions/update_manager/settings.php
	extensions/update_manager/main.php
	extensions/plugin_registration.php
	operation/incidents/incident.php
	operation/incidents/incident_detail.php
	operation/incidents/incident_statistics.php
	operation/search_modules.php
	operation/visual_console/render_view.php
	operation/visual_console/index.php
	operation/extensions.php
	operation/agentes/status_monitor.php
	operation/agentes/export_csv.php
	operation/agentes/estado_ultimopaquete.php
	operation/agentes/datos_agente.php
	operation/agentes/alerts_status.php
	operation/agentes/estado_generalagente.php
	operation/agentes/custom_fields.php
	operation/agentes/estado_agente.php
	operation/agentes/networkmap.topology.php
	operation/agentes/networkmap.groups.php
	operation/agentes/sla_view.php
	operation/agentes/exportdata.php
	operation/agentes/gis_view.php
	operation/agentes/estado_monitores.php
	operation/agentes/ver_agente.php
	operation/agentes/graphs.php
	operation/agentes/agent_fields.php
	operation/agentes/tactical.php
	operation/agentes/group_view.php
	operation/agentes/networkmap.php
	operation/agentes/stat_win.php
	operation/servers/view_server.php
	operation/servers/view_server_detail.php
	operation/menu.php
	operation/search_agents.php
	operation/search_graphs.php
	operation/snmpconsole/snmp_view.php
	operation/users/user_edit.php
	operation/gis_maps/render_view.php
	operation/gis_maps/ajax.php
	operation/integria_incidents/incident.php
	operation/integria_incidents/incident_detail.php
	operation/integria_incidents/incident_statistics.php
	operation/events/event_statistics.php
	operation/events/events_rss.php
	operation/events/export_csv.php
	operation/events/sound_events.php
	operation/events/events_validate.php
	operation/events/events_list.php
	operation/events/events_marquee.php
	operation/events/events.php
	operation/search_alerts.php
	operation/messages/message.php
	operation/reporting/reporting_xml.php
	operation/reporting/reporting_viewer.php
	operation/reporting/graph_viewer.php
	operation/search_reports.php
	operation/search_maps.php
	operation/search_users.php
	extras/pandora_diag.php
	mobile/operation/agents/monitor_status.php
	mobile/operation/agents/view_agents.php
	mobile/operation/agents/view_alerts.php
	mobile/operation/agents/group_view.php
	mobile/operation/events/events.php
	mobile/index.php
	general/error_authconfig.php
	general/links_menu.php
	general/logon_ok.php
	general/error_dbconfig.php
	general/ui/agents_list.php
	general/header.php
	godmode/groups/modu_group_list.php
	godmode/groups/configure_group.php
	godmode/groups/configure_modu_group.php
	godmode/groups/group_list.php
	godmode/admin_access_logs.php
	godmode/db/db_main.php
	godmode/db/db_audit.php
	godmode/db/db_sanity.php
	godmode/db/db_refine.php
	godmode/db/db_info.php
	godmode/db/db_event.php
	godmode/db/db_purge.php
	godmode/extensions.php
	godmode/agentes/agent_template.php
	godmode/agentes/module_manager_editor_common.php
	godmode/agentes/fields_manager.php
	godmode/agentes/agent_conf_gis.php
	godmode/agentes/module_manager_editor_prediction.php
	godmode/agentes/module_manager.php
	godmode/agentes/modificar_agente.php
	godmode/agentes/configurar_agente.php
	godmode/agentes/configure_field.php
	godmode/agentes/module_manager_editor.php
	godmode/agentes/planned_downtime.php
	godmode/agentes/manage_config_remote.php
	godmode/agentes/agent_manager.php
	godmode/servers/recon_script.php
	godmode/servers/plugin.php
	godmode/servers/manage_recontask.php
	godmode/servers/modificar_server.php
	godmode/servers/manage_recontask_form.php
	godmode/alerts/alert_list.list.php
	godmode/alerts/configure_alert_compound.php
	godmode/alerts/alert_compounds.php
	godmode/alerts/alert_list.php
	godmode/alerts/configure_alert_template.php
	godmode/alerts/alert_templates.php
	godmode/alerts/configure_alert_action.php
	godmode/alerts/configure_alert_command.php
	godmode/alerts/alert_actions.php
	godmode/alerts/alert_list.builder.php
	godmode/alerts/alert_commands.php
	godmode/setup/file_manager.php
	godmode/setup/os.list.php
	godmode/setup/news.php
	godmode/setup/gis_step_2.php
	godmode/setup/links.php
	godmode/setup/setup.php
	godmode/setup/os.php
	godmode/setup/performance.php
	godmode/setup/setup_auth.php
	godmode/setup/gis.php
	godmode/setup/os.builder.php
	godmode/setup/setup_visuals.php
	godmode/snmpconsole/snmp_alert.php
	godmode/snmpconsole/snmp_filters.php
	godmode/users/user_list.php
	godmode/users/configure_profile.php
	godmode/gis_maps/configure_gis_map.php
	godmode/gis_maps/index.php
	godmode/massive/massive_add_alerts.php
	godmode/massive/massive_copy_modules.php
	godmode/massive/massive_delete_agents.php
	godmode/massive/massive_enable_disable_alerts.php
	godmode/massive/massive_operations.php
	godmode/massive/massive_delete_profiles.php
	godmode/massive/massive_edit_agents.php
	godmode/massive/massive_delete_action_alerts.php
	godmode/massive/massive_delete_modules.php
	godmode/massive/massive_add_profiles.php
	godmode/massive/massive_delete_alerts.php
	godmode/massive/massive_edit_modules.php
	godmode/massive/massive_standby_alerts.php
	godmode/massive/massive_add_action_alerts.php
	godmode/modules/manage_network_components_form.php
	godmode/modules/manage_nc_groups_form.php
	godmode/modules/manage_network_templates.php
	godmode/modules/module_list.php
	godmode/modules/manage_network_components_form_common.php
	godmode/modules/manage_network_components_form_network.php
	godmode/modules/manage_network_templates_form.php
	godmode/modules/manage_network_components_form_wmi.php
	godmode/modules/manage_network_components.php
	godmode/modules/manage_nc_groups.php
	godmode/reporting/visual_console_builder.wizard.php
	godmode/reporting/graph_builder.main.php
	godmode/reporting/reporting_builder.list_items.php
	godmode/reporting/visual_console_builder.php
	godmode/reporting/reporting_builder.preview.php
	godmode/reporting/reporting_builder.main.php
	godmode/reporting/visual_console_builder.data.php
	godmode/reporting/visual_console_builder.elements.php
	godmode/reporting/graph_builder.php
	godmode/reporting/visual_console_builder.preview.php
	godmode/reporting/graph_builder.graph_editor.php
	godmode/reporting/reporting_builder.php
	godmode/reporting/visual_console_builder.editor.php
	godmode/reporting/reporting_builder.item_editor.php
	godmode/reporting/map_builder.php
	godmode/reporting/graphs.php
	godmode/reporting/graph_builder.preview.php
	include/functions_db.php: Added some includes and functions of this code have "db_" prefix.
	* include/functions.php: Moved function check_login(), check_acl(), 
	dame_nombre_pluginid(), get_os_name() from functions_db.php to functions.php. 
	* include/functions_groups.php: Moved functions get_childrens(), safe_acl_group()
	 and get_parents(), give_disabled_group(), isAllGroups(), get_group_icon(), get_all_groups(), 	 
	get_id_groups_recursive(), get_user_groups_tree_recursive(), get_group_status(), 
	get_group_name(), get_group_users() from functions_db.php to this code. 
	* include/functions_profile.php: New library with profile functions. Moved functions 
	get_profile_name(), get_profiles(), create_user_profile(), delete_user_profile(), 
	delete_profile() from functions_db.php to this code. Added new parameter in function 
	get_profile() to retrieve profiles with filter conditions applied.
	* include/functions_users.php: New library with users functions. Moved functions 
	get_users_info(), get_all_model_groups(), get_user_groups(), get_user_groups_tree(), 
	get_user_first_group(), user_access_to_agent() from funtions_db.php to this code.
	* godmode/users/configure_user.php: Changed get_profile_filter() function to get_profile(). 
	* include/functions_agents.php: Moved functions get_group_agents(), get_agent_modules(), 
	get_agent_module_id(), get_agent_id(), get_agent_name(), get_agent_modules_data_count(), 
	check_alert_fired(), get_agent_interval(), get_agent_os(), give_agentmodule_flag(), 
	agent_add_address(), agent_delete_address(), get_agent_address(), get_agent_with_ip(), 
	get_agent_addresses(), get_agent_status(), delete_agent(), get_agentmodule_group(), 
	get_agent_group() from functions_db.php to this code.
	* include/functions_modules.php: Moved functions get_agentmodule(), get_agentmodule_id(), 
	get_agentmodule_is_init(), get_agent_modules_count(), get_module_type_name(), 
	get_module_type_icon(), get_agentmodule_agent(), get_agentmodule_agent_name(), 
	get_agentmodule_name(), get_agentmodule_type(), get_monitor_downs_in_period(), 		
	get_monitor_last_down_timestamp_in_period(), get_monitors_in_group(), 
	get_monitors_in_agent(), get_monitors_down(), get_moduletype_name(), 
	get_moduletype_description(), get_moduletypes(), get_module_interval(), show_icon_type(), 		
	give_modulecategory_name(),
 	give_agent_id_from_module_id(), get_module_status(), get_agent_module_last_value(), 
	get_previous_data(), get_agentmodule_modulegroup(), get_modulegroups(), 
	get_modulegroup_name() from functions_db.php to this code.
	* include/functions_alerts.php: Moved functions get_alert_type(), get_agent_alert_fired(),
	 get_module_alert_fired(), get_alert_fires_in_period(), get_group_alerts(), get_alerts_fired(), 
	get_alert_last_fire_timestamp_in_period(), get_agentmodule_status(), 
	get_agentmodule_last_status() from functions_db.php to this code.
	* include/functions_exportserver.php: Moved function dame_nombre_servidorexportacion() 
	from functions_db.php to this code.
	* include/functions_events.php: Moved functions get_group_events(), get_agent_events(), 
	get_module_events() from functions_db.php to this code.
	* include/functions_servers.php: Moved functions get_server_name(), show_server_type(), 
	check_server_status(), server_status() from functions_db.php to this code.
	* include/functions_network_profiles.php: Moved function get_networkprofile_name() 
	from functions_db.php to this code.
	* include/functions_visual_map.php: Moved functions get_layoutdata_x(), get_layoutdata_y() 
	from fucntions_db.php to this code.
	* include/functions_io.php: Moved function __() from functions_db.php to this code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4258 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-19 18:42:49 +00:00
javilanz af8fd12d1e 2011-04-19 Javier Lanz <javier.lanz@artica.es>
* include/functions_modules.php: Fixed an error about the agent status
	* godmode/agentes/agent_template.php: Fixed an error about the agent
	status

	Fix: #3251822


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4256 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-19 16:44:59 +00:00
ramonn 7b172dc929 2011-04-19 Ramon Novoa <rnovoa@artica.es>
* pandoradb.sql: Fixed an error in last commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4255 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-19 16:32:29 +00:00
ramonn 631ba5b006 2011-04-19 Ramon Novoa <rnovoa@artica.es>
* include/functions_db.php, pandoradb.sql,
	  pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	  extras/pandoradb_migrate_v3.2_to_v4.0.sql,
	  general/logon_ok.php, godmode/admin_access_logs.php: Several fixes to
	  make things work in MySQL, PostgreSQL and Oracle.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4254 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-19 16:30:53 +00:00
javilanz f2c8457d7e 2011-04-19 Javier Lanz <javier.lanz@artica.es>
* godmode/modules/manage_network_components_form.php: Enabled port field
	on Network Components - Remote SNMP network agent
	* godmode/modules/manage_network_components_form_plugin.php: Added port
	field on Network Components - Plugin Components


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4251 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-19 14:44:06 +00:00
mdtrooper f90989ee57 2011-04-19 Miguel de Dios <miguel.dedios@artica.es>
* godmode/setup/setup_visuals.php: change the text field fonts to
	select box.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4250 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-19 14:36:33 +00:00
mdtrooper c665bbd2ac 2011-04-19 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php, include/fgraph.php,
	operation/agentes/graphs.php, operation/agentes/stat_win.php: added the
	new engine.

	* include/graphs/functions_pchart.php: fixed the default value for some
	graph data confs.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4249 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-19 12:11:00 +00:00
juanmanuelr 7a5f806c40 2011-04-19 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/db/oracle.php: Changed oracle session parameter for 
	decimal separator. 




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4248 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-19 10:44:36 +00:00
juanmanuelr 85775a4eb1 2011-04-19 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* install.php: Now it's possible to drop oracle db before installation. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4247 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-19 08:09:54 +00:00
zarzuelo 65e59eaddf 2011-04-18 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php
	include/graphs/functions_fsgraph.php
	include/graphs/fgraph.php: Fixed flash
	area colors and lef margin in horizontal bar
	graphs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4246 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-18 17:07:26 +00:00
mdtrooper 222c515cd0 2011-04-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php: fixed the legend for to show with human
	numeric format.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4245 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-18 16:45:20 +00:00
mdtrooper 63ecdfe07e 2011-04-18 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/pChart/pDraw.class.php: changed for show the some dark
	border with same color of area when the data config of graph haven't this
	values.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4243 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-18 16:29:01 +00:00
javilanz 08ca243c95 2011-04-18 Javier Lanz <javier.lanz@artica.es>
* include/functions_filemanager.php: Added a 'base64_encode' to deal with
	html entities in collection's files

	Fix: #3286063


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4241 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-18 16:11:17 +00:00
mdtrooper 2e3c56cc9e 2011-04-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php, godmode/reporting/graph_builder.preview.php:
	fixes for the new graph engine.
	
	* operation/agentes/estado_monitores.php: added a toggle button to show the
	the entire value or sub string for value (by default).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4240 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-18 16:07:20 +00:00
mdtrooper efe2342ce9 2011-04-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php, include/graphs/functions_fsgraph.php,
	include/graphs/fgraph.php, operation/agentes/stat_win.php: fixed the
	relative urls for absolute urls.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4238 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-18 15:12:48 +00:00
javilanz 9ce09cd9b7 2011-04-18 Javier Lanz <javier.lanz@artica.es>
* include/functions_filemanager.php: Fixed a problem with html entities
	* include/get_file.php: Added base64_decode for getting a get parameter

	Fixes: #3286063


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4237 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-18 15:00:43 +00:00
mdtrooper 36db9ce4bd 2011-04-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php, include/graphs/functions_pchart.php,
	include/graphs/fgraph.php, operation/agentes/estado_generalagente.php: some
	fixes and changes in the new graph engine.
	
	* operation/agentes/stat_win.php: fixed the tittle of popup window.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4236 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-18 14:05:54 +00:00
mdtrooper 187b0bafcc 2011-04-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: changed to use new engine.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4235 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-18 12:17:03 +00:00
zarzuelo 5a226d2e66 2011-04-18 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php
	include/graphs/functions_fsgraph.php
	include/graphs/fgraph.php: Fixed bar graphs margins
	Fixed horizontal flash bar



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4234 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-18 10:30:45 +00:00
zarzuelo cfa9c6ca7a 2011-04-18 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php
	include/graphs/fgraph.php: Clean code



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4233 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-18 08:18:37 +00:00
jsatoh 2cbd88696b 2011-04-16 Junichi Satoh <junichi@rworks.jp>
* godmode/admin_access_logs.php: Fixed filter parameters are not
	taken over with offset selection.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4232 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-16 08:38:28 +00:00
mdtrooper 17ecbc3784 2011-04-15 Miguel de Dios <miguel.dedios@artica.es>
* Changelog: readded lost lines.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4231 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-15 12:21:56 +00:00
mdtrooper 74da629ff6 2011-04-15 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php: added the parameter $homeurl in some
	functions and in others rename from $homedir.
	
	* include/graphs/functions_pchart.php: setted the default values in some
	vars. And replaced the calls to new engine graph.
	
	* include/graphs/fgraph.php: added the parameter $homeurl.
	
	* include/functions_reporting.php: fixed in 'simple_graph' the
	$content['id_agent_module'].  
	
	* include/functions_custom_graphs.php,
	operation/reporting/reporting_xml.php,
	godmode/admin_access_logs.php: cleaned source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4230 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-15 12:19:12 +00:00
juanmanuelr 6403e87ac3 2011-04-15 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/auth/ldap.php
	include/functions_config.php
	include/config_process.php
	include/functions_custom_graphs.php
	operation/search_graphs.php
	operation/reporting/graph_viewer.php
	godmode/setup/setup.php
	godmode/setup/performance.php
	godmode/setup/setup_visuals.php
	godmode/reporting/graphs.php
	godmode/reporting/graph_builder.preview.php: Functions of functions_config.php
	and function_custom_graphs.php have the "config_" and "custom_graphs_" prefix 
	respectively.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4229 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-15 12:03:19 +00:00
juanmanuelr efc276c4c0 2011-04-15 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/db/oracle.php
	include/functions_modules.php
	include/functions_reporting.php
	include/functions_networkmap.php
	include/ajax/agent.php
	include/ajax/alert_list.ajax.php
	include/functions_ui.php
	include/functions_agents.php
	include/functions_db.php
	include/functions_alerts.php
	extensions/agents_modules.php
	extensions/resource_registration.php
	extensions/module_groups.php
	operation/agentes/alerts_status.php
	operation/agentes/estado_generalagente.php
	operation/agentes/estado_agente.php
	operation/agentes/alerts_status.functions.php
	operation/agentes/exportdata.php
	operation/events/events.php
	operation/search_alerts.php
	mobile/operation/agents/view_agents.php
	mobile/operation/agents/view_alerts.php
	general/ui/agents_list.php
	godmode/agentes/configurar_agente.php
	godmode/agentes/agent_manager.php
	godmode/alerts/alert_list.list.php
	godmode/alerts/configure_alert_compound.php
	godmode/alerts/alert_compounds.php
	godmode/alerts/alert_list.php
	godmode/alerts/configure_alert_template.php
	godmode/alerts/alert_templates.php
	godmode/alerts/configure_alert_action.php
	godmode/alerts/configure_alert_command.php
	godmode/alerts/alert_actions.php
	godmode/alerts/alert_list.builder.php
	godmode/alerts/alert_commands.php
	godmode/snmpconsole/snmp_alert.php
	godmode/massive/massive_add_alerts.php
	godmode/massive/massive_copy_modules.php
	godmode/massive/massive_enable_disable_alerts.php
	godmode/massive/massive_delete_action_alerts.php
	godmode/massive/massive_delete_alerts.php
	godmode/massive/massive_standby_alerts.php
	godmode/massive/massive_add_action_alerts.php
	godmode/reporting/graph_builder.main.php
	godmode/reporting/graph_builder.php
	godmode/reporting/graph_builder.preview.php: Functions of functions_agents.php
	and function_alerts.php have the "agent_" and "alert_" prefix respectively.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4228 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-15 10:57:43 +00:00
zarzuelo b88e45ff61 2011-04-14 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php
	include/graphs/functions_fsgraph.php
	include/graphs/fgraph.php: Increased the weight of the lines
	in line graphs.
	Clean code



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4227 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-14 17:17:12 +00:00
mdtrooper 5bb3cbc7c6 2011-04-14 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php: added function "graph_custom_sql_graph2".
	
	* include/graphs/fgraph.php: added as $homedir parameter in some functions.
	
	* include/functions_reporting.php: changed to new engine.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4226 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-14 16:52:50 +00:00
zarzuelo 82d8dde881 2011-04-14 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php
	include/graphs/pChart/pDraw.class.php
	include/graphs/fgraph.php: Added rotation in bar graphs 
	top axis. 
	Fixed pie legend position



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4224 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-14 16:22:22 +00:00
javilanz 9559201675 2011-04-14 Javier Lanz <javier.lanz@artica.es>
* godmode/massive/massive_edit_modules.php: Added functionality to edit
	SNMP version on massive operations


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4222 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-14 14:51:46 +00:00
mdtrooper cca80873f5 2011-04-14 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/functions_pchart.php: added method to force height or not,
	changed to show all columns name in the hgraph and vgraph, fixed the colors
	when passed the parameter "fine" to color. And in the function
	"pch_bar_graph" change to calculate left margin instead to fixed value.
	
	* include/graphs/fgraph.php: added new parameter in the function
	"hbar_graph" to force or unforce the graph height.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4221 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-14 13:53:46 +00:00
mdtrooper eabc072e80 2011-04-14 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/functions_pchart.php: setted the xmargin to 0.
	
	* include/graphs/fgraph.php: in function "pie_graph" reduce to 8 the
	portions for the pie.
	
	* include/functions_db.php: changed the call "debug" to "ui_debug".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4220 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-14 12:02:45 +00:00
zarzuelo d96efd8120 2011-04-14 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php
	include/graphs/functions_gd.php
	include/graphs/fgraph.php: Added x and y
	axis name possibility to line, stacked line and
	stacked area graphs. 
	Added dual posibility of calling to functions_gd 
	(thorugh url and with function call).  
	Clean code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4219 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-14 08:25:41 +00:00
jsatoh c4046575a3 2011-04-14 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_v3.2_to_v4.0.sql,
	pandoradb.sql,
	pandoradb.postgreSQL.sql,
	pandoradb.oracle.sql: Changed tperfil.name type to fix field length
	shortage.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4218 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-14 04:50:54 +00:00
mdtrooper f2d020dffa 2011-04-13 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php: deleted a repeat function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4217 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 17:37:51 +00:00
mdtrooper df79ce4208 2011-04-13 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php, include/functions_reporting.php,
	operation/incidents/incident_statistics.php,
	operation/agentes/custom_fields.php, operation/agentes/agent_fields.php,
	operation/servers/view_server_detail.php,
	operation/integria_incidents/incident_statistics.php,
	operation/events/event_statistics.php, operation/events/events_list.php,
	operation/events/events.php, operation/reporting/reporting_xml.php,
	godmode/admin_access_logs.php, godmode/db/db_main.php,
	godmode/db/db_info.php, godmode/db/db_purge.php,
	godmode/reporting/graph_builder.main.php,
	godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/graph_builder.php,
	godmode/reporting/graph_builder.graph_editor.php,
	godmode/reporting/graph_builder.preview.php: changed for to use new engine.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4216 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 17:31:06 +00:00
juanmanuelr 0654d7ded2 2011-04-13 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_ui.php
	include/functions.php: Removed function popup_help from functions.php
	and added in function_ui.php under ui_popup_help name.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4215 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 17:11:10 +00:00
ramonn d2a3206132 2011-04-13 Ramon Novoa <rnovoa@artica.es>
* pandoradb.postgreSQL.sql: Created the UNIX_TIMESTAMP function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4214 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 16:32:30 +00:00
juanmanuelr eed3137fc1 2011-04-13 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_events.php
	include/functions_html.php
	include/functions_modules.php
	include/functions_reporting.php
	include/functions_filemanager.php
	include/functions_gis.php
	include/functions_networkmap.php
	include/functions_visual_map.php
	include/ajax/reporting.ajax.php
	include/help/en/help_timesource.php
	include/help/es/help_timesource.php
	include/help/ja/help_timesource.php
	include/functions_ui.php
	include/functions.php
	include/functions_db.php
	include/functions_ui_renders.php
	index.php
	extensions/insert_data.php
	extensions/system_info.php
	extensions/extension_uploader.php
	extensions/pandora_logs.php
	extensions/agents_modules.php
	extensions/dbmanager.php
	extensions/resource_registration.php
	extensions/resource_exportation.php
	extensions/users_connected.php
	extensions/module_groups.php
	extensions/update_manager/settings.php
	extensions/update_manager/main.php
	extensions/plugin_registration.php
	operation/incidents/incident.php
	operation/incidents/incident.files.php
	operation/incidents/incident_detail.php
	operation/incidents/incident.workunits.php
	operation/incidents/incident.list.php
	operation/incidents/incident_statistics.php
	operation/search_modules.php
	operation/visual_console/render_view.php
	operation/visual_console/index.php
	operation/extensions.php
	operation/agentes/status_monitor.php
	operation/agentes/alerts_status.php
	operation/agentes/datos_agente.php
	operation/agentes/estado_ultimopaquete.php
	operation/agentes/custom_fields.php
	operation/agentes/estado_generalagente.php
	operation/agentes/networkmap.topology.php
	operation/agentes/estado_agente.php
	operation/agentes/alerts_status.functions.php
	operation/agentes/networkmap.groups.php
	operation/agentes/bulbs.php
	operation/agentes/sla_view.php
	operation/agentes/exportdata.php
	operation/agentes/gis_view.php
	operation/agentes/estado_monitores.php
	operation/agentes/ver_agente.php
	operation/agentes/graphs.php
	operation/agentes/agent_fields.php
	operation/agentes/tactical.php
	operation/agentes/group_view.php
	operation/agentes/networkmap.php
	operation/agentes/stat_win.php
	operation/servers/view_server.php
	operation/servers/view_server_detail.php
	operation/search_agents.php
	operation/search_graphs.php
	operation/snmpconsole/snmp_view.php
	operation/users/user_edit.php
	operation/gis_maps/render_view.php
	operation/gis_maps/ajax.php
	operation/gis_maps/index.php
	operation/integria_incidents/incident.php
	operation/integria_incidents/incident.files.php
	operation/integria_incidents/incident_detail.php
	operation/integria_incidents/incident.workunits.php
	operation/integria_incidents/incident.list.php
	operation/integria_incidents/incident_statistics.php
	operation/events/event_statistics.php
	operation/events/events_list.php
	operation/events/events.php
	operation/search_alerts.php
	operation/messages/message.php
	operation/reporting/reporting_viewer.php
	operation/reporting/graph_viewer.php
	operation/reporting/custom_reporting.php
	operation/search_reports.php
	operation/search_maps.php
	operation/search_results.php
	operation/search_users.php
	extras/pandora_diag.php
	mobile/operation/agents/monitor_status.php
	mobile/operation/agents/view_agents.php
	mobile/operation/agents/view_alerts.php
	mobile/operation/events/events.php
	mobile/operation/servers/view_servers.php
	mobile/include/functions_web.php
	general/footer.php
	general/noaccess.php
	general/logon_ok.php
	general/main_menu.php
	general/ui/agents_list.php
	general/header.php
	godmode/groups/modu_group_list.php
	godmode/groups/configure_group.php
	godmode/groups/configure_modu_group.php
	godmode/groups/group_list.php
	godmode/admin_access_logs.php
	godmode/db/db_main.php
	godmode/db/db_audit.php
	godmode/db/db_sanity.php
	godmode/db/db_refine.php
	godmode/db/db_info.php
	godmode/db/db_event.php
	godmode/db/db_purge.php
	godmode/extensions.php
	godmode/agentes/module_manager_editor_common.php
	godmode/agentes/module_manager_editor_network.php
	godmode/agentes/fields_manager.php
	godmode/agentes/module_manager_editor_wmi.php
	godmode/agentes/module_manager_editor_plugin.php
	godmode/agentes/module_manager_editor_prediction.php
	godmode/agentes/agent_conf_gis.php
	godmode/agentes/module_manager.php
	godmode/agentes/modificar_agente.php
	godmode/agentes/configurar_agente.php
	godmode/agentes/configure_field.php
	godmode/agentes/module_manager_editor.php
	godmode/agentes/planned_downtime.php
	godmode/agentes/manage_config_remote.php
	godmode/agentes/agent_manager.php
	godmode/servers/recon_script.php
	godmode/servers/plugin.php
	godmode/servers/manage_recontask.php
	godmode/servers/modificar_server.php
	godmode/servers/manage_recontask_form.php
	godmode/alerts/alert_list.list.php
	godmode/alerts/configure_alert_compound.php
	godmode/alerts/alert_compounds.php
	godmode/alerts/alert_list.php
	godmode/alerts/configure_alert_template.php
	godmode/alerts/alert_templates.php
	godmode/alerts/configure_alert_action.php
	godmode/alerts/configure_alert_command.php
	godmode/alerts/alert_actions.php
	godmode/alerts/alert_list.builder.php
	godmode/alerts/alert_commands.php
	godmode/setup/file_manager.php
	godmode/setup/os.list.php
	godmode/setup/news.php
	godmode/setup/gis_step_2.php
	godmode/setup/links.php
	godmode/setup/setup.php
	godmode/setup/os.php
	godmode/setup/performance.php
	godmode/setup/setup_auth.php
	godmode/setup/gis.php
	godmode/setup/os.builder.php
	godmode/setup/setup_visuals.php
	godmode/snmpconsole/snmp_alert.php
	godmode/snmpconsole/snmp_filters.php
	godmode/users/user_list.php
	godmode/users/configure_user.php
	godmode/users/configure_profile.php
	godmode/gis_maps/configure_gis_map.php
	godmode/gis_maps/index.php
	godmode/massive/massive_add_alerts.php
	godmode/massive/massive_copy_modules.php
	godmode/massive/massive_delete_agents.php
	godmode/massive/massive_enable_disable_alerts.php
	godmode/massive/massive_operations.php
	godmode/massive/massive_delete_profiles.php
	godmode/massive/massive_edit_agents.php
	godmode/massive/massive_delete_action_alerts.php
	godmode/massive/massive_delete_modules.php
	godmode/massive/massive_add_profiles.php
	godmode/massive/massive_delete_alerts.php
	godmode/massive/massive_edit_modules.php
	godmode/massive/massive_standby_alerts.php
	godmode/massive/massive_add_action_alerts.php
	godmode/modules/manage_network_templates.php
	godmode/modules/module_list.php
	godmode/modules/manage_network_components_form_common.php
	godmode/modules/manage_network_components_form_network.php
	godmode/modules/manage_network_templates_form.php
	godmode/modules/manage_network_components_form_wmi.php
	godmode/modules/manage_network_components.php
	godmode/modules/manage_nc_groups.php
	godmode/modules/manage_network_components_form_plugin.php
	godmode/reporting/reporting_builder.list_items.php
	godmode/reporting/visual_console_builder.php
	godmode/reporting/reporting_builder.preview.php
	godmode/reporting/visual_console_builder.data.php
	godmode/reporting/visual_console_builder.elements.php
	godmode/reporting/graph_builder.php
	godmode/reporting/visual_console_builder.preview.php
	godmode/reporting/graph_builder.graph_editor.php
	godmode/reporting/reporting_builder.php
	godmode/reporting/visual_console_builder.editor.php
	godmode/reporting/reporting_builder.item_editor.php
	godmode/reporting/map_builder.php
	godmode/reporting/graphs.php
	godmode/reporting/graph_builder.preview.php: Now all functions of 
	include/functions_ui have ui_ prefix.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4212 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 16:11:02 +00:00
mdtrooper 22c5906961 2011-04-13 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php, godmode/db/db_info.php,
	godmode/db/db_purge.php: added functions "grafico_db_agentes_purge2",
	"grafico_db_agentes_paquetes2", "graph_db_agentes_modulos2", and changed
	in the code for this functions.
	
	* include/graphs/functions_pchart.php: in function "pch_bar_graph" fixed
	when pass a empty array as color.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4211 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 15:58:59 +00:00
slerena 67d1b9b750 2011-04-13 Sancho Lerena <slerena@artica.es>
* operation/servers/view_server_detail.php,
	godmode/servers/manage_recontask.php,
	godmode/servers/manage_recontask_form.php: Fixes bug #3286027. Also implement
	the new "manual" mode for recon tasks.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4210 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 15:12:40 +00:00
mdtrooper 4bf3f498e7 2011-04-13 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php,
	include/graphs/functions_pchart.php,
	include/graphs/fgraph.php,
	include/functions_reporting.php,
	include/functions_visual_map.php,
	include/ajax/visual_console_builder.ajax.php, include/functions_api.php,
	operation/reporting/reporting_xml.php,
	mobile/operation/agents/view_agents.php,
	godmode/reporting/visual_console_builder.editor.js: changed the old sparse
	for the new engine graph sparse paint method.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4209 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 15:11:51 +00:00
zarzuelo 1f20c52164 2011-04-13 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php: Forgotted 
	restoring miguel modifications in the last commit



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4203 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 14:45:40 +00:00
zarzuelo 4ce26cf019 2011-04-13 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php
	include/functions_custom_graphs.php: Improved the 
	vertical graph legend to use in horizontal when
	is possible. 
	Fixing a Miguel modification erased by me in the last
	commit.
	Fix a combined graph bug in the size



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4202 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 14:41:45 +00:00
zarzuelo 7fe638e70d 2011-04-13 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/graphs/functions_pchart.php
	include/graphs/fgraph.php
	include/functions_reporting.php
	include/pchart_graph.php
	include/fgraph.php: Change the slicebar graph
	made by Javi to make it more generic and to 
	use the new pChart library. This graph has been 
	included into the graphs abstraction too



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4201 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 13:01:37 +00:00
mdtrooper 794ab4ed7b 2011-04-13 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/functions_pchart.php: added lost lines of source code to
	set bottom margin.
	
	* godmode/reporting/visual_console_builder.editor.js: changed to use new
	progress bar.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4200 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 10:50:30 +00:00
mdtrooper b72d775e42 2011-04-13 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php, include/graphs/functions_gd.php,
	include/graphs/fgraph.php, include/functions_visual_map.php,
	include/fgraph.php, operation/agentes/estado_generalagente.php,
	operation/agentes/tactical.php. operation/agentes/stat_win.php,
	operation/servers/view_server.php, operation/servers/view_server_detail.php,
	mobile/operation/agents/tactical.php, general/logon_ok.php,
	godmode/reporting/graph_builder.preview.php: added function "progress_bar2"
	and changed in source code of Pandora.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4199 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 09:29:10 +00:00
zarzuelo 309f6623b8 2011-04-13 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php
	include/graphs/functions_fsgraph.php
	include/graphs/functions_gd.php
	include/graphs/fgraph.php: Fixed long index bug into
	stacked and line graphs.
	Add entry for radar and polar charts (kiviat)
	Clean code



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4198 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 08:49:18 +00:00
mdtrooper d9cd9b4873 2011-04-12 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/functions_fsgraph.php: fixed the "fs_area_graph" when
	haven't $long_index.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4196 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-12 17:24:16 +00:00
javilanz 153c05aa31 2011-04-12 Javier Lanz <javier.lanz@artica.es>
* include/functions_reporting.php: Fixed the functionality for the sla
	horitontal bar graph. Truncated some agent and module names. Cleaned the
	 code style
	* include/ajax/reporting.ajax.php: Added functionality to add & delete
	elements from the global reports
	* include/functions_ui.php: Added function printSmallFont
	* godmode/reporting/reporting_builder.item_editor.php: Fixed a wee
	problem with the module combo size


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4195 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-12 17:20:16 +00:00
juanmanuelr 9a00eb8a84 2011-04-12 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* extensions/users_connected.php
	operation/incidents/incident.list.php
	godmode/agentes/module_manager.php: Fixed some mistakes of my last 
	commit. 




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4194 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-12 16:58:11 +00:00
mdtrooper 30a21a8354 2011-04-12 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php: added constants for some graphs. Added
	function "graphic_agentaccess2" and function "graph_event_module2".
	 
	* include/graphs/functions_pchart.php: added checked previous $color and
	$legend to avoid PHP warnings, added some code to calculate the bottom
	margin.
	
	* include/graphs/fgraph.php: at the moment in this file call
	"fs_3d_pie_chart2" instead "fs_3d_pie_chart". Erased the color and legend in
	the piegraph. 
	
	* operation/agentes/estado_generalagente.php: use new graphics functions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4193 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-12 16:30:24 +00:00
zarzuelo 45a39efa79 2011-04-12 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_fsgraph.php
	include/graphs/fgraph.php
	include/graphs/functions_utils.php: Created a function to 
	include flash charts javascript file into abstraction.
	Clean code



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4192 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-12 16:03:07 +00:00
zarzuelo bbb91fa5fc 2011-04-12 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_fsgraph.php
	include/graphs/functions_gd.php
	include/graphs/images_graphs
	include/graphs/images_graphs/outlimits.png
	include/graphs/fgraph.php: Added new file with sd functions
	of two graphs, histogram and progress bar. Added folder with
	graph abstraction default images. Clean code



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4190 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-12 10:04:41 +00:00
jsatoh 6045e90116 2011-04-12 Junichi Satoh <junichi@rworks.jp>
* godmode/uses/configure_profile.php: Fixed $name twice encoding.
	It is already encoded.

	* godmode/admin_access_logs.php: Fixed encoding characters are shown.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4189 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-12 06:46:14 +00:00
slerena 821aa8c668 2011-04-11 SAncho Lerena <slerena@artica.es>
* images/console/backgrounds: Removed old images (not
        useful) and added a few new.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4188 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-11 21:31:50 +00:00
juanmanuelr 9527c7599e 2011-04-11 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_events.php
	include/functions_messages.php
	include/db/oracle.php
	include/functions_modules.php
	include/functions_reporting.php
	include/functions_groups.php
	include/functions_gis.php
	include/auth/mysql.php
	include/functions_networkmap.php
	include/functions_servers.php
	include/functions_network_components.php
	include/ajax/reporting.ajax.php
	include/ajax/agent.php
	include/functions_config.php
	include/functions_api.php
	include/help/en/help_timesource.php
	include/help/es/help_timesource.php
	include/help/ja/help_timesource.php
	include/fgraph.php
	include/functions.php
	include/functions_agents.php
	include/functions_db.php
	include/functions_fsgraph.php
	include/functions_alerts.php
	include/functions_reports.php
	pandoradb.oracle.sql
	install.php
	extensions/system_info.php
	extensions/update_manager.php
	extensions/dbmanager.php
	extensions/users_connected.php
	extensions/module_groups.php
	extensions/update_manager/sql/update_manager.oracle.sql
	extensions/update_manager/load_updatemanager.php
	extensions/update_manager/lib/libupdate_manager_client.php
	extensions/update_manager/lib/libupdate_manager.php
	extensions/update_manager/lib/libupdate_manager_components.php
	extensions/update_manager/lib/libupdate_manager_updates.php
	operation/search_modules.php
	operation/agentes/status_monitor.php
	operation/agentes/alerts_status.php
	operation/agentes/datos_agente.php
	operation/agentes/estado_ultimopaquete.php
	operation/agentes/exportdata.php
	operation/agentes/gis_view.php
	operation/agentes/estado_monitores.php
	operation/agentes/ver_agente.php
	operation/snmpconsole/snmp_view.php
	operation/users/user_edit.php
	operation/gis_maps/render_view.php
	operation/gis_maps/ajax.php
	operation/events/events_rss.php
	operation/events/events_list.php
	operation/events/events_marquee.php
	operation/search_alerts.php
	operation/reporting/reporting_xml.php
	operation/reporting/reporting_viewer.php
	pandoradb.data.oracle.sql
	extras/pandora_diag.php
	mobile/operation/agents/monitor_status.php
	mobile/operation/agents/view_agents.php
	mobile/operation/events/events.php
	general/logon_ok.php
	godmode/groups/group_list.php
	godmode/admin_access_logs.php
	godmode/db/db_main.php
	godmode/agentes/agent_template.php
	godmode/agentes/module_manager.php
	godmode/agentes/modificar_agente.php
	godmode/agentes/configurar_agente.php
	godmode/agentes/module_manager_editor.php
	godmode/agentes/planned_downtime.php
	godmode/alerts/alert_list.list.php
	godmode/alerts/alert_compounds.php
	godmode/alerts/alert_list.php
	godmode/setup/setup.php
	godmode/modules/manage_network_templates.php
	godmode/modules/manage_network_templates_form.php
	godmode/reporting/reporting_builder.list_items.php
	godmode/reporting/reporting_builder.preview.php
	godmode/reporting/reporting_builder.php
	godmode/reporting/reporting_builder.item_editor.php: Support for Oracle DBMS
	over Console code.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4187 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-11 17:05:20 +00:00
mdtrooper 7e770bba09 2011-04-11 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/graph_builder.main.php: changed to use constants.
	
	* include/graphs/fgraph.php: dded the show image when none data
	and added the function "stacked_line_graph".
	
	* include/graphs/functions_pchart.php: fixed when haven't the $xaxisname and
	$yaxisname. Fixed typo mistake.

	* include/graphs/functions_utils.php: added function "stack_data".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4186 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-11 16:45:03 +00:00
javilanz 19ea476921 2011-04-11 Javier Lanz <javier.lanz@artica.es>
* godmode/reporting/reporting_builder.item_editor.php: The SLA elements
	are listed again with labels instead with input texts.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4184 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-11 16:31:43 +00:00
javilanz 2924fd42f5 2011-04-11 Javier Lanz <javier.lanz@artica.es>
* include/functions_reporting.php: Fixed a typo error
	* operation/agentes/exportdata.php: Added a couple of safe_outputs
	* operation/reporting/custom_reporting.php: Added CSV column and its
	icon, changed table width


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4183 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-11 15:43:45 +00:00
zarzuelo 581365e7c8 2011-04-11 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php
	include/graphs/functions_fsgraph.php
	include/graphs/fgraph.php: Merged changes from integria like increasement
	of margins in area static graphs, clean code and minor fixes



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4182 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-11 12:29:09 +00:00
marostegui e76e5c1e9a 2011-04-09 Manuel Arostegui <manuel@todo-linux.com>
* pandoradb.sql: Added index to tagente_modulo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4180 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-09 18:09:52 +00:00
zarzuelo 52e5cdcf61 2011-04-08 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php
	include/graphs/functions_fsgraph.php
	include/graphs/functions_utils.php: Improved the entry point
	of the graphics abstraction and merged bar and pie configurations
	from integria



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4179 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-08 08:56:43 +00:00
mdtrooper 985b94ca1e 2011-04-07 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php: added call to paint the other graphs.
	
	* include/graphs/functions_pchart.php: added stack area graph, and fixed
	typo in the call to line graph.
	
	* include/graphs/functions_fsgraph.php: added line graph and area graph.
	
	* include/graphs/fgraph.php: added function "stacked_area_graph" and
	"line_graph".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4178 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-07 17:36:08 +00:00
mdtrooper 767f76832c 2011-04-07 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/fgraph.php: changed the img tag to autoclose.
	
	* include/graphs/functions_fsgraph.php: changed the border to default 1, and
	fixed the show legend.

	* include/functions_graph.php: cleaned source code style. And the function
	"graphic_combined_module2" added the show timestamp as human, add the
	min, max, avg values. 
	
	* include/graphs/functions_pchart.php: changed the show leyend in the top
	of graph, and added some comments lines for debug.


	* include/functions_reporting.php, include/functions_custom_graphs.php,
	godmode/reporting/graph_builder.preview.php: changed the graph to show with
	new engine.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4177 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-07 14:34:03 +00:00
javilanz fbc60229af 2011-04-06 Javier Lanz <javier.lanz@artica.es>
* pandoradb.sql: Added 'id_group' & 'id_module_group' fields to 
	treport_content table
	* pandoradb.postgreSQL.sql: Added 'id_group' & 'id_module_group' fields 
	to treport_content table
	* pandoradb.oracle.sql: Added 'id_group' & 'id_module_group' fields to 
	treport_content table
	* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added 'id_group' &
	'id_module_group' fields to treport_content table


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4176 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-06 15:42:05 +00:00
mdtrooper 88c7c6eac8 2011-04-06 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php: wip in the function
	"graphic_combined_module2".
	
	* include/graphs/functions_fsgraph.php: fixed when "fs_area_graph" when
	send a graph without the colours or and legend.
	
	* include/graphs/fgraph.php: erased lost session instructions in the
	function "area_graph".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4175 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-06 14:42:31 +00:00
javilanz f21973589a 2011-04-06 Javier Lanz <javier.lanz@artica.es>
* include/functions_reporting.php: Added case to display 'agent_module'
	reports
	* include/functions.php: Added the option 'agent_module' for the
	reporting type in combo selecion
	* godmode/reporting/reporting_builder.php: Added options to store
	'agent_module' report info
	* godmode/reporting/reporting_builder.item_editor.php: Added html fields
	 for the 'agent_module' report


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4174 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-06 11:53:54 +00:00
zarzuelo 4e6ca06a74 2011-04-06 Sergio Martin <sergio.martin@artica.es>
* include/graphs/pChart/pData.class.php
	include/graphs/pChart/pDraw.class.php: Fixed avoid zero values 
	into area graphs and clean code



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4173 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-06 08:43:06 +00:00
mdtrooper c4a0573398 2011-04-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_fsgraph.php, include/functions_graph.php,
	include/graphs/functions_utils.php, include/fgraph.php: cleaned source code
	style.

	* include/functions_graph.php: added first version of function
	"graphic_combined_module2".
	
	* include/graphs/functions_pchart.php: fixed when pass a empty array as
	colour for graphs.
	
	* include/graphs/pChart/pDraw.class.php: fixed to set a color border when
	the graphs haven't a external defined colour.
	
	* include/graphs/fgraph.php: changed for pass the data to static image graph
	generator.
	
	* operation/agentes/graphs.php: changed to use the new graph engine.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4172 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-05 16:11:53 +00:00
mdtrooper 18c1ef9163 2011-04-04 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events_list.php, operation/events/events.php: fixed
	nested forms incompatible with some browsers that fail when validate
	several events and some errors in javascript when validate individual error.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4170 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-05 12:36:38 +00:00
mdtrooper 4be8774fde 2011-04-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_fsgraph.php: added check if loaded the class.

	* include/graphs/functions_fsgraph.php: added check if loaded the class.
	Rename some functions and erased the function "fs_module_chart".

	* include/graphs/functions_pchart.php: erased some debug traces.

	* include/graphs/fgraph.php: cleaned the function "area_graph".

	* operation/agentes/stat_win.php: cleaned source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4169 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-05 09:27:38 +00:00
mdtrooper bd6f13faa8 2011-04-3 Miguel de Dios <miguel.dedios@artica.es>
* pandora_console/godmode/modules/manage_network_templates.php: fixed the
	output of description and name, and fixed the buttons to delete and export.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4164 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-04 10:43:25 +00:00
zarzuelo 47f4f0bf33 2011-04-01 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php
	include/graphs/pChart/pDraw.class.php
	include/graphs/fgraph.php
	include/graphs/functions_utils.php: Changed the send data method 
	from sessions to files with serialize functions. Creation of a
	utils functions file. Improvement of the pChart library adding 
	attributes to avoid ticks and grids when the data under the 
	xaxis is empty.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4160 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-01 12:28:50 +00:00
juanmanuelr 39c1c5b8f6 2011-04-01 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/gis_maps/render_view.php: Fixed bad sql query sintax.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4159 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-01 08:34:34 +00:00
mdtrooper 568d23a957 2011-03-31 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php, operation/agentes/stat_win.php: changes for
	to show with new engine.
	 
	* include/graphs/functions_pchart.php,
	include/graphs/pChart/pData.class.php,
	include/graphs/pChart/pDraw.class.php,
	include/graphs/functions_fsgraph.php,
	include/graphs/fgraph.php: part of job is Sergio Martin in my laptop, the
	changes to show borders in the static image graph.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4158 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-31 17:07:00 +00:00
juanmanuelr 20a096e509 2011-03-31 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/config_process.php: Fixed wrong condition when global 
	configuration for "flash_charts" option is override by user value.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4157 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-31 15:29:18 +00:00
juanmanuelr 27df1ee485 2011-03-31 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/db/oracle.php: Added new functions for Oracle support.
	include/functions_db.php: Added conditional code for Oracle engine.
	* pandoradb.oracle.sql: Added new db procedure "insert_id" to 
	retrieve PK when insert is performed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4156 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-31 13:46:34 +00:00
zarzuelo 8278b498ed 2011-03-31 Sergio Martin <sergio.martin@artica.es>
* include/graphs/pChart/pDraw.class.php: Added to 
	library an option to avoid draw zeros in area 
	charts



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4155 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-31 12:13:23 +00:00
zarzuelo e123451372 2011-03-31 Sergio Martin <sergio.martin@artica.es>
* include/graphs/pChart/pDraw.class.php: Fixed 
	pchart library bug with default value for
	forcetransparency attribute. Changed from NULL
	to -1



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4154 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-31 10:06:49 +00:00
mdtrooper e9278e8e0f 2011-03-31 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php, include/graphs/functions_fsgraph.php: add
	to support and wip with new graph engine.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4153 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-31 08:46:04 +00:00
zarzuelo 09fe1cd023 2011-03-31 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php: Improved 
	legend control and added limitation in showing
	xaxis data to one each 10 pixels



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4152 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-31 08:26:48 +00:00
zarzuelo f7ad4ce2d1 2011-03-30 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php: Fixed bad 
	legend show condition



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4151 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-30 15:49:57 +00:00
javilanz 5271e29b61 2011-03-30 Javier Lanz <javier.lanz@artica.es>
* godmode/reporting/reporting_builder.item_editor.php: Removed the option
	to select 'show graph' in general reports


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4150 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-30 15:37:37 +00:00
zarzuelo 968e45962f 2011-03-30 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php: Added features to 
	the vertical graphs function like colors, alpha values, legend...



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4149 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-30 15:34:49 +00:00
javilanz f9568eb929 2011-03-30 Javier Lanz <javier.lanz@artica.es>
* include/functions_reporting.php: Fixed a small problem passing 'width'
	parameter in 'top_n' reports


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4148 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-30 15:22:02 +00:00
javilanz 4cedad83cd 2011-03-30 Javier Lanz <javier.lanz@artica.es>
* include/functions_reporting.php: Fixed a small problem when displaying
	only the graph and not the table for the exception report.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4147 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-30 15:02:56 +00:00
mdtrooper c38a7f0fd7 2011-03-30 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php, include/graphs/*, include/graphs/fgraph.php:
	added first version of common graph libraries with Integria and Babel.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4146 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-30 12:34:25 +00:00
javilanz 7502c19cf4 2011-03-30 Javier Lanz <javier.lanz@artica.es>
* include/functions_reporting.php: Fixed get_agentmodule_sla_array and
	added functionality to show the table, table+graph or only graph
	* include/pchart_graph.php: Fixed function graph_sla_horizontal
	* include/pandora_graph.php: Changed function graph_sla_horizontal
	prototype
	* include/fgraph.php: Deleted function graph_sla_pie, fixed function
	graph_sla_horizontal and added two more cases for printing graphs
	* godmode/reporting/reporting_builder.php: Changed getting parameter
	of two checkboxes for two comboboxes
	* godmode/reporting/reporting_builder.item_editor.php: Added the options
	for the combo to select display table, table+graph or only graph


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4145 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-30 12:04:45 +00:00
mdtrooper a83030b0f0 2011-03-29 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/stat_win.php, godmode/servers/plugin.php: cleaned source
	code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4144 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-29 15:22:02 +00:00
raulmateos 222a72ffea 2011-03-29 Raul Mateos <raulofpandora@gmail.com>
* pandora_console_upgrade: Use PI_VERSION variable.
	* pandora_console_install: Changed small text.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4143 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-29 08:45:21 +00:00
mdtrooper ab61ad9782 2011-03-28 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.php,
	godmode/reporting/reporting_builder.item_editor.php: added suppor for styles
	in the report content, now support in columns and landscape in some cases.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4142 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-28 17:44:33 +00:00
mdtrooper 3e5bfe0e9e 2011-03-28 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.php,
	godmode/reporting/reporting_builder.item_editor.php: added suppor for styles
	in the report content, now support in columns and landscape in some cases.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4141 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-28 17:35:31 +00:00
zarzuelo fd64dd4ba8 2011-03-28 Sergio Martin <sergio.martin@artica.es>
* include/fonts/FreeSans.ttf
	include/FreeSans.ttf
	include/functions_config.php Moved the freesans 
	font to the new fonts folder and set the unicode 
	font as default font into setup



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4140 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-28 15:30:08 +00:00
zarzuelo 77ce196426 2011-03-28 Sergio Martin <sergio.martin@artica.es>
* include/fonts
	include/fonts/DejaVuSerif-Bold.ttf
	include/fonts/DejaVuSerif.ttf
	include/fonts/DejaVuSerifCondensed-Bold.ttf
	include/fonts/DejaVuSerifCondensed.ttf
	include/fonts/DejaVuSerif-Italic.ttf
	include/fonts/code.ttf
	include/fonts/DejaVuSerif-BoldItalic.ttf
	include/fonts/DejaVuSerifCondensed-Italic.ttf
	include/fonts/DejaVuSerifCondensed-BoldItalic.ttf: move the
	pdf library fonts from enterprise to open



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4139 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-28 15:05:47 +00:00
mdtrooper 1e52b9fc34 2011-03-28 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql, pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	extras/pandoradb_migrate_v3.2_to_v4.0.sql: added column "style" for to
	add style (as json encode) the many styles for the contents.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4138 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-28 14:35:08 +00:00
javilanz 6380b17a06 2011-03-28 Javier Lanz <javier.lanz@artica.es>
* include/functions_reporting.php: Added get_agentmodule_sla_array
	function and fixed some SLA graph details
	* include/pchart_graph.php: Deleted some "debugPrint" calls found
	* include/pandora_graph.php: Changed function 'graph_sla_horizontal'
	prototype



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4137 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-28 09:26:49 +00:00
juanmanuelr 983e2de256 2011-03-25 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/modules/module_list.php: Fixed wrong variable call.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4135 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-25 09:16:14 +00:00
juanmanuelr 71a9cfed49 2011-03-24 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/config_process.php
	* operation/users/user_edit.php 
	* godmode/users/configure_user.php:Now global configuration for 
	"flash_charts" and "block_size" options are not override for 
	default user values.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4134 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-24 18:35:10 +00:00
juanmanuelr 1f962dc9c4 2011-03-24 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandoradb.data.postgreSQL.sql: Forgotten file from my last commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4133 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-24 16:56:27 +00:00
juanmanuelr 8be261e212 2011-03-24 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandoradb.oracle.sql: Added modifications in queries needed for 
	Pandora installer.
	* pandoradb.data.postgreSQL.sql
	  pandoradb.data.oracle.sql: Added data for tconfig table like in 
	the mysql script version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4132 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-24 16:51:49 +00:00
mdtrooper 409b606ecb 2011-03-24 Miguel de Dios <miguel.dedios@artica.es>
* include/pChart/pChart.class: some fixes to prevent notices and warning
	PHP messages that corrupt image file.
	 
	* include/fgraph.php: some fixes to prevent noticies and warning PHP
	messages that corrupt image file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4131 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-24 16:33:23 +00:00
mdtrooper f605d31f12 2011-03-24 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: fixed in the content "general" when the
	report haven't agents.
	
	* include/fgraph.php: fixed when extract the "sql" column in the table
	"treport_custom_sql".
	
	* godmode/reporting/reporting_builder.item_editor.php: fixed the show the
	SQL query in the contents that have it.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4130 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-24 13:09:26 +00:00
javilanz a06a31e79c 2011-03-24 Javier Lanz <javier.lanz@artica.es>
* include/ajax/reporting.ajax.php: Added truncating for the agent and
	module name into report SLA list.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4129 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-24 10:48:59 +00:00
raulmateos 986935e9d6 2011-03-23 Raul Mateos <raulofpandora@gmail.com>
* operation/search_agents.php: Updated forgotten file

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4128 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-23 18:48:26 +00:00
mdtrooper c82bc2c0dc 2011-03-23 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_agente.php: fixed the output of ajax request.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4127 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-23 17:44:44 +00:00
raulmateos e10d9b9746 2011-03-23 Raul Mateos <raulofpandora@gmail.com>
* extensions/ssh_console.php, extensions/vnc_view.php,
	extensions/update_manager.php, extensions/users_connected.php,
	extensions/extension_uploader.php, extensions/insert_data.php,
	extensions/module_groups.php, extensions/plugin_registration.php,
	extensions/agent_modules.php, extensions/resource_registration.php,
	extensions/resource_exportation.php, extensions/dbmanager.php,
	extensions/pandora_logs.php, general/*.php, ajax.php, 
	operation/search_*.php, operation/menu.php, operation/extensions.php,
	godmode/menu.php, godmode/extensions.php, godmode/admin_access_logs.php:
	CReverted unwanted license changes.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4126 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-23 16:13:28 +00:00
javilanz 528795f62f 2011-03-23 Javier Lanz <javier.lanz@artica.es>
* include/functions_reporting.php: Changed SLA report table layout


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4125 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-23 13:26:13 +00:00
javilanz 2d6a228721 2011-03-23 Javier Lanz <javier.lanz@artica.es>
* pandoradb.sql: Added creation of treport_content_item and updated
	treport_content table
	* pandoradb.postgreSQL.sql: Added creation of treport_content_item and
	updated treport_content table
	* pandoradb.oracle.sql: Added creation of treport_content_item and
	updated treport_content table
	* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added creation of
	treport_content_item and updated treport_content table



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4124 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-23 12:57:26 +00:00
mdtrooper 2e6f98bd8d 2011-03-23 Miguel de Dios <miguel.dedios@artica.es>
* extensions/insert_data.php, extensions/system_info.php,
	extensions/agents_modules.php, extensions/ssh_console.php,
	extensions/resource_registration.php, extensions/resource_exportation.php,
	extensions/plugin_registration.php: re-ordered and re-cleaned some parts or
	lines of source code. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4123 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-23 12:15:53 +00:00
mdtrooper 15cb78ee02 2011-03-23 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: fixed the include "fgraph", did'nt show
	warning message in the generation of PDF.

2011-03-23 Miguel de Dios  <miguel.dedios@artica.es>

	* include/functions_reporting.php: erased the svn diff messages lost in
	old times.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4122 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-23 11:34:16 +00:00
javilanz 24ca09c723 2011-03-23 Javier Lanz <javier.lanz@artica.es>
* images/global.png: Added image 'global.png' for the global report tab


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4121 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-23 10:31:18 +00:00
raulmateos 4f8f77cbab 2011-03-22 Raul Mateos <raulofpandora@gmail.com>
* extensions/ssh_console.php, extensions/vnc_view.php,
	extensions/update_manager.php, extensions/users_connected.php,
	extensions/extension_uploader.php, extensions/insert_data.php,
	extensions/module_groups.php, extensions/plugin_registration.php:
	Cleaned code and updated page disclaimers.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4120 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-22 22:11:57 +00:00
raulmateos cf6f219fc5 2011-03-22 Raul Mateos <raulofpandora@gmail.com>
* extensions/resource_registration.php,
	extensions/resource_exporation.php, extensions/agent_modules.php:
	Cleaned code and updated page disclaimers.

	* include/functions_reporting.php: Removed SVN errors in code.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4119 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-22 21:41:52 +00:00
mdtrooper 7166aff392 2011-03-22 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php: fixed the update "collection_max_size"
	value.
	
	Fixes: #3220485



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4117 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-22 16:31:56 +00:00
mdtrooper 18d95512db 2011-03-22 Miguel de Dios <miguel.dedios@artica.es>
* extensions/resource_registration.php: fixed the require once enterprise
	file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4116 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-22 15:48:01 +00:00
mdtrooper ed96fe0a10 2011-03-22 Miguel de Dios <miguel.dedios@artica.es>
* include/functions.php: fixed the function "safe_url_extraclean" to pass
	the url with character -.
	
	Fixes: #3234360



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4114 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-22 12:20:43 +00:00
mdtrooper cfcff1849b 2011-03-22 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: cleaned source code style.
	
	* extensions/resource_registration.php,
	extensions/resource_exportation.php: added first version of extension to
	import and export reports and visual console.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4113 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-22 09:23:04 +00:00
jsatoh 6fc918c6a5 2011-03-22 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added missing ';'.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4112 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-22 01:26:26 +00:00
javilanz 27880c6450 2011-03-21 Javier Lanz <javier.lanz@artica.es>
* include/functions_events.php: Truncated agent and module name
	* include/functions_reporting.php: Added functionality to store info of
	General, Top n and Exception reports
	* include/pchart_graph.php: Added function graph_sla_horizontal to print
	sla horizontal graph bar. (Not working properly yet)
	* include/pandora_graph.php: Added prototipe for
	function graph_sla_horizontal
	* include/fgraph.php: Added function graph_sla_pie to print sla pie graph
	* include/functions.php: Added options top n, exception and general for
	the combo box to select report type.
	* pandoradb.sql: added fome fields to treport_content table
	* extras/pandoradb_migrate_v3.2_to_v4.0.sql: added some fields to 
	treport_content table
	* godmode/reporting/reporting_builder.list_items.php: Truncated agent
	and module name
	* godmode/reporting/reporting_builder.preview.php: Added a bottom scroll
	bar to the report table
	* godmode/reporting/reporting_builder.php: Added variables for the new
	kinds of reports, top n, exception and general
	* godmode/reporting/reporting_builder.item_editor.php: Added html
	elements for the new kind of reports


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4111 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-21 17:20:18 +00:00
juanmanuelr f301e353e1 2011-03-21 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandoradb.oracle.sql
	pandoradb.data.oracle.sql: Changed the autoincrement of tconfig_os's pk 
	in order to respect sequence on this field.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4110 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-21 09:59:45 +00:00
juanmanuelr 5becbdd0c0 2011-03-18 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandoradb.oracle.sql
        pandoradb.data.oracle.sql: First version of pandora's DB schema and data for 
	Oracle DBMS.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4109 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-18 13:23:12 +00:00
raulmateos 1aedb197ad 2011-03-17 Raul Mateos <raulofpandora@gmail.com>
* extensions/dbmanager.php, extensions/pandora_logs.php, general/*.php,
	index.php, ajax.php, operation/search_*.php, operation/menu.php,
	operation/extensions.php, godmode/menu.php, godmode/extensions.php,
	admin_access_logs.php: Cleaned code and updated page disclaimers.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4108 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-17 22:01:01 +00:00
raulmateos 96e78fd22f 2011-03-17 Raul Mateos <raulofpandora@gmail.com>
* operation/menu.php, godmode/menu.php, godmode/setup/setup.php,
	extensions/pandora_logs.php, extensions/dbmanager.php:
	Cleaned code and updated year.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4107 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-17 20:51:46 +00:00
zarzuelo 74072427d7 2011-03-17 Sergio Martin <sergio.martin@artica.es>
* operation/integria_incidents
	operation/integria_incidents/incident.incident.php
	operation/integria_incidents/incident.php
	operation/integria_incidents/incident.files.php
	operation/integria_incidents/incident.tracking.php
	operation/integria_incidents/incident_detail.php
	operation/integria_incidents/incident.workunits.php
	operation/integria_incidents/incident.download_file.php
	operation/integria_incidents/incident.list.php
	operation/integria_incidents/incident_statistics.php: Added 
	missed files from the last commit



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4106 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-17 18:12:03 +00:00
zarzuelo e30a6cd93d 2011-03-17 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql
	include/functions_config.php
	include/functions_incidents.php
	operation/menu.php
	operation/integria_incidents
	operation/integria_incidents/incident.incident.php
	operation/integria_incidents/incident.php
	operation/integria_incidents/incident.files.php
	operation/integria_incidents/incident.tracking.php
	operation/integria_incidents/incident_detail.php
	operation/integria_incidents/incident.workunits.php
	operation/integria_incidents/incident.download_file.php
	operation/integria_incidents/incident_statistics.php
	operation/integria_incidents/incident.list.php
	godmode/setup/setup.php: Added the integria incidents interface
	with switch in the setup



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4105 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-17 18:02:44 +00:00
slerena 462aeeba63 2011-03-16 Sancho Lerena <slerena@artica.es>
* operation/agentes/estado_monitores.php: Fixed an ugly error when cannot
        get the policy name. Show unknown in that case, avoiding the SQL error.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4098 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-16 15:26:57 +00:00
mdtrooper cb4b714227 2011-03-14 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.preview.php: fixed a typing error.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4090 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-14 14:57:46 +00:00
mdtrooper d023256912 2011-03-11 Miguel de Dios <miguel.dedios@artica.es>
* extensions/agents_modules.php, operation/search_modules.php,
	operation/agentes/status_monitor.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/estado_monitores.php: fixed the label for the graphs in
	new window.
	
	Fixes: #3203474



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4087 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-11 12:33:15 +00:00
mdtrooper 904f2dd5cc 2011-03-11 Miguel de Dios <miguel.dedios@artica.es>
* extensions/update_manager.php,
	extensions/update_manager/load_updatemanager.php: changes for PostgreSQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4086 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-11 11:17:25 +00:00
mdtrooper 57e6547524 2011-03-10 Miguel de Dios <miguel.dedios@artica.es>
* include/db/postgresql.php, operation/agentes/estado_agente.php: erased
	the lost call to traces messages.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4085 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-11 09:33:45 +00:00
mdtrooper 2b4c044e6d 2011-03-10 Miguel de Dios <miguel.dedios@artica.es>
* extensions/update_manager.php,
	extensions/update_manager/sql/update_manager.postgreSQL.sql,
	extensions/update_manager/lib/libupdate_manager_client.php,
	extensions/update_manager/lib/libupdate_manager.php,
	extensions/update_manager/lib/libupdate_manager_components.php,
	extensions/update_manager/lib/libupdate_manager_updates.php: some changes
	for the PostgreSQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4084 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-10 18:44:37 +00:00
mdtrooper 5ea5e7d489 2011-03-10 Miguel de Dios <miguel.dedios@artica.es>
* include/db/postgresql.php, include/db/mysql.php, include/functions_db.php:
	added function "get_db_type_field_table" and subfunctions for the engines.

	* extensions/pandora_logs.php,
	extenions/update_manager/lib/libupdate_manager_utils.php: fixed source code
	style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4083 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-10 12:49:55 +00:00
zarzuelo 12cc101b7a 2011-03-10 Sergio Martin <sergio.martin@artica.es>
* extensions/update_manager/sql/update_manager.sql
	extensions/update_manager/load_updatemanager.php
	extensions/update_manager/lib/load_updatemanager.php
	extensions/update_manager/lib/xmlrpc
	extensions/update_manager/lib/xmlrpc/xmlrpcs.inc
	extensions/update_manager/lib/xmlrpc/xmlrpc_wrappers.inc
	extensions/update_manager/lib/xmlrpc/xmlrpc.inc
	extensions/update_manager/lib/libupdate_manager_client.php
	extensions/update_manager/lib/libupdate_manager.php
	extensions/update_manager/lib/libupdate_manager_utils.php
	extensions/update_manager/lib/libupdate_manager_components.php
	extensions/update_manager/lib/libupdate_manager_updates.php
	extensions/update_manager/settings.php
	extensions/update_manager/main.php: Upgraded the open update
	manager client to v2.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4082 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-10 10:12:52 +00:00
mdtrooper 2dec070b79 2011-03-09 Miguel de Dios <miguel.dedios@artica.es>
* ChangeLog: fixed date of one my previous commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4081 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-09 18:05:35 +00:00
mdtrooper 2b23573f9a 2011-03-09 Miguel de Dios <miguel.dedios@artica.es>
* install.php, operation/incidents/incident.php,
	operation/agentes/status_monitor.php, operation/agentes/datos_agente.php,
	operation/servers/view_server.php, operation/snmpconsole/snmp_view.php,
	operation/events/events_rss.php, operation/events/events_list.php,
	operation/events/events_marquee.php, operation/search_users.php,
	mobile/operation/agents/monitor_status.php,
	mobile/operation/agents/view_agents.php,
	mobile/operation/agents/view_alerts.php, mobile/operation/events/events.php,
	mobile/include/functions_web.php, godmode/admin_access_logs.php,
	godmode/agentes/modificar_agente.php, godmode/alerts/alert_actions.php,
	godmode/reporting/reporting_builder.list_items.php: changed and addded in
	the source, the SQL queries for the "LIMIT x, x" to "LIMIT x OFFSET x", that
	it is standard for PostgreSQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4080 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-09 17:55:37 +00:00
mdtrooper 3356b90afd 2011-03-09 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php, include/functions.php,
	operation/agentes/datos_agente.php, operation/agentes/gis_view.php,
	operation/servers/view_server_detail.php,
	operation/reporting/reporting_xml.php, operation/reporting/graph_viewer.php,
	godmode/db/db_main.php, godmode/db/db_purge.php,
	godmode/snmpconsole/snmp_alert.php, godmode/users/configure_user.php:
	cleaned source code, and erased the deprecated function
	"human_time_description".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4079 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-09 15:54:05 +00:00
mdtrooper 0c3b0728b3 2011-03-09 Miguel de Dios <miguel.dedios@artica.es>
* include/functions.php: fixed in the function "get_system_time" copy&paste
	mistake.
	
	* pandoradb.postgreSQL.sql: in the table "tusuario" added empty string for
	the column "middlename".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4078 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-09 15:50:18 +00:00
mdtrooper d2d1bda07b 2011-03-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php, include/functions_messages.php,
	include/functions_exportserver.php, include/functions_reporting.php,
	include/functions_gis.php, include/functions_networkmap.php,
	include/functions_servers.php, include/functions_api.php,
	include/fgraph.php, include/functions_agents.php, include/functions_db.php,
	include/functions_alerts.php, extensions/module_groups.php,
	operation/incidents/incident.php, operation/incidents/incident_detail.php,
	operation/search_modules.php, operation/agentes/status_monitor.php,
	operation/agentes/export_csv.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/alerts_status.php, operation/agentes/estado_agente.php,
	operation/agentes/sla_view.php, operation/agentes/ver_agente.php,
	operation/servers/view_server_detail.php, operation/menu.php,
	operation/search_graphs.php, operation/snmpconsole/snmp_view.php,
	operation/gis_maps/ajax.php, operation/events/events_rss.php,
	operation/events/events_list.php, operation/search_alerts.php,
	operation/search_reports.php, operation/reporting/reporting_xml.php,
	operation/reporting/graph_viewer.php, operation/search_maps.php,
	operation/search_users.php, mobile/operation/agents/view_agents.php,
	mobile/operation/events/events.php, godmode/groups/modu_group_list.php,
	godmode/groups/configure_group.php, godmode/groups/group_list.php,
	godmode/db/db_main.php, godmode/db/db_purge.php,
	godmode/agentes/module_manager_editor_prediction.php,
	godmode/agentes/modificar_agente.php,
	godmode/agentes/module_manager_editor.php,
	godmode/agentes/planned_downtime.php,
	godmode/servers/manage_recontask_form.php,
	godmode/alerts/alert_list.list.php, godmode/users/configure_user.php,
	godmode/massive/massive_edit_modules.php,
	godmode/modules/manage_network_templates_form.php,
	godmode/modules/manage_network_components_form_wmi.php,
	godmode/reporting/visual_console_builder.php,
	godmode/reporting/reporting_builder.item_editor.php: changed or added in
	some cases the SQL queries for to be PostgreSQL standard, and cleaned source
	style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4074 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-09 14:26:36 +00:00
mdtrooper 59c9ea6619 2011-03-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php, include/functions_db.php,
	operation/incidents/incident_detail.php, godmode/agentes/agent_template.php,
	godmode/servers/manage_recontask.php, godmode/snmpconsole/snmp_alert.php,
	godmode/users/configure_profile.php: change the source code
	for to use process_sql_insert instead of the SQL (SQL write in multiple lines). 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4071 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-08 18:11:56 +00:00
mdtrooper 36b8d690f8 2011-03-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_events.php, include/functions_messages.php,
	include/auth/mysql.php, include/functions_api.php,
	include/functions_incidents.php, include/functions_db.php,
	operation/incidents/incident_detail.php,
	operation/snmpconsole/snmp_view.php, operation/reporting/graph_viewer.php,
	godmode/groups/group_list.php, godmode/agentes/module_manager.php,
	godmode/agentes/configurar_agente.php, godmode/agentes/planned_downtime.php,
	godmode/servers/recon_script.php, godmode/servers/manage_recontask.php,
	godmode/servers/modificar_server.php, godmode/snmpconsole/snmp_alert.php,
	godmode/snmpconsole/snmp_filters.php,
	godmode/modules/manage_network_templates_form.php: change the source code
	for to use process_sql_delete instead of the SQL. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4070 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-08 16:12:58 +00:00
mdtrooper 71c838cd31 2011-03-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php, include/functions_db.php,
	extensions/update_manager.php, extensions/plugin_registration.php,
	operation/incidents/incident.php, operation/incidents/incident_detail.php,
	godmode/agentes/planned_downtime.php, godmode/servers/recon_script.php,
	godmode/snmpconsole/snmp_filters.php, godmode/setup/news.php,
	godmode/modules/manage_network_templates_form.php: change the source code
	for to use process_sql_insert instead of the SQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4067 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-08 14:43:45 +00:00
mdtrooper 0f981926e6 2011-03-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_events.php, include/functions_messages.php,
	include/functions_incidents.php, include/functions_db.php,
	operation/incidents/incident.php, operation/agentes/ver_agente.php,
	operation/agentes/tactical.php, operation/servers/view_server_detail.php,
	operation/snmpconsole/snmp_view.php, godmode/groups/modu_group_list.php,
	godmode/agentes/configurar_agente.php, godmode/servers/manage_recontask.php,
	godmode/servers/modificar_server.php, godmode/snmpconsole/snmp_filters.php,
	godmode/setup/news.php, godmode/modules/manage_network_templates_form.php:
	change the source code for to use process_sql_update instead of the SQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4066 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-08 11:14:03 +00:00
mdtrooper 06c3bb01ea 2011-03-07 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: added the SQL query with correct
	date operations for PostgreSQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4065 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-07 18:24:15 +00:00
mdtrooper 67d1a8ca13 2011-03-07 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php, godmode/admin_access_logs.php: changes for the
	interval operator in PostgreSQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4064 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-07 17:43:32 +00:00
juanmanuelr ebcde11846 2011-03-07 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandoradb.oracle.sql: Added to repository. Creation script with some
	tables of pandora db schema for Oracle DBMS.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4063 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-07 17:05:32 +00:00
mdtrooper 4e0856350d 2011-03-07 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_modules.php, include/functions_reporting.php,
	include/functions_gis.php, include/functions_servers.php,
	include/ajax/reporting.ajax.php, include/fgraph.php,
	include/functions_db.php, include/functions_alerts.php,
	include/functions_reports.php, extensions/system_info.php,
	extensions/agents_modules.php, operation/agentes/group_view.php,
	operation/events/events_rss.php, operation/reporting/reporting_xml.php,
	operation/reporting/reporting_viewer.php, extras/pandora_diag.php,
	general/logon_ok.php, godmode/db/db_audit.php, godmode/db/db_event.php,
	godmode/db/db_purge.php, godmode/agentes/planned_downtime.php,
	godmode/setup/setup.php,
	godmode/massive/massive_enable_disable_alerts.php,
	godmode/massive/massive_delete_modules.php,
	godmode/massive/massive_standby_alerts.php,
	godmode/modules/manage_network_templates.php,
	godmode/modules/manage_network_templates_form.php,
	godmode/reporting/reporting_builder.list_items.php,
	godmode/reporting/reporting_builder.preview.php,
	godmode/reporting/reporting_builder.php: changes for to use character " in
	the SQL queries for PostgreSQL, in some cases. In other case there are more
	changes for to create SQL query PostgreSQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4062 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-07 16:59:14 +00:00
mdtrooper de4ef7ced0 2011-03-07 Miguel de Dios <miguel.dedios@artica.es>
* general/logon_ok.php: change the SQL in postgreSQL and some parts of
	source code to use the colummns with the case sensitive.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4061 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-07 12:38:49 +00:00
mdtrooper f1a4ab891a 2011-03-07 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_events.php, include/functions_reporting.php,
	include/functions_db.php, extensions/users_connected.php,
	general/logon_ok.php: added the SQL queries PostgreSQL
	compatible, in this case with the function to get unix_timestamp.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4060 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-07 11:48:44 +00:00
mdtrooper fc8f575f7a 2011-03-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: made rollback the version of function
	"select_db_engine" because I had a mistake in the previous commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4059 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-04 12:58:38 +00:00
mdtrooper d4c0c25414 2011-03-04 Miguel de Dios <miguel.dedios@artica.es>
* include/db/postgresql.php, include/db/mysql.php, include/functions_db.php:
	the function "get_system_time" and derivate functions in DB engines.
	
	* include/functions_gis.php, include/functions_servers.php,
	include/help/en/help_timesource.php, include/help/es/help_timesource.php,
	include/help/ja/help_timesource.php, include/functions.php,
	operation/agentes/estado_agente.php, operation/agentes/gis_view.php,
	operation/gis_maps/render_view.php: added the SQL queries PostgreSQL
	compatible, in this case with the function to get unix_timestamp.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4058 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-04 12:36:23 +00:00
mdtrooper e3cf87c00f 2011-03-03 Miguel de Dios <miguel.dedios@artica.es>
* include/db/postgresql.php, include/db/mysql.php, include/functions_db.php:
	fixed the function "get_db_all_rows_filter" for PostgreSQL engine, added
	new function "get_db_last_error" and derivate functions in DB engines. And
	added new parameter $status in function "process_sql".
	
	* extensions/dbmanager.php, general/error_authconfig.php,
	general/error_dbconfig.php, godmode/groups/modu_group_list.php,
	godmode/groups/group_list.php, godmode/db/db_sanity.php,
	godmode/agentes/fields_manager.php,
	godmode/agentes/manage_config_remote.php, godmode/servers/recon_script.php,
	godmode/servers/plugin.php, godmode/modules/module_list.php,
	godmode/modules/manage_network_components_form_wmi.php,
	godmode/reporting/graphs.php: changed the calls to mysql functions to own
	functions, and rewrote some parts of source code for this action.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4057 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-03 18:35:37 +00:00
mdtrooper fbc02682cc 2011-03-03 Miguel de Dios <miguel.dedios@artica.es>
* godmode/setup/news.php, godmode/setup/links.php, include/fgraph.php,
	operation/agentes/status_monitor.php, operation/reporting/graph_viewer.php:
	changed the calls to mysql functions to own functions.
	
	* godmode/agentes/module_manager.php: marked with a comment the source code
	the SQL postgreSQL and mySQL standar querys.

	* include/functions_html.php, include/db/postgresql.php,
	include/functions_reporting.php, include/pchart_graph.php,
	include/functions_db.php: cleaned source code style.
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4056 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-03 11:32:05 +00:00
mdtrooper 8f9ed10f16 2011-03-03 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: refixed the status when the agent have
	any module critical and any alert fired.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4054 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-03 10:28:43 +00:00
raulmateos 4d6dc00a86 2011-03-02 Raul Mateos <raulofpandora@gmail.com>
* include/functions*.php: Updated year in files changed this year. Also
	changed spaces to tabs.

	* pandora_console_install, pandora_console_upgrade,
	pandora.data.postgreSQL.sql, pandoradb_data.sql

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4053 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-02 21:56:48 +00:00
mdtrooper 6d71a2c284 2011-03-02 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.data.postgreSQL.sql: fixed the serial values.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4052 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-02 17:24:33 +00:00
juanmanuelr 9d5f594f1c 2011-03-02 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_ui.php: Added missing variable initialization in function
	process_page_head. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4051 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-02 16:28:07 +00:00
mdtrooper b1318b3e18 2011-03-02 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: added the call to
	"get_agentmodule_status" without check the alerts status for the color.
	 
	* include/functions_db.php: in function "get_agentmodule_status" added new
	parameter "$without_alerts" flag for check without alerts. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4049 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-02 16:16:09 +00:00
mdtrooper 71e2b2500b 2011-03-02 Miguel de Dios <miguel.dedios@artica.es>
* include/db/postgresql.php, include/db/mysql.php, include/functions.php:
	separate the function "mysql_safe_sql_string" into the two version for MySQL
	and PostgreSQL engine.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4048 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-02 14:34:38 +00:00
mdtrooper 091d81f51b 2011-03-02 Miguel de Dios <miguel.dedios@artica.es>
* include/db/postgresql.php, include/db/mysql.php, include/functions.php:
	separate the function "mysql_safe_sql_string" into the two version for MySQL
	and PostgreSQL engine.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4047 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-02 14:33:24 +00:00
mdtrooper 3cddefe355 2011-03-02 Miguel de Dios <miguel.dedios@artica.es>
* include/db/postgresql.php: fixed in the function
	"postgresql_get_db_all_rows_in_table" unclose quotes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4046 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-02 14:30:26 +00:00
mdtrooper 4351f86545 2011-03-02 Miguel de Dios <miguel.dedios@artica.es>
* include/help/es/modu_group_list.php: erased the unused php file. I think
	that this file wrong uploaded.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4045 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-02 14:04:42 +00:00
mdtrooper c568805090 2011-03-01 Miguel de Dios <miguel.dedios@artica.es>
* install.php: modified the source code for install postgreSQL DB to make
	the pandora user db as owner of tables.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4043 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-01 18:53:24 +00:00
mdtrooper 9d8ed7e20f 2011-03-01 Miguel de Dios <miguel.dedios@artica.es>
* include/db/postgresql.php, include/db/mysql.php, include/functions_db.php:
	separate the function "process_sql_rollback" into the two version for
	MySQL and PostgreSQL engine.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4042 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-01 17:43:15 +00:00
mdtrooper 5e5aeb3061 2011-03-01 Miguel de Dios <miguel.dedios@artica.es>
* index.php: cleaned source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4041 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-01 16:42:12 +00:00
mdtrooper 9cbc8cbac5 2011-03-01 Miguel de Dios <miguel.dedios@artica.es>
* include/db/postgresql.php, include/db/mysql.php, include/functions_db.php:
	separate the function "get_db_all_row_by_steps_sql", "process_sql_begin",
	"process_sql_commit" and "process_sql_rollback" into the two version for
	MySQL and PostgreSQL engine.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4040 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-01 16:37:24 +00:00
juanmanuelr eadfdbc7b9 2011-03-01 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/ajax/skins.ajax.php: Replaced "give_acl" function call to 
	"check_acl". 
	* include/config_process.php: "block_size" and "flash_charts" user options
	override global options.
	* include/functions_ui.php: If user has assigned a skin then use skins's 
	css files if it's possible.
	* include/functions_db.php: Added missing function get_profile_filter.
	* include/functions_themes.php: New parameter "path" in order to list all
	css files of an specific path.
	* index.php: Added functions_themes.php include statement.
	* operation/users/user_edit.php
	godmode/users/configure_user.php: Added new user options: "skin", "block_size" 
	and "flash_charts". 
	* godmode/setup/setup_visuals.php: Removed "custom_logo" options in setup for
	pandora enterprise version. 




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4038 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-01 15:47:48 +00:00
mdtrooper 69311d5141 2011-03-01 Miguel de Dios <miguel.dedios@artica.es>
* include/db/postgresql.php, include/db/mysql.php, include/functions_db.php:
	separate the function "format_array_to_update_sql", "process_sql_update",
	"process_sql_delete" into the two version for MySQL and PostgreSQL engine.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4037 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-01 15:11:08 +00:00
mdtrooper 3fa73f4ec5 2011-03-01 Miguel de Dios <miguel.dedios@artica.es>
* include/db/postgresql.php, include/db/mysql.php, include/functions_db.php:
	separate the function "get_db_all_rows_filter", "get_db_num_rows",
	"get_db_all_rows_field_filter" and "get_db_all_fields_in_table" into the two
	version for MySQL and PostgreSQL engine.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4035 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-01 14:20:42 +00:00
mdtrooper 848dee5138 2011-03-01 Miguel de Dios <miguel.dedios@artica.es>
* include/db/postgresql.php, include/db/mysql.php, include/functions_db.php:
	separate the function "get_db_value_sql", "get_db_row_sql" and
	"get_db_row_filter" into the two version for MySQL and PostgreSQL engine.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4034 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-01 11:59:37 +00:00
mdtrooper c24ffdac4b 2011-03-01 Miguel de Dios <miguel.dedios@artica.es>
* include/db/postgresql.php, include/db/mysql.php, include/functions_db.php:
	separate the function "get_db_value_filter" and
	"format_array_to_where_clause_sql" into the two version for MySQL and
	PostgreSQL engine.
	
	* operation/events/events_list.php: cleaned source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4033 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-01 11:40:43 +00:00
mdtrooper 27f4a39875 2011-03-01 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events_list.php: fixed the html entities in the extend
	list.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4031 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-01 10:34:14 +00:00
mdtrooper db09b5cf2f 2011-02-28 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: cleaned source code, and erased the deprecated
	functions "dame_nombre_real" and "show_alert_row_mini".
	
	* operation/incidents/incident_detail.php,
	operation/snmpconsole/snmp_view.php: replaced obsolete "dame_nombre_real"
	to "get_user_fullname". 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4030 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-28 17:47:22 +00:00
mdtrooper 768bc674b9 2011-02-28 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: cleaned source code, and erased the deprecated
	function "dame_admin".
	
	* operation/reporting/reporting_xml.php: replaced obsolete "dame_admin"
	to "is_user_admin".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4029 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-28 16:57:28 +00:00
juanmanuelr f9e506892b 2011-02-28 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_html.php: new parameter in function print_image in 	
	order to return only src field of image.	 
	* include/ajax/visual_console_builder.ajax.php
	include/functions_gis.php
	godmode/groups/configure_group.php
	godmode/alerts/configure_alert_compound.php
	godmode/setup/os.builder.php
	godmode/reporting/visual_console_builder.editor.js
	godmode/reporting/visual_console_builder.editor.php
	godmode/reporting/reporting_builder.item_editor.php: Changed the way of create 
	images from "<img=.." html tag to print_image function. 
	* include/ajax/skins.ajax.php: Added to repository. New php callback for 
	skins support inside javascript code.
	* ajax.php: Load of relative_path variable in ajax user session.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4028 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-28 16:53:09 +00:00
mdtrooper 98645e4f69 2011-02-28 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: cleaned source code, and erased the deprecated
	function "dame_id_grupo".
	
	*extensions/update_manager.php, operation/agentes/export_csv.php,
	godmode/agentes/module_manager.php, godmode/agentes/modificar_agente.php,
	godmode/agentes/configurar_agente.php: replaced obsolete "dame_id_grupo" to
	"get_agent_group".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4027 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-28 16:49:44 +00:00
mdtrooper 9b0eaa62c4 2011-02-28 Miguel de Dios <miguel.dedios@artica.es>
* extensions/update_manager.php: replaced obsolete "give_acl" to "check_acl"
	and erased the "give_acl".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4026 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-28 12:36:30 +00:00
mdtrooper ed21356ba6 2011-02-27 Miguel de Dios <miguel.dedios@artica.es>
* extensions/users_connected.php: fixed the double negation in the
	check_acl.

	* include/functions_events.php, include/functions_modules.php,
	include/functions_reporting.php, include/functions_filemanager.php,
	include/functions_config.php, include/ajax/reporting.ajax.php,
	include/ajax/visual_console_builder.ajax.php,
	include/ajax/alert_list.ajax.php, include/help/es/modu_group_list.php,
	include/fgraph.php, include/functions.php, include/functions_db.php,
	include/functions_alerts.php, include/functions_reports.php,
	extensions/insert_data.php, extensions/system_info.php,
	extensions/pandora_logs.php, extensions/agents_modules.php,
	extensions/dbmanager.php, extensions/resource_registration.php,
	extensions/update_manager/settings.php, extensions/update_manager/main.php,
	extensions/plugin_registration.php, operation/incidents/incident.php,
	operation/incidents/incident_detail.php,
	operation/incidents/incident_statistics.php, operation/extensions.php,
	operation/visual_console/render_view.php,
	operation/visual_console/index.php, operation/agentes/status_monitor.php,
	operation/agentes/export_csv.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/datos_agente.php, operation/agentes/alerts_status.php,
	operation/agentes/estado_generalagente.php,
	operation/agentes/custom_fields.php, operation/agentes/estado_agente.php,
	operation/agentes/networkmap.topology.php,
	operation/agentes/networkmap.groups.php, operation/agentes/sla_view.php,
	operation/agentes/exportdata.php, operation/agentes/gis_view.php,
	operation/agentes/estado_monitores.php, operation/agentes/ver_agente.php,
	operation/agentes/graphs.php, operation/agentes/agent_fields.php,
	operation/agentes/group_view.php, operation/agentes/networkmap.php,
	operation/servers/view_server.php, operation/servers/view_server_detail.php,
	operation/menu.php, operation/snmpconsole/snmp_view.php,
	operation/users/user_edit.php, operation/events/event_statistics.php,
	operation/events/export_csv.php, operation/events/sound_events.php,
	operation/events/events_validate.php, operation/events/events_list.php,
	operation/events/events_marquee.php, operation/events/events.php,
	operation/search_reports.php, operation/reporting/reporting_xml.php,
	operation/reporting/reporting_viewer.php,
	operation/reporting/graph_viewer.php, operation/search_maps.php,
	mobile/operation/agents/monitor_status.php,
	mobile/operation/agents/view_agents.php, mobile/index.php, 
	general/ui/agents_list.php, godmode/groups/modu_group_list.php,
	godmode/groups/configure_group.php, godmode/groups/configure_modu_group.php,
	godmode/groups/group_list.php, godmode/admin_access_logs.php,
	godmode/extensions.php, godmode/db/db_main.php, godmode/db/db_audit.php,
	godmode/db/db_sanity.php, godmode/db/db_refine.php, godmode/db/db_info.php,
	godmode/db/db_event.php, godmode/db/db_purge.php,
	godmode/agentes/fields_manager.php, godmode/agentes/module_manager.php,
	godmode/agentes/modificar_agente.php, godmode/agentes/configurar_agente.php,
	godmode/agentes/configure_field.php, godmode/agentes/planned_downtime.php,
	godmode/agentes/manage_config_remote.php, godmode/servers/recon_script.php,
	godmode/servers/plugin.php, godmode/servers/manage_recontask.php,
	godmode/servers/modificar_server.php,
	godmode/servers/manage_recontask_form.php, godmode/menu.php,
	godmode/alerts/alert_list.list.php,
	godmode/alerts/configure_alert_compound.php,
	godmode/alerts/alert_compounds.php, godmode/alerts/alert_list.php,
	godmode/alerts/configure_alert_template.php,
	godmode/alerts/alert_templates.php,
	godmode/alerts/configure_alert_action.php,
	godmode/alerts/configure_alert_command.php,
	godmode/alerts/alert_actions.php, godmode/alerts/alert_list.builder.php,
	godmode/alerts/alert_commands.php, godmode/snmpconsole/snmp_alert.php,
	godmode/snmpconsole/snmp_filters.php, godmode/setup/file_manager.php,
	godmode/setup/os.list.php, godmode/setup/news.php,
	godmode/setup/gis_step_2.php, godmode/setup/links.php,
	godmode/setup/setup.php, godmode/setup/os.php, 
	godmode/setup/performance.php, godmode/setup/setup_auth.php,
	godmode/setup/gis.php, godmode/setup/os.builder.php,
	godmode/setup/setup_visuals.php, godmode/users/user_list.php,
	godmode/users/configure_user.php, godmode/users/configure_profile.php,
	godmode/gis_maps/configure_gis_map.php, godmode/gis_maps/index.php,
	godmode/massive/massive_add_alerts.php,
	godmode/massive/massive_copy_modules.php,
	godmode/massive/massive_delete_agents.php,
	godmode/massive/massive_operations.php,
	godmode/massive/massive_edit_agents.php,
	godmode/massive/massive_delete_action_alerts.php,
	godmode/massive/massive_delete_modules.php,
	godmode/massive/massive_delete_alerts.php,
	godmode/massive/massive_edit_modules.php,
	godmode/massive/massive_add_action_alerts.php,
	godmode/modules/manage_network_components_form.php,
	godmode/modules/manage_nc_groups_form.php,
	godmode/modules/manage_network_templates.php,
	godmode/modules/module_list.php,
	godmode/modules/manage_network_components_form_common.php,
	godmode/modules/manage_network_components_form_network.php,
	godmode/modules/manage_network_templates_form.php,
	godmode/modules/manage_network_components_form_wmi.php,
	godmode/modules/manage_network_components.php,
	godmode/modules/manage_nc_groups.php,
	godmode/reporting/reporting_builder.list_items.php,
	godmode/reporting/graph_builder.main.php,
	godmode/reporting/visual_console_builder.wizard.php,
	godmode/reporting/visual_console_builder.php,
	godmode/reporting/reporting_builder.preview.php,
	godmode/reporting/reporting_builder.main.php,
	godmode/reporting/visual_console_builder.data.php,
	godmode/reporting/visual_console_builder.elements.php,
	godmode/reporting/graph_builder.php,
	godmode/reporting/visual_console_builder.preview.php,
	godmode/reporting/graph_builder.graph_editor.php,
	godmode/reporting/reporting_builder.php,
	godmode/reporting/visual_console_builder.editor.php,
	godmode/reporting/reporting_builder.item_editor.php,
	godmode/reporting/map_builder.php, godmode/reporting/graphs.php,
	godmode/reporting/graph_builder.preview.php: replaced obsolete "give_acl" to
	"check_acl" and erased the "give_acl".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4025 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-28 12:02:08 +00:00
juanmanuelr adca7b7420 2011-02-28 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/ajax/visual_console_builder.ajax.php
	 godmode/reporting/visual_console_builder.editor.js: Status information is
	saved when static graph are created in visual console.
	* godmode/reporting/visual_console_builder.elements.php: Fixed wrong call to
	__() function from functions_db.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4023 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-28 11:23:12 +00:00
mdtrooper 836b2a7a01 2011-02-27 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb_data.sql, pandoradb.data.postgreSQL.sql: in the table "tgrupo"
	reordered the last field, this field is "custom_id" with '' value.

	* pandoradb.postgreSQL.sql: commented the first lines before it was for
	make manuallity the schema. Fixed in the "talert_templates" the column
	"id_alert_action" can be null, and fixed the type of column "id_language"
	in table "tlanguage". And move to empty lines some end line comments and
	group in one line the functions for avoid the error in the install.

	* include/db/postgresql.php: fixed in the function "postgresql_get_db_row"
	the quotes for the field, the correct quotes is " for PostgreSQL.
	
	* include/auth/mysql.php, include/functions_db.php: cleaned source code
	style.
	
	* install.php: now the installer can install a schema and data in PostgreSQL
	database.
	
	* extensions/update_manager.php: added some code and TODO comment to fix or
	develop the method to use postgreSQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4021 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-27 05:25:53 +00:00
mdtrooper 935a7a5afc 2011-02-24 Miguel de Dios <miguel.dedios@artica.es>
* include/db/postgresql.php: in function "postgresql_connect_db" added
	quotes for special names in user or password or host. Fixed in function
	"postgresql_process_sql" the output errors.
	
	* install.php: begin to make a source code to install Pandora in DB schema
	on PostgreSQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4019 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-24 17:54:07 +00:00
zarzuelo 2394978039 2011-02-24 Sergio Martin <sergio.martin@artica.es>
* install.php: Remove the cheching dependences
	of PEAR DB and PEAR XML_RPC.

	* ChangeLog: Added a missing information of 
	languages commit



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4018 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-24 11:25:32 +00:00
mdtrooper 1e9d1e440d 2011-02-24 Miguel de Dios <miguel.dedios@artica.es>
* include/db/postgresql.php, include/db/mysql.php,include/functions_db.php:
	created the function "postgresql_get_db_row" in to the engines mysql and
	postgreSQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4017 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-24 10:23:42 +00:00
mdtrooper 81e7fd5287 2011-02-24 Miguel de Dios <miguel.dedios@artica.es>
* include/db/postgresql.php, include/db/mysql.php, include/functions_db.php:
	create the function "get_db_value" for the engine mysql and postgreSQL.
	
	* index.php: cleaned source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4014 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-24 09:40:14 +00:00
ramonn bc0dfe8874 2011-02-23 Ramon Novoa <rnovoa@artica.es>
* DEBIAN/control, DEBIAN/postinst,
	  pandora_console.spec, pandora_console.redhat.spec: Removed PEAR
	  dependencies.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4013 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-23 19:32:09 +00:00
mdtrooper 96b74eef6f 2011-02-23 Miguel de Dios <miguel.dedios@artica.es>
* pandora_console/include/functions_db.php: fixed in the function
	"get_agent_modules" extract the agents when the current user user is admin.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4004 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-23 14:49:16 +00:00
zarzuelo f693e7c832 2011-02-23 Sergio Martin <sergio.martin@artica.es>
* include/languages/es.po
	include/languages/es.mo
	include/languages/ja.po
	include/languages/ja.mo: Added seven latest strings
	form launchpad



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4002 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-23 14:31:42 +00:00
juanmanuelr 611aad903f 2011-02-23 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_config.php: Fixed an error at the momment of accept the 
	license terms in enterprise installation process.
	
	Fixes: #3183681



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4001 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-23 13:32:07 +00:00
mdtrooper ffa90cb874 2011-02-23 Miguel de Dios <miguel.dedios@artica.es>
* pandora_console/operation/events/events_list.php: fixed the show html
	entities.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3999 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-23 13:09:03 +00:00
mdtrooper 355e1e89e6 2011-02-23 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora_modules.js: fixed the disabled button snmp when
	change any parameter of snmp.
	
	Fixes: #3168685



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3997 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-23 11:22:47 +00:00
javilanz b4a6fe4acb 2011-02-03 Javier Lanz <javier.lanz@artica.es>
* extensions/agents_modules.php: Fixed an error in the header of
	Agent/Module extension

	Fix: #3152681


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3994 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-23 10:31:09 +00:00
ramonn 9b6ebe0979 2011-02-23 Ramon Novoa <rnovoa@artica.es>
* include/functions_ui.php: Call safe_output instead of
	  safe_output_html.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3991 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-23 10:26:56 +00:00
juanmanuelr 2dc2c24b20 2011-02-22 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/reporting/visual_console_builder.php: Small icons created
	in visual console wizard are resized after changed it into a smaller one.

	Fixed bug 3175809.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3978 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-22 13:42:01 +00:00
slerena 7235c4c954 2011-02-22 Sancho Lerena <slerena@artica.es>
* include/functions_extensions.php: Extension menu entries text not
	being stripped.

	* operation/menu.php: Extension menu entries for visualconsole a bit
	wider.

	* godmode/reporting/visual_console_builder.data.php: Show a hint on
	first letter of Visualconsole map to put the name in the menu.
	Shortened input box, to avoid people enter long names and later be
	cutted off.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3977 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-22 11:31:39 +00:00
slerena 5ccdb2025f 2011-02-22 Sancho Lerena <slerena@artica.es>
* include/streams.php: Fixed bug 3184746.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3973 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-22 09:21:50 +00:00
zarzuelo 6b8c98b1c8 2011-02-22 Sergio Martin <sergio.martin@artica.es>
* include/languages/et.mo
	include/languages/cs.po
	include/languages/nl.mo
	include/languages/pt_BR.po
	include/languages/es.po
	include/languages/pl.mo
	include/languages/ko.po
	include/languages/it.mo
	include/languages/sl.mo
	include/languages/sk.po
	include/languages/uk.po
	include/languages/ro.po
	include/languages/pt.mo
	include/languages/ast.mo
	include/languages/en_AU.mo
	include/languages/bg.mo
	include/languages/index.pot
	include/languages/bn.po
	include/languages/nb.po
	include/languages/ar.po
	include/languages/cs.mo
	include/languages/en.po
	include/languages/pt_BR.mo
	include/languages/es.mo
	include/languages/ko.mo
	include/languages/fr.po
	include/languages/sk.mo
	include/languages/uk.mo
	include/languages/ro.mo
	include/languages/mr.po
	include/languages/ca.po
	include/languages/da.po
	include/languages/tr.po
	include/languages/de.po
	include/languages/sv.po
	include/languages/ja.po
	include/languages/zh_TW.po
	include/languages/he.po
	include/languages/bn.mo
	include/languages/nb.mo
	include/languages/fi.po
	include/languages/ar.mo
	include/languages/en.mo
	include/languages/hi.po
	include/languages/zh_CN.po
	include/languages/fr.mo
	include/languages/te.po
	include/languages/eu.po
	include/languages/en_GB.po
	include/languages/mr.mo
	include/languages/hu.po
	include/languages/ca.mo
	include/languages/da.mo
	include/languages/tr.mo
	include/languages/de.mo
	include/languages/sv.mo
	include/languages/ru.po
	include/languages/ja.mo
	include/languages/zh_TW.mo
	include/languages/he.mo
	include/languages/fi.mo
	include/languages/hi.mo
	include/languages/zh_CN.mo
	include/languages/el.po
	include/languages/gl.po
	include/languages/te.mo
	include/languages/eu.mo
	include/languages/en_GB.mo
	include/languages/et.po
	include/languages/nl.po
	include/languages/hu.mo
	include/languages/pl.po
	include/languages/it.po
	include/languages/sl.po
	include/languages/pt.po
	include/languages/ru.mo
	include/languages/ast.po
	include/languages/en_AU.po
	include/languages/bg.po
	include/languages/el.mo
	include/languages/gl.mo: Update languages
	to last launchpad strings



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3971 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-22 09:12:22 +00:00
mdtrooper 8508333d6b 2011-02-21 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_agente.php: fixed the search/filter in the
	agent view, uncomment line...I didn't know the reason by this line
	was comment.
	
	Fixes: #3175137



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3967 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 18:45:03 +00:00
juanmanuelr ed37a4f9db 2011-02-21 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* functions_ui.php: Fixed a graphical error displaying action list.

	Fixes: #3182502 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3966 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 18:38:36 +00:00
mdtrooper d717ea19a2 2011-02-21 Miguel de Dios <miguel.dedios@artica.es>
* include/styles/pandora.css, godmode/servers/modificar_server.php: added
	lost icons in the legend of servers.
	
	Fixes: #3174880



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3963 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 18:01:14 +00:00
mdtrooper 7a750958c5 2011-02-21 Miguel de Dios <miguel.dedios@artica.es>
* include/ajax/agent.php: fixed the return of call ajax, now it haven't
	html entities.
	
	Fixes: #3174872



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3961 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 17:35:28 +00:00
mdtrooper 796bed9142 2011-02-21 Miguel de Dios <miguel.dedios@artica.es>
* ChangeLog: Change the number of item in tracker in previus commit. Sorry
	I have a mistake.  



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3960 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 17:28:40 +00:00
mdtrooper 3f3b1cdd48 2011-02-21 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/agent_manager.php: fixed the return of ajax call to
	search parents, now the agent names is without html entities.
	
	Fixes: #3174872



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3957 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 17:21:44 +00:00
zarzuelo bf990a837d 2011-02-21 Sergio Martin <sergio.martin@artica.es>
* include/functions_networkmap.php: Fixed the group maps
	when the root group has not agents. Bug: 3152679



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3956 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 16:47:08 +00:00
mdtrooper 9f661db65a 2011-02-21 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.elements.php: fixed the show
	icons for "label" and "icon", show tooltip on the type icons, hidde some
	fields as type of row. And now the image field show to icon type item and
	of course update too.
	
	Fixes: #3188080



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3953 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 15:44:07 +00:00
mdtrooper f9afd4893f 2011-02-21 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.editor.js: fixed the update the
	items, now don't change the position if the data haven't the position.
	
	Fixes: #3188069



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3950 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 14:24:24 +00:00
mdtrooper 0062998ec8 2011-02-21 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: added in function "get_group_agents" the
	parameter "$childGroups" for get the child groups. And in the function
	"get_user_groups" added the parameter "$id_groups" for to get groups. Add
	the function "get_id_groups_recursive" for to get groups in the tree groups.
	 
	* godmode/reporting/visual_console_builder.wizard.php: fixed the select box
	of agents when user have agents in subgroup in any subgroup in the tree
	group.
	
	Fixes: #3180902



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3947 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 13:41:54 +00:00
javilanz 918acf5c68 2011-02-21 Javier Lanz <javier.lanz@artica.es>
* godmode/alerts/alert_templates.php: Truncated Group name
	* godmode/alerts/alert_actions.php: Truncated Group name


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3946 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 13:23:46 +00:00
ramonn 48fdb0cc35 2011-02-21 Ramon Novoa <rnovoa@artica.es>
* godmode/massive/massive_edit_agents.php: Check for false instead of
	  the number of updated agents.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3943 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 13:10:31 +00:00
mdtrooper d73ecec0b4 2011-02-21 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/alert_list.builder.php: added the conditional to hide the
	create template or action when the user haven't privileges for this action.
	
	Fixes: #3182535



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3936 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 11:42:14 +00:00
ramonn 039c24fb06 2011-02-21 Ramon Novoa <rnovoa@artica.es>
* operation/agentes/alerts_status.php: Fixed ACL check for alerts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3934 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 11:26:42 +00:00
jsatoh a25de5d965 2011-02-19 Junichi Satoh <junichi@rworks.jp>
* godmode/agentes/configurar_agente.php: Fixed bad layout when
	length of agent name is more than 25.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3930 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-19 05:58:21 +00:00
mdtrooper e05bf38245 2011-02-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php, operation/search_modules.php,
	operation/search_agents.php: sorry, I didn't think about the subgroups may
	have other subgroups (and this may be recursive), rewrite the SQL for
	search with groups, now the groups come from the PHP function to get
	all groups, children groups, grandchildren groups...



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3927 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-18 15:13:34 +00:00
mdtrooper df766ab812 2011-02-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php, operation/search_modules.php,
	operation/search_agents.php: fixed SQL querys, this querys in previous
	version haven't lines SQL code for to search into subgroups.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3925 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-18 14:41:52 +00:00
javilanz ac6b040470 2011-02-18 Javier Lanz <javier.lanz@artica.es>
* operation/servers/view_server.php: Fixed ACL permissions
	* operation/servers/view_server_detail.php: Fixed ACL permissions
	* operation/menu.php: Let an "AR" user view 'Pandora servers' menu
	
	Fix: #3183477


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3923 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-18 13:28:13 +00:00
mdtrooper c41dd035d6 2011-02-18 Miguel de Dios <miguel.dedios@artica.es>
* include/ajax/visual_console_builder.ajax.php,
	godmode/reporting/visual_console_builder.editor.js: fixed bug that erase the
	label of items when moving in other position.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3919 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-18 11:31:09 +00:00
javilanz 5c589377fc 2011-02-18 Javier Lanz <javier.lanz@artica.es>
* godmode/gis_maps/configure_gis_map.php: Adding layer, group combo only
	displays user's groups.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3917 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-18 10:35:07 +00:00
javilanz 0291fdfae8 2011-02-18 Javier Lanz <javier.lanz@artica.es>
* godmode/gis_maps/configure_gis_map.php: Group combo now only displays
	user's groups.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3915 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-18 09:50:09 +00:00
slerena 2217669e2c 2011-02-18 Sancho Lerena <slerena@artica.es>
* operation/agentes/gis_view.php: Fixed ACL Problems in operation
        view (Was looking for PM instead AR!). Fixed search by date in data
        view for GIS data.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3914 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 23:50:57 +00:00
juanmanuelr c501ecbf4c 2011-02-17 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_reports.php
	godmode/reporting/reporting_builder.main.php
	godmode/reporting/reporting_builder.php:Only administrator users can select and see 
	group All in this views. 

	Fix: #3183412, 3183413 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3911 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 18:44:48 +00:00
javilanz 546bfdcf9e 2011-02-07 Javier Lanz <javier.lanz@artica.es>
* godmode/gis_maps/index.php: Only display Default column to an admin
	user


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3909 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 18:24:06 +00:00
juanmanuelr ede97bc174 2011-02-17 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_custom_graphs.php
	godmode/reporting/graph_builder.main.php
	godmode/reporting/graphs.php: Only administrator users can select and see 
	group All in this views.
	
	Fix: #3183419, 3183421



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3908 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 18:11:56 +00:00
juanmanuelr f5343d7815 2011-02-17 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/agentes/estado_agente.php
        godmode/alerts/configure_alert_template.php
        godmode/alerts/alert_list.builder.php: Now users can see alerts and templates
        of their groups and group "All".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3905 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 17:20:31 +00:00
javilanz 2221dce997 2011-02-17 Javier Lanz <javier.lanz@artica.es>
* godmode/gis_maps/index.php: Show only user's GIS maps
	
	Fix: #3183432


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3904 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 17:17:29 +00:00
ramonn 1c46cab424 2011-02-17 Ramon Novoa <rnovoa@artica.es>
* include/help/en/help_agent_status.php,
	  include/help/es/help_agent_status.php,
	  include/help/ja/help_agent_status.php: The 'no monitors' status does
	  not make sense now that all modules have a status.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3902 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 16:31:39 +00:00
mdtrooper 61fa69348b 2011-02-17 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_agente.php: fixed the re-apply the safe_input in
	the search.
	
	Fixes: #3184647
	
	* include/functions_db.php: cleaned source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3899 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 15:47:51 +00:00
ramonn 6af205b483 2011-02-17 Ramon Novoa <rnovoa@artica.es>
* include/functions.php: Hide custom SQL reports from non PM users
	  when creating reports.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3898 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 15:46:22 +00:00
mdtrooper 4876abd8b4 2011-02-17 Miguel de Dios <miguel.dedios@artica.es>
* images/os_icons/android_small.png,
	images/os_icons/embedded_small.png: added lost image files.
	
	Fixes: #3183495



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3896 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 15:03:24 +00:00
juanmanuelr ad0fb9afc6 2011-02-17 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/alerts/configure_alert_template.php
	  godmode/alerts/alert_templates.php
	  godmode/alerts/configure_alert_action.php
	  godmode/alerts/alert_actions.php
          godmode/alerts/alert_list.builder.php: If user is not admin then can't
	edit/delete/copy alerts/templates of other groups.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3895 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 15:00:19 +00:00
mdtrooper fc6d71ecb6 2011-02-17 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.editor.js: fixed the type of icon
	when create and after edit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3893 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 11:02:28 +00:00
juanmanuelr 1bdfb83156 2011-02-17 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/visual_console/index.php: Correction for my last commit. Now in this 
	view users can see maps of group "All".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3892 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 10:51:32 +00:00
mdtrooper bb4ecdc15b 2011-02-17 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.editor.js: cleaned the forgotten
	calls to generate traces for firebug.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3890 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 10:44:14 +00:00
mdtrooper 9093ed51d6 2011-02-17 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/visual_console_builder.editor.php: fixed the panel
	propierties for icon in the edition and creation, now it haven't label color
	and have preview icon and map link.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3889 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 10:34:29 +00:00
juanmanuelr a3c8eac3a2 2011-02-16 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_alerts.php: New function get_alert_actions_filter.
	* operation/agentes/estado_agente.php: If user is not admin or doesn't have
	'PM' privileges then don't display alerts of others groups.
	* godmode/alerts/configure_alert_template.php: If user is not admin or doesn't have
	'PM' privileges then don't display templates of others groups.
	* godmode/alerts/configure_alert_action.php: Don't show "create command" option
	in this view if current user is not administrator or or doesn't have
	'PM' privileges.
	* godmode/alerts/alert_list.builder.php: If user is not admin or doesn't have
	'PM' privileges then don't display alerts of others groups.

	Fixes: #3182557, 3182566 	

	* include/functions_visual_map.php: Added a parameter in function get_user_layouts for 
	return All group or not.
	* godmode/reporting/visual_console_builder.data.php: In map creation only display "All"
	group if user has 'PM' privileges or is administrator.
	* godmode/reporting/map_builder.php: If user is not admin or doesn't have
	'PM' privileges then don't display maps of others groups.
	* operation/visual_console/index.php: If user is not admin or doesn't have
	'PM' privileges then don't display maps of others groups.

	Fixes: #3175721, 3175730	

      	* godmode/users/configure_user.php: Only are shown "pandora management" and 
	"database management" profiles if current user is not administrator or or doesn't have
	'PM' privileges.	
	* godmode/alerts/alert_list.list.php: Fixed query for alert search.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3887 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-16 18:39:28 +00:00
ramonn c00e83b030 2011-02-16 Ramon Novoa <rnovoa@artica.es>
* include/functions_menu.php: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3886 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-16 17:47:18 +00:00
ramonn 5a4e187dd6 2011-02-16 Ramon Novoa <rnovoa@artica.es>
* include/functions_menu.php, operation/menu.php: Added a title to GIS
	  maps and Visual console maps in the menu. Fixes bug #3182148.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3884 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-16 17:41:52 +00:00
mdtrooper 8800623550 2011-02-16 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php: added links to services in the items in
	the view of visualmap.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3882 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-16 17:33:37 +00:00
mdtrooper 53f656df84 2011-02-16 Miguel de Dios <miguel.dedios@artica.es>
* include/ajax/visual_console_builder.ajax.php: fixed other safe_ouput in
	the editor.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3879 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-16 16:17:45 +00:00
mdtrooper 7031e87f54 2011-02-16 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php: added lost safe_ouput in the extract
	DB fields.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3877 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-16 16:06:42 +00:00
mdtrooper 94b97d1688 2011-02-16 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php: added function "createInternalNameItem"
	and "get_items_parents".
	
	*include/ajax/visual_console_builder.ajax.php, 
	godmode/reporting/visual_console_builder.editor.php: changed the method to
	show items without name in visualmap as parents in the selectbox.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3875 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-16 15:37:55 +00:00
mdtrooper 94211191ea 2011-02-16 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php: fixed the edit to set items with empty
	names.
	
	* include/ajax/visual_console_builder.ajax.php: fixed the position of
	items "icons".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3873 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-16 13:26:28 +00:00
mdtrooper 5d8e10d087 2011-02-16 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: fixed check "<>" in other case as the ajax
	calls in the visual map.
	
	* godmode/reporting/visual_console_builder.editor.js: cleaned source code
	and added some comments.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3871 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-16 12:43:24 +00:00
juanmanuelr 95ee0cc115 2011-02-16 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/users/user_list.php: If user is not admin then don't 
	display users of others groups.

	Fixes: #3175670	



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3869 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-16 11:11:05 +00:00
mdtrooper 77695b1cb3 2011-02-16 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php: fixed the position of items in visual
	map when print by PHP.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3868 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-16 09:22:13 +00:00
mdtrooper 9c3cdfa3aa 2011-02-15 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js, operation/agentes/ver_agente.php,
	godmode/reporting/visual_console_builder.wizard.php,
	godmode/reporting/visual_console_builder.php: fixed when the agent haven't
	any module and fixed when to try to create items without modules selected.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3865 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 19:07:23 +00:00
mdtrooper 29ad21a436 2011-02-15 Miguel de Dios <miguel.dedios@artica.es>
* operation/visual_console/render_view.php: fixed the link to edit
	visual console.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3863 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 18:01:48 +00:00
mdtrooper 2e61efd330 2011-02-15 Miguel de Dios <miguel.dedios@artica.es>
* operation/search_users.php: fixed unclose parentheses.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3861 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 17:53:38 +00:00
juanmanuelr 4928f5a6d8 2011-02-15 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/users/user_list.php: Only display administrator users if
	current user is administrator too. 
	* godmode/users/configure_user.php: Only administrator can create
	administrator users. Only administrator users can assign group "All" to
	a profile.  

	Fixes: #3180761



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3860 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 17:49:13 +00:00
mdtrooper ce794a151b 2011-02-15 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.postgreSQL.sql, pandoradb.data.postgreSQL.sql: added column
	threshold from changes in last Ramon commit in MySQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3859 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 17:39:26 +00:00
mdtrooper 3491d56a01 2011-02-15 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/alert_list.php: fixed the lost var in the audit.
	
	Fixes: #3182470



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3857 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 16:46:34 +00:00
ramonn b0ca20fa89 2011-02-15 Ramon Novoa <rnovoa@artica.es>
* pandoradb_data.sql, include/functions_alerts.php,
	  pandoradb.sql, extras/pandoradb_migrate_v3.2_to_v4.0.sql,
	  godmode/alerts/alert_list.list.php, godmode/alerts/alert_list.php,
	  godmode/alerts/configure_alert_action.php, godmode/alerts/alert_actions.php,
	  godmode/alerts/alert_list.builder.php: Added support for action thresholds.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3855 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 16:40:23 +00:00
mdtrooper 98398faa0b 2011-02-15 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_alerts.php, operation/agentes/estado_agente.php: added
	check ACL in the show actions in the creation and edit of alerts.
	
	Fixes: #3166657



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3853 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 16:13:03 +00:00
javilanz ef8e0c78b5 2011-02-15 Javier Lanz <javier.lanz@argica.es>
* godmode/groups/group_list.php: Fixed ACL checkings

	Fix #3175824


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3851 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 15:18:23 +00:00
mdtrooper f224001e35 2011-02-15 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: added in function "get_agent_modules" the
	default value null for get modules of agents in user's group.
	
	* godmode/massive/massive_delete_modules.php: fixed the select of modules
	now get only the modules of agents in user's group and now you can delete
	and view correcly the modules with acent or other not ascii characters.

	Fixes: #3182143 and #3175722



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3849 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 14:20:45 +00:00
juanmanuelr 8344455eee 2011-02-15 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/agentes/estado_monitores.php: Fixed a mistake replacing "<img" 
	tags for print_image function. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3848 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 13:58:35 +00:00
mdtrooper 48e8eda4ae 2011-02-15 Miguel de Dios <miguel.dedios@artica.es>
* godmode/groups/group_list.php: refixed the position of check login for
	check in normal access and ajax access.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3846 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 13:47:39 +00:00
juanmanuelr e1e0b534e9 2011-02-15 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/menu.php: "godmode > manage alert > commands" tab only 
	displayed when user privileges are "PM".
	* pandoradb_data.sql 
	 pandoradb.data.postgreSQL.sql: Changed "Alert management" field to 1 in 
	"Chief Operator" row of tperfil table.
	* godmode/alerts/alert_templates.php: If user tries to delete a 
	template with group=ALL then must have "PM" access privileges.
	* godmode/alerts/configure_alert_template.php: If user tries to duplicate
	/edit a template with group=ALL then must have "PM" access privileges.
	* godmode/alerts/alert_actions.php: If user tries to duplicate/delete an 
	action with group=ALL then must have "PM" access privileges.
	* godmode/alerts/configure_alert_action.php: If user tries to edit an 
	action with group=ALL then must have "PM" access privileges.

	Fixes: #3180735	



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3845 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 13:17:26 +00:00
javilanz ea49e9e4e6 2011-02-15 Javier Lanz <javier.lanz@artica.es>
* godmode/users/configure_user.php: Truncated group name on user detail
	editor


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3843 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 13:06:08 +00:00
mdtrooper 20fb023df5 2011-02-15 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager.php: erased the "prediction module" for
	policy view.
	
	Fixes: #3175826



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3841 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 11:41:28 +00:00
mdtrooper e0e545010e 2011-02-15 Miguel de Dios <miguel.dedios@artica.es>
* godmode/groups/group_list.php: moved check ACL bottom the ajax call and
	added other check ACL in the ajax call.
	
	Fixes: #3180588



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3839 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 11:12:32 +00:00
juanmanuelr 5da4e23615 2011-02-15 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_html.php: print_input_image function now uses skins.
	* godmode/users/configure_profile.php: Added some variable initialization after
	selectinf a defined profile.

	Fixes: #3182041



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3837 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 11:07:25 +00:00
javilanz e89c3f9da2 2011-02-05 Javier Lanz <javier.lanz@artica.es>
* pandora_console/images/wand_sla.png: Added sla wizard tab icon


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3836 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 08:53:11 +00:00
mdtrooper 2fc07a85ed 2011-02-14 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: fixed the module search.
	
	Fixes: #3181086



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3834 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-14 17:57:51 +00:00
javilanz eeaaf8171a 2011-02-14 Javier Lanz <javier.lanz@artica.es>
* godmode/reporting/reporting_builder.main.php: Table size changed to 90%
	* godmode/reporting/reporting_builder.item_editor.php: Fixed a small
	problem with an old field


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3832 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-14 17:02:24 +00:00
mdtrooper 6dc40b09a5 2011-02-14 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php, include/api.php, godmode/setup/setup.php:
	added the check by password the actions on API.
	
	Pending tasks: #3180793



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3831 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-14 16:56:17 +00:00
mdtrooper 7e17326c5f 2011-02-14 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: fixed the include of extensions, mysql or
	postgresql for the api call or Pandora Mobile.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3828 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-14 15:25:06 +00:00
mdtrooper c4e2ec0d4a 2011-02-14 Miguel de Dios <miguel.dedios@artica.es>
* include/db/postgresql.php: fixed in function "postgresql_insert_id" the
	lost var. Erased traces in the function "postgresql_process_sql". Added
	function "postgresql_escape_string_sql".
	
	* include/db/mysql.php: fixed duplicated function "mysql_process_sql". And
	added function "mysql_escape_string_sql".
	
	* include/auth/mysql.php: added method to autenticate with postgreSQL.
	
	* include/functions_db.php: added functions "select_db_engine",
	"connect_db". And divided the function "escape_string_sql" into avaliable
	engines.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3827 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-14 14:58:59 +00:00
mdtrooper 322ccf6bc8 2011-02-14 Miguel de Dios <miguel.dedios@artica.es>
* include/db/postgresql.php, include/db/mysql.php,
	include/functions_db.php: initial division of the DB core in several
	engines, at the moment mysql and postgreSQL (not complete).
	
	* include/functions_config.php, include/config_process.php: change source
	code to use new functions.
	
	* install.php: mark the mysql engine (in future select).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3826 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-14 12:27:30 +00:00
mdtrooper d6af454fc9 2011-02-14 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.postgreSQL.sql: added "block_size" and "flash_chart" columns on
	tusuario table.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3825 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-14 12:17:29 +00:00
juanmanuelr 9115d5c295 2011-02-14 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandoradb.sql
	extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added "block_size" and 
	"flash_chart" columns on tusuario table.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3824 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-14 09:54:06 +00:00
juanmanuelr ebc6668f9b 2011-02-14 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_config.php: Loads relative_path variable in user 
	session.
	* include/functions_db.php: Added include call to 
	functions_extensions.php.
	* godmode/groups/configure_group.php 
	godmode/groups/group_list.php: Added functionality to assign a skin to 
	a group.   
	* godmode/menu.php: Added an entry to skins submenu.
	* godmode/users/configure_user.php: Added functionality to assign a skin to 
	a user.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3823 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-14 09:08:41 +00:00
mdtrooper 73f2d1daa0 2011-02-09 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.data.postgreSQL.sql: added the first version of data of Pandora
	DB for PostgreSQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3817 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-09 15:00:37 +00:00
mdtrooper 6d249d7609 2011-02-09 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.postgreSQL.sql: added the column "only_display_wrong" in the
	table "treport_content" from the changes in the main SQL in function mysql.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3816 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-09 14:53:35 +00:00
mdtrooper ad7273e4c5 2011-02-09 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.postgreSQL.sql: added first version of schema of Pandora DB for
	PostgreSQL.
	
	* extensions/resource_registration.php: added lost lines of my previous
	commit on this file. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3815 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-09 14:16:27 +00:00
javilanz b772c95f09 2011-02-09 Javier Lanz <javier.lanz@artica.es>
* include/functions_reportings.php: Added functionality to show only
	wrong modules
	* pandoradb.sql: Added column 'only_display_wrong" to treports_content
	* operation/agentes/estado_agente.php: Truncated agent name to 25 chars
	* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added column
	'only_display_wrong" to treports_content
	* godmode/reporting/reporting_builder.php: Added functionality to show
	only wrong modules
	* godmode/reporting/reporting_builder.item_editor.php: Added functionality
	to show only wrong modules


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3814 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-09 12:57:00 +00:00
juanmanuelr a5835330b6 2011-02-08 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_html.php: Image path in function print_image is now 
	relative.

	Fixes: #3175265



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3811 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-08 12:56:51 +00:00
slerena 2bbad99123 2011-02-11 Sancho Lerena <slerena@artica.es>
* pandoradb_data.sql: Added new OS: android.

        * operation/agentes/estado_generalagente.php: Show description
        in GIS data when it's available.

        * images/os_icons/android.png,
        images/networkmap/15.png: New icons for Android OStype.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3807 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-07 14:01:35 +00:00
mdtrooper 891fcbf9ff 2011-02-07 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql: cleaned source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3802 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-07 11:34:44 +00:00
juanmanuelr e9a305f624 2011-02-07 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* extensions/update_manager.php
	extensions/update_manager/main.php
	operation/search_modules.php
	operation/search_agents.php
	operation/gis_maps/render_view.php: Changed the way of print images from "<src=.." 
	html tag to print_image function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3801 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-07 09:58:37 +00:00
juanmanuelr f431a62697 2011-02-03 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
*     include/functions_menu.php
	      include/functions_html.php
	      include/functions_modules.php
	      include/functions_reporting.php
	      include/functions_filemanager.php
	      include/functions_gis.php
	      include/functions_networkmap.php
	      include/functions_visual_map.php
	      include/help/en/help_gis_map_builder.php
	      include/help/en/help_agent_status.php
	      include/help/en/help_eventview.php
	      include/help/en/help_configure_gis_map.php
	      include/help/en/help_cascade_protection.php
	      include/help/en/help_setup_gis_index.php
	      include/help/es/help_gis_map_builder.php
	      include/help/es/help_agent_status.php
	      include/help/es/help_eventview.php
	      include/help/es/help_configure_gis_map.php
	      include/help/es/help_cascade_protection.php
	      include/help/es/modu_group_list.php
	      include/help/ja/help_gis_map_builder.php
	      include/help/ja/help_agent_status.php
	      include/help/ja/help_eventview.php
	      include/help/ja/help_configure_gis_map.php
	      include/help/ja/help_cascade_protection.php
	      include/help/ja/help_setup_gis_index.php
	      include/functions.php
	      include/functions_db.php
	      include/functions_fsgraph.php
	      operation/incidents/incident_detail.php
	      operation/agentes/status_monitor.php
	      operation/agentes/estado_ultimopaquete.php
	      operation/agentes/alerts_status.php
	      operation/agentes/estado_generalagente.php
	      operation/agentes/estado_agente.php
	      operation/agentes/estado_monitores.php
	      operation/agentes/ver_agente.php
	      operation/agentes/group_view.php
	      operation/servers/view_server_detail.php
	      operation/snmpconsole/snmp_view.php
	      operation/users/user_edit.php
	      operation/gis_maps/render_view.php
	      operation/events/sound_events.php
	      operation/search_alerts.php
	      operation/reporting/reporting_viewer.php
	      operation/reporting/custom_reporting.php
	      operation/search_reports.php
	      operation/search_users.php
	      general/pandora_help.php
	      general/noaccess.php
	      general/ui/agents_list.php
	      general/header.php
	      godmode/groups/modu_group_list.php
	      godmode/groups/configure_group.php
	      godmode/groups/group_list.php
	      godmode/extensions.php
	      godmode/db/db_sanity.php
	      godmode/db/db_info.php
	      godmode/agentes/agent_template.php
	      godmode/agentes/module_manager_editor_common.php
	      godmode/agentes/module_manager_editor_network.php
	      godmode/agentes/fields_manager.php
	      godmode/agentes/module_manager.php
	      godmode/agentes/modificar_agente.php
	      godmode/agentes/planned_downtime.php
	      godmode/agentes/agent_manager.php
	      godmode/servers/recon_script.php
	      godmode/servers/plugin.php
	      godmode/servers/manage_recontask.php
	      godmode/alerts/alert_list.list.php
	      godmode/alerts/configure_alert_compound.php
	      godmode/alerts/alert_compounds.php
	      godmode/alerts/alert_actions.php
	      godmode/alerts/alert_list.builder.php
	      godmode/alerts/alert_commands.php
	      godmode/snmpconsole/snmp_alert.php
	      godmode/snmpconsole/snmp_filters.php
	      godmode/setup/os.list.php
	      godmode/setup/news.php
	      godmode/setup/links.php
	      godmode/setup/setup.php
	      godmode/users/user_list.php
	      godmode/gis_maps/configure_gis_map.php
	      godmode/massive/massive_add_alerts.php
	      godmode/massive/massive_delete_agents.php
	      godmode/massive/massive_enable_disable_alerts.php
	      godmode/massive/massive_delete_profiles.php
	      godmode/massive/massive_edit_agents.php
	      godmode/massive/massive_delete_action_alerts.php
	      godmode/massive/massive_delete_modules.php
	      godmode/massive/massive_add_profiles.php
	      godmode/massive/massive_delete_alerts.php
	      godmode/massive/massive_edit_modules.php
	      godmode/massive/massive_standby_alerts.php
	      godmode/massive/massive_add_action_alerts.php
	      godmode/modules/module_list.php
	      godmode/modules/manage_network_templates_form.php
	      godmode/reporting/reporting_builder.list_items.php
	      godmode/reporting/reporting_builder.preview.php
	      godmode/reporting/visual_console_builder.elements.php
	      godmode/reporting/graph_builder.graph_editor.php
	      godmode/reporting/reporting_builder.item_editor.php
	      godmode/reporting/graphs.php: Changed the way of print images from "<src=.." 
	html tag to print_image function.

	* include/functions_ui.php
	  mobile/operation/agents/view_agents.php: print_group_icon2 function renamed to print_group_icon_with_path




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3800 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-04 13:30:50 +00:00
juanmanuelr ab04c83b15 2011-02-03 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/search_alerts.php: Actions_name array now is initialized to void value.

	 Fixes: #3171506



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3797 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-03 13:12:16 +00:00
slerena 3bb0cd39db 2011-02-02 Sancho lerena <slerena@artica.es>
* pandoradb.sql: Altered lenght for custom SQL reports.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3795 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-02 18:18:48 +00:00
jsatoh 7a7fa81d5b 2011-02-01 Junichi Satoh <junichi@rworks.jp>
* include/functions_fsgraph.php: Fixed html entities are displayed
	on graphs when time format contains them.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3792 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-01 01:29:20 +00:00
mdtrooper 4271b4ad14 2011-01-31 Miguel de Dios <miguel.dedios@artica.es>
* godmode/modules/manage_network_components_form_wmi.php,
	godmode/modules/manage_network_components_form_plugin.php: added the field
	"Post process".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3789 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-31 13:25:33 +00:00
mdtrooper 8e924c79f4 2011-01-31 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora_modules.js, pandoradb.sql,
	extras/pandoradb_migrate_v3.2_to_v4.0.sql,
	godmode/modules/manage_network_components_form.php,
	godmode/modules/manage_network_components_form_network.php,
	godmode/modules/manage_network_components.php: added the "post process"
	parameter to network component and use in network component editor and
	module editor.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3788 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-31 09:23:05 +00:00
slerena 35b0e7af11 2011-01-27 Sancho Lerena <slerena@artica.es>
* ssh_console/howto_sign_applet.README,
        ssh_console/ssh_console.readme,
        vnc/VncViewer.jar,
        vnc/howto_selfsign_applet.README,
        ssh_console.php,
        vnc_view.php: VNC Extension now uses a signed Java applet to see
        remote servers. Added how to sign the cert on the SSH applet also.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3787 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-30 13:34:11 +00:00
mdtrooper 45691b476e 2011-01-27 Miguel de Dios <miguel.dedios@artica.es>
* extensions/resource_registration.php: uploaded lost file.


-Esta línea y las que están debajo serán ignoradas--

A    pandora_console/extensions/resource_registration.php


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3786 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-27 19:19:00 +00:00
mdtrooper 444f456755 2011-01-27 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php,
	godmode/modules/manage_network_templates_form.php: cleaned source style.
	
	* extensions/resource_registration.php: added extensión to import by xml
	file the network component, wmi component, smnp component and local
	component. And if the xml content a template, this component add into
	template.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3785 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-27 19:05:30 +00:00
mdtrooper 4cafdbb25f 2011-01-27 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: fixed the check ACL in function
	"get_agent_modules", the global search alert fixed with this, and I think
	that fixed in other places.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3783 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-27 12:32:32 +00:00
mdtrooper bb90e101bc 2011-01-27 Miguel de Dios <miguel.dedios@artica.es>
* operation/search_agents.php: refixed the order of parentheses.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3782 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-27 12:27:06 +00:00
slerena ddddb82720 2011-01-26 Sancho Lerena <slerena@artica.es>
* ssh_console: new ssh extension (agent tab extension) it will
        exec a ssh java plugin to connect agent using it's main IP address.
        Requires an external download (Mindterm SSH Applet), free for individual
        use.

        * vnc_view.php: Now uses VNC/HTTP port by default.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3780 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-26 21:08:40 +00:00
mdtrooper d0c6755c8f 2011-01-26 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/status_monitor.php: fixed the ACL in the Module name for
	the select box in the filter.

	* operation/search_agents.php: fixed the ACL in the search of agent.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3775 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-26 18:02:01 +00:00
juanmanuelr 0c58c8db24 2011-01-26 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_html.php: In print_image function checks if skin 
	path is set for the current user and if it exists add it to the image path. 
	Added pos_tree option on print_image function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3774 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-26 17:09:23 +00:00
javilanz 2b74e3b8c2 2011-01-26 Javier Lanz <javier.lanz@artica.es>
* include/functions_custom_graphs.php: Added 'date' parameter
	* operation/reporting/reporting_viewer.php: Longer text box
	* operation/reporting/graph_viewer.php: Added date control
	* godmode/reporting/reporting_builder.preview.php: Longer text box
	* godmode/reporting/graph_builder.preview.php: Added bottom controls
	
	Pending task: #3137696


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3773 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-26 13:40:17 +00:00
mdtrooper efd59e2718 2011-01-25 Miguel de Dios <miguel.dedios@artica.es>
* operation/search_results.php: added the tab to show search list for
	modules. And cleaned source code style.
	
	* operation/search_modules.php: added the page to list the searched modules.
	
	* operation/search_agents.php: cleaned source code style.

	Pending task: #3141623



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3772 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-25 10:47:40 +00:00
mdtrooper 8dadb482c8 2011-01-24 Miguel de Dios <miguel.dedios@artica.es>
* include/pChart/pChart.class: fixed in the function "drawTextBox" when
	pass a empty $Text as empty array.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3768 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-24 13:43:59 +00:00
mdtrooper a1a1686893 2011-01-24 Miguel de Dios <miguel.dedios@artica.es>
* operation/search_agents.php: fixed the pagination in the global search
	result.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3767 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-24 13:09:48 +00:00
mdtrooper 8daf748030 2011-01-21 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js, operation/agentes/exportdata.php,
	operation/agentes/ver_agente.php,
	godmode/reporting/visual_console_builder.wizard.php,
	godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/visual_console_builder.elements.php: fixed to show by ajax
	the disabled modules and the disabled agents.
	
	Fixes: #3155701




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3766 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-24 12:11:17 +00:00
slerena 1c1146b4a5 2011-01-22 Sancho Lerena <slerena@artica.es>
* pandoradb_data.sql: Updated SQL with version and new embedded "so".

        * include/config_process.php: Version.

        * images/os_icons/embedded.png,
        images/networkmap/14.png: New embedded agent icon.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3765 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-22 20:32:21 +00:00
mdtrooper aa28e4247f 2011-01-21 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.elements.php: fixed the show
	disabled modules in the list of element tab of the visual console editor.
	
	Fixes: #3155701



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3760 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-21 11:15:29 +00:00
mdtrooper 3274315cd3 2011-01-20 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/status_monitor.php: fixed and optimized the extract the
	list of Module name for the select box in the filter.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3753 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-20 19:19:48 +00:00
mdtrooper d546c8875b 2011-01-20 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_generalagente.php: fixed when the agent haven't
	ip address.
	
	Fixes: #3162646



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3752 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-20 14:41:12 +00:00
mdtrooper d4bbdf4255 2011-01-19 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager.php: added to call to enterprise functions
	to delete "pseudo code" of local module when delete in multiple delete
	action.
	
	Fixes: #3161621

	* include/functions_filemanager.php: cleaned source code old unused
	comments.
	
	* include/functions_ui.php: in function "printTruncateText" fixed when pass
	0 character to trunk, now return all text. And in function
	"print_agent_name" cleaned source code style.
	
	* operation/agentes/estado_agente.php: fixed order of params in the call
	of function "print_agent_name".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3751 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-20 13:47:27 +00:00
mdtrooper 9044f7d6af 2011-01-19 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php, 
	godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/visual_console_builder.editor.php: fixed the resize
	background, and now the visualmap the background resize. And now the items
	move with resize the background.
	
	Fixes: #3156131
	
	Pending task: #2996500



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3750 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-19 20:08:18 +00:00
javilanz 2ec33eb22c 2011-01-19 Javier Lanz <javier.lanz@artica.es>
* extensions/module_groups.php: Added truncation and scroll bar
	* operation/agentes/status_monitor.php: Fixed combobox functionality
	* general/logon_ok.php: Added a scroll bar at the bottom
	* godmode/groups/modu_group_list.php: Truncated module groups name


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3749 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-19 13:50:22 +00:00
mdtrooper 4bc0ed2234 2011-01-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions.php: in function "format_for_graph" added the units
	"exa", "zetta" and "yotta".
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3748 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-18 14:00:38 +00:00
javilanz 3490e12ec8 2010-01-17 Javier Lanz <javier.lanz@artica.es>
* trunk/pandora_console/include/functions_ui.php: Fixed an error in print_agent_name
	* trunk/pandora_console/extensions/module_groups.php: Fixed extension, now works properly. Fix #3160077
	* trunk/pandora_console/operation/agentes/estado_generalagente.php: Truncated agent & module names
	* trunk/pandora_console/godmode/reporting/visual_console_builder.elements.php: Fixed table style


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3747 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-17 17:03:38 +00:00
raulmateos 306086efdb 2010-01-16 Raúl Mateos <raulofpandora@gmail.com>
* pandoradb.sql, extras/pandoradb_migrate_v3.2_to_v4.0.sql: Updated
	year, just to know these files are updated from v3.2

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3746 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-16 22:56:39 +00:00
javilanz d433a773dc 2010-01-14 Javier Lanz <javier.lanz@artica.es>
* :In the last commit, in the trunk/pandora_console/operation/agentes/group_view.php file
	 was fixed as well the way to obtain the number of agents which have associated agents.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3745 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-14 13:54:05 +00:00
javilanz 6c39996d53 2010-01-14 Javier Lanz <javier.lanz@artica.es>
* trunk/pandora_console/include/functions_html.php: print_select function edited to deal with long fields.
	* trunk/pandora_console/include/functions_ui.php: printTruncateText function edited to truncate in the middle of the word.
	* trunk/pandora_console/pandoradb.sql: changed type for field "nombre" in "tgrupo" table.
	* trunk/pandora_console/pandora_console_install: added support for Fedora. Thanks to philipmbrown.
	* trunk/pandora_console/extensions/agents_modules.php: truncated text to 19 characters showing agent names
	* trunk/pandora_console/operation/agentes/group_view.php: Truncated group name to deal with long fields.
	* trunk/pandora_console/extras/pandoradb_migrate_v3.2_to_v4.0.sql: changed type for field "nombre" in "tgrupo" table.
	* trunk/pandora_console/godmode/groups/group_list.php: Truncated group name to deal with long fields.
	* trunk/pandora_console/godmode/agentes/modificar_agente.php: truncated agent names to deal with long fields.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3744 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-14 12:33:31 +00:00
juanmanuelr f03af5cd39 2010-01-14 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_db.php: In get_group_agents function, now agent's name search is not case sensitive.

	Fixes bug #3158022.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3742 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-14 10:53:08 +00:00
juanmanuelr 9ba7a5ae72 2010-01-13 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/reporting/visual_console_builder.editor.js: Label parameter is now coded 
	in base 64 format when pgraph.php page is requested. 
	
	* godmode/reporting/visual_console_builder.editor.php: Added a javascript include.

	* include/javascript/encode_decode_base64.js: Added new javascript function for base 64 encoding/decoding.  

	Fixes bug #3152661, #3147119



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3740 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-13 17:32:44 +00:00
jsatoh d542467e92 2011-01-13 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_create_agent.php,
	include/help/ja/help_reconscript_definition.php,
	include/help/ja/help_warning_status.php,
	include/help/ja/help_manage_alert_list.php,
	include/help/ja/help_critical_status.php: Added new help files in Japanese.

	* include/help/ja/help_manage_alerts.php: Added a missing help file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3739 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-13 03:34:13 +00:00
juanmanuelr faa2f19a82 2010-01-12 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/pchart_graph.php
	* include/functions_visual_map.php: Removed blank spaces when graphs are resized 
	in Visual console.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3738 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-12 17:08:50 +00:00
juanmanuelr d978ef6917 2010-01-12 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_visual_map.php: Changed the way of create marks 
	for graphs in visual console from divs to tables. Label parameter is 
	now coded in base 64 codification when pgraph.php page is requested. 

	Fixes bug #3152661, #3152673
	
	* include/fgraph.php: Decode received parameter (label) in base 64 codification.

	* godmode/reporting/visual_console_builder.editor.js: In Visual console builder editor 
	added some image borders to create marks around graphs.

	Fixes bug #3152673

	* operation/agentes/stat_win.php
	godmode/reporting/graph_builder.preview.php: Label parameter is now coded 
	in base 64 format when pgraph.php page is requested.

	Fixes bug #3152661




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3735 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-12 12:03:45 +00:00
raulmateos 0576d30d49 2010-01-11 Raúl Mateos <raulofpandora@gmail.com>
* install.php: Updated build and year.
	* index.php: Enable developer mode. Updated year.
	* include/config_process.php: Updated build and year.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3734 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-11 20:42:08 +00:00
javilanz 6e0be83d56 2010-01-11 Javier Lanz <javier.lanz@artica.es>
*godmode/agentes/module_manager.php: Fixed an error truncating module name

	Fixes bug #3138420



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3732 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-11 10:58:56 +00:00
juanmanuelr b8c10e8be8 2010-01-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pchart_graph.php: Remove axis values and legend in small graphs.
	* functions_visual_map.php: Added marks (div borders) for beautify visual console graphs.
	* fgraph.php: Dont show caption graphs in small graphs.
	* functions.php: Added constants for visual console.

	Fixes bug #3152673.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3730 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-10 18:33:26 +00:00