* include/functions_ui.php, include/ajax/agent.php: improved the
widget of autocomplete agent, now show first the agents with same
name to the search, second block with the agents with the address
same to the search and the last block is the agents with the
description with the same to the search.
Fixes: #3603692
* godmode/modules/manage_nc_groups.php,
godmode/modules/manage_network_templates.php,
godmode/modules/manage_network_templates_form.php: improved the code
style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7607 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/db/db_refine.php, godmode/servers/plugin.php: improved
the code style.
* include/functions_reporting.php: fixed the SLA when it is the
equal to limit.
Fixes: #3602722
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7606 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/modules/manage_network_components_form_common.php: fixed
the show types of module.
MERGED FROM THE PANDORA_4
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7605 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_users.php
include/functions_html.php: Added a new parameter
on groups select functions to use any field as key
of the select. Until now, the field used was only ID
* include/functions_graph.php: Added a full url
to the agent access graphs to show the menu of the
interactive graphs in the metaconsole too: BUG 3592080
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7599 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, include/functions_ui.php,
operation/reporting/reporting_viewer.php,
operation/agentes/snapshot_view.php: improved the code style.
* include/functions_html.php: added other parameter in print
checkbox for to avoid to put a hidden input.
Fixes: #3602766
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7596 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_treeview.php: Fixed repeated messages on
treeview in metaconsole mode and fix some performance and
aesthetic issues
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7594 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_monitores.php,
operation/agentes/datos_agente.php, godmode/setup/setup.php,
include/functions_config.php: added the can disabled the command
snapshot.
Fixes: #3602773
MERGED FROM PANDORA_4
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7593 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_list.php
godmode/events/event_edit_filter.php
godmode/events/event_filter.php: Fix a lot of fails in the
event filters editor and the reset of the tags list when
select "none" filter
* operation/events/events.build_query.php: Fix
bad behavior in tags filter in events view
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7591 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* ajax.php: added the autologin hash for some ajax call of user
without login (but with hash autologin).
* godmode/reporting/reporting_builder.list_items.php,
include/db/mysql.php: cleaned source code style.
* include/functions_reporting.php, include/functions_events.php,
operation/reporting/reporting_xml.php: optimized the get by steps
the group events.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7588 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/menu.php: Fixed duplicity in SNMP trap menu. SNMP
options are inside the "Monitoring" sub section. Removed
"standalone" option, which have missing suboptions.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7587 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_gis.php,
include/javascript/openlayers.pandora.js, operation/menu.php,
operation/gis_maps/render_view.php, godmode/menu.php: fixed the
height of maps when the menu is short.
Fixes: #3602800
MERGED FROM PANDORA_4
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7586 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager.php,
godmode/agentes/configurar_agente.php: fixed the load the module
editor form into the policies.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7583 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/modules/manage_network_components.php: cleaned source code
style.
* operation/netflow/nf_live_view.php: fixed the lost to simplified
the filter.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7579 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_xml.php, include/functions_reporting.php,
operation/reporting/reporting_xml.php: fixed the SLA agent name
with entities differents to hexadecimal entities. And fixed the
serialized data when has not separators.
Fixes: #3602204
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7571 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.list.php,
godmode/reporting/graph_builder.php, godmode/setup/news.php,
godmode/setup/setup_general.php, godmode/netflow/nf_edit_form.php,
godmode/db/db_purge.php, godmode/db/db_main.php,
godmode/extensions.php, include/functions_reporting.php,
operation/reporting/reporting_viewer.php: improved the source code
style.
* operation/reporting/reporting_xml.php, include/functions_xml.php:
fixed the output of xml when have some html entities that is not
as hexadecimal entities.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7564 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_utils.php: fixed check color and legends
for stacked graphs when haven't set colors all graphs.
Fixes: #3602725
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7562 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php
include/functions_treeview.php: Delete server from
detail of modules in treeview and other little fixes
* include/functions_config.php: Added autocreation
of some conf tokens when dont exist
* include/help/en/help_events_replication.php
include/help/es/help_events_replication.php: Added
more info in the events replication help text
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7561 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php,
godmode/reporting/reporting_builder.item_editor.php,
godmode/reporting/reporting_builder.list_items.php: fixed the
autocomplete agent when edit or create a item for report that put
the server name but now don't put anything.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7560 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
pandoradb.sql: Removed some indexes that caused deadlocks on high
load scenarios.
* godmode/setup/setup_general.php,
include/functions_config.php: Added support for event storm
protection.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7557 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/jquery-ui-1.10.0.custom.css,
include/styles/images/ui-*,
include/javascript/jquery.jquery-ui-1.10.0.custom.js,
include/javascript/jquery-1.9.0.js: added the last version of
jquery and jqueryUI.
* godmode/reporting/visual_console_builder.editor.js,
include/ajax/events.php, include/functions_events.php,
include/functions_reporting.php,
include/javascript/pandora_events.js,
include/javascript/jquery.scrollTo.js,
include/javascript/jquery.tablesorter.pager.js,
include/javascript/jquery.tablesorter.js, include/functions_ui.php,
extensions/update_manager/lib/functions.php,
extensions/update_manager/main.php, extensions/agents_alerts.php,
operation/events/events.php, general/login_page.php,
general/logoff.php, general/header.php,
general/login_help_dialog.php: fixes about the new jquery and
jqueryUI version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7554 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_generalagente.php,
include/functions_graph.php, include/graphs/functions_flot.php,
include/graphs/fgraph.php, include/graphs/flot/pandora.flot.js:
fixed the graph of events, now the pie graphs in "flot mode" has
a parammeter to force the position of legend.
Fixes: #3602206
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7553 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/modificar_agente.php: fixed the menu to showing
in the link to view agent.
* operation/agentes/estado_monitores.php: cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7551 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php: Fixed help popups to
be used from metaconsole too
* godmode/events/event_responses.editor.php: Added
a little help tip in the windows type of event
responses editor
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7548 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: fixed the lost columns in the
item general and added what "agent-module(op)" is the max and min
and added in the resume the units.
Fixes: #3602208
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7545 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/shortcut_bar.php, godmode/alerts/alert_actions.php,
godmode/category/edit_category.php, include/functions_reports.php,
include/db/postgresql.php, include/functions_gis.php,
include/functions_treeview.php,
include/functions_network_components.php: improved the code style.
* include/javascript/pandora.js: in function
"agent_changed_by_multiple_agents" added hook for to call any
function when loaded the module list. (now used in the wizzard
of reports in enterprise).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7540 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_treeview.php
operation/tree.php: Added module info table to the
tree view and fix the hash of instances when is in
metaconsole mode
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7539 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: fixed the calculate the min,
max and avg of exception item and show the operation column.
Fixes: #3602229
* godmode/reporting/reporting_builder.item_editor.php: fixed lost
vars from the metaconsole that makes PHP notices.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7537 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* ggodmode/massive/massive_operations.php,
godmode/massive/massive_edit_modules.php: fixed the form editor for
modules, now set the strings instruction for the unknown, warning
and critical, set only for the selected modules (instead the all
modules the bug).
Fixes: #3602361
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7536 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql
pandoradb.data.postgreSQL.sql
pandoradb.data.oracle.sql: Modified the alerts default data to
have basic wizard access by default
* godmode/alerts/configure_alert_template.php: Modify the
alert templates form to define wizard access only in metaconsole
and nowizard or respect the current value from the normal console
* include/javascript/jquery.pandora.js: Add a hack to
the license modal window to use it from metaconsole too
* operation/events/events.build_table.php
operation/events/events_list.php
operation/events/events.php: Encapsulate the table build
of the events list to reuse it from other views like tactical
view in metaconsole
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7535 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php,
operation/agentes/networkmap.topology.php,
operation/agentes/networkmap.groups.php: fixed the lost parameter
in the generation of networkmap with a text filter.
Fixes: #3602233
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7532 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/ja/help_events_replication.php,
include/help/ja/help_events_history.php: Added new help files.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7530 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/ja/help_alert_macros.php: Changed description for
_event_id_ macro to make easier to read.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7528 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map_editor.php: fixed the default value
for the period in the data item.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7526 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_netflow.php,
operation/reporting/reporting_xml.php: fixed to show netflow data
in the XML report.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7525 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.postgreSQL.sql, pandoradb.oracle.sql, pandoradb.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql: changed in the
table "tlayout_data" the field "label" to text without limits.
* godmode/extensions.php, include/functions_tags.php,
include/functions_ui.php, include/functions_agents.php,
include/functions_config.php: cleaned source code style.
* godmode/reporting/visual_console_builder.editor.js,
godmode/reporting/visual_console_builder.editor.php,
include/styles/pandora.css, include/styles/pandora_legacy.css,
include/functions_visual_map.php,
include/ajax/visual_console_builder.ajax.php,
include/functions_visual_map_editor.php: added the formatted label
into the item label with the help of tiny_mce.
* include/javascript/tiny_mce/*: update the last version of
tiny_mce.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7524 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/auth/mysql.php: Fixed update of the last password
change when edit a user in the classic way
* godmode/users/configure_user.php
godmode/modules/manage_network_components_form_common.php
godmode/modules/manage_network_components.php: Fix wizard
level and metaconsole access default values when charge to
keep data of items created with metaconsole from the standard
console
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7523 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/en/help_alert_macros.php,
include/help/es/help_alert_macros.php,
include/help/ja/help_alert_macros.php: Added the new _event_id_ macro
to help files.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7522 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql
pandoradb.sql
pandoradb.postgreSQL.sql
pandoradb.oracle.sql
pandoradb.data.postgreSQL.sql
pandoradb.data.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: Updated
the user, module and components tables to have nowizard value
by default (to normal console) and basic in default elements
creation (to metaconsole)
* godmode/users/configure_user.php: Updated the metaconsole
access control in user form to be showed only in metaconsole
and with only basic/advanced options for the new meta concept
* include/config_process.php: Store the metaconsole access
of the current user in $config
* operation/tree.php: Fixed pandora instances links from
tree in metaconsole mode
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7521 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/setup/setup_netflow.php,
operation/netflow/nf_live_view.php,
include/functions_config.php: Added support for disabling custom
filters in the netflow live viewer.
* include/functions_graph.php: Added min, max and avg values to
unaggregated netflow charts.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7518 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_tags.php: Fix a empty value return
to array() to avoid foreach problems
* index.php: Redirect to metaconsole when activate it
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7517 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_users.php
godmode/groups/configure_group.php: fixed a problem retrieving
the groups to the combo of set group parent
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7515 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_config.php
include/help/en/help_events_replication.php
include/help/en/help_module_interval.php
include/help/en/help_events_history.php
include/help/es/help_events_replication.php
include/help/es/help_events_history.php
operation/events/events.php: Fixed bug #3599448 of
setup javascript error.
Added help documents to events history and events
replication. Typo fix in other help document
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7506 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_rss.php
operation/events/export_csv.php
operation/events/events_list.php
operation/events/events.php
operation/events/events.build_query.php: Fixed tag filters in
event view and other filter elements missed in the csv and rss
tools. Merged from 4.0.3
Now the code of query conditions for events is common for
all of the pages where is retrieved
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7505 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php: Fixed cache control for
avoid send each time static contents. 0 is "always"
instead "never" :-S
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7494 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_list.php
images/books.png
godmode/reporting/reporting_builder.item_editor.php: Adapt
the reports item of events to metaconsole, add a new
image to history events and fix little bugs in events list
as parameters pass in pagination
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7491 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/ajax/events.php
include/functions_graph.php
include/functions_events.php
include/javascript/pandora_events.js
include/functions_config.php
operation/events/events_list.php
operation/events/events.php: Create a new
event visor to metaconsole history events
* include/functions_api.php: Added a new API function
to create netflow filters
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7483 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php
include/constants.php
operation/events/events_list.php: Added two new
criticity modes in the event filter. Critical or warning
and not normal
* operation/menu.php: Delete the metaconsole menu enterprise call
from operation menu
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7473 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php: Now modules with warning
status and alert fired are in yellow with orange border, before
they were red with orange border.
* include/constants.php: Mew constant for visual map to
identify modules with warning status and alerts fired.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7472 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/db/postgresql.php
include/db/mysql.php
include/db/oracle.php: Fixed function get_system_time when
timesource is system.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7470 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.list.php
godmode/alerts/alert_list.php: Fix ACLs bug of AD flag
and aesthetic issues
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7465 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* images/skin/skin_default/include/styles/pandora.css: Fixed small
bug in default skin css.
Merged from branches.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7464 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f