* include/functions_reporting.php, include/functions_groups.php:
changes for to use in the calls in mobile version.
* mobile/index.php, mobile/operation/events.php,
mobile/operation/modules.php, mobile/operation/events,
mobile/operation/events/events.php, mobile/operation/agents.php,
mobile/operation/tactical.php, mobile/operation/alerts.php,
mobile/include/style/main.css, mobile/include/ui.class.php,
mobile/include/user.class.php: changes and improves in the code
of mobile.
* mobile/operation/agents/*, mobile/operation/servers/*: removed
the old files from version pandora mobile 4.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7891 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/db/mysql.php: fixed the querys for the columns with
empty string in the function
"mysql_db_format_array_where_clause_sql".
* include/functions_events.php: added lost parameter $similars in
the function "events_change_owner".
* operation/events/events.build_query.php: cleaned source code
style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7882 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* mobile/operation/events.php, mobile/include/ui.class.php,
mobile/index.php: added first version of events section.
* include/functions_incidents.php, include/functions_users.php,
include/functions.php, include/functions_groups.php,
include/functions_events.php, include/functions_html.php,
operation/events/events.build_table.php,
operation/events/events.build_query.php,
operation/events/events_list.php: some changes for interact with
mobile version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7872 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: Updated and fixed
some column types.
* include/functions_alerts.php,
pandoradb.sql,
pandoradb.postgreSQL.sql,
pandoradb.oracle.sql: Added support for on-demand module status
calculations.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7866 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/ja/help_performance.php,
include/help/ja/help_plugin_policy.php: Added new help files.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7864 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/jquery.form.js: updated to last version.
* include/functions_reporting.php, include/functions_groups.php:
added changes for to get the data as hash instead a html.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7860 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php
operation/agentes/status_monitor: Added popup with data
module, remove column 'tags' and changed font size to
column 'timestamp'.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7855 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: Improved performance of
get_tree_agents() API by omitting unnecessary data copies and
queries when output fields are explicitly specified.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7853 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/users/user_edit.php, godmode/users/configure_user.php: Add tip in edit users
* include/help/en/help_profile.php, include/help/es/help_profile.php: Modified help file
in profiles management
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7852 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php: fixed the massive deletion of
modules when only delete one module, the old code deleted all
modules in the agents on operation.
* godmode/massive/massive_delete_modules.php: cleaned source code
style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7845 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_config.php: fixed PHP notices when the "homeurl"
is empty in some installations.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7834 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_groups.php
include/functions_graph.php: Added extral controls in status
count retrieving functions to avoid negative numbers for
bug 3607315
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Updated
the data of unknown modules to new fields in migration
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7828 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_tags.php: fixed the function
"tags_get_acl_tags_module_condition" when the user profile is in
the all group.
* include/functions_reporting.php, include/functions_alerts.php,
operation/agentes/estado_monitores.php: improve the code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7826 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_common.php: show only the
tags that the user has.
Fixes: #3607617
* include/functions_tags.php: cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7825 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
*include/constants.php, include/functions_reporting.php,
godmode/reporting/reporting_builder.item_editor.php,
godmode/reporting/reporting_builder.php: into the report element
"exception" added more conditions and rewrote the code.
Fixes: #3607172
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7816 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/ajax/events.php
include/graphs/flot/pandora.flot.js: Improve the view
of events information in flot graphs for bug 3607101
* godmode/agentes/module_manager_editor_network.php
godmode/modules/manage_network_components_form.php
godmode/modules/manage_network_components_form_network.php: Fix
some bugs of module templates application and snmp modules edition
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7815 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php
operation/events/events.build_table.php: Improve instructions
in list and details view on agents and fix the bug of doesnt
show the owner in the list table when events are grouped. To fix
it I added a couple of subqueries to the grouped query. Yes, I
checked the performance :) Bug: 3607097
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7809 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: fixed the apply format to
numeric value in the max item report.
MERGE FROM THE BRANCH PANDORA_4
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7808 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php,
godmode/reporting/reporting_builder.item_editor.php: fixed the get
modules from items events for reports in metaconsole.
Fixes: #3606284
* include/functions_agents.php, operation/tree.php,
operation/agentes/ver_agente.php: some fixes for avoid PHP
warnings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7806 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php
operation/events/events.build_table.php: Fixed the owner info
in wrong column of event view for bug 3607097
Fixed a problem changing the owner when change status too
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7804 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_servers.php
operation/agentes/estado_generalagente.php: Order
code and little fix
* operation/events/events.build_table.php
godmode/events/custom_events.php: Add Instructions to
custom columns in event view to bug 3607062
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7801 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_alerts.php: Change the update counts
of fired alerts when validate to do it only when the validation
is of a unvalidated alert. This change is to avoid broke
counts
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7791 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php: improved the style.
* include/functions_reporting.php: fixed into the function
"reporting_get_agentmodule_sla_array" when have one data of a
module.
Fixes: #3606811
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7789 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/snmp_explorer.php: improved the code style.
* include/functions_html.php, include/ajax/module.php: rewrote the
code for to use the last autocomplete jquery UI.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7786 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: Fix little
bug of agents statistics
* include/help/en/help_field_match_snmp.php
include/help/en/help_snmp_alert_field1.php
include/help/es/help_field_match_snmp.php
include/help/es/help_snmp_alert_field1.php
pandoradb.sql
pandoradb.postgreSQL.sql
pandoradb.oracle.sql
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
godmode/alerts/configure_alert_action.php
godmode/alerts/alert_commands.php
godmode/snmpconsole/snmp_alert.php: Adapt snmp alert
editor to new alerts macro system. Now there are 10 fields
and are dinamically charged from javascript. Bug 3605775
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7783 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/gis_maps/render_view.php,
operation/agentes/gis_view.php,
godmode/gis_maps/configure_gis_map.php,
godmode/agentes/agent_conf_gis.php, include/functions_gis.php: fixes
about agents with white spaces.
MERGED FROM THE BRANCH pandora_4
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7782 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php
pandoradb.sql
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql: set the
counts columns of agent table as "signed" to avoid overflow
and add check to tactical statistics to avoid show negative
numbers
* godmode/agentes/module_manager_editor_plugin.php: Increase
the size of text inputs in plugin modules for bug 3606401
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7777 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/ja/help_tags_config.php,
include/help/ja/help_agent_server.php: Added new help files.
* include/help/ja/help_module_definition.php: Updated the description.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7776 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_alerts.php
include/functions_modules.php
include/functions_reporting.php
include/functions_servers.php: Fix counts when validate or
delete alerts and fix some little bugs of previous commits
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7775 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_alerts.php: Update the fired
counts on validate alerts function
* include/functions_events.php
include/functions_reporting.php
include/javascript/jquery.pandora.js
include/functions_treeview.php
operation/tree.php
operation/agentes/estado_generalagente.php
operation/agentes/estado_agente.php
operation/search_agents.php: Improve and unify code
of the status counts in agents list, agent detail,
tree view and search views
* ajax.php: Load the user language in the
ajax entry point. Until now the language was the
general!
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7769 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* images/help/service1.png: New file for help.
* godmode/tag/tag.php,
godmode/agentes/agent_manager.php
godmode/agentes/module_manager_editor_common.php: New hint help.
* include/help/en/help_tags_config.php,
include/help/en/help_agent_server.php,
include/help/en/help_module_definition.php,
include/help/en/help_view_services.php,
include/help/es/help_module_definition.php,
include/help/es/help_tags_config.php,
include/help/es/help_agent_server.php: New and improved help files.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7766 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/jquery.pandora.js
include/functions_servers.php
operation/events/event_statistics.php
general/logon_ok.php
godmode/admin_access_logs.php: Fix little bugs and
the server performance counts
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7762 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_events.js
operation/events/events_list.php: Remodelated the filter
save/update feature from the filter form. To new modal
windows system
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7761 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/admin_access_logs.php: cleaned source code style.
* include/functions_db.php: fixed the set ip in the function
"db_pandora_audit".
Fixes: #3606276
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7756 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/gis_maps/configure_gis_map.php, include/functions_gis.php,
operation/gis_maps/render_view.php: fixes for the layers.
MERGED FROM THE BRANCH PANDORA_4
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7752 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php
operation/agentes/estado_generalagente.php: Improve the
forced title in images and the agent operation view
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7749 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: Added new API function to
create custom field and to get custom field ID by name.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7748 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/modules/manage_network_components_form.php,
include/functions_html.php, operation/menu.php,
operation/events/events_list.php: improved source code.
* include/functions_events.php: fixed into the function
"events_get_agent" the query to get criticities.
Fixes: #3606285
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7744 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: into the function
"reporting_get_agents_detailed_event" readded the code lost from the
merge from the branch pandora_4.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7742 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: fixed php warning message when
calculate the server healty without servers.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7739 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_config.php: added code to set the config options
for the history actions.
Fixes: #3606285
* include/functions_api.php: improved the source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7738 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_config.php: Include a library in
functions config to avoid error in GD graphs
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7737 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php
include/styles/pandora.css
include/functions_graph.php
include/graphs/functions_pchart.php
include/functions_reporting.php
include/functions_servers.php
include/constants.php
operation/agentes/tactical.php
general/logon_ok.php: A lot of improvements in
tactical views
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7736 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php: Added new fields to events_create_event
function: critical warning and unknown instructions, source and tags.
* include/functions_api.php: Reimplemented api_create_event API function,
the behaviour was completly wrong from documented and events_create_event
function.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7733 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/setup/setup_general.php, godmode/setup/setup_netflow.php,
godmode/setup/setup.php, godmode/setup/performance.php,
godmode/setup/setup_visuals.php, include/functions_config.php: added
check of update the options in the setup and show the message to
success or not the operation for the user.
Fixes: #3605972
* include/functions_api.php,
operation/agentes/estado_generalagente.php: fixed the code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7730 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_modules.js, include/functions_api.php:
improved the source code style.
* operation/agentes/estado_generalagente.php: fixed the set name
style for the agent.
Fixes: #3606134
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7729 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_common.php,
godmode/agentes/modificar_agente.php,
godmode/agentes/module_manager_editor.php,
godmode/agentes/agent_manager.php: updated the code to module
constants.
* include/javascript/pandora_modules.js: fixed the set the
module_data from to the json.
* include/functions_api.php: cleaned source code style.
* include/constants.php: addded lost constant for the module
prediction.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7728 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_filemanager.php: Fixed tooltips to use new
format. Added space between action icons.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7727 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/login_page.php, include/javascript/jquery.pandora.js,
include/constants.php, index.php: fixed the dialog for the password
policies. And added constants.
Fixes: #3605970
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7723 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_network.php: Always enable de
SNMP walk button.
* include/javascript/pandora_snmp_browser.js: Added to repository.
Javascript code for the SNMP browser.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7722 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php
include/styles/pandora.css
include/functions_graph.php
include/javascript/jquery.pandora.js
index.php: Change the HTML native title for
the images by a jquery engined title more
visible and customizable
* general/logon_ok.php
include/functions_reporting.php: Improve the
main page graphs and layout
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7721 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php, operation/agentes/alerts_status.php:
improved the style code.
* include/functions_alerts.php: in function "get_group_alerts" fixed
the get all alerts, sometimes set empty the return array.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7712 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reports.php
godmode/reporting/reporting_builder.php: Fixed some interface errors on
reports views and other ACLs fixes
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7711 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/modules/manage_network_components_form_common.php,
godmode/massive/massive_edit_modules.php,
include/functions_api.php: improved the form of modules the part
of critical and warning widgets.
Fixes: #3605482
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7710 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php
include/styles/pandora.css
include/functions_graph.php
include/functions_events.php
include/javascript/pandora.js
operation/agentes/estado_generalagente.php: Improve agent view
interface, work in hidden menus to improve more the graphs
layout.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7706 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: Supress a safe_input
in html_print_image function due performance problem
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7698 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php
operation/events/events_list.php: Little fixes
of new layout of events
* include/graphs/pChart/pPie.class.php: Fixed a
bug of the pChart library of ugly borders in the
3d pie graphs
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7697 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php
operation/agentes/estado_generalagente.php: Fixed
events slicebar legend and added modules statistics under
modules status pie
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7693 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_snmp_browser.php: Change icon and way to
split into branches (using :: and .).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7690 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php
include/graphs/functions_pchart.php
include/graphs/functions_flot.php
include/graphs/flot/pandora.flot.js
include/graphs/fgraph.php
include/graphs/functions_utils.php
operation/agentes/estado_generalagente.php: Add
a new agent status pie graph and partial remodelation
of the agent detail view hidding the graphs in a lateral
tab and adding graphs
* operation/agentes/estado_agente.php: Optimize
useless queries to get the agents status
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7687 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f