* index.php: fixed notice message php.
* extensions/update_manager/lib/libupdate_manager.php: fixed into
the function "um_db_load_settings" the cache of DB, and set to
translate some untranslate text.
* include/config_process.php: added for a long time the setting the
$develop_bypass as global.
* extensions/update_manager/settings.php, operation/menu.php,
operation/search_agents.php: cleaned source code style.
* include/functions_config.php: fixed php noticie message of the
var "$config['update_manager_installed']" in the first execution
after intallation.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6106 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
*extensions/snmp_explorer.php,
operation/agentes/estado_monitores.php,
operation/agentes/ver_agente.php,
operation/snmpconsole/snmp_view.php,
operation/gis_maps/render_view.php,
godmode/agentes/fields_manager.php,
godmode/agentes/configure_field.php,
godmode/agentes/planned_downtime.php: Fixed a problem with agent sec
param changed from gagente to estado in order to display new menus properly
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6080 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_config.php, extensions/update_manager.php,
extensions/update_manager/lib/functions.php: fixed the first
intallation of update manager.
Merged from the branch "pandora_4.0".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6030 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php
include/styles/pandora.css
include/javascript/jquery.pandora.js
include/functions_config.php
include/functions_ui.php
extensions/update_manager.php
extensions/update_manager/load_updatemanager.php
extensions/update_manager/lib/functions.ajax.php
extensions/update_manager/settings.php
operation/system_alert.php
general/login_page.php
godmode/setup/setup.php: Changed layout in modal windows for
license information also changed several styles.
Merged from branches.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6005 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php
extensions/users_connected.php: Improved users connected extension
to know users connected last 5 minutes (connected means charge
any page, not only login)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6001 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php, extensions/net_tools.php: cleaned
source code style.
* include/functions_networkmap.php: into the functions
"networkmap_generate_dot" and "networkmap_create_agent_node"
added new parameter $relative for set the url of icons as relative.
It is used in networmap enterprise.
* include/functions_ui.php: fixed into the function
"ui_print_message" lost the javascript code when the first messages
are without close button. And into the function "ui_print_os_icon"
added new parameter $relative for set the url of icons as relative.
It is used in networmap enterprise.
Merged from the branch "pandora_4.0".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6000 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.item_editor.php: Fixed
bug: In the item list of a report appears a wrong period.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5994 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/update_license_info.php: Added view to show UM license
info.
* extensions/update_manager.php
extensions/update_manager/settings.php: Added UM license dialog in
this view.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5981 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_config.php, index.php,
extensions/update_manager/lib/functions.ajax.php,
extensions/update_manager/lib/functions.php,
extensions/update_manager/main.php,
extensions/update_manager/update_pandora.php,
general/logon_ok.php:: some fixeds and some changes for run fine and
pretty the update manager.
Merged from the branch "pandora_4.0"
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5970 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css: add changes for the new standarized messages.
* extensions/update_manager/update_pandora.php: reverded the deleted file,
sorry.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5959 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php: standariced the messages and added one more for
info.
* include/functions.php: added function "enterprise_installed".
* extensions/update_manager/update_pandora.php: removed file, because it is
into update_manager.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5958 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php: cleaned source code style.
* extensions/update_pandora,
extensions/update_pandora/functions.ajax.php,
extensions/update_pandora/functions.php,
extensions/update_manager/lib/functions.ajax.php,
extensions/update_manager/lib/functions.php: moved this files into the
extension update_manager.
* extensions/update_manager/main.php: added hook (as a tab) the
"update_pandora".
Merged from the branch pandora_4.0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5917 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/update_manager.php,
extensions/update_manager/load_updatemanager.php,
extensions/update_manager/lib/xmlrpc/xmlrpc.inc,
extensions/update_manager/lib/libupdate_manager_client.php,
extensions/update_manager/lib/libupdate_manager.php,
extensions/update_manager/main.php: cleaned source code style.
* extensions/update_manager/settings.php: disabled the path because this
conf it is burned with each update of PHP files.
Merged from the branch pandora_4.0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5906 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_modules.js
include/functions.php
extensions/snmp_explorer.php
godmode/agentes/module_manager_editor.php: Fixed several errors in
snmp walk and snmp explorer functionality.
Fixes: #3514508
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5896 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_menu.php: Deleted extension icon on menus.
* extensions/extension_uploader.php: Fixed wrong link to menu for this
extension.
* operation/menu.php,
godmode/menu.php: Fixed duplicated extension links on menus.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5883 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: added into function "html_debug_print" the
equal output to log file, this is with more data.
* include/functions_db.php: cleaned source code style.
* extensions/update_pandora/functions.ajax.php,
extensions/update_pandora/functions.php,
extensions/update_manager/lib/libupdate_manager.php,
extensions/update_pandora.php: added extension to update pandora from the
targz of Sourceforge.
Merged from the branch pandora_4.0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5874 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_menu.php
extensions/users_connected.php,
operation/incidents/incident.php,
operation/incidents/incident_detail.php,
operation/incidents/incident_statistics.php,
operation/menu.php,
operation/integria_incidents/incident.incident.php,
operation/integria_incidents/incident.files.php,
operation/integria_incidents/incident.list.php,
operation/messages/message_edit.php,
operation/messages/message_list.php: Create new menu item called
workspace.
* godmode/reporting/map_builder.php
operation/visual_console/render_view.php: Fixed some errors related to
new menu structure.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5869 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js, extensions/snmp_explorer.php,
operation/users/user_edit.php,
godmode/agentes/module_manager_editor_network.php,
godmode/setup/setup_auth.php, godmode/gis_maps/configure_gis_map.php,
godmode/massive/massive_edit_modules.php,
godmode/modules/manage_network_components_form.php,
godmode/reporting/visual_console_builder.editor.js: fixed enable a widget in
javascript (because the new jquery library is more html standar).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5732 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/update_manager/main.php, general/shortcut_bar.php,
godmode/reporting/reporting_builder.item_editor.php,
godmode/reporting/reporting_builder.php,
godmode/reporting/reporting_builder.preview.php, include/functions_api.php,
include/functions_html.php, include/htmlawed.php, include/pchart_graph.php,
operation/events/events_list.php, operation/netflow/nf_live_view.php:
cleaned source code style.
* godmode/menu.php, godmode/agentes/manage_config_remote.php: removed the
enterprise feature that have been wrong for years.
* general/header.php: changed to load the jquery-ui and jquery javascript
library to last version.
* extensions/insert_data.php, extensions/snmp_explorer.php,
godmode/agentes/agent_manager.php, include/ajax/agent.php,
include/javascript/pandora.js, operation/agentes/exportdata.php,
operation/events/events.php: changed the unknow plugin autocomplete for
the autocomple from jquery-ui.
* include/functions_ui.php: cleaned source code style and into the function
"ui_process_page_head" added the blacklist hardwrote for to use old jquery.
* include/styles/jquery-ui-1.8.17.custom.css,
include/javascript/jquery-1.7.1.min.js,
include/javascript/jquery.jquery-ui-1.8.17.custom.min.js: added the last
version of Jquery and Jquery-ui.
Merge from the branch "pandora_4.0"
* godmode/reporting/visual_console_builder.constans.php,
godmode/reporting/visual_console_builder.editor.js,
godmode/reporting/visual_console_builder.editor.php,
include/functions_visual_map.php,
include/ajax/visual_console_builder.ajax.php,
include/javascript/pandora_visual_console.js: changed the unknow
plugin autocomplete for the autocomple from jquery-ui and added function to
paint a Bubble Chart (http://en.wikipedia.org/wiki/Bubble_chart) with the
name "progress_bubble".
* images/percentile_item.disabled.png, images/percentile_item.png: added
images for button of percentile item (new item in visual map).
* include/styles/pandora.css: added the style for the new button percentile
item.
* include/functions_graph.php, include/graphs/fgraph.php,
include/graphs/functions_gd.php: cleaned source code style, and added the
params to set text and color in the function "progress_bar" and added
function to paint a Bubble Chart (http://en.wikipedia.org/wiki/Bubble_chart)
with the name "progress_bubble".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5693 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/include/functions_ui.php: changed the source code into the
function "ui_get_full_url" for accept false for to return url with the home
url or with any string (as query) return url with the php file.
* pandora_console/include/functions_graph.php,
pandora_console/include/functions_html.php,
pandora_console/include/functions_events.php,
pandora_console/include/functions_reporting.php,
pandora_console/include/functions_api.php,
pandora_console/include/functions.php, pandora_console/index.php,
pandora_console/extensions/system_info.php,
pandora_console/operation/agentes/stat_win.php,
pandora_console/operation/menu.php,
pandora_console/operation/events/events_rss.php,
pandora_console/operation/events/events_marquee.php,
pandora_console/operation/events/events.php: change in more part of source
code to use "ui_get_full_url" instead the hard write method of $_SERVER
vars, now Pandora Console run fine (in all actions I hope) with web servers
in other ports instead the typical 80.
Merged from branch pandora_4.0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5646 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* * extensions/module_groups.php, include/functions_modules.php,
godmode/agentes/module_manager_editor_prediction.php: cleaned
source code style.
* godmode/agentes/configurar_agente.php: cleaned source code style and fixed
the duplication of module.
* include/functions_agents.php: fixed the get modules into function
"agents_get_modules", before the function return ever the policy modules
without apply filter.
Fixes: #3482260
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5554 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/snmp_explorer.php: Call io_safe_input() for
module name and description when creating module.
* include/functions_io.php: spaces to tabs.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5242 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php
include/functions.php
extensions/snmp_explorer.php
godmode/agentes/configurar_agente.php
godmode/massive/massive_edit_modules.php: Check if a module
name exists in the agent when you edit the module and
improve the errors feedback
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5229 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php
include/functions_api.php
include/functions.php
extensions/snmp_explorer.php
godmode/agentes/module_manager_editor_common.php
godmode/agentes/configurar_agente.php: limited the
modules creation to not allows to create one if exists
a module with the same name in the agent to avoid
recreate a module when go back in the browser.
Bugfix: 3416129
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5227 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php: added function "check_refererer" for check
refererers in some places.
* extensions/extension_uploader.php, extensions/dbmanager.php,
operation/incidents/incident.php, operation/incidents/incident_detail.php,
godmode/servers/recon_script.php, godmode/users/configure_user.php,
godmode/tag/edit_tag.php: securized this files to XSS and CSRF attacks.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5107 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/snmp_explorer.php: Improved snmp explorer to use
description of the interfaces when name doesnt exist
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5095 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/xmlrpc, include/styles/menu.css,
include/functions_update_manager.php, include/functions_config.php,
operation/update_manager, operation/update_manager/update_manager.php,
images/box_down.png, general/main_menu.php, godmode/update_manager,
godmode/update_manager/update_manager.php, godmode/updatemanager: added
first version of "Update Manager".
* general/login_page.php: fixed the name of build var.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5084 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/snmp_explorer.php: Updated missed fix in snmp explorer
to create the modules correctly
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5057 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/snmp_explorer.php
godmode/agentes/agent_manager.php: Fixed timeout problem
with big machines changing the transfer to ajax data mode
to serialize way. Fixed little bugs as None option when
are data and few checks to avoid errors when try create
modules without select any OID.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5023 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/update_manager/lib/libupdate_manager_client.php,
extensions/update_manager/main.php: fixed when the file is corrupted or
empty.
Fixes: #3400237
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4861 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/update_manager.php: check if the field "update_server_path" in
the table is the last path for Pandora v4 and update.
* extensions/update_manager/main.php: rewrite the text to message for show
only Pandora FMS instead the Pandora FMS vX.
*extensions/update_manager/sql/update_manager.sql,
extensions/update_manager/sql/update_manager.postgreSQL.sql,
extensions/update_manager/sql/update_manager.oracle.sql: update the
"update_server_path" to Pandora v4.
Fixes: #3394754
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4827 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f