* 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
* godmode/modules/manage_network_templates_form.php: fixed the error
message when update with nothing a template (0 rows to update) .
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3004 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
* godmode/reporting/visual_console_builder.php: fixed the
reset of the size when change a visual map background
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2988 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/servers/plugin.php: fixed the description text of ajax return
when translate the > or < to < or > instead to keep the entity.
Fixes: #3026785
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2975 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
* godmode/reporting/visual_console_builder.editor.js: Fixed
the storing of width and height of item in visual maps
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2934 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/visual_console_builder.editor.js
godmode/reporting/visual_console_builder.editor.php: Fixed
storing of width and height of the background of the visual map
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2933 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/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
* godmode/users/user_list.php: Fixed the bug of
delete users in Internet Explorer and added the
deleting confirmation javascript for bug: 3017261
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2913 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/users/configure_user.php: Fixed the edition
of an user after a fail creation for bug: 3017524
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2912 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/users/user.php
godmode/users/user_list.php: Changed the order
of the users to id_user
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2911 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/graph_builder.php: Fixed the
period of graph for bug #3014781, the creation
of combined graphs before store the graph for bug
#3014796 and the message over the header for bug #3014798
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2902 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/gis_maps/configure_gis_map.php: refixed layers when to update data
of gis map and magic quotes is on.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2872 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/header.php, godmode/db/db_audit.php,
godmode/reporting/reporting_builder.item_editor.php: cleaned html and fixed
unclose html tags in source code, the eclipse warm to me.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2851 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/auth/ldap.php
include/fgraph.php
godmode/reporting/graph_builder.php: Changed the deprecated
function split() by explode() function for bug: 2989970
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2849 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_plugin.php: fixed, now show the
description of plugin selected.
* godmode/servers/plugin.php: added the response to ajax for query the
report description.
Fixes: #3008494
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2848 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php, include/functions.php,
godmode/reporting/reporting_builder.php,
godmode/reporting/reporting_builder.item_editor.php: added the code for
show a new item event_report_group.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2846 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/messages/message.php: Small fixes. Fixed bug #3008779.
* godmode/servers/modificar_server.php: Ask for confirmation before
deleting a server.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2845 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.list.php: Fixed the error
showed in manage agents into alerts when the agent
has not modules for bug 3010359
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2844 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/groups/group_list.php: Change the way of
get the group incons to function print_group_icon.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2839 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/planned_downtime.php: Fixed the
value of time into update downtime for bug: 3004049
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2837 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/users/configure_user.php: Fixed the edition
of an user after create it. For bug: 3006988
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2828 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/setup/setup.php: Ask for confirmation before enabling
'Enforce https' since access to Pandora FMS Console may be lost.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2826 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/stat_win.php, general/license/pandora_info_ast_es.html,
general/license/pandora_info_es_es.html,
general/license/pandora_info_en.html: fixed unclose html tags in source
code, the eclipse warm to me.
* godmode/db/db_audit.php: fixed lost semi colon in the source code, the
eclipse warm to me.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2824 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.item_editor.php: added more intervals
for the period (5 days, 15 days and 1 month) and removed tiny intervals.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2814 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/tactical.php: Give some colour to the data shown.
* godmode/menu.php: Updated year.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2806 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f