* 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
* 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
* 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
* 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
* 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
* conf/pandora_server.conf
lib/PandoraFMS/Config.pm
lib/PandoraFMS/DataServer.pm: Added support for Openstreetmaps
API for reverse geolocation.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4073 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* win32/modules/pandora_module_factory.cc, unix/pandora_agent: Changed
module_post_process to module_postprocess to match the documentation.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4044 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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
* 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
* 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
* 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
* 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
* win32/modules/pandora_module.h,
win32/modules/pandora_module_factory.cc,
win32/modules/pandora_module.cc,
unix/pandora_agent,
shellscript/linux/pandora_agent: Set the module min, max and
post_process in the XML data file.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4036 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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
* 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
* 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