* pandoradb.postgreSQL.sql, pandoradb.oracle.sql, pandoradb.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql: changed in the
table "tlayout_data" the field "label" to text without limits.
* godmode/extensions.php, include/functions_tags.php,
include/functions_ui.php, include/functions_agents.php,
include/functions_config.php: cleaned source code style.
* godmode/reporting/visual_console_builder.editor.js,
godmode/reporting/visual_console_builder.editor.php,
include/styles/pandora.css, include/styles/pandora_legacy.css,
include/functions_visual_map.php,
include/ajax/visual_console_builder.ajax.php,
include/functions_visual_map_editor.php: added the formatted label
into the item label with the help of tiny_mce.
* include/javascript/tiny_mce/*: update the last version of
tiny_mce.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7524 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php: Now modules with warning
status and alert fired are in yellow with orange border, before
they were red with orange border.
* include/constants.php: Mew constant for visual map to
identify modules with warning status and alerts fired.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7472 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map_editor.php: increased the size of
agent autocomplete widget.
* include/functions_visual_map.php: in the function
"visual_map_print_visual_map" changed for to print corretly the
urls in public view in metaconsole.
* include/ajax/agent.php: restore the search for any string in
the autocomplete agent.
* operation/reporting/reporting_xml.php,
operation/search_results.php,
operation/visual_console/public_console.php,
godmode/setup/setup_auth.php, godmode/servers/modificar_server.php:
cleaned source code style.
* godmode/reporting/visual_console_builder.editor.js: fixed when
finish a resize action or put the grid, before these actions
was make a corrupt data of items.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7269 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql, pandoradb.sql,
pandoradb.postgreSQL.sql, pandoradb.oracle.sql: in the table
"tlayout_data" added the column "id_metaconsole" for to show
visualmaps in the metaconsole.
* operation/visual_console/render_view.php,
include/functions_visual_map.php, operation/agentes/ver_agente.php,
godmode/reporting/visual_console_builder.wizard.php,
godmode/reporting/visual_console_builder.php,
godmode/reporting/visual_console_builder.data.php,
godmode/reporting/visual_console_builder.editor.js,
godmode/reporting/visual_console_builder.elements.php,
godmode/reporting/visual_console_builder.editor.php,
godmode/reporting/map_builder.php,
include/ajax/visual_console_builder.ajax.php,
include/ajax/agent.php, include/functions_visual_map_editor.php,
* operation/agentes/datos_agente.php,
include/functions_netflow.php: cleaned source code style.
* include/functions_ui.php: in function
"ui_require_javascript_file_enterprise" fixed when need a
enterprise javascript instead metaconsole enterprise path.
* include/javascript/pandora.js: fixed the function
"agent_changed_by_multiple_agents" that needs in the metaconsole.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7258 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/update_manager/lib/libupdate_manager_client.php,
extensions/update_manager/lib/libupdate_manager.php,
operation/agentes/ver_agente.php,
operation/agentes/status_monitor.php,
operation/agentes/estado_ultimopaquete.php,
operation/agentes/estado_agente.php,
operation/integria_incidents/incident.php,
operation/reporting/reporting_xml.php,
godmode/reporting/visual_console_builder.editor.js,
godmode/reporting/visual_console_builder.wizard.php,
godmode/reporting/visual_console_builder.elements.php,
include/functions_visual_map.php,
include/functions_visual_map_editor.php: uploaded the changes of
source code style previous to my next commit for to make the next
commit more easy.
* godmode/reporting/visual_console_builder.php: set empty string
for the new visualmap.
* include/ajax/visual_console_builder.ajax.php: fixed the regular
expresion to extract the url for the graph.
* include/functions_html.php: fixed into the function
"html_print_select_groups" lost code for to show the selectbox.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7230 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* install.php, operation/agentes/stat_win.php, general/footer.php,
include/config_process.php, include/functions_ui.php,
include/functions_graph.php, include/graphs/functions_flot.php,
include/functions_visual_map.php: change the $config['home_url'],
now it is generated dinamicly.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7009 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/header.php, general/login_page.php,
godmode/setup/setup.php, include/functions_ui.php,
include/functions_graph.php, include/functions_html.php,
include/graphs/fgraph.php, include/graphs/functions_pchart.php,
include/graphs/functions_flot.php, include/functions_reporting.php,
include/functions_visual_map.php, include/functions_config.php,
operation/reporting/reporting_viewer.php,
operation/visual_console/render_view.php,
operation/agentes/tactical.php, operation/menu.php,
operation/events/events.php: added the feature to set a
public url for inverse proxy or for example mod_proxy of Apache.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6936 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php
godmode/reporting/visual_console_builder.editor.php: Center the visual
map in both visual console views (edit & view)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6907 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_modules.js
godmode/agentes/module_manager_editor_plugin.php
godmode/modules/manage_network_components_form_plugin.php: Fix some
little issues in the interface of new plugin system
* include/functions_visual_map.php: Fix a problem that the simple
values didnt appear in view screen
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6877 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/visual_console_builder.editor.js,
godmode/reporting/visual_console_builder.elements.php,
include/functions_visual_map.php,
include/ajax/visual_console_builder.ajax.php,
include/functions_visual_map_editor.php: uploaded some fixes and
changes for the visualmap, for example refactored some part of
print the visualmap in operation.
* include/functions_html.php: fixed when included from standarlone
file from enterprise structure directory.
* include/constants.php: added constants for avoid magic numbers
into the code of Visualmaps.
* include/graphs/functions_gd.php, include/functions.php,
include/functions_io.php, include/functions_modules.php,
include/functions_ui.php: cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6747 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* ajax.php: added support for the enterprise, because some case
this file can't call enterprise functions.
* godmode/reporting/visual_console_builder.wizard.php,
godmode/reporting/visual_console_builder.php,
godmode/reporting/visual_console_builder.editor.js,
godmode/reporting/visual_console_builder.elements.php,
godmode/reporting/visual_console_builder.editor.php,
godmode/reporting/visual_console_builder.constans.php (delete),
include/functions_visual_map_editor.php,
include/ajax/visual_console_builder.ajax.php,
include/functions_visual_map.php: some parts of code had been
refactored because it is necesary for to add enterprise feature to
Visual map.
* include/constants.php: cleaned source code style and added and
reordened the constants for visual maps.
* include/functions_html.php, include/styles/pandora.css,
include/functions_ui.php, include/functions.php, index.php: cleaned
source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6732 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php, include/functions_reporting.php,
include/functions_groups.php, include/functions_visual_map.php,
include/ajax/reporting.ajax.php, include/functions_ui.php,
extensions/agents_modules.php, extensions/module_groups.php,
operation/incidents/incident.php,
operation/incidents/incident_detail.php,
operation/agentes/status_monitor.php,
operation/agentes/estado_ultimopaquete.php,
operation/agentes/estado_agente.php,
operation/agentes/ver_agente.php,
operation/snmpconsole/snmp_view.php.
operation/integria_incidents/incident.incident.php,
mobile/operation/agents/monitor_status.php,
mobile/operation/agents/view_agents.php,
mobile/operation/agents/view_alerts.php,
mobile/operation/events/events.php,
godmode/groups/modu_group_list.php, godmode/groups/group_list.php,
godmode/agentes/module_manager.php,
godmode/agentes/modificar_agente.php,
godmode/agentes/configurar_agente.php,
godmode/alerts/alert_list.list.php, godmode/setup/os.list.php,
godmode/users/configure_user.php,
godmode/modules/manage_network_templates.php,
godmode/reporting/reporting_builder.list_items.php,
godmode/tag/tag.php: changed the calls of "ui_print_truncate_text"
now we are trying that more easy and standar, now the string name of
agent have the equal number of characters in all code...but there
are two styles, small and medium size for agents text name, modules
text name, but description is only size. You can set this sizes in
the visual setup page into your Pandora.
MERGED from 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6554 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_io.php: fixed the function "io_safe_output" for
arrays, now into the function call other function with the name
"io_safe_output_array".
* include/functions_visual_map.php,
include/ajax/visual_console_builder.ajax.php,
godmode/reporting/visual_console_builder.wizard.php,
godmode/reporting/visual_console_builder.php,
godmode/reporting/visual_console_builder.editor.js,
godmode/reporting/visual_console_builder.elements.php,
godmode/reporting/visual_console_builder.editor.php,
godmode/reporting/visual_console_builder.constans.php: fixed a lot
of things about simple value and derivates.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6497 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php: cleaned source code style.
* include/ajax/visual_console_builder.ajax.php,
godmode/reporting/visual_console_builder.editor.js: fixed the set
status to items when change somethings that module or method to get
status that agent to module status item.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6479 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_gd.php, include/graphs/fgraph.php:
cleaned source code style.
* include/functions_visual_map.php,
include/ajax/visual_console_builder.ajax.php,
godmode/reporting/visual_console_builder.editor.js,
godmode/reporting/visual_console_builder.editor.php: fixed the
strange behavior of the bars and bubbles in the editor.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6475 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/visual_console_builder.php: refixed the add the
items with modules with entities.
* include/functions_reporting.php, include/functions_networkmap.php,
include/functions_visual_map.php: cleaned source code style.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6238 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php: fixed into the function
"visual_map_print_visual_map" the unclose links of percentile bar.
Fixes: #3520640
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6117 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/fgraph.php
include/functions_visual_map.php: Improved the
min size of the area graphs and clean code
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5984 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php
include/ajax/visual_console_builder.ajax.php
godmode/reporting/visual_console_builder.editor.js: Fixed several
bugs in the simple value item in the visual console and unified
repeated code merged from 4.0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5971 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php,
include/ajax/visual_console_builder.ajax.php: fixed the show value in the
item simple value, now show formated and with units.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5755 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php: refixed again, removed the old method
to put the items, the new method is with top and left instead the margin-top
and margin-left.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5751 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php,
include/ajax/visual_console_builder.ajax.php: set to blue more light the
color for unknow status for percentile item, and set the size of items
create from the wizzard to 20 characteres.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5749 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php,
include/ajax/visual_console_builder.ajax.php: apply format to graph in the
data when show value in percentile item.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5744 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php,
godmode/reporting/visual_console_builder.wizard.php,
godmode/reporting/visual_console_builder.php: added lost feature to set into
the wizard the kind of label ("agent", "module", "agent-module" or empty).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5739 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/ajax/agent.php: added the query "get_agents_group" for getting the
list of agents from a group pass as ajax parameter.
* godmode/reporting/visual_console_builder.editor.php: fixed lost title for
simple graph toolbox.
* godmode/reporting/visual_console_builder.wizard.php,
godmode/reporting/visual_console_builder.php,
include/functions_visual_map.php: added into the wizzard a field group to
filter agents, and the feature to choose the item to create with the massive
wizzard.
* include/functions_graph.php, include/functions_ui.php,
operation/reporting/reporting_viewer.php: cleaned source code style.
* include/javascript/pandora.js: into the function
"agent_changed_by_multiple_agents" fixed the none text and any text, and
the width of module form field.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5737 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
* include/functions_agents.php,
godmode/agentes/module_manager_editor_common.php: cleaned source code style.
* include/styles/dialog.css: fixed the bad comment lines.
* include/styles/pandora.css: fixed the bad comment lines and added the
style for the button to save in visual console editor.
* images/file.disabled.png: added image file for the button save in the
visual console editor.
* images/config.disabled.png: fixed the image, now the side is equal to
enabled image.
* include/functions_visual_map.php,
include/ajax/visual_console_builder.ajax.php,
godmode/reporting/visual_console_builder.editor.js,
godmode/reporting/visual_console_builder.editor.php: added feature the save
the movements of items when user want, and added feature the snap to grid
the items in visual map, fixed the resize background (in some oldcases
didn't run fine).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5627 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_pchart.php
include/graphs/fgraph.php
include/functions_reporting.php
include/functions_visual_map.php: Fixed little
graphs into the visual maps of the widgets
(min height control added)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5570 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/snmpconsole/snmp_alert.php: Fixed bad time description.
* godmode/reporting/visual_console_builder.editor.php
include/functions_visual_map.php: Now it's possible to link icons
in visual console with a web page through the label.
* operation/visual_console/index.php
operation/visual_console/render_view.php
include/functions_config.php
operation/menu.php
godmode/menu.php
godmode/setup/setup.php
godmode/setup/setup_visuals.php
include/config_process.php: Added two new autorefresh
parameters: one global and the other for visual console.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5146 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php,
godmode/reporting/visual_console_builder.php,
godmode/reporting/visual_console_builder.editor.js,
godmode/reporting/visual_console_builder.editor.php: fixes more things, see
the item in sourceforge tracker.
Fixes: #3389987
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4751 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/setup/news.php: fixed a bug regarding
unability to add new objects to visual maps
using the wizard.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4631 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php
include/functions_visual_map.php
include/functions_agents.php: Fixed more errors when
no agents for bug 3371316
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4587 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php
include/ajax/visual_console_builder.ajax.php
godmode/users/configure_user.php
godmode/reporting/visual_console_builder.editor.js
godmode/reporting/visual_console_builder.editor.php
godmode/reporting/visual_console_builder.constans.php: Added min,
max and avg process to simple value items in visual maps.
Pending tasks: #3014709
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4541 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php: Added links to service items
in visual console.
Pending tasks: #3175079
* general/pandora_help.php: Changed color of the footer.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4526 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f