* 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
* 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/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/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
* 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
* operation/gis_maps/index.php
godmode/gis_maps/index.php: Fixed ACL access of
not admin users to the maps of group All on GIS
* godmode/users/configure_user.php: Change a string to
crearify the tags ACLs assignation
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7616 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* attachment/mibs,
operation/snmpconsole/snmp_browser.php,
operation/snmpconsole/snmp_mib_uploader.php,
operation/tree/first_leaf.png: Added to repository. SNMP browser.
* operation/menu.php: Moved SNMP related features to a new SNMP menu.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7612 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
* 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/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/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_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
* 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/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_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_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
* 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_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
* 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_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
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
* 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
* operation/tree.php
operation/events/events_list.php
operation/events/events.php
godmode/events/event_edit_filter.php
godmode/events/event_responses.list.php
godmode/events/custom_events.php
godmode/events/events.php
godmode/events/event_filter.php
godmode/events/event_responses.editor.php: Fix several links
in events manager for metaconsole (things like pure parameter)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7318 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
* operation/events/events_list.php
godmode/events/custom_events.php: Fixed
a couple of bugs of style and event viewer
normal
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7301 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_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
* 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
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
* 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_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
* operation/netflow/nf_live_view.php
godmode/netflow/nf_edit_form.php
godmode/netflow/nf_edit.php: Pass the parameter pure
to keep full screen
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7201 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
* include/functions_agents.php
include/functions_networkmap.php
operation/agentes/status_monitor.php
operation/netflow/nf_live_view.php: Improve the
performance of networkmap with the new status counts.
Modify some common code between console and metaconsole
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7185 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_groups.php,
include/functions_agents.php,
include/functions_treeview.php,
include/functions_os.php,
include/functions_tags.php,
operation/tree.php: Added metaconsole support to the tree view.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7184 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/integria_incidents/incident.php: Fixed a bug in integration
between Integria and Pandora on Incident management.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7179 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/integria_incidents/incident.list.php: Fixed a problem with
incident search, in incident integrated with Integria.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7169 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/integria_incidents/incident.php: Fixed an error printing messages
which appear before the header.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7161 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/integria_incidents/incident.list.php,
operation/integria_incidents/incident.incident.php,
operation/integria_incidents/incident.php,
operation/integria_incidents/incident.files.php,
operation/integria_incidents/incident.workunits.php: Fixed several errors
in behavior, added messages about operation result and added style to buttons.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7160 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events.php, include/functions_tags.php: cleaned
source code style.
* godmode/events/event_edit_filter.php: fixed the lost vars in
the javascript code for the none elements in the tag select widgets.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7138 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* index.php: cleaned source code style.
* pandoradb.sql, pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
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: added the field
"tag_with" and "tag_without", and removed the field "tags" in the
table "tevent_filter".
* operation/events/events_list.php,
godmode/events/event_edit_filter.php: added widgets for to filter
the events by tags with the events or and tags without the
events.
* include/functions_tags.php: cleaned source code style, and
clarifity the function "tags_search_tag".
* include/functions_html.php: into the function
"html_print_input_hidden" fixed when the value have double quotes or
single quotes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7135 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/configure_alert_command.php, index.php: cleaned
source code style.
* godmode/alerts/alert_commands.php: fixed the check the name of
command that it did not make the update the data.
MERGED FROM THE BRANCH PANDORA_4.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7134 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_list.php: fixed the lost tag span (with
styles) in the Event description.
* operation/events/events.php: fixed the default value for id_agent
set 0 (as All) in the filter of events.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7131 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/status_monitor.php: improved the page status
monitor, show in another column the tags and added a select box with
the tags in user in the filter form.
Pending task: #3581578
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7124 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: Changed format of agent
and group configuration reports.
*operation/reporting/reporting_xml.php: Added custom field
to xml report.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7112 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php,
operation/reporting/reporting_xml.php,
godmode/reporting/reporting_builder.php,
godmode/reporting/reporting_builder.item_editor.php: Integrated
XML and PDF netflow reports into custom reports. Fixed some broken
links.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7098 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php
include/functions_report.php
operation/reporting/reporting_xml.php
operation/reporting/reporting_viewer.php
godmode/reporting/reporting_builder.item_editor.php
godmode/reporting/reporting_builder.php: Changed XML reports
and added two new types of report.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7095 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php: added two parameters
(flag metaconsole, id_server) into the functions
"networkmap_create_group_node" and "networkmap_create_networkmap"
for to extract data in the metaconsole enviroments. And in the
function "networkmap_create_module_node" fixes the default value of
flag for metaconsole and the links and url tooltips for the
metaconsole networkmap.
* operation/agentes/ver_agente.php: in the request for the
"get_agentmodule_status_tooltip" added code for get data in the
metaconsole.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7088 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/db/postgresql.php, include/db/mysql.php,
include/db/oracle.php, include/functions_db.php,
operation/agentes/datos_agente.php: Merged from 4.0 branch. Fixed
history database connection when the main database and the history
database are on the same host. Allow switching between the main
database and the history database to retrieve module data.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7078 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php
include/javascript/pandora_events.js
include/ajax/events.php
include/constants.php
operation/events/events_validate.php
operation/events/events_list.php
operation/events/events.php: Change the validation events
system to validate passing the ids searialized avoiding a lot
of operations. Improve counts and fix several bugs
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7071 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php
include/styles/jquery-ui-1.8.23.custom.css
include/javascript/pandora_events.js
include/ajax/events.php
operation/events/events_list.php
operation/events/events.php
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
godmode/menu.php
godmode/events/event_responses.list.php
godmode/events/custom_events.php
godmode/events/event_responses.php
godmode/events/events.php
godmode/events/event_responses.editor.php: Added several changes on
events system as responses editor and performer, and several
fixes
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7058 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, pandoradb.sql,
pandoradb.postgreSQL.sql, pandoradb.oracle.sql: added flag field
"pandoras_children" into the table "tnetwork_map".
* extras/check_other_languages.sh, include/functions_agents.php,
operation/agentes/networkmap_list.php: cleaned source code style.
* include/functions_networkmap.php: a lot of fixes for the
metaconsole, and other changes now generate a graphviz code more
clean and human readble (good for maintenaince).
* include/ajax/networkmap.ajax.php: into the ajax call
"get_networkmap_summary" started to adapt to call from the
metaconsole (WIP).
* include/functions_ui.php: fixes for metaconsole links to images in
the functions "ui_print_message", "ui_print_group_icon" and
"ui_toggle". And added the parameter $return in the function
"ui_toggle" for to return the html code as string.
* operation/agentes/ver_agente.php: into the ajax call
"get_agent_status_tooltip" adapt to call from the metaconsole.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7057 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php,
include/functions_html.php,
include/graphs/fgraph.php,
include/functions_ui.php,
include/functions_netflow.php,
operation/netflow/nf_live_view.php,
operation/netflow/nf_view.php,
godmode/netflow/nf_item_list.php,
godmode/netflow/nf_report_item.php: Small improvements and fixes.
Added support for PDF netflow reports (enterprise only).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7052 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php,
operation/agentes/stat_win.php: Fixed a problem with
max and min in boolean graph. This graphs don't have
max and min series.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7031 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/setup/setup_visuals.php
include/functions_config.php
include/functions_graph.php
operation/agentes/stat_win.php: Fixed some problesm
with graphs (visual and statistics)
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7023 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* install.php, operation/agentes/stat_win.php, general/footer.php,
include/config_process.php, include/functions_ui.php,
include/functions_graph.php, include/graphs/functions_flot.php,
include/functions_visual_map.php: change the $config['home_url'],
now it is generated dinamicly.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7009 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php, operation/agentes/tactical.php: cleaned
source code style.
* include/functions_reporting.php: fixed the ACL into the function
"reporting_get_group_stats".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7006 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_menu.php
index.php
operation/menu.php
godmode/agentes/modificar_agente.php
godmode/menu.php: Fixed some pages to ACL Enterprise
and the full screen pages loading menu structure when is not
shown
Merged from 4.0.x
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7005 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_menu.php
operation/agentes/estado_agente.php: Add a manually list of the
pages (sec2) not accessibles from menu to link it to the
section where appear (sec). Fix a bad section
Merged from 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7003 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
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: added the fields
"text_filter" and "dont_show_subgroups" for to new filters to
generate the networkmap.
* operation/agentes/networkmap.topology.php,
operation/agentes/networkmap.groups.php,
include/functions_networkmap.php, include/functions_servers.php:
added the new filters for free text for agents and hidden the
subgroups of any group in the group networkmap.
* extensions/resource_registration.php,
operation/agentes/networkmap.php, general/header.php,
godmode/netflow/nf_report_form.php,
godmode/agentes/module_manager.php, include/functions_groups.php,
include/auth/ldap.php, operation/agentes/estado_ultimopaquete.php,
include/functions.php, include/functions_db.php: cleaned source code
style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6995 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_netflow.php,
operation/netflow/nf_view.php,
godmode/netflow/nf_item_list.php: Added netflow traffic summary
reports. Small performance improvements. Fixed a bug in the
scale of area charts.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6994 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_monitores.php: added the small form to
filter the modules/monitors in the agent general view and of course
pagination.
* include/functions_html.php, operation/events/events.php,
operation/events/export_csv.php, operation/events/sound_events.php,
operation/events/events_list.php,
operation/netflow/nf_live_view.php, operation/tree.php,
operation/agentes/ver_agente.php, operation/agentes/stat_win.php:
cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6993 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php
include/graphs/functions_flot.php
include/graphs/flot/pandora.flot.js
include/graphs/fgraph.php
operation/agentes/stat_win.php: Fix several bugs of the
event graph and event special features on flot graphs when
compare periods
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6989 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/visual_console_builder.editor.js,
godmode/alerts/alert_list.builder.php,
godmode/alerts/alert_list.list.php,
godmode/gis_maps/configure_gis_map.php,
include/functions_visual_map_editor.php, include/functions_ui.php,
operation/tree.php, operation/agentes/exportdata.excel.php,
operation/agentes/exportdata.php, operation/agentes/ver_agente.php,
operation/snmpconsole/snmp_view.php, operation/users/user_edit.php,
operation/gis_maps/ajax.php, operation/events/events_validate.php,
operation/messages/message_edit.php,
operation/messages/message_list.php,
operation/reporting/reporting_viewer.php,
operation/netflow/nf_live_view.php,
operation/incidents/incident.php, operation/search_modules.php:
started to use the new function "ui_print_agent_autocomplete_input"
to make more easy (and standar) the autocomplete agent input.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6983 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php
include/graphs/functions_flot.php
include/graphs/flot/pandora.flot.js
operation/agentes/stat_win.php
include/functions_modules.php: Added unknown status
to graphs and improve some little aesthetic things of
flot graphs
* include/functions.php
include/functions_html.php: Fixed html checkbox issue
with get_parameter_checkbox function
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6980 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/incidents/incident_detail.php,
operation/agentes/exportdata.php, operation/events/events_list.php,
operation/events/events.php, godmode/events/event_edit_filter.php,
godmode/massive/massive_edit_agents.php, include/functions_api.php,
include/constants.php, include/javascript/pandora.js,
include/functions_ui.php: started to use the new function
"ui_print_agent_autocomplete_input" to make more easy (and standar)
the autocomplete agent input.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6974 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/insert_data.php,
operation/incidents/incident_detail.php: started to use the new function
"ui_print_agent_autocomplete_input" to make more easy (and standar)
the autocomplete agent input.
* godmode/agentes/agent_manager.php: erased unused source code for
old ajax call, and started to use the new function
"ui_print_agent_autocomplete_input" to make more easy (and standar)
the autocomplete agent input.
* operation/agentes/exportdata.php: erased duplicated source code
for call ajax, and rewrote some javascript to use same page to
ajax.
* godmode/alerts/alert_list.builder.php,
godmode/events/event_edit_filter.php,
godmode/reporting/visual_console_builder.editor.js: rewrote some
javascript to use same page to ajax.
* include/ajax/agent.php: cleaned source code style.
* include/functions_ui.php: removed the old unused code as
the functions "ui_print_ui_agents_list" and "ui_popup_help". And
added the first version of "ui_print_agent_autocomplete_input", and
this function maybe will be changing for a some time.
* include/functions_html.php: into the function
"html_print_input_text_extended" added code to use the $alt
parameter (never it have been used before) and added the function
"html_print_input_hidden_extended" with more parameters than the
simple "html_print_input_hidden" function.
* include/javascript/pandora.js: marked as Deprecated the function
"agent_module_autocomplete".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6965 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/header.php: fixed the link to logout when the Pandora
run across inverse proxy.
* include/functions.php: update the function "check_refererer" for
situations when the Pandora runs across the inverse proxy.
* include/functions_html.php: function "html_print_image" fixed when
use the metaconsole across the inverse proxy.
* include/functions_reporting.php,
operation/reporting/reporting_viewer.php: fixed some links for the
Pandora runs across inverse proxy.
* include/functions_ui.php: fixed the function "ui_get_full_url"
when pass a empty url in a Pandora into a inverse proxy.
* extensions/dbmanager.php, operation/agentes/ver_agente.php:
cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6950 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php
operation/reporting/reporting_xml.php: Some fixes on CSV and XML
report exportation.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6941 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php: fixed the ui_get_full_url function,
because sometimes added two times the php script name.
* operation/events/events_rss.php: avoid to lost the url with the
actual fixes into the function ui_get_full_url.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6937 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/header.php, general/login_page.php,
godmode/setup/setup.php, include/functions_ui.php,
include/functions_graph.php, include/functions_html.php,
include/graphs/fgraph.php, include/graphs/functions_pchart.php,
include/graphs/functions_flot.php, include/functions_reporting.php,
include/functions_visual_map.php, include/functions_config.php,
operation/reporting/reporting_viewer.php,
operation/visual_console/render_view.php,
operation/agentes/tactical.php, operation/menu.php,
operation/events/events.php: added the feature to set a
public url for inverse proxy or for example mod_proxy of Apache.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6936 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php
include/graphs/fgraph.php: Fixed minor bugs.
* operation/agentes/stat_win.php: Url built with ui_get_full_url
function.
godmode/reporting/reporting_builder.list_items.php
godmode/reporting/reporting_builder.php: Fixed bug in list element
view due to bad js action of the form.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6932 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/graph_builder.php,
include/functions_modules.php, operation/agentes/ver_agente.php:
cleaned source code style.
* include/functions_html.php: fixed the function "html_print_select"
when pass the selected as array
(for example in multiple select box).
* godmode/reporting/reporting_builder.item_editor.php,
include/functions_reports.php: into the function "get_report_name"
added parameter $template to get type for content template. And the
function "get_report_types" renamed for "reports_get_report_types"
and added the same parameter $template.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6931 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/tree.php, godmode/massive/massive_edit_modules.php,
godmode/massive/massive_edit_agents.php,
include/functions_treeview.php: added the view of quiet agents and
modules in treeview, and added in massive operations for agents
and modules to set the quiet for these.
* operation/menu.php: cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6903 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,
godmode/agentes/module_manager_editor_common.php,
godmode/agentes/module_manager.php,
godmode/agentes/configurar_agente.php,
godmode/agentes/module_manager_editor.php, pandoradb.sql,
pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
operation/agentes/estado_ultimopaquete.php,
operation/agentes/estado_monitores.php,
operation/agentes/ver_agente.php: added in the modules the same
feature to set agent in "Quiet" mode.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6898 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.main.php,
godmode/reporting/reporting_builder.php,
include/functions_reports.php, pandoradb.sql,
pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
operation/reporting/reporting_xml.php,
operation/reporting/reporting_viewer.php,
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: now the reports
can set the group can edit or private edition.
* include/functions_users.php: cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6889 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_modules.js
include/ajax/module.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/agentes/module_manager_editor_plugin.php
godmode/agentes/configurar_agente.php
godmode/servers/plugin.php
godmode/modules/manage_network_components.php
godmode/modules/manage_network_components_form_plugin.php: Change all the
manage plugins form adding the dynamic macros in this side. Change the
network components form to put the macro fields in this side.
* operation/users/user_edit.php: Change the "Flash chart" string
by "Interactive chart"
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6859 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/reporting/graph_viewer.php: replace 'Period' with
'Time range' to be translated. This is for consistency of
labels between single graphs and custom graphs.
Merged from 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6827 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php
operation/agentes/networkmap_list.php: Fixed several problems with
network maps
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6800 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_prediction.php,
include/functions_modules.php,
include/functions_agents.php, operation/tree.php,
operation/agentes/estado_agente.php: fixed typo bug in the name of
"agetns_tree_view_status_img" for "agents_tree_view_status_img".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6797 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js: fixed the doc header for the
function "agent_autocomplete" that was very wrong, and now in this
function when call with the id_server_name equal to false, the
function doesn't save the id_server in hidden input.
* include/functions_agents.php: added function
"agents_check_agent_exists" that check if any agent exists into the
DB (of course you can check if exist and it is enabled).
* operation/search_agents.php: fixed the link to manage the agents
show in the search.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6790 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/resource_registration.php,
extensions/update_manager/lib/libupdate_manager.php,
extensions/plugin_registration.php,
operation/incidents/incident.php,
mobile/operation/agents/monitor_status.php,
mobile/operation/agents/view_agents.php: cleaned source code style.
* operation/tree.php: improve the code for to set more readble.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6789 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js, include/functions_agents.php,
include/functions_db.php, include/functions_html.php,
include/db/postgresql.php, include/db/mysql.php,
include/db/oracle.php: cleaned source code style and killed some
unicorns and magical numbers.
* operation/agentes/stat_win.php: a lot fixes, cleaned source code
style, added magical widget for times for refresh. And yes I fixed
the bug with jquery that failed with new graphs.
Fixes: #3520966
* operation/agentes/estado_ultimopaquete.php: fixed the links to
window graph popup, now all the links have 10 minutes for the
refresh.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6787 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php
operation/tree.php: Fixed some bugs in policy tree view.
And cleaned source code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6782 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/tree.php: Fixed a bug which shows agents with
not init modules when they must be hidde.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6779 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/constants.php
operation/tree.php: Fixed filters, counts and info displayed
in monitor and policy tree view.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6778 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_groups.php: Included void agents on
normal status.
include/functions_os.php: Included void agents on
normal status.
operation/tree.php: Fixed OS, groups and included void agents
in groups and OS views.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6777 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/tree.php: Fixed module view: agents and modules disabled
are hidden. Also fixed broken footer when an empty filter is
selected.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6775 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php
include/functions_groups.php
include/functions_os.php
include/functions_tags.php
operation/tree.php: Fixes in tree view counts.
* operation/agentes/status_monitor.php: Fixed module group
filter.
Pending to port to branches.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6766 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php
operation/agentes/estado_agente.php: Modified changed
agents_get_agents function to accomplish agent status general
conditions (like in functions_groups.php). Also status constants
where changed to standard.
* operation/menu.php: Don't hide any menu entry when metaconsole is
activated (new metaconsole has a different entry point).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6763 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/constants.php: added more constants into the constants
block of time conversion to seconds.
* godmode/alerts/alert_commands.php, godmode/setup/performance.php,
include/help/en/help_date_format.php, include/functions_netflow.php,
include/functions_tags.php, include/graphs/functions_pchart.php,
include/functions_modules.php, extensions/agents_modules.php,
extensions/update_manager.php, extensions/resource_exportation.php,
extensions/module_groups.php,
extensions/update_manager/lib/libupdate_manager_client.php,
extensions/system_info.php, operation/events/events_rss.php,
operation/events/export_csv.php, mobile/operation/events/events.php,
mobile/include/system.class.php: used the new constants time instead
the magic numbers, and cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6762 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f