* godmode/agentes/agent_manager.php,
godmode/setup/setup_visuals.php, include/functions_config.php,
include/config_process.php, include/functions_ui.php,
include/javascript/qrcode.js, include/javascript/pandora.js,
operation/visual_console/public_console.php, images/qrcode_icon.jpg,
general/header.php: added the feature to show the QR code of the
pages for to make for example sticker for the fisical machines or
other things.
Incident: #818
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10047 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/ver_agente.php
godmode/menu.php
godmode/massive/massive_operations.php
include/javascript/pandora.js: Add massive operation for
satellite agents threshold edition. This is the part on the
open side that hooks with enterprise code.
* extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql
extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql
extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql
pandoradb_data.sql
pandoradb.data.postgreSQL.sql
pandoradb.data.oracle.sql:
images/networkmap/satellite.png
images/os_icons/satellite_small.png
images/os_icons/satellite.png
images/op_satellite.png: Add icon to satellite OS
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9888 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js: Added auto scroll
and resizable attributes to module graphs pop up
to improve usability with zoomed graphs.
Incident: #417
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9219 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_flot.php
include/graphs/flot/pandora.flot.js
include/javascript/pandora.js
include/styles/pandora.css
operation/agentes/stat_win.php: A lot of fixes on the
javascript graphs to be shown correctly in IE. Tested
and working fine on IE9 with compatibility mode on.
Incident: #417
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9216 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* index.php, include/javascript/pandora.js: fixed code style.
* godmode/massive/massive_edit_modules.php: fixed the javascript
that showed some rows before to select modules to edit.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8699 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php,
include/javascript/jquery.pandora.controls.js: improved the
functions to pass the php vars to js, now it supports json.
* include/javascript/d3.v3.js: added this library for to make
beautiful things.
* include/functions_ui.php, include/graphs/fgraph.php,
include/javascript/pandora_events.js, include/javascript/pandora.js,
include/functions_treeview.php,
include/include_graph_dependencies.php,
include/functions_categories.php, include/db/postgresql.php,
include/db/oracle.php, include/db/mysql.php: cleaned source code
style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8528 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php
include/javascript/pandora_modules.js
include/javascript/pandora.js
index.php
ajax.php: Added a simple system of interchange of
data from php to javascript with invisible divs.
Fixed ajax call of server plugin components macros
for bug 3612145
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8078 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php
include/styles/pandora.css
include/functions_graph.php
include/functions_events.php
include/javascript/pandora.js
operation/agentes/estado_generalagente.php: Improve agent view
interface, work in hidden menus to improve more the graphs
layout.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7706 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/shortcut_bar.php, godmode/alerts/alert_actions.php,
godmode/category/edit_category.php, include/functions_reports.php,
include/db/postgresql.php, include/functions_gis.php,
include/functions_treeview.php,
include/functions_network_components.php: improved the code style.
* include/javascript/pandora.js: in function
"agent_changed_by_multiple_agents" added hook for to call any
function when loaded the module list. (now used in the wizzard
of reports in enterprise).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7540 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/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
* 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
* 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/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.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
* 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_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_groups.php:Removed trace.
* include/javascript/pandora.js: Added modification to ajax call
when it's called form metaconsole.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6824 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
* 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_html.php
include/javascript/pandora_modules.js
include/javascript/pandora.js
godmode/agentes/module_manager_editor_common.php
godmode/modules/manage_network_components_form_common.php:
Fixed several bugs of the network/local components javascript
code and added new fields to local components
Add new code on advanced select for time to update it from
javascript and a workaround to do it from code loaded through
ajax
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6736 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/auth/ldap.php, include/javascript/pandora.js,
include/functions_incidents.php: cleaned source code style.
* include/functions_users.php, operation/users/webchat.php: a lot of
fixes, the "error connection" don't appear when timeout the
connection for to get new messages, fixed empty messages, and
fixed when make freak actions with user connect in webchat for
example delete. And the most important the chat files (logs and
others) now Pandora save this files in attachment dir instead the
tmp system dir.
* godmode/users/user_list.php: added to call to delete from the
chat user list when delete a user.
MERGED from 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6570 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js
operation/agentes/ver_agente.php
godmode/massive/massive_add_alerts.php
godmode/massive/massive_delete_action_alerts.php
godmode/massive/massive_delete_alerts.php
godmode/massive/massive_edit_modules.php
godmode/massive/massive_add_action_alerts.php: Improve some parts
of massive operations section as add ALL/COMMON switch in the
agents/modules selectors, allow to select multiple alert actions
in the delete/add operations, add the period advanced control to
the modules edition section and improve this period control
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5919 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js
operation/agentes/ver_agente.php
godmode/massive/massive_delete_modules.php
godmode/massive/massive_edit_modules.php: Added the same
extended form of the massive edit modules to massive
delete modules section. Added to both a new combo to
select the behavior of the multi select of agents/modules
selecting all or common for the result.
Fixed some bugs
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5891 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php
include/javascript/pandora.js
operation/agentes/stat_win.php: Fixed period control
in the popup graph menu (stat_win) merged from 4.0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5811 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php
include/javascript/pandora.js
include/functions.php
include/functions_alerts.php
godmode/alerts/configure_alert_template.php
godmode/alerts/alert_list.builder.php: Improved the
periods control and added it to the alerts action threshold
and alert template threshold
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5805 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js
godmode/reporting/visual_console_builder.editor.js
godmode/reporting/visual_console_builder.editor.php: add
new period control to the visual console graph item editor
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5790 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php
include/javascript/pandora.js: Fixed problem with two
or more time controls at the same time adding uniq id
to selects
* godmode/agentes/module_manager_editor_common.php
godmode/reporting/reporting_builder.item_editor.php: Clean
code
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5785 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php
include/javascript/pandora.js
images/pencil.png
images/default_list.png: Improved the usability
of the periods advanced control toggling between
manual and default mode
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5784 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js: Fix a little bug
of default value in time advance control
* operation/reporting/graph_viewer.php
godmode/reporting/graph_builder.php
godmode/reporting/graph_builder.preview.php: Remove
the preview graphs and replace it by link of the
operation mode
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5779 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js
godmode/agentes/module_manager_editor_common.php: Added
advanced select for time to modules create/update form,
improve layout of this form and add default value of
5 minutes to select
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5776 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php
include/javascript/pandora.js
include/functions_custom_graphs.php
include/functions.php
operation/agentes/datos_agente.php
operation/agentes/gis_view.php
operation/agentes/graphs.php
operation/agentes/stat_win.php
operation/reporting/graph_viewer.php
mobile/operation/agents/view_agents.php
godmode/agentes/agent_manager.php
godmode/massive/massive_edit_agents.php
godmode/reporting/graph_builder.main.php
godmode/reporting/reporting_builder.item_editor.php
godmode/reporting/graph_builder.preview.php: changed the
html_print_extended_select_for_time function to select
easily the custom period and do it genericly.
Clean all the calls to this function and unify the
combo periods.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5775 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f