* include/functions_reporting.php: Fixed the get_agent_module_info function
for avoid to show the disabled modules information
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3100 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css
include/functions_reporting.php
include/functions_ui.php
include/functions_db.php
operation/agentes/status_monitor.php
operation/agentes/estado_agente.php
operation/agentes/bulbs.php
operation/agentes/estado_monitores.php
operation/agentes/group_view.php
images/status_sets/default/module_no_data.png
images/status_sets/default/alert_fired.png
images/status_sets/default/agent_no_monitors.png
images/status_sets/default/alert_fired_ball.png
images/status_sets/default/agent_no_monitors_ball.png
images/status_sets/default/agent_down_ball.png
images/status_sets/default/agent_down.png: Fixed several modules
and agents list status to use the new unknown status. Some images was
changed too for show the same colour than the visual and network maps
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3091 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php
include/functions_db.php: Fixed the networkmaps to do not shows
the not init modules and get the new unknown status
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3089 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/pchart_graph.php, include/fgraph.php: Removed title from
image charts. Show min, max and avg as part of the image.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3085 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php, include/fgraph.php,
include/functions_fsgraph.php, operation/agentes/stat_win.php: Moved
min, max and avg information into the chart to make it available to
reports an custom graphs.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3084 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_filemanager.php: cleaned source code, changed the show
to buttons of actions (create file, upload...) to out the list of files. And
check if the directory is writeable to show this buttons.
* include/get_file.php: added file to work as mediator between the Pandora
and file system, and added a some security checks as check login and others.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3083 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php
include/help/en/help_network_map.php
include/help/es/help_network_map.php
pandoradb.sql
operation/agentes/networkmap.topology.php
operation/agentes/networkmap.groups.php
operation/agentes/ver_agente.php
operation/agentes/networkmap.php
extras/pandoradb_migrate_v3.1_to_v3.2.sql: Created network maps
storage on database, clean the network maps code and fixed some
little bugs of the same section
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3078 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: Updated reporting functions to work
with uncompressed data.
* include/fgraph.php, include/functions.php: Added a generic
function to check whether a module has compressed data.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3077 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: Improved the print_select function
to allows agroupation of options
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3076 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: added new parameters in the function
"get_agentmodule_sla", the parameters days of week to search and range of
time. And use new parameteres in the call for SLA data in function
"render_report_html_item".
* pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: in table
"treport_content" added the fields for set days of week and range time
for SLA.
* operation/reporting/reporting_xml.php: use new parameters in the call for
SLA data.
* godmode/reporting/reporting_builder.php: added source code for save,
update new fields (days of week and time range).
* godmode/reporting/reporting_builder.item_editor.php: added source code to
show the fields (days of week and time range).
Pending task: #3033457
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3070 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: Changed the priority of the
status of agents and groups when get status from their
descendents
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3064 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: added into the function "get_group_icon" the
return icon for "all" group.
* godmode/groups/configure_group.php: fixed and cleaned source code, for
the dinamic change of parent icon, show the select of parent with the
parent selected, and fixed the position of parent icon image.
Fixes: #3034677
* godmode/groups/group_list.php: changed the source code for to show the
"all" group open branch by default.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3063 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php: Changed the color of the
modules, agents and groups with alerts fired in the network
maps from yellow to orange.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3062 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* images/mimetypes/text.png: added lost image file in previous commits about
collections.
*images/tag_red.disabled.png, images/cross.disabled.png,
images/chart_curve.disabled.png, images/config.disabled.png,
images/chart_bar.disabled.png, images/photo.disabled.png,
images/camera.disabled.png, images/binary.disabled.png: added image files
for the new palete buttons (when it are disabled) in visual console editor.
* include/styles/pandora.css: added the styles for the new buttons of
visual console editor (label and icon), and some changes for new style for
buttons of the palete in this page.
* include/functions_html.php: in function "print_button" added new
parameter $imageButton to set the button as image button, by default is
false.
* include/ajax/visual_console_builder.ajax.php,
godmode/reporting/visual_console_builder.editor.js,
godmode/reporting/visual_console_builder.editor.php,
godmode/reporting/visual_console_builder.constans.php: change the buttons
palete for a palete with more small buttons as icon buttons, added new items
for visual map (icon and label). And fixed the dinamic change label color
for any elements.
* include/functions_visual_map.php: added the new items (label and icon)
and cleaned the source code.
Pending task: #3019641
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3061 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css: Added css classes for separator.
* include/functions_ui.php: Added suport to add a separator betwenn tabs
in print_page_header.
* operation/agentes/ver_agente.php: Fixed some problems with alt tag in
images and added separator to tabs
* godmode/agentes/configurar_agente.php: Fixed some problems with alt tag
in images and added separator to tabs
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3059 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php
include/functions_db.php
operation/agentes/networkmap.topology.php
operation/agentes/networkmap.groups.php
operation/agentes/ver_agente.php
operation/agentes/networkmap.php: Rewritted the get status of modules
and agents and writted the same feature for groups and policys. Added
the groups view network map. All for pending task: 3019636
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3057 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: lost in previus commit the change to
"print_select_groups" the new parameter $id_group, to don't show the group
with id and children of this group.
* include/functions_db.php: in function "format_array_to_where_clause_sql"
added to order as array several fields.
* operation/agentes/estado_ultimopaquete.php: added the icons and source
code for order rows of list alerts by columns Module Name, Type, Interval
and Timestamp.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3051 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: in function "get_agent_alerts_simple"
changed the query for added the posibility of sort the rows.
* include/functions_db.php: in function "format_array_to_where_clause_sql"
added the posibility of order pass as array of field and sort order.
*godmode/alerts/alert_list.list.php: added the icons and source code for
order rows of list alerts by columns Disabled, Agent Name, Module Name or
Template Name.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3046 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: in function "get_agents" added the parameter
$order to order list of agents.
* operation/agentes/estado_agente.php: added icons for order by columns and
source code for management this ordenation by Name, Os, Interval, Group and
Last Contact.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3030 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: fixed in the function "get_user_groups", order
the list of groups by id_grupo for to other external operations.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3028 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/auth/mysql.php: added function "get_users" the check to $order
parameter if it is array, extract the field and order.
* operation/users/user.php, godmode/users/user_list.php: added posibility to
sort by columns ID User, Full name or Last Contanct.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3022 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: added the function "print_select_groups" to
print the field select box for groups with tree style.
* include/functions_db.php: in function "get_user_groups" added test to
false value in parameter $privilege for get all groups without ACL test.
Fixed in function "get_user_groups_tree" the call to "get_user_groups" with
the correct parameters.
* operation/incidents/incident.php, operation/incidents/incident_detail.php,
operation/events/events.php, operation/agentes/status_monitor.php,
operation/agentes/estado_agente.php,
operation/agentes/alerts_status.functions.php,
operation/agentes/exportdata.php, operation/agentes/networkmap.php,
operation/messages/message.php, general/ui/agents_list.php,
godmode/groups/configure_group.php, godmode/groups/group_list.php,
godmode/agentes/massive_add_alerts.php,
godmode/agentes/massive_delete_agents.php,
godmode/agentes/massive_config.php,
godmode/agentes/massive_delete_action_alerts.php,
godmode/agentes/massive_delete_alerts.php,
godmode/agentes/modificar_agente.php,
godmode/agentes/massive_delete_modules.php,
godmode/agentes/massive_add_action_alerts.php,
godmode/agentes/planned_downtime.php,
godmode/agentes/manage_config_remote.php, godmode/agentes/agent_manager.php,
godmode/servers/manage_recontask_form.php,
godmode/alerts/configure_alert_compound.php,
godmode/alerts/alert_compounds.php,
godmode/alerts/configure_alert_template.php,
godmode/alerts/configure_alert_action.php, godmode/setup/gis_step_2.php,
godmode/users/configure_user.php, godmode/gis_maps/configure_gis_map.php,
godmode/reporting/graph_builder.main.php,
godmode/reporting/reporting_builder.main.php,
godmode/reporting/visual_console_builder.data.php: changed the fields select
box of group to tree style select box for groups.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3009 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php: added function "array_key_to_offset" to resolve
the offset in associative array.
* include/functions_db.php: added function "get_childrens" for get the
childrens of a group, "get_parents" for get the parents of a group (with the
flag propagate or not as you want). In function "check_acl" added the method
to scan groups that propagate flag in the branches. Added functions
"get_user_groups_tree_recursive" and "get_user_groups_tree" for extract the
groups as treefied list. Added in the function "get_db_all_rows_in_table"
added the parameter $order to get with ASC or DESC order the rows, by
default is ASC as mySQL.
* godmode/groups/configure_group.php: added the field of propagate to update
or creation a group.
* godmode/groups/group_list.php: changed for the group trees the source code
for to show the table as dinamic table that if the row have branch, you can
click and desplegate children rows.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3008 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_filemanager.php: changed the form to upload one or more
files to more easy. And changed other things for stetic reasons.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3003 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/en/help_reporting_main_tab.php: Added help for report
creator for English.
* include/help/es/help_reporting_main_tab.php: Added help for report
creator for Spanish.
Fixes: #3013763
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3000 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php
godmode/reporting/visual_console_builder.editor.php: Fixed the
visualmaps for ignore the disabled and delete pending modules
for bug: 3022892
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2998 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_visual_console.js: in function "draw_line"
changed the const 15 value to dinamic value half width of image.
Fixes: #3019645
* godmode/reporting/visual_console_builder.editor.js: cleaned source code
and deleted unused function "eventsButtonsToolbox", this function was in
old wip version of visual editor.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2991 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_filemanager.php: cleaned source code. And added function
"read_recursive_dir" to give a content of dir in a array.
* include/functions_config.php: added $config['collection_max_size'].
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2982 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_filemanager.php: added in source code lines to test
hash of directories or files for give more security to filemanager.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2973 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_filemanager.php: added var global through $config to
return status of operation. And clean messages of filemanager.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2972 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: changed in function "get_db_all_rows_filter" the
parameter $filter to set empty array as default value.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2970 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_filemanager.php: added const MIME_TEXT. added source
code to handler the updload files, zips, delete files/dir and create text
files. Added function "delete_directory" for to delete recursive and or
not empty any dir, function "file_explorer" to show a file explorer,
"box_upload_file_complex" to show a controls to upload file or multiple
files in a zip, "box_upload_file_explorer" to show controls to upload
file, "box_upload_zip_explorer" to show controls to upload multiple files
in a zip, "box_create_text_explorer" to show controls to create text files,
and in function "get_file_manager_file_info" use new const MIME_TEXT.
* godmode/agentes/modificar_agente.php: cleaned source code, closed the <tr>
tag.
* godmode/agentes/configurar_agente.php: added hook to enterprise functions
for collection.
* godmode/menu.php: added hook to enterprise functions for collection.
* godmode/setup/file_manager.php:changed the source code for use new modular
functions to show and management files.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2969 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: Fixed the notice when
delete a IP adress from agent configuration for
bug: 3016410
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2946 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/visual_console_builder.php
godmode/reporting/visual_console_builder.editor.js:
Fixed the setting of original size by javascript when you
choose 0 x 0 in the visual map background for Bug: 3020721
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2931 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: Fixed the get_agent_modules
function to avoid return the pending delete modules
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2929 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php: Adding a parameter to
printTruncateText to personalize the suffix string
of a truncate string
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2927 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: Added a parameter into
print_select function to set style a selective
options into the select form control
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2921 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/auth/mysql.php
operation/users/user.php
godmode/users/user_list.php: Added pagination
to users list in operations and administration
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2920 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: Fixed the colspan
into the Custom Graph report item for bug: 3013859
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2906 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f