Commit Graph

2456 Commits

Author SHA1 Message Date
mdtrooper b06ee0fdc5 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 cd318cc924 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 ad0c50de88 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 cece9d121c 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 c46f12da72 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 a8f8a1ca6c 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 54704e6f8c 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 63b61c9013 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 c4aa91189d 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 67dc758841 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 d1c18b13e2 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 7a3afcbd81 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 b2e96fa8f2 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 35e74dca8f 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 d5197dcb40 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 195b381149 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 80ab60dac1 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 ac44399404 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 709668cf41 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 50755bdae6 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 daa3607365 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 317623bf9a 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 86b90e987f 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 a7578ea661 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 719a4e3bbb 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 ef7c6fd406 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 b088c166cc 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 a6747099c4 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 9185505bcf 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 7a09b93afc 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 16a31d8727 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 2608334f05 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 5153e70aa4 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 5dff4cd13a 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 f8cf58d769 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 065a0759fb 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 f619a76404 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 57d7372c4c 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 8e3a474bf4 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 dc16266ef9 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 444148c60a 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 9fe29f1310 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 9413808249 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 75164c4197 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 c7eeb2fdf6 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 d45774ce11 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 061409633f 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 d59379cf8c 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 a4cec87368 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 6fe5712f9c 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