* godmode/servers/modificar_server.php: Disable change name of server
because it will be trouble updating server status.
Fixes: #3091297
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3430 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.list.php: Fixed jquery clone
function incompatibility with iexplorer for bug 3090389
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3429 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_enable_disable_alerts.php: Improved template
selection to be selected more than one. Added agent selection. (It can
also be selected more than one.)
* godmode/include/functions_alerts.php: Added a argument, $id_agents
array, to get_agents_with_alert_template(). It is used to select
specific agents in the function.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3426 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php
include/ajax/visual_console_builder.ajax.php
godmode/reporting/visual_console_builder.php: Added the html support
in the label type items of the visual consoles for pending
task 3063404
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3425 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: Alter some trecon_task info to avoid problems on new
custom script items (due the referencial integrity).
* pandoradb_data.sql: Octopods instead octopus.
* godmode/menu.php,
* godmode/servers/recon_script.php: Added new option to manage recon scripts
* godmode/servers/manage_recontask.php,
godmode/servers/manage_recontask_form.php: Changes to manage the new recon
tasks using custom-defined scripts to detect and monitor things (neeed some
Javascript improvements).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3418 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_migrate_v3.1_to_v3.2.sql: Variable for SQL custom reports has
more size now (custom SQL reports could be huge SQL sentences).
* godmode/reporting/reporting_builder.php,
godmode/reporting/reporting_builder.item_editor.php: Added suppor for the
new SQL graph reports (vbar, hbar and pie).
* include/fgraph.php: Support for new SQL graphs, with new function
graph_custom_sql_graph().
* include/functions_reporting.php: Support for new SQL graphs.
* operation/reporting/reporting_xml.php: Fixed some problems and added
support for graphs using session_id.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3413 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.list.php
godmode/alerts/alert_list.builder.php: Fixed the ugly layout of
the alert views
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3409 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_network.php: added lines to unblock
SNMP community when the module is adopt.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3407 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php
godmode/agentes/module_manager.php
godmode/agentes/configurar_agente.php: Added clone module
into an agent to the manage modules view
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3404 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: added in the
table "tagente_modulo" the field "policy_adopted" for to set a module
pre exist in policy as adopted.
*operation/agentes/status_monitor.php,
operation/agentes/estado_ultimopaquete.php,
operation/agentes/estado_monitores.php,
godmode/agentes/module_manager_editor_common.php,
godmode/agentes/module_manager.php: show the icon of "adopted" or "adopted
but unlinked" in the list of modules.
Pending tasks: #3083123
* include/functions_modules.php: cleaned source code style in function
"update_agent_module".
* godmode/agentes/module_manager_editor_network.php: fixed warning messages
when use this file in policies.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3402 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php
include/functions_io.php
include/functions_ui.php
godmode/agentes/module_manager.php: Created a new safe input
function more soft than safe_input() for html code. Applied this
function (safe_input_html()) in few functions like print_image
or print_page_header.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3399 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/system_info.php: add TODO.
* godmode/agentes/module_manager_editor.php: fixed the ajax with the new
safe_ouput function.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3395 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_enable_disable_alerts.php,
godmode/massive/massive_standby_alerts.php: Fixed alert listing is not
affected by group selection.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3394 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js
include/functions_agents.php
operation/agentes/ver_agente.php
godmode/massive/massive_add_alerts.php
godmode/massive/massive_delete_alerts.php: Improved the
addition/deletion of alerts in massive operations to
select not only the agents (the modules too) for pending
task 3082862
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3371 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_common.php
godmode/agentes/module_manager_editor.php: Fixed SQL
error when try to create a module called 0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3368 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.list.php: Another ugly warning fixed due
an undefined array. PLEASE dont use foreach on arrays non-checked !
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3366 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php: Added custom fields to the global
edit/insert code. Not really used here, but for the future.
* godmode/modules/module_list.php: Show ID of modules, useful information.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3364 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php
include/functions_visual_map.php
operation/reporting/graph_viewer.php
godmode/reporting/graph_builder.preview.php: Fixed the setting
of width and height on custom graphs setup. Increased the height
of the graph in few sections to fix the rise of the leyend
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3361 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_edit_agents.php: Removed the IP
address field from the agent massive edition
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3358 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php: fixed the source code, now when you
create a agent, the agent have not a any module.
Fixes: #3077024
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3356 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/visual_console_builder.php
godmode/reporting/visual_console_builder.editor.js
godmode/reporting/visual_console_builder.editor.php: Fixed the
bad icon change in visual console editor when update an item
for bug 3078016
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3355 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/status_monitor.php,
operation/agentes/estado_ultimopaquete.php,
operation/agentes/estado_monitores.php, godmode/agentes/module_manager.php:
fixed the icon of policy in list of modules, now show when the module is
unlinked. And cleaned source code style.
Fixes: #3078716
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3351 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js
operation/agentes/ver_agente.php
godmode/massive/massive_operations.php
godmode/massive/massive_edit_modules.php: Restructured
the massive module editor to increase the power of the tool
adding multiple selection methods
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3336 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.builder.php: Fixed an error of
table width declaration for bug 3078730
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3331 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/users/*.php: Removed reference to gperfiles sec.
* godmode/profiles/: Deleted no more used folder.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3324 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_groups.php: added first version of file with the
function "checkUsedGroup".
*include/Image/Canvas.php, include/Image/Canvas/GD.php,
include/functions.php, mobile/operation/agents/view_agents.php: cleaned
source code style.
* godmode/groups/group_list.php: fixed the check if the group to delete is
empty.
Fixes: #3074223
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3320 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.list.php: Fixed the
ugly layout of the alerts list in godmode section
for bug 3077999
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3316 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/modificar_agente.php: Vertical aligned some icons.
TO DO: The table should be "migrated" to new table code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3304 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/users/user_list.php, godmode/users/configure_user.php:
change the sec url variable to show the menu highlighted.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3302 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/users/user_list.php: Able to edit profiles.
* godmode/users/configure_profile.php: New page, based on the old
profile one (that should be deleted if all it's OK)
* godmode/menu.php: Removed profiles menu entry.
* godmode/alerts/alert_list.list.php: Centered several icons.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3285 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/visual_console_builder.elements.php,
godmode/reporting/visual_console_builder.editor.php: Fixed bug
#3073239: bad intervals in combo for period selection.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3273 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php
godmode/agentes/modificar_agente.php: Added the calls
to enterprise to delete an agent to all their policies
when we delete it for bug 3072471
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3266 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_add_action_alerts.php,
godmode/massive/massive_delete_action_alerts.php: Fixed
addition/deletion for compound alerts does not work.
* include/functions_alerts.php: To fix above problem, added a function,
delete_alert_compound_action().
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3264 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config.inc.php: config_process.php is obtained from
defined path in homedir variable.
* godmode/agentes/module_manager_editor_network.php: Limit for
OID lenght was too short, DB gets 255 chars, now input also gets
255 chars.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3258 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php
pandoradb.sql
extras/pandoradb_migrate_v3.1_to_v3.2.sql
operation/events/events_validate.php
operation/events/events_list.php
operation/events/events.php: Deleted several
columns from the events view and adding a
show/hide advanced fields feature.
Added a new state 'in process' to validation
and an input comment when a status is changed.
* include/fgraph.php: Fixed quotes
in constant definition
* include/functions_ui.php
include/functions_agents.php
include/functions_alerts.php
operation/agentes/alerts_status.php
operation/agentes/alerts_status.functions.php
images/bell_pause.png
godmode/alerts/alert_list.list.php
godmode/alerts/alert_list.php
godmode/massive/massive_operations.php
godmode/massive/massive_standby_alerts.php: Added
the feature of set and set off on standby an alert
in the alets management and view if an alert is in
standby in the rest of views.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3251 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php: Added local module
deletion in conf file to another place where the modules can
be deleted. Clean the code too
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3240 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/setup/os.list.php, godmode/setup/os.builder.php,
godmode/setup/os.php: changed the source code and added "os.builder.php" and
"os.list.php" for to change the management page for to be a "tab page".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3235 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php: cleaned source code.
* include/functions_ui.php: in function "print_os_icon" change the
directory to search os icon because it change for new feature.
* images/os_icons, images/os_icons/*: copied the icons image files into this
dir for to use in new feature.
* godmode/menu.php: added new item in submenu "Setup" for the management
the OS.
* godmode/setup/os.php: added the page to management the list OS of agents.
Pending task: #3057663
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3234 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.list.php: fixed the pagination when the list of
alerts show into alert tab in agent config page.
Fixes: #3055920
* godmode/alerts/alert_list.php: cleaned source code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3228 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: added default value for "sound_alert",
"sound_critical" and "sound_warning" into table "tconfig".
* include/functions_config.php: in function "update_config" added to
update sounds.
* include/functions_alerts.php: added function "get_event_status_group" for
scan the events.
* operation/events/sound_events.php: added first version of event sound
window.
* operation/events/events.php: added the request for ajax of sound event
window.
* images/pause.button.png, images/ok.button.png,images/music_note.png,
images/play.button.png: added images for sound event window and button in
the head of events.
* godmode/setup/setup.php: added source code for to config the sounds of
events.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3219 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_operations.php
godmode/massive/massive_delete_profiles.php
godmode/massive/massive_add_profiles.php: Added the
addition an deletion of profiles to users into
massive operations
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3216 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/fields_manager.php: Added code to show text if no
fields defined, instead the table header.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3188 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agents/module_manager_editor.php: Changed if() statements
order. isModuleInPolicy() is not available in open source version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3186 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: Call to get_agents () with current
user and without returning "all" group, this avoid to render non-visible
(ACL) agents in the AJAX control to return an agent.
* pandoradb.sql: ttrap value* information resized.
* extensions/users_connected.php: ACL check before show users.
* operation/events/events_marquee.php: Added ACL check.
* operation/events/events.php: System events not shown to normal
users.
* operation/menu.php: Server view is now only for PM.
* extras/pandoradb_migrate_v3.1_to_v3.2.sql: ttrap value* alter
table.
* general/noaccess.php: Added code to avoid image usage when called
from different directories than standard.
* godmode/agentes/agent_manager.php: Proper call to
get_user_groups().
* godmode/menu.php: Profiles are now under user management.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3183 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.list_items.php: Added code to
show text if no items found, instead the table header.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3182 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql
operation/agentes/estado_generalagente.php
operation/agentes/custom_fields.php
operation/agentes/ver_agente.php
operation/agentes/agent_fields.php
extras/pandoradb_migrate_v3.1_to_v3.2.sql
godmode/agentes/fields_manager.php
godmode/agentes/configurar_agente.php
godmode/agentes/configure_field.php
godmode/agentes/agent_manager.php
godmode/menu.php: Added the custom field feature
including agents custom fields managment, agent
custom field viewer, custom fields added at the
agent configuration, customization of the custom
fields to display it in the agent details and
the creation of two new tables into the sql scripts
All for pending task: 3052918
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3181 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/visual_console_builder.php: Fixed
the size of the icons when choose 0 pixels into
the wizard
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3176 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/visual_console_builder.php: Fixed
an error when add a module into visual map with the
wizard for bug: 3051058
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3170 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alert/alert_compounds.php: Fixed the problem alert compounds
settings in step3 can not be saved.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3166 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/menu.css
godmode/massive/massive_operations.php: Fixed
the massive operations header new message and
added style to the menu image to massive operations
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3165 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/massive_copy_modules.php
godmode/agentes/massive_add_alerts.php
godmode/agentes/massive_delete_agents.php
godmode/agentes/massive_delete_action_alerts.php
godmode/agentes/massive_delete_alerts.php
godmode/agentes/massive_edit_modules.php
godmode/agentes/massive_operations.php
godmode/agentes/massive_delete_modules.php
godmode/agentes/massive_add_action_alerts.php
godmode/menu.php
godmode/massive
godmode/massive/massive_copy_modules.php
godmode/massive/massive_add_alerts.php
godmode/massive/massive_delete_agents.php
godmode/massive/massive_operations.php
godmode/massive/massive_delete_action_alerts.php
godmode/massive/massive_delete_modules.php
godmode/massive/massive_delete_alerts.php
godmode/massive/massive_edit_modules.php
godmode/massive/massive_add_action_alerts.php: Created
a new section for massive operations and change the
structure of the files to new folder
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3164 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_common.php
godmode/agentes/module_manager_editor_network.php
godmode/agentes/module_manager_editor_wmi.php
godmode/agentes/module_manager_editor_plugin.php
godmode/agentes/module_manager_editor_prediction.php
godmode/agentes/module_manager_editor.php: Added the policy linkation
configuration in the modules form and allowed to modify modules
config if the module is unlinked
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3163 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager.php: Change the use of
isModuleInPolicy to infoModulePolicy in the case of
the fixed bad use of isModuleInPolicy
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3161 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/modules/manage_network_components_form_network.php: Changed
the maximum OID length to 400, the same as definition of database.
(120 is too short for some OIDs.)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3157 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_io.php: safe_input() modified to detect SQL injection
attacks using /**/ strings.
* index.php: Prevent HTTP response splitting attacks.
* pandora_console.spec: Updated some spec variables and description.
* pandoradb.sql,
extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added a new field in trecon_task
to store the snmp_community on detected hosts in a recon task.
* extras/pandora_diag.php: Fixed security problem in relative path.
* general/pandora_help.php,
general/footer.php: Fixed security problem in relative path/include.
* general/login_page.php: Fixed security problem in URL parsing.
* godmode/servers/manage_recontask_form.php,
manage_recontask.php: Implemented new feature to use a snmp comunity on all
network modules added to a new detected host.
* config_process.php: Updated build.
* functions.php: New version of safe_url_extraclean() function (security fix)
and modified also enterprise_include* functions to have a secure include.
* functions_ui.php: Secured function get_include_contents().
* operation/agentes/gis_view.php: Secured url extraction/parsing.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3150 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_network.php: changed the
spinning snmp walk image from png to gif
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3149 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/massive_operations.php: Fixed the default tab
of the massive operations section
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3147 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/massive_copy_modules.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/massive_edit_modules.php
godmode/agentes/massive_operations.php
godmode/agentes/massive_delete_modules.php
godmode/agentes/massive_add_action_alerts.php: Restructured the
tabs of masive operations. Now there are only four tabs: module,
agents, alerts and the enterprise policy masive operations. All
the operations are now classified under this hierarchy
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3146 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php: erased deprecate function "entrada_limpia" for to
use only the english named "safe_input".
* godmode/setup/links.php: replaced the deprecate function "entrada_limpia"
for the english named "safe_input".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3143 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/massive_operations.php: Added the massive operation
to add snmp modules to an agent
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3130 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor.php: Changed the old way of
get a snmpwalk to use the new function get_snmpwalk
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3128 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/export_csv.php,
operation/agentes/stat_win.php,
operation/reporting/reporting_xml.php: Fixed includes.
* godmode/setup/setup_auth.php,
include/functions_config.php,
include/auth/mysql.php: Added support for a remote user blacklist.
* include/help/en/help_autocreate_blacklist.php,
include/help/es/help_autocreate_blacklist.php: Added to repository.
Blacklist help files.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3120 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/auth/mysql.php, include/functions_config.php,
include/config_process.php, pandora_console.spec,
ajax.php, godmode/menu.php: Added support for different
authentication schemes. Local database and LDAP are
implemented.
* operation/agentes/networkmap.topology.php,
operation/agentes/networkmap.groups.php: Small fixes. Use filter name
to compose file names.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3113 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_filemanager.php: move the action messages to $config
intermediate var.
* godmode/setup/file_manager.php: added the message of action with the
filemanager.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3104 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/visual_console_builder.data.php: fixed the select box
field for to don't show None value for map background.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3073 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
* godmode/users/user_list.php: Added px to width to ease the change of
profile edition to this page.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3065 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
* 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
* godmode/alerts/alert_list.list.php: Added code to show title if page
called from Manage Agents.
* godmode/modules/manage_network_components.php: Change title.
* godmode/gis_maps/configure_gis_map.php: Change fixed text to variable.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3058 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/ver_agente.php: Changed code to use print_page_header
to print de tabs
* godmode/agentes/configurar_agente.php: Changed code to use print_page_header
to print de tabs
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3056 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/aler_list*.php: Cleaned code. Removed old title style.
* godmode/agentes/massive_operations.php: Updated year.
* godmode/agentes/massive_config.php: Use better text in title and button.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3055 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_ultimopaquete.php: added code for sort by
data.
* operation/agentes/estado_monitores.php,
godmode/agentes/module_manager.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@3052 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/groups/configure_group.php: fixed to negate the posibility to hang
the father into childrens or same.
Fixes: #3032553
* godmode/groups/group_list.php: fixed the delete a group with children, the
children move to grandparent.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3050 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
* 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
* 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
* 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
* 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
* 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
* godmode/reporting/visual_console_builder.editor.php: fixed fall map in
the bottom of visual console editor.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2790 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/setup/performance.php: hidden option perfomance
'Compact CSS and JS into header' because in more Pandora installations have
problems.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2789 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_generalagente.php: added the style for disabled
agent and tooltip, in the name agent.
* operation/search_results.php: added the style for disabled
agent and tooltip.
* godmode/agentes/modificar_agente.php: added tooltip.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2782 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.php: Added code to show different
header depending on GET parameter.
* godmode/alerts/alert_list_builder.php: Changed final icon.
* godmode/agentes/planned_downtime.php: Center some icons. Now table
header is shown only if there are planned downtimes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2775 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/users/user_edit.php: Updated year. Use better table in group
list.
* godmode/snmp_console/snmp_alert.php: Updated year. Removed old header.
Added code to show different header depending on GET parameter.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2769 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js: added function
"agent_changed_by_multiple_agents_id" for response to change agent in
wizard in visual console editor.
* operation/agentes/ver_agente.php: added response to
"get_agent_modules_json_for_multiple_agents_id" for the ajax previous
function.
* godmode/reporting/visual_console_builder.wizard.php: used new javascript
function.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2743 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_modules.js,
godmode/agentes/module_manager_editor.php: fixed the snmp_walk for version
2, 2c and 3. Need more test for version 3.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2740 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js,
godmode/reporting/visual_console_builder.wizard.php: fixed the select box
modules for when select many agents.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2739 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/setup/gis_step_2.php
godmode/setup/gis.php: Created error and
successfuly messages when create, update or
delete a map connection for bug 2994197
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2736 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/visual_console_builder.php: Fixed
the adding at visual map only the agent if module is
no selected and only the module if is selected.
Bug: 2989339
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2729 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/gis_maps/configure_gis_map.php: fixed the title of button to
"update layer", and now by default the group of new layer is none.
Fixes: #2990762
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2728 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php
operation/agentes/ver_agente.php
godmode/agentes/massive_edit_modules.php: Fixed the
ACL check into groups combo for bug 3001500 and
All agents display for bug 2999431
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2727 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/gettext.php: Sorry I forget part of changes in "fixed the bug of
pseudo-gettext with diferent arquitectures. Now check the arquitecture
before."
Fixes: #2991545
* godmode/agentes/configurar_agente.php: fixed lost the require file.
Fixes: #3000337
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2726 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/group_view.php: Clean code. Close tags. Now, if
there's no agent, it shows a text. Inefficient?
* godmode/agentes/agent_manager: Solved typo with .png files, but
those files doesn't exists in repository...
* ChangeLog: Changed date error from my last commit.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2725 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/gis_maps/configure_gis_map.php: Fixed the
Gis map without map connection. Now is impossible
to create or update a GIS map without map connection
Bug: 3000014
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2721 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js: check if exist the "any" text translation.
* godmode/reporting/visual_console_builder.wizard.php: add the "any"
translation.
Fixes: #3000496
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2713 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/stat_win.php: Pass the start date to min, max and
avg functions.
* godmode/alerts/configure_alert_action.php: Fixed a typo.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2702 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/map_builder.php: Fixed a typo.
* godmode/gis_maps/index.php: Updated year. Show text if no map defined.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2694 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/db/db_refine.php: Fixed the pendingdelete
word showed in database purge for bug: 2922769
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2686 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/massive_edit_modules.php: Fixed the
massive change of user and password. Also the change of
the export target and historical data was disable. Now
are fixed too. Bug: 2997083
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2681 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/massive_operations.php: Fixed the
header using now the print_header function for
bug: 2999269
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2680 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/setup/file_manager.php: Changed deprecated split() function to
explode(). Center delete image.
* modules/manage_network_components.php: Center delete image.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2679 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/servers/manage_recontask_form.php: Included
the help icon into the header for bug: 2997559
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2676 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php: fixed notices php messages when the
visual map has the item label (item image without image and only text).
* godmode/reporting/visual_console_builder.php: changed the icon tab for
the wizard, before it was a pill, now it is a wand.
* godmode/reporting/visual_console_builder.editor.js,
godmode/reporting/visual_console_builder.editor.php: fixed the validate
static graph item.
Fixes: #2994103
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2669 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.preview.php: added file to show the
html preview of report.
* godmode/reporting/reporting_builder.php: added the tab for the preview.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2660 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.item_editor.php: added tooltip for to
tell what is the separator character in the header.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2658 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_common.php:
Increased the max number of digits in text inputs
for max_critical, min_critical, max_warning and
min_warning for bug:2931191
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2656 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: added the parameter "$html" in the
function "alert_reporting_agent" and "alert_reporting_module", this flag is
for return the html table or object table, by default the html. And fixed
the title of "alert_report_module" and "alert_report_agent", fixed return
of list "event_report_module" in the function "render_report_html_item".
* godmode/reporting/reporting_builder.item_editor.php: fixed the lost field
"period" in the item "database_serialized".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2654 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.item_editor.php: fixed typo mistake in
the sla vars in javascript.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2641 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php: added the function "printTruncateText" for
facilitate trunc texts, and add the eye candy the tooltip.
* godmode/reporting/reporting_builder.list_items.php: used the new function
"printTruncateText".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2640 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/setup/gis_step_2.php: Fixed the creation
of map connection without name and without type
of connection. Bug:2993713
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2638 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/servers/manage_recontask.php: Fixed the creation
of recon task without name and network. Also, the network
is checked by the following regular expression
"/[0-9]+.+[0-9]+.+[0-9]+.+[0-9]+\/+[0-9]/"
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2637 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/visual_console_builder.php: Fixed that
was allowed to create a visual map without name and without
background. Bug: 2993503
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2636 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_prediction.php:
Limited the source modules availables for the prediction
module at the modules with history_data = 1. bug:2922920
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2634 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql
extras/pandoradb_migrate_v3.0_to_v3.1.sql
godmode/setup/gis_step_2.php
godmode/gis_maps/configure_gis_map.php: Added at the combos the
group All and asigned in creation layers -1 value to None value
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2633 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php,
godmode/reporting/reporting_builder.item_editor.php: fixed typo mistake in
the field "id_agent_module".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2632 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: added function "alert_reporting_agent"
for make the html list of agent alerts, added function
"alert_reporting_module" for same thing before function instead it is for
modules. In report item "event_report_agent" fixed the output. Added report
items "alert_report_module", "alert_report_agent", "url" and
"database_serialized".
* include/functions_db.php: added function "get_agent_alert_fired" for
to extract the alerts fired of agent, and added "get_module_alert_fired"
for alerts fired of module.
* godmode/reporting/reporting_builder.php,
godmode/reporting/reporting_builder.item_editor.php: fixed the renamed
column "row_separator" of previus commit.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2631 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php: fixed the lost type in the edit
item.
* godmode/reporting/reporting_builder.item_editor.php: fixed the position of
hidden input for id item, after it was out form.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2626 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.item_editor.php: fixed a mistake
copy&paste, now you can edit correctly the items.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2624 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php
operation/gis_maps/ajax.php
godmode/agentes/planned_downtime.php
godmode/agentes/manage_config_remote.php: Fixed many all group
control from 1 to 0 value. Remove deprecated functions
list_group() and list_group2() from functions_db.php
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2618 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: added render html for "text" and "sql"
item.
* include/ajax/reporting.ajax.php: added request for the custom SQL.
* include/functions_db.php: in function "get_db_value_filter" fixed the
field when the field is escape string.
* godmode/reporting/reporting_builder.item_editor.php: added the preview of
custom SQL.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2617 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/servers/manage_recontask_form.php: Avoided
that the All group appears on the combobox for
bug # 2992906
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2616 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php: Changed the
All group on combos from 1 to 0 and fix the
group all on tables
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2601 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php: re-added the list of reports,
re-added the delete reports. And fixed the notice PHP message and the
action edit in the main tab.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2600 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/visual_console/index.php
godmode/reporting/map_builder.php: Fixed the
group all on tables
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2597 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_compounds.php
godmode/alerts/alert_list.php
godmode/alerts/alert_templates.php
godmode/alerts/configure_alert_action.php
godmode/alerts/alert_actions.php: Changed the
All group on combos from 1 to 0 and fix the
group all on tables
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2596 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/ajax/reporting.ajax.php: added ajax respond to delete_sla_item and
add_sla actions.
* include/functions.php: added in the function "get_report_types" new types
of items/contents for reporting.
* pandoradb.sql: added columns custom_logo, header, first_page, footer,
custom_font into the table treport. And in the table treport_content have
new columns text, external_source, treport_custom_sql_id, header_definition,
row_separator, line_separator. Added new table treport_custom_sql.
* extras/pandoradb_migrate_v3.0_to_v3.1.sql: added changes for DB that it
same to pandoradb.sql.
* images/sort_none.png, images/sort_down.png, images/sort_up.png: added the
images for order list items for reports.
* godmode/reporting/reporting_builder.list_items.php,
godmode/reporting/reporting_builder.main.php,
godmode/reporting/reporting_builder.php,
godmode/reporting/reporting_builder.item_editor.php: made new forms to
manage the reporting, now Pandora have tabs and list of items. In the list
of items, you can order manually or automatically the items.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2595 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/users/user_edit.php
godmode/users/configure_user.php: Changed the
All group on combos from 1 to 0 and fix the
group all on tables
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2591 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php
include/functions_agents.php
include/functions_db.php: Change the way of validate
the All group. Now the group All has id_group = 0
and is not on the database
* extensions/module_groups.php: Remove the All
group row from the table. Inprove the table style
* operation/agentes/status_monitor.php
operation/agentes/alerts_status.php
operation/agentes/estado_agente.php
operation/agentes/exportdata.php
operation/agentes/networkmap.php
godmode/agentes/modificar_agente.php
godmode/agentes/planned_downtime.php: Changed the
All group on combos from 1 to 0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2588 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/groups/group_list.php: Added validation
when remove a group. Now, if the group is not empty
shows a message and dont allow to remove it
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2587 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: Added function render_report_html_item()
to render a given report element in HTML format. Fixed a small problem in
SUM report type (int truncate invalidate most of SUM reports when not using
a _inc data type).
* include/functions.php: Updated all "is_module_xxx" from using ereg
(deprecated) to use preg_match.
* include/functions_db.php: Moved reporting functions
get_agentmodule_data_average(); get_agentmodule_data_max(),
get_agentmodule_data_min() and get_agentmodule_data_sum() from here
to functions_reporting.php.
* godmode/groups/group_list.php: Removing a group put all agents assigned
to that group in other available group (choosen in realtime).
* AUTHORS: Authors file update, was very outdated!.
* operation/agentes/estado_generalagente.php: Fixed bug #2990430.
* operation/reporting/reporting_viewer.php: Some changes for better
structuration of the HTML reporting viewer. Removed big chunk of code
and put in function_reporting/render_report_html_item() function.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2583 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/users/user_list.php: Fixed the delete the actual
user feature hidding the red cross in this user and with
internal control
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2580 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_prediction.php: Make the services
part (Enterprise) work nicely.
* godmode/agentes/configurar_agente.php: Added enterprise hook for the
services parameters.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2576 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager.php,
godmode/modules/manage_network_components.php,
godmode/modules/manage_network_templates_form.php: Changed the substr()
to mb_strimwidth(). Strings should be truncated with displayed length,
not number of characters.
* godmode/include/functions.php: Added wrapper mb_strimwidth().
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2574 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/ajax/agent.php: Modified to return the agent name at the i
begining of the serialized result.
* godmode/agentes/configurar_agente.php: Added help links and TODO tag
to remember to change the tabs to use the print_page_header function.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2571 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/users/configure_user.php: fixed bug 2987162.
Validation of create a user with User ID null
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2570 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/users/user_list.php: fixed bug 2987177. Wrong index
was associated with the delete icon in the users list.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2564 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.php: Controled the sucessful of the
create an alarm to audit it for bug 2987006
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2561 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.php,
godmode/alerts/alert_list.list.php: Changed a button between the
files
to clean source code
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2560 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.php: added request the search parameter.
* godmode/alerts/alert_list.list.php: fixed recove lost source code for
build $where var of old version of godmode/alerts/alert_list.php .
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2550 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.list.php: fixed the id of agent in source and
now hide the column agent in list when the edit alerts is in the agent
configuration.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2549 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f