Commit Graph

198 Commits

Author SHA1 Message Date
fermin831 52e6503018 [Vertical Bar Charts] Fixed strpos check 2018-03-01 17:07:55 +01:00
fermin831 b6688dda1c [SQL charts reports] Added top n report to set the maximum number of elements 2018-03-01 16:49:50 +01:00
fermin831 4719742ba2 [Pie Charts] Maximized the number of elements 2018-03-01 13:19:58 +01:00
fermin831 287d28de4e [Vertical Bar Charts] Preserve order after truncate label 2018-03-01 13:16:36 +01:00
fermin831 d0bf68888e [SQL charts] Fixed SQL vertical chart 2018-03-01 12:02:08 +01:00
daniel 51f22413a8 fixed errors in graphs 2018-02-28 08:46:51 +01:00
daniel d2390528ac fixed errors in graphs 2018-02-27 16:28:00 +01:00
daniel b6798bf31c update flot.js 2018-02-16 13:41:31 +01:00
fbsanchez 958ef2bd38 Merge branch 'develop' into 1278-extension-vmware-ext-4456-y-4479
Added max/min thresholds to hbar graphs
2017-11-14 10:49:15 +01:00
fbsanchez a42a2ee7e2 Minor changes to allow hbar min/max ranges 2017-11-08 16:41:23 +01:00
Arturo Gonzalez b9b8b37abe Added grid color to bars graph in visual console 2017-11-08 09:55:36 +01:00
enriquecd 2eec3dc766 Fix pdf graph labels 2 - #417 2017-11-07 11:43:42 +01:00
vgilc 2d87172558 Merge branch 'vulnerabilidad-en-consola' into 'develop'
Resolve: Vulnerabilidad en consola

See merge request artica/pandorafms!1020
2017-11-06 17:41:45 +01:00
enriquecd b6d3444212 Fix PDF reports labels - #417 2017-11-06 17:02:54 +01:00
Alejandro Gallardo Escobar 849eba10d4 [Console] Fixed a vulnerability into the 'fgraph.php' script 2017-10-30 18:03:09 +01:00
vgilc 2f9d999978 Merge branch '1397-Grafica-combinada-y-fondo-negro-transparente-Consola-visual' into 'develop'
Enable background color options for gauge charts - #1397

See merge request artica/pandorafms!900
2017-10-26 13:35:44 +02:00
vgilc e8a14b6981 Merge branch '1416-new-h-and-v-bar-charts-in-visual-console-dev' into 'develop'
1416 new h and v bar charts in visual console dev

See merge request artica/pandorafms!956
2017-10-26 13:30:52 +02:00
Arturo Gonzalez 1f20247ae3 Added background color to bars charts 2017-10-26 12:24:14 +02:00
enriquecd c04d4ed08e Enable background color options for gauge charts - #1397 2017-10-09 12:03:19 +02:00
enriquecd 3061c35746 Change pchart vertical and horizontal grphs style - #417 2017-09-26 15:39:46 +02:00
daniel ab3cd7dcc0 wux console view 2017-08-17 18:38:12 +02:00
Arturo Gonzalez 09b90be1ca Works in good dashboards module graphs 2017-05-25 10:08:30 +02:00
Arturo Gonzalez 4a03298b69 Added unit to module name and recolocate yaxis label 2017-05-24 12:18:43 +02:00
Arturo Gonzalez 658ff78efb Added homedir lost reference to functions_html 2017-05-08 11:49:54 +02:00
Arturo Gonzalez 629439f271 Added some modifications to adapt um and rr in meta 2017-04-05 10:26:12 +02:00
Daniel Maya f00cf520ce Fixed problem with the module graph type line in the public visual console 2017-03-15 11:43:13 +01:00
daniel 74c8bf5539 fixed errors in custom graph pdf percentil 2017-03-06 15:19:19 +01:00
daniel ed287b7cdb fixed errors in custom graph with percentile and pdf 2017-03-06 10:01:24 +01:00
m-lopez-f b8f6b9fad4 Fixed style of visual mapwidget in dashboards. Gitlab: #374 2017-03-03 12:50:03 +01:00
Arturo Gonzalez c99ff92c86 UX console in progress... (Fixed vcharts) 2017-01-23 17:55:27 +01:00
Arturo Gonzalez d3f5a62814 Fixed threshold in interface graphs. Ticket #156 2017-01-17 14:29:42 +01:00
daniel 50c9763720 Add percentil dinamic custom graph 2016-12-27 13:10:33 +01:00
daniel 9fc797ae9e reports availability and SLA change new function
(cherry picked from commit 7faa1eff1e)
2016-11-30 08:57:17 +01:00
Arturo Gonzalez 2391e7ae78 Added threshold graph to interface monitors graph (Only when monitors have the same warning or critical min value). Ticket #4113 2016-11-28 10:53:05 +01:00
m-lopez-f 2f93fddb6e Add percentil 95 in snmp graphics. internal ticket: 3 2016-10-03 12:48:48 +02:00
m-lopez-f a804040d79 Add label with macros in reports. Ticket: #37 2016-09-12 16:22:58 +02:00
Daniel Maya 203689a5c1 Added new feature. Added font and fotn size in custom graph. Ticket #3316. 2016-09-08 15:44:36 +02:00
m-lopez-f 54c6de6a41 Fixed Pie charts and legend. Tiquet: #3742 2016-06-13 09:00:11 +02:00
m-lopez-f 8aac162cd4 Fixed problems when selected no interactive charts or print pdfs. Tiquet: #3742
(cherry picked from commit d058d096d7)
2016-06-10 11:19:44 +02:00
m-lopez-f b39802b2f1 Revert "Fixed problems when selected no interactive charts or print pdfs. Tiquet: #3742"
This reverts commit cbe624d25b.
2016-06-10 11:16:07 +02:00
m-lopez-f cbe624d25b Fixed problems when selected no interactive charts or print pdfs. Tiquet: #3742
(cherry picked from commit d058d096d7)
2016-06-10 11:15:17 +02:00
Alejandro Gallardo Escobar 4473b42657 Fixed the menu parameter of the area graph function
(cherry picked from commit 52d82bcae1127046b081e157bbb1696bc934bcad)
2016-06-01 15:03:15 +02:00
Alejandro Gallardo Escobar 267290a5dc Improved the graphs behaviour when rendered into the dashboard or the visual console
(cherry picked from commit 20128621395cf381d62f1e1b35064b2fb3a67ac1)
2016-05-30 15:26:29 +02:00
Alejandro Gallardo Escobar 0490a00506 Some visual improvements and an option to hide the labels of the pie graphs
(cherry picked from commit 14127df1dc)
2016-05-26 13:48:08 +02:00
m-lopez-f 09f5f484a8 Add include in functio to fixed problem. 2016-04-18 14:18:44 +02:00
m-lopez-f 7fe0f3aebd Fixed problems with url in public console. Tiquet: #3556
(cherry picked from commit 59fdb8d297)
2016-04-13 18:24:39 +02:00
fermin831 5756d7281e Substituted lines for intervals in modules graphs TICKETS #3392 2016-04-04 10:12:37 +02:00
m-lopez-f 368a96222e Fixed problems with dashboard performance when include users maps. Tiquet: #3438
(cherry picked from commit e3e549cbe8)
2016-03-15 09:26:24 +01:00
m-lopez-f af8b3c6e57 Fixed vertical and horizontal bars when print PDF. Tiquet: #3255 2016-01-25 09:53:05 +01:00
mdtrooper 9710362174 Fixed the hbars for the report exception item. TICKET: #3153
(cherry picked from commit 63566dd3af)
2016-01-13 10:34:33 +01:00
mdtrooper a9f8740320 Fixed the horizontal bars in the dashboard. TICKET: #3157
(cherry picked from commit f2afb2e05f)
2016-01-08 10:47:42 +01:00
m-lopez-f 83938b3e36 Fixed problems with security 2015-11-26 17:59:09 +01:00
m-lopez-f 2cfbe1014f Fixed many errors in custom graphs and this items in dashboard. Tiquet: #2984,part of #2966
(cherry picked from commit 60f0f3378d)
2015-11-25 14:26:02 +01:00
m-lopez-f c72f024610 Add new custom graphs and fixed others graphs.
New graphs:
	Bullet Chart
	Vertical Bars and Horizontal
	Pie
	Gauges
2015-11-04 17:42:45 +01:00
mdtrooper 3cdf73e1ca Now the boolean charts is showed as digital signal charts (added in the pchart engine)
(cherry picked from commit ef85096922)

Conflicts:
	pandora_console/include/graphs/fgraph.php
2015-08-26 16:09:00 +02:00
mdtrooper 6d66bb59b7 Reupload the lost changes in own last cherry pick 2015-08-26 12:03:37 +02:00
Arturo Gonzalez Diaz 596a20b19d Y axis fixed in custom graphs, now show correctly the numeration. Ticket#2578 2015-08-24 13:14:48 +02:00
mdtrooper 63498fdbf7 Added percentile 95º in the stat win of module. TICKET: #2613 2015-08-20 17:55:10 +02:00
mdtrooper 0be8792b01 Killing unicorns and magic numbers. 2015-06-11 20:45:40 +02:00
Alejandro Gallardo Escobar d3151557f7 Now the api can return a string with a module graph encoded in base64 2015-02-06 13:48:59 +01:00
mdtrooper a4c1b8396d Fixed lost parameter background color in flot graphs. TICKET #1306 2014-09-23 13:02:49 +02:00
mdtrooper 56bc6820bc 2014-07-24 Miguel de Dios <miguel.dedios@artica.es>
* operation/snmpconsole/snmp_view.php,
	operation/events/events_list.php, operation/incidents/incident.php,
	extensions/files_repo.php,
	extensions/files_repo/sql/files_repo.postgreSQL.sql,
	extensions/files_repo/functions_files_repo.php,
	extensions/files_repo/files_repo_list.php,
	godmode/agentes/modificar_agente.php,
	godmode/snmpconsole/snmp_alert.php, godmode/db/db_info.php,
	include/functions_graph.php, include/functions_db.php,
	include/db/postgresql.php, include/db/oracle.php,
	include/db/mysql.php, include/functions_update_manager.php,
	include/functions_events.php, include/graphs/functions_flot.php,
	include/graphs/fgraph.php: tiny fixes for the improve the support of
	postgreSQL databases.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10354 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-24 16:02:06 +00:00
zarzuelo 7e84d8346f 2014-06-13 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/visual_console_builder.editor.js
	include/graphs/fgraph.php
	include/graphs/functions_pchart.php
	include/graphs/pChart/pImage.class.php
	include/functions_visual_map.php
	include/ajax/visual_console_builder.ajax.php
	include/functions_visual_map_editor.php
	include/functions_custom_graphs.php
	include/functions_graph.php: Added option to cusomize the
	background of the graphs in visual consoles for ticket: #886



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10181 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-13 07:53:50 +00:00
mdtrooper 95675f4b5e 2014-03-10 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/flot/pandora.flot.js: fixed the position of buttons
	in the flot area graphs when the graphs are in other pages than
	stat win.
	
	Incident: #560
	
	* operation/agentes/graphs.php, include/graphs/fgraph.php,
	include/graphs/functions_flot.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9542 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-03-10 15:59:36 +00:00
mdtrooper c72879741b 2013-08-02 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/functions_gd.php, include/graphs/fgraph.php,
	include/functions.php, include/functions_graph.php,
	include/functions_visual_map.php,
	include/ajax/visual_console_builder.ajax.php,
	operation/visual_console/render_view.php: a lot of fixes in the
	visualmap.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8622 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-02 10:53:50 +00:00
mdtrooper 0875fb0af9 2013-07-16 Miguel de Dios <miguel.dedios@artica.es>
* include/functions.php,
	include/javascript/jquery.pandora.controls.js: improved the
	functions to pass the php vars to js, now it supports json.
	
	* include/javascript/d3.v3.js: added this library for to make
	beautiful things.
	
	* include/functions_ui.php, include/graphs/fgraph.php,
	include/javascript/pandora_events.js, include/javascript/pandora.js,
	include/functions_treeview.php,
	include/include_graph_dependencies.php,
	include/functions_categories.php, include/db/postgresql.php,
	include/db/oracle.php, include/db/mysql.php: cleaned source code
	style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8528 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-16 14:13:23 +00:00
mdtrooper 8909befbc7 2013-07-03 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/fgraph.php: change the source code style to make
	more easy the merges with the last branch.
	
	* include/graphs/functions_pchart.php: fixed the water mark for
	pie graph as image.
	
	MERGED FROM THE BRANCH 4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8462 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-03 11:01:53 +00:00
mdtrooper fbb712905a 2013-06-20 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/fgraph.php, include/graphs/functions_pchart.php:
	merged the changes from the branch 4.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8365 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-20 11:17:14 +00:00
mdtrooper 2c3bf6ff9a 2013-06-20 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/pChart/pPie.class.php, include/graphs/fgraph.php:
	fixed the htmlentities in the pie chart legend, the border was
	fixed for older commits.
	
	MERGED FROM THE BRANCH PANDORA_4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8357 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-20 08:20:11 +00:00
mdtrooper 0a2ac656a5 2013-06-10 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php, include/functions_reporting.php,
	include/graphs/functions_utils.php, include/graphs/fgraph.php,
	include/graphs/functions_pchart.php: fixed the graphs in the
	reports.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8281 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-10 11:13:38 +00:00
zarzuelo 96074ead91 2013-05-23 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	include/styles/pandora_minimal.css
	include/styles/dialog.css
	include/styles/menu.css
	include/styles/jquery-ui-1.10.0.custom.css
	include/functions_events.php
	operation/events/events_list.php
	include/functions_snmp_browser.php
	include/styles/pandora.css: A lot of graphic
	changes including events form and snmp browser
	layout

	* include/ajax/module.php
	include/functions_ui.php
	include/functions.php
	include/functions_agents.php
	include/functions_graph.php
	include/graphs/functions_gd.php
	include/graphs/fgraph.php
	include/functions_reporting.php
	include/functions_filemanager.php
	include/javascript/pandora_snmp_browser.js
	include/functions_treeview.php
	include/constants.php
	index.php
	extensions/net_tools.php
	extensions/pandora_logs.php
	extensions/ssh_gateway.php
	extensions/update_manager/settings.php
	extensions/plugin_registration.php
	operation/incidents/incident.php
	operation/incidents/incident_detail.php
	operation/visual_console/render_view.php
	operation/users/user_edit.php
	operation/reporting/reporting_viewer.php
	operation/reporting/graph_viewer.php
	operation/agentes/datos_agente.php
	operation/agentes/alerts_status.php
	operation/agentes/estado_generalagente.php
	operation/agentes/custom_fields.php
	operation/agentes/estado_agente.php
	operation/agentes/estado_monitores.php
	operation/agentes/agent_fields.php
	operation/agentes/stat_win.php
	operation/servers/recon_view.php
	operation/integria_incidents/incident_detail.php
	operation/netflow/nf_live_view.php
	godmode/groups/configure_group.php
	godmode/groups/configure_modu_group.php
	godmode/groups/group_list.php
	godmode/db/db_refine.php
	godmode/db/db_event.php
	godmode/agentes/module_manager_editor_common.php
	godmode/agentes/fields_manager.php
	godmode/agentes/modificar_agente.php
	godmode/agentes/module_manager_editor.php
	godmode/servers/recon_script.php
	godmode/servers/plugin.php
	godmode/servers/manage_recontask.php
	godmode/servers/modificar_server.php
	godmode/setup/news.php
	godmode/setup/links.php
	godmode/setup/gis.php
	godmode/users/configure_profile.php
	godmode/massive/massive_add_alerts.php
	godmode/massive/massive_delete_profiles.php
	godmode/modules/module_list.php
	godmode/reporting/visual_console_builder.php
	godmode/reporting/map_builder.php
	godmode/reporting/graphs.php
	godmode/tag/tag.php
	godmode/tag/edit_tag.php: Changing the old way of 
	print errors to encapsulated UI function to unify 
	styles

	* images/status_sets/color_text/agent_no_monitors.png
	images/status_sets/color_text/agent_no_monitors_ball.pn
	images/status_sets/color_text/agent_down_ball.png
	images/status_sets/color_text/agent_down.png
	images/status_sets/default/agent_no_monitors.png
	images/status_sets/default/agent_no_monitors_ball.png
	images/status_sets/default/agent_down_ball.png
	images/status_sets/default/agent_down.png: Modify some
	status set images

	* images/gis_map/icons/star.default.png
	images/gis_map/icons/cross.warning.png
	images/gis_map/icons/star.bad.png
	images/gis_map/icons/cross.ok.png
	images/gis_map/icons/marker.default.png
	images/gis_map/icons/square_marker.warning.png
	images/gis_map/icons/circle.warning.png
	images/gis_map/icons/marker.bad.png
	images/gis_map/icons/square_marker.ok.png
	images/gis_map/icons/circle.ok.png
	images/gis_map/icons/triangle.warning.png
	images/gis_map/icons/cross.default.png
	images/gis_map/icons/star.warning.png
	images/gis_map/icons/triangle.ok.png
	images/gis_map/icons/cross.bad.png
	images/gis_map/icons/star.ok.png
	images/gis_map/icons/square_marker.default.png
	images/gis_map/icons/circle.default.png
	images/gis_map/icons/marker.warning.png
	images/gis_map/icons/square_marker.bad.png
	images/gis_map/icons/circle.bad.png
	images/gis_map/icons/triangle.default.png
	images/gis_map/icons/marker.ok.png
	images/gis_map/icons/triangle.bad.png: Change whole the
	gis icons by new ones

	* images/os_icons/so_win.png
	images/os_icons/so_linux.png
	images/os_icons/so_mac.png
	images/os_icons/so_cisco.png
	images/os_icons/so_vmware.png
	images/os_icons/so_bsd.png
	images/os_icons/android.png
	images/os_icons/so_aix.png
	images/os_icons/so_other.png
	images/os_icons/so_hpux.png
	images/os_icons/network.png
	images/os_icons/embedded.png: Reduce the operating 
	system icons size

	* images/vnc.png
	images/op_inventory.png
	images/refresh_mc.png
	images/heart.png
	images/service.png
	images/go.png
	images/graphmenu_arrow_hide.png
	images/submenu_tree_first.png
	images/config_mc.png
	images/cross_double.png
	images/wand.png
	images/expand.png
	images/submenu_tree_middle.png
	images/visual_console.png
	images/down.png
	images/chart_curve_threshold.png
	images/people_1.png
	images/cancel.png
	images/graphmenu_arrow.png
	images/people_2.png
	images/collapse.png
	images/camera_mc.png: Improve a lot of
	icons





git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8198 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-23 15:42:32 +00:00
zarzuelo c03f7678f0 2013-04-15 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	include/styles/pandora.css
	include/functions_ui.php
	include/functions_graph.php
	include/functions_events.php
	include/graphs/fgraph.php
	operation/events/events_list.php
	operation/agentes/alerts_status.php
	operation/agentes/estado_generalagente.php
	operation/agentes/estado_monitores.php
	images/help.png
	images/blade.png
	images/image_problem_pie.png
	images/input_module.png
	images/err.png
	images/image_problem_area.png
	images/input_agent.png
	images/help_w.png
	images/suc.png
	images/image_problem_bars.png
	images/information.png: Change new icons, modernize the
	error, success and info messages and more aesthetic changes
	Fix warning and notices from previous commit



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7985 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-15 16:04:39 +00:00
zarzuelo 5830c04c0a 2013-04-15 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	include/styles/pandora.css
	include/functions_ui.php
	include/functions_graph.php
	include/functions_events.php
	include/graphs/functions_flot.php
	include/graphs/flot/pandora.flot.js
	include/graphs/fgraph.php
	operation/events/events_list.php
	operation/agentes/estado_generalagente.php
	operation/agentes/stat_win.php
	images/file.png
	images/collection_col.png
	images/input_update.disabled.png
	images/input_wand.disabled.png
	images/heart_col.png
	images/calendar_view_day.png
	images/reporting.png
	images/input_tick.png
	images/input_zoom.disabled.png
	images/input_tick.disabled.png
	images/input_go.disabled.png
	images/clock.png
	images/input_pdf.disabled.png
	images/tree.png
	images/groups_small/transmit.png
	images/groups_small/drive_network.png
	images/groups_small/eye.png
	images/groups_small/printer.png
	images/groups_small/lightning.png
	images/groups_small/clock.png
	images/groups_small/bricks.png
	images/groups_small/chart_organisation.png
	images/groups_small/world.png
	images/groups_small/lock.png
	images/groups_small/network.png
	images/groups_small/plugin.png
	images/groups_small/images.png
	images/groups_small/without_group.png
	images/groups_small/mail.png
	images/groups_small/house.png
	images/groups_small/application_osx_terminal.png
	images/groups_small/server_database.png
	images/groups_small/computer.png
	images/groups_small/database_gear.png
	images/groups_small/heart.png
	images/groups_small/firewall.png
	images/groups_small/applications.png
	images/input_delete.disabled.png
	images/input_filter.disabled.png
	images/category_col.png
	images/input_cog.disabled.png
	images/input_add.disabled.png
	images/input_cross.disabled.png
	images/recon.png
	images/pandora_header_logo.png
	images/dashboard_col.png
	images/input_config.disabled.png: Change group icons, 
	change more icons and images and fix layout bugs




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7981 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-15 11:44:36 +00:00
mdtrooper 7025a8deec 2013-03-15 Miguel de Dios <miguel.dedios@artica.es>
* godmode/massive/massive_copy_modules.php: uploaded lost changes
	for previous fixed (days ago).
	
	* godmode/groups/group_list.php, include/graphs/functions_flot.php,
	include/graphs/fgraph.php, include/functions_agents.php,
	general/logon_ok.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7858 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-15 14:35:52 +00:00
zarzuelo 3319070f55 2013-02-20 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/graphs/functions_pchart.php
	include/graphs/functions_flot.php
	include/graphs/flot/pandora.flot.js
	include/graphs/fgraph.php
	include/graphs/functions_utils.php
	operation/agentes/estado_generalagente.php: Add
	a new agent status pie graph and partial remodelation
	of the agent detail view hidding the graphs in a lateral
	tab and adding graphs

	* operation/agentes/estado_agente.php: Optimize
	useless queries to get the agents status



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7687 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-20 17:15:38 +00:00
mdtrooper 43d7cac813 2013-02-19 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php, include/functions_agents.php,
	include/functions_config.php, include/ajax/reporting.ajax.php,
	include/functions_snmp_browser.php,
	operation/agentes/status_monitor.php: improved code style.
	
	* include/functions_graph.php, include/graphs/fgraph.php,
	include/graphs/flot/jquery.flot.pie.js,
	include/graphs/flot/jquery.flot.pie.min.js,
	include/graphs/flot/pandora.flot.js,
	include/graphs/functions_flot.php: fixed the pie graphs, added the
	expanded version of flot pie js file with some changes for the
	last version of jQuery.
	
	Fixes: #3604555




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7675 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-19 10:35:04 +00:00
mdtrooper 751959a969 2013-02-14 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/flot/pandora.flot.js,
	include/graphs/functions_flot.php, include/graphs/fgraph.php:
	cleaned source code style.
	
	* operation/agentes/stat_win.php: added javascript code to resize
	the window when show the overview graph.
	
	Fixes: #3574134




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7658 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-14 18:09:02 +00:00
mdtrooper b06436b3d0 2013-01-30 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_generalagente.php,
	include/functions_graph.php, include/graphs/functions_flot.php,
	include/graphs/fgraph.php, include/graphs/flot/pandora.flot.js:
	fixed the graph of events, now the pie graphs in "flot mode" has
	a parammeter to force the position of legend.
	
	Fixes: #3602206




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7553 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-30 16:29:49 +00:00
mdtrooper d99abb39bb 2013-01-03 Miguel de Dios <miguel.dedios@artica.es>
* extensions/resource_registration.php,
	extensions/resource_exportation.php,
	operation/events/event_statistics.php,
	operation/events/events_list.php,
	operation/reporting/reporting_viewer.php,
	godmode/reporting/reporting_builder.php,
	godmode/reporting/reporting_builder.item_editor.php,
	include/functions_alerts.php, include/functions_reports.php,
	include/functions_events.php, include/graphs/fgraph.php,
	include/functions_graph.php, include/styles/pandora.css,
	include/functions_reporting.php, include/functions_agents.php: a lot
	of changes and fixes from the branch for the reports.
	
	MERGED FROM PANDORA_4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7351 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-03 18:52:21 +00:00
Ramon Novoa 19b1b1aac5 2012-10-08 Ramon Novoa <rnovoa@artica.es>
* include/functions_graph.php,
	  include/functions_html.php,
	  include/graphs/fgraph.php,
	  include/functions_ui.php,
	  include/functions_netflow.php,
	  operation/netflow/nf_live_view.php,
	  operation/netflow/nf_view.php,
	  godmode/netflow/nf_item_list.php,
	  godmode/netflow/nf_report_item.php: Small improvements and fixes.
	  Added support for PDF netflow reports (enterprise only).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7052 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-08 19:19:58 +00:00
zarzuelo f848544e6f 2012-09-19 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/graphs/functions_flot.php
	include/graphs/flot/pandora.flot.js
	include/graphs/fgraph.php
	operation/agentes/stat_win.php: Fix several bugs of the 
	event graph and event special features on flot graphs when
	compare periods



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6989 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-19 14:59:31 +00:00
juanmanuelr e302839db0 2012-09-07 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_html.php
	include/graphs/fgraph.php
	include/functions_reporting.php
	include/javascript/pandora.js
	include/ajax/reporting.ajax.php
	include/ajax/agent.php
	pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	operation/agentes/ver_agente.php
	operation/reporting/reporting_viewer.php
	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
	general/header.php
	godmode/reporting/reporting_builder.list_items.php
	godmode/reporting/reporting_builder.php
	godmode/reporting/reporting_builder.item_editor.php: Integration of reports
	in metaconsole.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6938 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-07 12:01:23 +00:00
mdtrooper 136772fc84 2012-09-06 Miguel de Dios <miguel.dedios@artica.es>
* 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
2012-09-06 17:01:22 +00:00
juanmanuelr cd49f570fa 2012-09-04 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php
	 include/graphs/fgraph.php: Fixed minor bugs.
	
	* operation/agentes/stat_win.php: Url built with ui_get_full_url
	function.
	 	
	 godmode/reporting/reporting_builder.list_items.php
	 godmode/reporting/reporting_builder.php: Fixed bug in list element
	 view due to bad js action of the form.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6932 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-04 15:58:48 +00:00
mdtrooper 60db76bc53 2012-06-11 Miguel de Dios <miguel.dedios@artica.es>
* 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
2012-06-11 10:24:02 +00:00
Ramon Novoa 5d83e0e461 2012-06-08 Ramon Novoa <rnovoa@artica.es>
* include/db/postgresql.php,
	  include/db/mysql.php,
	  include/db/oracle.php,
	  include/config_process.php,
	  include/functions_db.php,
	  operation/agentes/datos_agente.php: Merged from 4.0 branch. Fixed and
	  improved the history database feature.

	* include/graphs/fgraph.php: Merged from 4.0 branch. Protect against
	  accidental output that might corrupt an image.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6460 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-08 12:18:03 +00:00
zarzuelo a668e7a00e 2012-04-16 Sergio Martin <sergio.martin@artica.es>
* 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
2012-04-16 15:34:54 +00:00
zarzuelo 9a15d57273 2012-03-08 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/graphs/functions_flot.php
	include/graphs/flot/pandora.flot.js
	include/graphs/fgraph.php
	operation/agentes/stat_win.php: Fixed some graph bugs, change the
	string graph from bars to area and added formatting to xAxis of
	area graphs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5725 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-08 16:32:11 +00:00
zarzuelo 298df87ca5 2012-03-08 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/graphs/functions_flot.php
	include/graphs/flot/pandora.flot.js
	include/graphs/fgraph.php
	operation/agentes/stat_win.php: Adapted events slice graph to
	the sparse/boolean/string graph. Fix some bugs on menu and legend 
	graphs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5721 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-08 12:32:59 +00:00
zarzuelo 766c828043 2012-03-07 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_flot.php
	include/graphs/flot/pandora.flot.js
	include/graphs/fgraph.php
	include/functions_custom_graphs.php
	godmode/reporting/graph_builder.main.php: Improve the graphs menu adjusting
	the graph menu relatively to the parent layer



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5710 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-07 15:39:50 +00:00
zarzuelo b42a6743e1 2012-03-06 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/graphs/functions_pchart.php
	include/graphs/functions_flot.php
	include/graphs/flot/pandora.flot.js
	include/graphs/fgraph.php
	include/pchart_graph.php
	include/FusionCharts
	include/pChart
	include/functions_ui.php
	images/chart_curve_threshold.png: Clean graphs code 
	and add threshold (warning and critical min)

	* operation/reporting/reporting_viewer.php
	include/functions_reporting.php: Improve the top_n
	merged from 4.0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5697 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-06 17:23:46 +00:00
mdtrooper 912f5ff9e3 2012-03-05 Miguel de Dios <miguel.dedios@artica.es>
* pandora_console/include/graphs/functions_flot.php: added the function
	"include_javascript_dependencies_flot_graph" for to do more carefuly the
	include javascripts and javascript hardcore wrote code (once time) and added
	call into all functions this function. And into the function
	"flot_hcolumn_chart " fixed the init var $return. And removed hack to use
	two versions of jquery.
	
	* pandora_console/include/graphs/flot/pandora.flot.js: removed the hack to
	use two versions of jquery.
	
	* pandora_console/include/functions_ui.php: into the function
	"ui_process_page_head" call the "include_javascript_dependencies_flot_graph"
	it is enabled the flash_chart in $config.
	
	* pandora_console/include/graphs/fgraph.php,
	pandora_console/include/include_graph_dependencies.php: removed old
	include for old flash chart library.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5695 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-05 19:25:02 +00:00
mdtrooper c27b9c6a22 2012-03-05 Miguel de Dios <miguel.dedios@artica.es>
* 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
2012-03-05 17:56:56 +00:00
zarzuelo 4f99067b37 2012-03-05 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/graphs/functions_flot.php
	include/graphs/FusionCharts
	include/graphs/functions_fsgraph.php
	include/graphs/fgraph.php
	operation/agentes/estado_generalagente.php
	godmode/db/db_info.php: Removed FlashCharts library
	and clean graphs code



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5691 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-05 10:26:34 +00:00
zarzuelo 36b2e0925f 2012-03-01 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/graphs/functions_flot.php
	include/graphs/flot
	include/graphs/flot/jquery.flot.resize.min.js
	include/graphs/flot/jquery.flot.min.js
	include/graphs/flot/pandora.flot.js
	include/graphs/flot/jquery.flot.symbol.min.js
	include/graphs/flot/jquery.flot.selection.min.js
	include/graphs/flot/jquery.flot.stack.min.js
	include/graphs/flot/jquery.flot.threshold.js
	include/graphs/flot/jquery.flot.pie.min.js
	include/graphs/flot/jquery.flot.crosshair.min.js
	include/graphs/fgraph.php
	include/graphs/functions_utils.php
	include/javascript/pandora.js
	include/javascript/jquery.mousewheel.js
	include/javascript/jquery-1.6.1.min.js
	include/ajax/events.php
	include/include_graph_dependencies.php
	operation/agentes/estado_generalagente.php
	operation/agentes/stat_win.php
	images/zoom_cross.png
	images/zoom_cross.disabled.png
	images/chart_curve_overview.png
	godmode/setup/setup_visuals.php
	godmode/users/configure_user.php: Added a new graphs engine (Flot) and
	replace the old flash charts by it.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5685 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-01 16:41:02 +00:00
juanmanuelr cdbe314418 2012-02-27 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php: Added avg_only option to boolean 
	graphs, string graphs have more space between elements in legend,
	added units to all graphs.
	* include/graphs/functions_fsgraph.php: Added unit to flash chart
	of type 2D column.
	* include/graphs/fgraph.php: Added unit to static version.
	* include/functions_forecast.php: Fixed division by zero in 
	projection graphs when all data is zero.
	* operation/agentes/stat_win.php: Added avg_only option for boolean
	graph. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5653 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-27 16:20:28 +00:00
zarzuelo bf4c0f1553 2012-02-13 Sergio Martin <sergio.martin@artica.es>
* 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
2012-02-13 13:25:29 +00:00
zarzuelo 684d204b39 column of the global modules search
2011-12-22  Sergio Martin <sergio.martin@artica.es>

	* include/functions_graph.php: Fixed Date formats in graph
	axis to avoid loss data
	
	* include/functions_custom_graphs.php: Fixed number of hours of
	a week in the graphs combo




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5298 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-22 18:42:50 +00:00
juanmanuelr b06e9a731a 2011-11-29 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php
        include/graphs/fgraph.php: Fixed custom graphs exportation to 
        PDF.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5205 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-29 16:07:44 +00:00
juanmanuelr ce8f293f4b 2011-11-04 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php 
	 include/graphs/fgraph.php
	 include/functions_reporting.php
	 operation/agentes/ver_agente.php: Modules in 'top_n' reports are 
	 sorted and graphs are displayed.
	 
	 Fixes: #3422013



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5113 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-04 12:03:13 +00:00