* include/constants.php: Added a constants for
more common used colors in pandora: critical,
warning, normal, unknown...
* extensions/agents_alerts.php: Added new view of
agents/alerts for pending tasks #3468889
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6304 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/update_manager/lib/functions.php: fixed into the
function "update_pandora_installation" lost var, and into the
function "update_pandora_get_list_downloaded_packages" check fail
dir.
* extensions/update_manager/update_pandora.php: fixed foreach a non
array in list download packages when fail.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6293 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/datos_agente.php: Fixed search, was
not working due html encoding in the SQL. Alter some layout
issues (centering data in columns)
* extensions/ssh_gateway*: New extension to connect SSH/Telnet
servers from the console, using external anytermd daemon running
in the pandora server.
* pandora.css: Fix title height.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6271 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
All changes (except a small patch on function_groups) are
ported from 4.0.2 development branch.
* include/help/en/help_main_help.php: Added new general
introduction help file. Need work.
* include/functions_events.php: Fixed link colors and other
aesthetic improvements.
* include/styles/pandora_legacy.css
include/styles/pandora_black.css
include/styles/pandora.css
include/styles/pandora_bluenavy.css
include/styles/pandora_minimal.css
include/styles/pandora_blackmetal.css
include/styles/pandora_green.css:
* extensions/agents_modules.php,
include/functions_groups.php: now colors uses CSS instead
fixed codes in code. In function_groups also I've also applied a missing
patch from the 4.0 with corrections on the Group extration from the DB.
* operation/events/sound_events.php: Fixed small format problem.
* operation/events/events_list.php: Link on event now "zoom it" instead
filter for the same events (nosense since agrupatio is the default view!).
Fixed a lof of aesthetic issues, now uses CSS for most issues.
* operation/agentes/tactical.php
operation/agentes/estado_generalagente.php: more work in the visual
aspect of the information.
* images/status_sets/default/agent_ok.png
images/status_sets/default/module_warning.png
images/status_sets/default/module_ok.png
images/status_sets/default/agent_warning.png: Replaced colors with
more contrast, easier to view for operators!.
* images/header_f2b.png
images/header_f2.png: new style headers.
* general/header.php: New icon for general help.
* godmode/agentes/agent_manager.php: Removed ugly visualization for GIS
agent icons. Now it's much better :)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6236 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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