* 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
* 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
* include/functions_modules.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/agent_template.php,
godmode/agentes/module_manager.php,
godmode/agentes/agent_manager.php: Added support for server-side
module status calculation.
* godmode/agentes/configurar_agente.php: Show 'None' when no server is
selected for an agent.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7148 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
* include/functions_graph.php
include/graphs/pChart/pData.class.php
include/functions_reporting.php
include/constants.php: Improve performance to the SLA
report items, added unknown periods and fix planned downtimes
in SLAs. Adapt the default pchart graph engine colors to pandora
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7136 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
* include/functions_ui.php: improved the function
"ui_print_agent_autocomplete_input" to get the default value for
"hidden_input_idagent_value" from the GET or POST instead to set
as 0.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7130 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php, extensions/update_manager.php:
cleaned source code style.
* include/functions_ui.php: fixed or improved the function
"ui_print_agent_autocomplete_input" for to get the data when the
user stop to typing and lost the focus this widget.
Fixes: #3573762
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7120 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/ja/help_alert_fields_description.php,
include/help/ja/help_alert_fields_values.php: Added new help files.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7118 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_alerts.js
godmode/alerts/configure_alert_action.php: Fix some bugs in
the action form (jquery headache)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7116 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/help/en/help_alert_fields_description.php
include/help/en/help_alert_fields_values.php
include/help/es/help_alert_fields_description.php
include/help/es/help_alert_fields_values.php
godmode/alerts/configure_alert_command.php: Add help to the command
new fields system
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7104 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql
include/javascript/pandora_alerts.js
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
godmode/alerts/configure_alert_template.php
godmode/alerts/alert_templates.php
godmode/alerts/configure_alert_action.php
godmode/alerts/configure_alert_command.php
godmode/alerts/alert_actions.php
godmode/alerts/alert_commands.php: Added 7 more fields to
alert actions and adapted templates to this feature (recovery
included). Add the feature of custom the label and the possible
data (to use textarea or select) from the command
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7102 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: updated the links and tooltips
for the nodes in the networkmap on metaconsole.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7089 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
* 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 the fields
"show_groups", "show_modules" into the table "tnetwork_map".
* include/functions_modules.php: added two parameters
(flag metaconsole, id_server) into the functions
"modules_get_agentmodule_is_init", "modules_get_agentmodule_type"
and "modules_get_agentmodule_status" for to extract data in the
metaconsole enviroments.
* include/functions_networkmap.php: added two parameters
(flag metaconsole, id_server) into the functions
"networkmap_create_agent_node" and "networkmap_create_module_node".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7087 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: Update macro help files. The
Japanese help file needs to be translated.
* 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/groups/configure_group.php,
godmode/groups/group_list.php: Added more information to agent
groups.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7084 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_agents.php: fixed the order of vars in the
asignation into the code of function "agents_get_modules".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7070 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/ajax/networkmap.ajax.php: added the code for the
metaconsole in the call "get_networkmap_summary" and added the
call "get_networkmap_summary_pandora_server" for the tooltips in
the metaconsole networkmap in the pandoras children nodes.
* include/functions_agents.php: improve the execution time and
cleaned the code for the function "agents_get_modules".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7067 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/ja/help_response_parameters.php,
include/help/ja/help_response_macros.php: Added new help files,
parameters and macros in event responses.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7066 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php: fixes and changes for the new
form to set the urls and url images.
* include/functions_html.php: fixed the "html_print_image" for the
relative urls images (uses in the networkmap).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7064 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql
pandoradb.data.postgreSQL.sql
pandoradb.data.oracle.sql: Add the default
responses to data scripts.
* pandoradb.postgreSQL.sql
pandoradb.oracle.sql
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql:
Added the new table of event responses to oracle
and postgresql schemmas.
* godmode/events/event_responses.editor.php
include/help/en/help_response_parameters.php
include/help/en/help_response_macros.php
include/help/es/help_response_parameters.php
include/help/es/help_response_macros.php: Add help to
parameters and macros in event responses
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7063 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_html.php: Fixed print_image when source image
doesn't exists on metaconsole then try to search it in normal
console.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7045 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: Fixed AGAIN the prooblem
with tactical view, users with several groups or ALL group
doesnt work fine.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7038 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
* godmode/servers/recon_script.php, godmode/setup/setup.php,
godmode/users/configure_user.php, include/functions.php,
include/functions_config.php, extensions/dbmanager.php: now the
"check_referer" can be disabled in the setup.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7015 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/javascript/pandora.js, include/functions_api.php: cleaned
source code style. And erased deprecated functions.
* include/functions_ui.php: I hope that is finished the changes for
the function "ui_print_agent_autocomplete_input" (at the moment) and
added a huge header doc on the function.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6991 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
* include/javascript/pandora.js,
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql: cleaned source code
style.
* godmode/agentes/module_manager_editor_prediction.php,
godmode/reporting/visual_console_builder.elements.php,
godmode/reporting/reporting_builder.php,
godmode/reporting/reporting_builder.item_editor.php,
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@6975 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
* include/javascript/pandora_modules.js: Fixed the reset of the
form of local modules after select a module component and
unselect it
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6952 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/javascript/pandora.js: Fix over agent_module_autocomplete
function due to problems with Chrome.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6942 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
* include/styles/pandora_legacy.css
include/styles/pandora.css
include/javascript/pandora_modules.js
godmode/agentes/module_manager_editor_common.php
godmode/agentes/configurar_agente.php
godmode/agentes/module_manager_editor.php
godmode/servers/plugin.php: Add macros to the local modules like
the wizard or plugin modules. Fix some little bugs of interface
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6920 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
include/db/mysql.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,
godmode/agentes/planned_downtime.list.php,
godmode/agentes/planned_downtime.editor.php, godmode/menu.php,
include/ajax/planned_downtime.ajax.php: refactoriced the code for
planned downtime, now this have new feature such as set a downtime
with a periodicity each week, each month and set the agents and
the modules with Quiet state instead the old form (but the old still
is). And the page is more easy and quickly to set or config a
planned downtime.
* godmode/alerts/configure_alert_template.php,
include/javascript/pandora.js: cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6919 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php
godmode/reporting/visual_console_builder.editor.php: Center the visual
map in both visual console views (edit & view)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6907 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/api.php: cleaned source code style.
* include/auth/mysql.php: fixed the access users in the api with or
without no_login field set.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6904 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
* include/functions_html.php: fixed into the function
"html_print_select" when pass a grouped array and try to sort.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6892 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* index.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,
general/login_page.php, general/logon_failed.php,
godmode/users/configure_user.php, include/api.php,
include/auth/mysql.php, pandoradb.sql, pandoradb.postgreSQL.sql,
pandoradb.oracle.sql: added the feature to set any user with
"not login" for only the user can work across the API.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6891 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
* pandoradb_data.sql
pandoradb.data.postgreSQL.sql
pandoradb.data.oracle.sql:
* include/javascript/pandora_modules.js: Fixed
the bad order of the fields when put it on the
form via ajax
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6887 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/users/configure_user.php: fixed when the metaconsole is
not set.
* godmode/reporting/reporting_builder.php: cleaned source code
style.
* include/functions_reports.php: fixed into the function
"reports_get_reports" to get reports in All group for users of
others groups.
* include/functions_api.php: fixed the confused error messages when
there is data events.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6878 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_modules.js
godmode/agentes/module_manager_editor_plugin.php
godmode/modules/manage_network_components_form_plugin.php: Fix some
little issues in the interface of new plugin system
* include/functions_visual_map.php: Fix a problem that the simple
values didnt appear in view screen
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6877 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php: Improve help tip centering the text
* general/login_help_dialog.php: Fix a typo
* godmode/agentes/module_manager_editor_plugin.php
godmode/servers/plugin.php
godmode/modules/manage_network_components_form_plugin.php: Clean plugin forms
of unecessary fields and improve the plugin editor form locking the command
configuration when a plugin is used by any modules
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6867 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
* include/functions_api.php: Add the missed function api_get_graph_module_data
and update it to work with last graph system
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6854 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php
include/functions_groups.php
include/javascript/pandora.js: Fix minor issues
in the select for time advanced control. Improve some
functions to use from metaconsole
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6852 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_users.php
include/functions_html.php
include/constants.php
godmode/modules/manage_network_components_form_plugin.php: order
functions to use from enterprise side, fix little interface bug in
components form
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6848 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f