* 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
* include/functions_html.php
include/styles/pandora_minimal.css
include/styles/menu.css
include/styles/pandora.css
operation/agentes/stat_win.php
operation/events/events.build_table.php
operation/events/events_list.php
general/main_menu.php
godmode/events/event_edit_filter.php: Remodelate the
events form view. Pushing the graph in a hidden lateral
tab and reordering all the form
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7684 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_modules.js: Fixed str_warning and
str_critical assignation when apply a network_component
Merged from 4.0.3
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7679 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php, include/functions_agents.php,
include/functions_config.php, include/ajax/reporting.ajax.php,
include/functions_snmp_browser.php,
operation/agentes/status_monitor.php: improved code style.
* include/functions_graph.php, include/graphs/fgraph.php,
include/graphs/flot/jquery.flot.pie.js,
include/graphs/flot/jquery.flot.pie.min.js,
include/graphs/flot/pandora.flot.js,
include/graphs/functions_flot.php: fixed the pie graphs, added the
expanded version of flot pie js file with some changes for the
last version of jQuery.
Fixes: #3604555
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7675 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php
include/styles/pandora_minimal.css
include/javascript/x_event.js
include/javascript/x_slide.js
include/javascript/x_core.js
operation/agentes/stat_win.php: Encapsulated the hidded side menu
(stat_win menu) to used from other parts of Pandora. Change the
technology of this menu to jquery, eliminating dependences: x_event
x_slide and x_core
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7673 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php,
operation/agentes/status_monitor.php,
operation/agentes/estado_ultimopaquete.php,
operation/agentes/estado_monitores.php,
operation/agentes/datos_agente.php, operation/search_modules.php:
fixed to show strings from for example Selenium Plugin that have
html tags.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7671 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/search_modules.php, operation/agentes/ver_agente.php,
operation/agentes/status_monitor.php,
operation/agentes/estado_ultimopaquete.php,
operation/agentes/estado_monitores.php,
operation/agentes/datos_agente.php, include/functions_io.php: fixed
to show string web data from Goliat modules.
Fixes: #3600804
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7670 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: added a parameter for to set the
round corner in the function "graph_sla_slicebar".
* include/functions_reporting.php: added in SLA the graph set
without round corners.
Fixes: #3584066
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7667 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/servers/modificar_server.php: fixed the column of server
now it is not link and show the version.
* include/functions_servers.php: fixed the sec parameter for the
link to edit recon server.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7664 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php
include/graphs/functions_utils.php: Added a function to calculate
the complementary color of a RGB hex code to assign automatically
the overlapped graphs colors for bug 3604462
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7663 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/modules/manage_network_components.php,
godmode/reporting/visual_console_builder.editor.js,
godmode/massive/massive_delete_alerts.php: improved the source
style.
* include/functions_ui.php: fixed the sort of included of jquery
base files.
Fixes: #3604768
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7661 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/setup/setup_netflow.php,
include/functions_config.php: Added the deletion of old netflow and
log data.
* include/functions_snmp_browser.php: Added to repository. SNMP browser
specific functions.
* operation/menu.php,
operation/snmpconsole/snmp_browser.php: Added search capabilities to
the SNMP browser and other small improvements.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7656 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/constants.php: added constant dir for the mibs of snmp.
* include/functions_filemanager.php: cleaned source code style.
* operation/snmpconsole/snmp_mib_uploader.php: fixed to avoid go
upper directory to the mibs.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7654 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: Fixed the macros of the
default plugin MySQL
* include/functions_groups.php
include/functions_api.php
include/functions_ui.php
include/functions_agents.php
include/functions_modules.php
include/constants.php
operation/agentes/estado_ultimopaquete.php
godmode/db/db_sanity.php
godmode/agentes/agent_template.php
godmode/agentes/configurar_agente.php
godmode/servers/plugin.php: Create a function to disable
modules fixing the status counts and replace the old way of
do it in all the console. Fixin a lot of old way of create
and delete modules too to use the centralized function and
dont break counts. BUG 3604463
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7651 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/constants.php: added constant for module type of
"MODULE_SNMP" and sorted the list of types of modules.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7650 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_common.php,
include/functions_profile.php, operation/events/events_list.php:
changed in jQuery the deprecated function evalJSON for parseJSON.
Fixes: #3604536
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7649 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php: fixed the lost initial value for
the "homeurl_static" in $config when the pandora is for upgrade from
version 4.
Fixes: #3604288
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7642 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_flot.php
include/graphs/flot/pandora.flot.js
operation/agentes/stat_win.php: Improve the legend of the
interactive graphs for bug 3573814
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7640 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/dialog.css
general/login_help_dialog.php: Fix an ugly bar of the
modal windows and enlarge 20px the height of the
Welcome modal window to avoid scroll bar in most
browsers
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7639 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_config.php: Fixed the update of the
inventory changes black list on setup for bug 3604298
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7636 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/en/help_warning_status.php
include/help/en/help_critical_status.php
include/help/es/help_warning_status.php
include/help/es/help_critical_status.php: Improved the
really poor help of warning and critical status for
bug 3600787
* godmode/agentes/module_manager_editor_common.php: Added
checks to hide de useless status threshold. Now
the min and max thresholds are shown only in numeric modules
and the string field only in string ones
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7634 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php
operation/agentes/estado_ultimopaquete.php
operation/agentes/estado_monitores.php: Protect the data
of the string modules from the numeric format
in the visualization for bug 3600790
Added snapshot feature to the data view of the modules
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7631 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_network_components.php
godmode/modules/manage_network_components_form.php: Fix the default
interval when create network component. Fix the clone network components
fields to update all of them for bug 3595231
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7621 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php
general/header.php: Move some javascript and css inclusions
from header file to ui_process_page_head function to still
having this files when in full screen mode
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7620 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_servers.php, extensions/plugin_registration.php:
cleaned source code.
* godmode/reporting/reporting_builder.item_editor.php: fixed the
usability for the SQL items in the reports.
Fixes: #3573455
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7618 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/menu.php, godmode/alerts/configure_alert_template.php,
godmode/alerts/alert_actions.php,
godmode/agentes/agent_template.php,
godmode/massive/massive_delete_agents.php: cleaned source code.
* include/functions_html.php: added the weeks in the input for
times.
* operation/agentes/stat_win.php: fixed the malformated table when
show extended options in the time widget.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7617 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* include/functions_ui.php
include/functions.php
operation/agentes/alerts_status.php
operation/agentes/estado_agente.php
godmode/agentes/module_manager.php
godmode/agentes/modificar_agente.php
godmode/agentes/configurar_agente.php
godmode/menu.php
godmode/alerts/alert_list.list.php
godmode/alerts/alert_list.php: Added checks to new flag AD
in godmode views for agents, modules and alerts. Clean
some old extra_sql (policy acls) code
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7461 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_component_groups.php
godmode/modules/manage_network_components.php: Don't remove
parent component groups with childs assigned to components.
Merged from branches.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7457 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/setup/setup_netflow.php: Fixed a string.
* include/functions_config.php,
operation/menu.php,
godmode/menu.php: Added support for the log viewer.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7442 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_component_groups.php
godmode/modules/manage_network_components.php
godmode/modules/manage_nc_groups.php: Added tree format for
component groups and make more restrictive filters in local/network
components.
Merged from branches.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7440 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php
include/functions_agents.php
include/functions_tags.php
operation/tree.php
operation/agentes/status_monitor.php
operation/agentes/alerts_status.php
operation/agentes/estado_ultimopaquete.php
operation/agentes/estado_agente.php
operation/agentes/status_events.php
operation/agentes/estado_monitores.php
operation/agentes/tactical.php
operation/agentes/group_view.php
operation/agentes/networkmap.php
operation/events/events_list.php
general/logon_ok.php
godmode/agentes/module_manager.php
godmode/alerts/alert_list.list.php: Add tags acl checks to modules
and alerts view. Add warn messages to zones with status counts when the
user has acl tags assigned
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7425 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql
include/functions_config.php
pandoradb.data.postgreSQL.sql
pandoradb.data.oracle.sql
godmode/setup/performance.php: Max recommended number of files in
attachment directory parametrized.
Merged from branches.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7423 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php: Fixed entity problem in
networkmap and hided agents without alerts if "only module with
alerts" option enabled.
Merged from branches.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7421 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php,
godmode/reporting/reporting_builder.item_editor.php,
godmode/agentes/agent_manager.php, include/functions_events.php,
include/functions_reporting.php: added the option "no validaded" in
the items for events.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7403 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/constants.php: added the default weight for unknown status
for agent, module or service in the services.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7397 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: Changed constraint in agent creation
about the interval (now only greater than zero).
Merged from branches.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7392 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql
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:
Add profile tags to the database structure
* include/ajax/events.php
include/functions.php
include/functions_events.php
include/functions_reporting.php
include/functions_treeview.php
include/functions_profile.php
include/constants.php
include/functions_tags.php
operation/tree.php
operation/users/user_edit.php
operation/events/events_list.php
pandoradb.data.postgreSQL.sql
pandoradb.data.oracle.sql
godmode/users/configure_user.php: Add new acl control with
tags in events and tree views. Fix a lot of little bugs like ACLs
in tree view (tags mode), add the tags mode on tree view of the normal
console, pass the ACL flag to some forgotten functions, etc.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7383 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php: Fixed that the console sometimes shows
negative timestamp (e.g. '-2 sec') when using 'comparison in
roll-over' format. Merged from 4.0.x.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7380 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php: Added a default cover
for PDF reports.
include/help/ja/help_reporting_advanced_tab.php,
include/help/en/help_reporting_advanced_tab.php,
include/help/es/help_reporting_advanced_tab.php: Documented new macro
called REPORT_NAME
MERGED FROM 4.0.3
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7365 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/en/help_alert_macros.php
include/help/es/help_alert_macros.php: Added macro _email_tag_
to these help screens.
* include/functions_reports.php: Added exception to templates when
report types are displayed.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7352 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/resource_registration.php,
extensions/resource_exportation.php,
operation/events/event_statistics.php,
operation/events/events_list.php,
operation/reporting/reporting_viewer.php,
godmode/reporting/reporting_builder.php,
godmode/reporting/reporting_builder.item_editor.php,
include/functions_alerts.php, include/functions_reports.php,
include/functions_events.php, include/graphs/fgraph.php,
include/functions_graph.php, include/styles/pandora.css,
include/functions_reporting.php, include/functions_agents.php: a lot
of changes and fixes from the branch for the reports.
MERGED FROM PANDORA_4.0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7351 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_template.php,
godmode/agentes/configurar_agente.php,
godmode/agentes/module_manager.php,
include/functions_modules.php: Implemented a real not-init status.
Small fixes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7325 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/ajax/events.php
include/functions_events.php
include/javascript/pandora_events.js: Adapt responses
to metaconsole connection (retrieving of event address macro)
and set format to tags in event view
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7317 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_groups.php: Added missed translation of
All group name
* operation/events/events_list.php: Added compatibility on groups
filter in events for metaconsole.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7316 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/ajax/agent.php
include/functions_ui.php
include/constants.php
operation/events/events_list.php: Modify the event list
filter to adapt the agent search to metaconsole.
Fix little bug of autocomplete control too
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7314 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: Resize URL item report to make it
taller.
Merged from branches.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7300 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php: Fixed a typo (have a small
meaning for localization). Merged from branch 4.x
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7295 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.php,
godmode/alerts/configure_alert_template.php,
godmode/alerts/alert_templates.php,
godmode/alerts/alert_list.builder.php,
operation/messages/message_edit.php, include/functions_api.php,
operation/reporting/reporting_xml.php,
godmode/reporting/graph_builder.graph_editor.php: cleaned source
code style.
* include/functions_io.php: improved the function "__" for to hook
the translations from metaconsole.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7292 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/setup/file_manager.php, include/functions_filemanager.php:
some fixes and added support for the metaconsole.
* include/get_file.php: fixed lost check "is_user".
* operation/netflow/nf_live_view.php: cleaned source code style.
* include/functions_config.php: added check the flag of "is_admin"
when try to change some config from setup.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7287 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js: fixed lost var id_server.
* operation/agentes/ver_agente.php: fixed call of get modules for
to get modules.
* godmode/reporting/visual_console_builder.php: fixed lost var.
* godmode/reporting/visual_console_builder.editor.js: fixed check
the var metaconsole in firefox.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7281 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_config.php: Changed parameter names of
some replication event options of the setup
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7279 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php,
operation/netflow/nf_live_view.php: Fixes to the metaconsole part of
the viewer.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7276 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map_editor.php: increased the size of
agent autocomplete widget.
* include/functions_visual_map.php: in the function
"visual_map_print_visual_map" changed for to print corretly the
urls in public view in metaconsole.
* include/ajax/agent.php: restore the search for any string in
the autocomplete agent.
* operation/reporting/reporting_xml.php,
operation/search_results.php,
operation/visual_console/public_console.php,
godmode/setup/setup_auth.php, godmode/servers/modificar_server.php:
cleaned source code style.
* godmode/reporting/visual_console_builder.editor.js: fixed when
finish a resize action or put the grid, before these actions
was make a corrupt data of items.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7269 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql,
include/functions_config.php,
include/functions_netflow.php,
operation/netflow/nf_live_view.php,
pandoradb.data.postgreSQL.sql,
pandoradb.data.oracle.sql,
godmode/setup/setup_netflow.php: Added the maximum netflow chart
resolution to the setup. Added byte and byteperseconds units.
Small improvements.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7268 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_netflow.php: Added a new way of retrieving netflow
data using multiple calls to nfdump that vastly improves the
performance of netfow data charts.
* operation/netflow/nf_live_view.php: Check that the nfdump binary
exists.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7260 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php
include/functions.php
include/functions_config.php
godmode/setup/setup_visuals.php: Add interval values
configuration into visual setup and limit the
advanced control of interval combos only for
administrators
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7259 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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, pandoradb.sql,
pandoradb.postgreSQL.sql, pandoradb.oracle.sql: in the table
"tlayout_data" added the column "id_metaconsole" for to show
visualmaps in the metaconsole.
* operation/visual_console/render_view.php,
include/functions_visual_map.php, operation/agentes/ver_agente.php,
godmode/reporting/visual_console_builder.wizard.php,
godmode/reporting/visual_console_builder.php,
godmode/reporting/visual_console_builder.data.php,
godmode/reporting/visual_console_builder.editor.js,
godmode/reporting/visual_console_builder.elements.php,
godmode/reporting/visual_console_builder.editor.php,
godmode/reporting/map_builder.php,
include/ajax/visual_console_builder.ajax.php,
include/ajax/agent.php, include/functions_visual_map_editor.php,
* operation/agentes/datos_agente.php,
include/functions_netflow.php: cleaned source code style.
* include/functions_ui.php: in function
"ui_require_javascript_file_enterprise" fixed when need a
enterprise javascript instead metaconsole enterprise path.
* include/javascript/pandora.js: fixed the function
"agent_changed_by_multiple_agents" that needs in the metaconsole.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7258 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_groups.php: Fixed propagate parameter in
function groups_get_parent.
* extensions/update_manager.php: Check UM is installed.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7256 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_network_components.php: Improve
network component retrieving to get the category name too
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7255 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: Replaced ^---.. comments with "-- -.." to avoid problems
with MySQL 5.0.x
* include/config_process.php: Fixed some problems with default timezone, because
config function was called before timezone was setup.
* include/styles/pandora.css: Added new style for netflow report render (HTML).
* include/functions_netflow.php: Replaced some code for use new CSS styles.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7243 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
Ported new feature (Command Snapshot) from 4.0.3 code.
* include/javascript/pandora.js: Added new javascript function
to open a generic URL with custom width / height.
* operation/agentes/snapshot_view.php: New feature for command
snapshot rendering.
* operation/agentes/datos_agente.php,
operation/agentes/estado_monitores.php: Changes for new feature
command snapshot monitoring.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7242 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php, include/functions_html.php,
include/functions_netflow.php: cleaned source code style.
* include/db/mysql.php: fixed into the function
"mysql_db_process_sql" a big bug that runs fine the select querys in
a metaconsole enviorement with several DBs but the insert querys
make in the previous connection.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7235 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql,
include/functions_config.php,
include/functions_netflow.php,
operation/netflow/nf_live_view.php,
pandoradb.data.postgreSQL.sql,
pandoradb.data.oracle.sql,
godmode/setup/setup_netflow.php,
godmode/netflow/nf_edit_form.php: Performance improvements. Use csv
output to avoid using regular expressions. Removed byte, flow and
packet unit and added kilobyte, megabyte, kilobytes per second and
megabytes per second.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7232 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/update_manager/lib/libupdate_manager_client.php,
extensions/update_manager/lib/libupdate_manager.php,
operation/agentes/ver_agente.php,
operation/agentes/status_monitor.php,
operation/agentes/estado_ultimopaquete.php,
operation/agentes/estado_agente.php,
operation/integria_incidents/incident.php,
operation/reporting/reporting_xml.php,
godmode/reporting/visual_console_builder.editor.js,
godmode/reporting/visual_console_builder.wizard.php,
godmode/reporting/visual_console_builder.elements.php,
include/functions_visual_map.php,
include/functions_visual_map_editor.php: uploaded the changes of
source code style previous to my next commit for to make the next
commit more easy.
* godmode/reporting/visual_console_builder.php: set empty string
for the new visualmap.
* include/ajax/visual_console_builder.ajax.php: fixed the regular
expresion to extract the url for the graph.
* include/functions_html.php: fixed into the function
"html_print_select_groups" lost code for to show the selectbox.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7230 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php,
godmode/reporting/map_builder.php,
godmode/reporting/visual_console_builder.php,
godmode/reporting/visual_console_builder.data.php,
include/functions_visual_map_editor.php,
operation/reporting/reporting_xml.php,
operation/agentes/exportdata.excel.php,
operation/agentes/ver_agente.php,
operation/agentes/status_monitor.php,
operation/agentes/alerts_status.php,
operation/agentes/exportdata.csv.php: uploaded the changes of source
code style previous to my next commit for to make the next commit
more easy.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7224 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: Use "autocomplete=off" in all
password fields (this is re-apply of rev5823, that was
dropped at rev6607). Merged from branch 4.x.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7215 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_treeview.php,
include/config_process.php,
operation/tree.php,
godmode/setup/setup.php: Manually defined DateTimeZone constants
since they don't seem to be available in certain PHP versions.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7202 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php
include/functions_graph.php
include/functions_reporting.php
include/functions_networkmap.php
operation/reporting/reporting_viewer.php
godmode/reporting/reporting_builder.php: Fix a lot of bugs of reports and
networkmap like foreach problems and filter issues
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7199 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_groups.php,
include/functions_treeview.php,
include/functions_os.php,
include/functions_tags.php,
operation/tree.php: Small fixes to the treeview.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7195 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_treeview.php,
operation/tree.php: Added support for agent and module navigation
from the metaconsole.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7193 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php
operation/reporting/reporting_viewer.php: Fix some bugs of
reports on metaconsole
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7191 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f