* include/graphs/functions_pchart.php: fixed when the var for $colors is a
other thing distint to array (for example a empty string).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5649 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: Added call to fs_error_image function
when there is no data in a sparse graph.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5648 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/include/functions_ui.php: changed the source code into the
function "ui_get_full_url" for accept false for to return url with the home
url or with any string (as query) return url with the php file.
* pandora_console/include/functions_graph.php,
pandora_console/include/functions_html.php,
pandora_console/include/functions_events.php,
pandora_console/include/functions_reporting.php,
pandora_console/include/functions_api.php,
pandora_console/include/functions.php, pandora_console/index.php,
pandora_console/extensions/system_info.php,
pandora_console/operation/agentes/stat_win.php,
pandora_console/operation/menu.php,
pandora_console/operation/events/events_rss.php,
pandora_console/operation/events/events_marquee.php,
pandora_console/operation/events/events.php: change in more part of source
code to use "ui_get_full_url" instead the hard write method of $_SERVER
vars, now Pandora Console run fine (in all actions I hope) with web servers
in other ports instead the typical 80.
Merged from branch pandora_4.0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5646 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
include/help/ja/help_ff_threshold.php: Small warning about do not
use FF Threshold in KeepAlive modules.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5641 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_list.php
operation/events/events.php: Changed functionality of state events
to javascript. Don't need to refresh all view.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5640 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/en/help_ff_threshold.php
include/help/es/help_ff_threshold.php: Small warning about do not
use FF Threshold in KeepAlive modules.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5638 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php: Changed location of
wizard functionality in the interface.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5635 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* install.php, index.php, include/functions_ui.php: cleaned source code
style.
* include/styles/dialog.css: fix the bad selector that it finished with
colon.
* godmode/reporting/visual_console_builder.editor.php: fixed the bad syntax
in the styles from the grid.
* godmode/reporting/visual_console_builder.editor.js: fixed a tiny
javascript warning.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5632 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php,
godmode/agentes/module_manager_editor_common.php: cleaned source code style.
* include/styles/dialog.css: fixed the bad comment lines.
* include/styles/pandora.css: fixed the bad comment lines and added the
style for the button to save in visual console editor.
* images/file.disabled.png: added image file for the button save in the
visual console editor.
* images/config.disabled.png: fixed the image, now the side is equal to
enabled image.
* include/functions_visual_map.php,
include/ajax/visual_console_builder.ajax.php,
godmode/reporting/visual_console_builder.editor.js,
godmode/reporting/visual_console_builder.editor.php: added feature the save
the movements of items when user want, and added feature the snap to grid
the items in visual map, fixed the resize background (in some oldcases
didn't run fine).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5627 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events.php: Fixed disable alerts in
event validation when choose more than one event to validate
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5615 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events.php
operation/events/events_list: Show checkbox 'Set alert on stand by'
when the event is "In process".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5612 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql: Migrate
tconfig ACL list. Pending to change it in Oracle.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5597 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_config.php, godmode/setup/setup.php
extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql: fixed the list of ACL ip in
the table tconfig, before the data was in several rows, now it is in one
row, and of course I have made in the SQL for the migration.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5594 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php: fixed function "check_refererer" when the http
server run in other port instead the normally 80 port.
Fixes: #3452474
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5591 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: cleaned source code style, and fixed the
size of graphs in "top_n" for the dashboard.
Fixes: #3483715
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5576 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: cleaned source code style, and fixed the
show graphs in "top_n" report item, now it is static graph and show a as
text of bars (or pie pieces) the agent name and module for more clear and
when you have same agents with distints modules, now the graph don't group
by agent.
Fixes: #3483852
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5573 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_pchart.php
include/graphs/fgraph.php
include/functions_reporting.php
include/functions_visual_map.php: Fixed little
graphs into the visual maps of the widgets
(min height control added)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5570 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/netflow/nf_live_view.php: Added red color in name and
group in netflow live filter creation.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5565 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/ajax/visual_console_builder.ajax.php: Removed max, min
options when a module graph is created in visual console editor.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5564 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php
include/javascript/pandora.js
operation/agentes/stat_win.php: Added new graph for module events
in the module popup graph window.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5563 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_validate: Display options: validate and
add a comment when the event status is "in process".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5561 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php,
include/functions_groups.php: Fixed a problem in Group View that hide empty parent
groups when their children has agents.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5558 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php
operation/events/events_list.php
operation/events/events_validate: Allowed post a comment
without changing the event's state.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5556 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* * extensions/module_groups.php, include/functions_modules.php,
godmode/agentes/module_manager_editor_prediction.php: cleaned
source code style.
* godmode/agentes/configurar_agente.php: cleaned source code style and fixed
the duplication of module.
* include/functions_agents.php: fixed the get modules into function
"agents_get_modules", before the function return ever the policy modules
without apply filter.
Fixes: #3482260
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5554 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/snmpconsole/snmp_view.php: Added type in snmp alert view
and added None option in trap type filter.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5549 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_list.php: Added colors in name and group
at creation time and now update button is showed when a filter is
created.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5542 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/en/help_field_match_snmp.php
include/help/es/help_field_match_snmp.php
godmode/snmpconsole/snmp_alert.php: Changed order of fields in this
view.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5541 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_list.php: Changed toggle filter in this
view.
* operation/netflow/nf_live_view.php: Changed filters of netflow
to javascript code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5538 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/snmpconsole/snmp_alert.php: OID field moved from conf.
part of the view to filter part.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5536 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_list.php: show 'source' and 'extra id' fields
in event view when the value is empty.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5535 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: cleaned source code style, and into the
function "html_print_select" fixed when the data hasn't "optgroup" items.
* include/functions_reports.php: cleaned source code style, and into the
function "reports_get_report" fixed empty arrays of reports.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5532 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/snmpconsole/snmp_alert.php: Changed position of tables
'Alert filters' and 'Alert configuration' in this view.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5531 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_list.php: Now id_group and id_name it's
keeped when pagination is used in this view.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5528 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_list.php: Now toogle filter is not hide
when pagination is used in thie view.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5527 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/en/help_snmp_alert_configuration.php
include/help/es/help_snmp_alert_configuration.php
include/help/en/help_snmp_alert_filters.php
include/help/es/help_snmp_alert_filters.php
include/help/es/help_field_match_snmp.php
include/help/en/help_field_match_snmp.php: Added helps for snmp
alert editor.
* include/help/en/help_snmp_alert_custom.php
include/help/es/help_snmp_alert_custom.php: Modified helps due to
field renamed in thie view.
* pandoradb.sql
pandoradb.postgreSQL.sql
pandoradb.oracle.sql
extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql
extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql
extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql: Added
id_group_filter in tevent_filter table.
* operation/events/events_list.php
operation/events/events.php
godmode/events/event_edit_filter.php
godmode/events/event_filter.php: If update button have been pushed
toogle filter is not hide. And added group filter in live filter
editor and in filter editor.
* godmode/snmpconsole/snmp_alert.php: Changed position of fields and
added helps.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5526 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/events/custom_events.php: Remove comments.
* operation/events/events_list.php: Show criticity only for
alerts.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5514 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_pchart.php: Fixed a problem charting lineal
and area graph with negative values in static mode.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5505 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql,
extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql: Fixed an error with
weight field of custom graphs
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5502 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: fixed into function "get_events__with_user"
when try get list events when empty list of groups for user.
* include/api.php: fixed the auth.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5499 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager.php: only added a comment for to explain
the reason because the modules from predictionserver is erased for the
creation policies modules. The reason is because there aren't the table
tmodule_synth and some code to apply this kind modules in policy too.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5497 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/events/custom_events.php
operation/events/events_list.php: Show all groups in
event view.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5495 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql,
pandoradb.data.postgreSQL.sql,
pandoradb.data.oracle.sql: Added fields to display the event view.
* godmode/menu.php
include/functions_config.php
operation/events/events_list.php: Configure the fields to be
displayed in the event view.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5490 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: Merged from 4.0. Add a missing
description of get_alert_template() in its leading comment.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5488 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql: change the
size of the field "post_process" in the tables "tagente_modulo" and
"tnetwork_component".
Fixes: #3483814
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5486 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f