Commit Graph

2419 Commits

Author SHA1 Message Date
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