* operation/users/user_edit.php, godmode/users/configure_user.php: Use
icon and name in groups. Solved link problem due to user list last commit.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3032 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
* operation/agentes/status_monitor.php, godmode/groups/group_list.php:
Center image.
* godmode/users/user_list.php: Added delete text to table.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3029 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
* operation/users/user.php, godmode/users/user_list.php: added the default
order to columns.
* godmode/agentes/modificar_agente.php: added the source code to order by
Name, OS or group column in the list agents.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3027 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* DEBIAN/make_deb_package.sh,
pandora_server_installer,
pandora_server.spec: Set proper permission for the md5 and
collections directories.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3026 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
* misc/pandora_file.cc: fixed unclosed directory with function closedir
and control posible delete errors.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3018 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* misc/pandora_file.cc, pandora_file.h: Added function to remove directories
recursively
* win32/pandora_windows_service.cc, pandora_windows_service.h: Added
support for unzip collections and improved functionality to manage
collections.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3015 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
* win32/pandora_agent_conf.cc, pandora_agent_conf.h: Added functionality
to get collection from configuration file.
* win32/pandora_windows_service.cc, pandora_windows_service.h: Added
support for manage collections
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3007 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: added in the table tgrupo the column 'propagrate' for to
use in the subgroups trees (new feature in comming for 3.2).
* extras/pandoradb_migrate_v3.1_to_v3.2.sql: added new migration SQL file to
migrate from 3.1 to 3.2.
* extras/pandoradb_migrate_v3.0_to_v3.1.sql: erase old file, only find into
repository the branch 3.1.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3005 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_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
* pandora_agent_conf.cc: Added support to parse collections
* pandora_agent_conf.h: Added support to parse collections
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3002 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/datos_agente.php: Putted back data range
filter into raw data of the modules for bug: 3023769
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3001 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
* modules/pandora_module.h, modules/pandora_module_factory.cc,
modules/pandora_module.cc, pandora_windows_service.cc: Added the
module_cron feature to schedule modules using a cron-like syntax and
some small fixes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2993 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