Commit Graph

199 Commits

Author SHA1 Message Date
mdtrooper 0be8792b01 Killing unicorns and magic numbers. 2015-06-11 20:45:40 +02:00
mdtrooper 89cac169f4 Clean the source code style. 2015-06-08 11:05:19 +02:00
m-lopez-f c2ce4fddf4 fixed distance to show box data to graph in agent view, tiquet: #2161 2015-05-04 16:34:25 +02:00
m-lopez-f ffd099c782 Changed for fixed visual of metaconsole 2015-03-30 10:17:35 +02:00
m-lopez-f e0e531bf05 Add field to custom line widht to custom graph tiquet: #1875 2015-03-17 15:36:24 +01:00
mdtrooper 52e3926c71 Fixed the icons of menu on combined charts. TICKET: #1869
(cherry picked from commit 380cddc4d4)
2015-03-02 13:13:27 +01:00
mdtrooper 66feffb0f7 Fixed the menu buttons in charts. TICKET: #1818
(cherry picked from commit dac81d2640)
2015-02-19 12:52:41 +01: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
m-lopez-f c0a2b0385d Change style en view graph of tree view
(cherry picked from commit 7e13fbc388)
2015-01-29 09:41:43 +01:00
mdtrooper 9019b9c78f Fixed the bar charts with all values equal to 0. 2014-12-11 13:48:51 +01:00
mdtrooper 631f0ee2b7 Fixed the lost hash user in the links from metaconsole to the nodes. 2014-11-25 11:07:41 +01:00
Alejandro Gallardo Escobar 02b18ee1d1 Fixed an error on the function "flot_area_graph" 2014-10-13 14:13:31 +02:00
mdtrooper 38d352ebe1 Fixed the limits of warnings/critical (the line) that freezed the legend. Ticket #1287 2014-10-01 11:18:03 +02:00
mdtrooper a4c1b8396d Fixed lost parameter background color in flot graphs. TICKET #1306 2014-09-23 13:02:49 +02:00
alexhigh 34ea647346 2014-08-21 Alejandro Gallardo <alejandro.gallardo@artica.es>
* include/functions_graph.php: Improved the function
	"graph_monitor_wheel" to remove the html encoding.
	
	* include/graphs/pandora.d3.js: Mayor improvements
	on the function "solarburst".


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10440 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-21 10:15:12 +00:00
alexhigh 825852d324 2014-08-05 Alejandro Gallardo <alejandro.gallardo@artica.es>
* general/main_menu.php: Fixed the menu position when
	it's fixed and the header's not.

	* include/functions_graph.php,
	  include/graphs/pandora.d3.js: Added colors to the elements
	depending on their status on the functions 'sunburst' and
	'graph_monitor_wheel'.

	* include/styles/pandora.css: Fixed the z-index of the
	shortcut bar.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10382 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-05 13:09:46 +00:00
alexhigh 798d099f98 2014-07-30 Alejandro Gallardo <alejandro.gallardo@artica.es>
* include/functions_graph.php: Finished the function
	"graph_monitor_wheel". This function returns a sunburst
	graph representing all the group>agent>module group>module
	hierarchy.
	
	* include/functions_groups.php: Added the function
	"groups_get_tree". This function returns an array representing
	the group hierarchy of the passed groups array.

	* include/graphs/pandora.d3.js: Improved the function
	"sunburst". Now this graph can show tooltips.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10366 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-30 15:58:27 +00: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
alexhigh 086dda7d90 2014-06-26 Alejandro Gallardo <alejandro.gallardo@artica.es>
* operation/netflow/nf_live_view.php,
	  godmode/netflow/nf_edit.php,
	  godmode/servers/manage_recontask_form.php,
	  godmode/servers/plugin.php,
	  godmode/setup/setup_general.php: Added messages to
	warn about incompatibilities for Windows users.

	* include/functions_graph.php: Added the function
	"graph_monitor_wheel".

	* include/graphs/functions_d3.php: Added the function
	"d3_sunburst_graph".

	* include/graphs/pandora.d3.js: Added the function "sunburst".


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10291 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-26 11:32:14 +00:00
alexhigh e9d05381af 2014-06-24 Alejandro Gallardo <alejandro.gallardo@artica.es>
* include/graphs/pandora.d3.js: Fixed some errors on
	the graph created by the function "treeMap".


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10279 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-24 14:04:44 +00:00
zarzuelo 68da06d3fe 2014-06-18 Sergio Martin <sergio.martin@artica.es>
* include/graphs/flot/pandora.flot.js: Fixed position of the
	event information box in flot modules graphs when click on
	events "ball" for ticket: #948



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10229 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-18 08:56:37 +00:00
zarzuelo 7bfc11cab9 2014-06-17 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_flot.php: Fix height of the 
	div with events info in graphs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10222 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-17 15:42:31 +00:00
alexhigh 61d99d8381 2014-06-13 Alejandro Gallardo <alejandro.gallardo@artica.es>
* godmode/agentes/module_manager_editor_plugin.php,
	  include/javascript/pandora_modules.js: Fixed an error
	that created duplicated macro fields when selecting
	a local component module #927.
	
	* include/graphs/flot/pandora.flot.js: Now the spacing
	of the vertical data description is automatic.

	* include/styles/pandora_black.css: Visual changes.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10182 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-13 08:39:11 +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
alexhigh b93b4c35b3 2014-06-11 Alejandro Gallardo <alejandro.gallardo@artica.es>
* godmode/users/configure_user.php: Fixed some input
	properties.

	* include/graphs/functions_flot.php: Added an option
	to set the width to auto on the function "flot_vcolumn_chart".

	* include/graphs/flot/pandora.flot.js: Increased the tick size
	of the vertical labels on the function "pandoraFlotVBars".


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10163 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-11 11:34:27 +00:00
mdtrooper 11e9271316 2014-06-09 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php, general/login_page.php: improved
	the source code style.
	
	* godmode/setup/os.builder.php: fixed the form.
	
	* godmode/update_manager_xxx/*, godmode/menu.php,
	include/functions_update_manager.php,
	include/ajax/update_manager.ajax.php,
	include/graphs/functions_gd.php, include/graphs/functions_flot.php,
	include/config_process.php, include/javascript/update_manager.js,
	include/javascript/jquery.knob.js,
	include/javascript/jquery.iframe-transport.js,
	include/javascript/jquery.fileupload.js, images/check-cross.png:
	first version of new update manager.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10144 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-09 13:33:55 +00:00
zarzuelo 0f2c9f28c5 2014-06-04 Sergio Martin <sergio.martin@artica.es>
* include/constants.php
	include/functions_graph.php
	include/functions_reporting.php
	include/graphs/functions_pchart.php
	include/graphs/functions_flot.php
	include/functions.php
	include/functions_events.php: Fix a lot of errors
	on events items on reports using now the same query 
	as events view, etc.

	* include/styles/pandora.css: Little aesthetic
	improvement in focus buttons and unset webfont



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10105 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-04 14:05:20 +00:00
zarzuelo f067dd83b0 2014-06-03 Sergio Martin <sergio.martin@artica.es>
* general/news_dialog.php: Fix a bug in modal window news that
	did incompatible with "first time" modal help

	* include/graphs/functions_gd.php: Add a white background to the 
	progress bars



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10087 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-03 08:39:39 +00:00
alexhigh b00614eb63 2014-06-02 Alejandro Gallardo <alejandro.gallardo@artica.es>
* godmode/setup/setup_visuals.php,
	  include/functions_config.php: Added a new config token
	to hold a custom path for the graphviz binaries.

	* include/functions_networkmap.php: Minor fixes on the
	functions "networkmap_create_module_node" and
	"networkmap_open_graph".

	* operation/agentes/networkmap.groups.php,
	  operation/agentes/networkmap.topology.php: Modified to
	support the custom graphviz directory, blanks in paths, etc.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10080 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-02 17:36:00 +00:00
mdtrooper 9b123de8a3 2014-05-29 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/pandora.d3.js, include/graphs/functions_d3.php,
	operation/agentes/networkmap.dinamic.php: fixed the css for the
	m$-internet exploter 11. Please Bill Gates travels to Leon.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10040 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-29 15:50:21 +00:00
alexhigh e496bce528 2014-04-23 Alejandro Gallardo <alejandro.gallardo@artica.es>
* godmode/setup/setup_netflow.php: Added a prompt dialog
	to warning about the time increase caused by the address
	resolution.

	* include/functions_graph.php: Added the functions
	"graph_netflow_circular_mesh" and "graph_netflow_host_traffic".

	* include/functions_netflow.php: Added the function
	"netflow_get_record". Added IP address resolution. Added
	two new netflow live view items: "host detailed traffic" and
	"circular mesh". Error fixes on several functions.

	* include/graphs/functions_d3.php: Added the function
	"d3_tree_map_graph".
	Improved the function "d3_relationship_graph".

	* include/graphs/pandora.d3.js: Added the function "treeMap".
	Improved the function "chordDiagram".


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9801 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-04-23 09:34:00 +00:00
alexhigh 52f1c97842 2014-04-16 Alejandro Gallardo <alejandro.gallardo@artica.es>
* godmode/setup/setup_netflow.php: Added a radio buttons
	to activate or deactivate the name resolution for ip addresses.

	* include/functions_config.php: Added the name resolution by
	if to the funcion "config_update_config".

	* include/functions_graph.php: Added 50px to the width of the
	pie of the function "graph_netflow_aggregate_pie".

	* include/functions_netflow.php: Improved the styles of the
	netflow report tables.

	* include/graphs/flot/pandora.flot.js: Now the legend items
	show the percentage when the pie labels are hidden.

	* pandora_console/include/graphs/functions_d3.php,
	  pandora_console/include/graphs/pandora.d3.js: Added files.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9771 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-04-16 12:06:19 +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
zarzuelo 4ef2cc0062 2014-01-13 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_flot.php: fix unecessary space under the
	area graphs when menu is not setted. If is setted, this space is
	for the overview graph. Incident #499



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9313 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-13 10:29:12 +00:00
zarzuelo ed2e4e5896 2014-01-09 Sergio Martin <sergio.martin@artica.es>
* include/graphs/flot/pandora.flot.js
	include/graphs/functions_flot.php: Fixed problem with the overview
	graph in IE9 for incident #477



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9304 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-09 15:02:28 +00:00
zarzuelo 3cbad38c79 2013-12-13 Sergio Martin <sergio.martin@artica.es>
* include/graphs/flot/pandora.flot.js: Fixed wrong
	condition of minimum height of menu.
	Incident #417



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9221 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-12-13 09:22:15 +00:00
zarzuelo d1789ba232 2013-12-12 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_flot.php
	include/graphs/flot/pandora.flot.js
	include/javascript/pandora.js
	include/styles/pandora.css
	operation/agentes/stat_win.php: A lot of fixes on the
	javascript graphs to be shown correctly in IE. Tested
	and working fine on IE9 with compatibility mode on.
	Incident: #417



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9216 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-12-12 14:49:36 +00:00
zarzuelo a77beeb7f7 2013-12-11 Sergio Martin <sergio.martin@artica.es>
* include/graphs/flot/pandora.flot.js: Add one decimal
	to pie graphs to don't lose so much precision when 
	percentages are rounded
	Incident #407



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9209 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-12-11 12:57:09 +00:00
mdtrooper 3a215820c1 2013-10-14 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/flot/pandora.flot.js,
	include/graphs/functions_flot.php, operation/agentes/stat_win.php:
	fixed the charts with negative values and a flot type.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8906 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-14 11:48:51 +00:00
zarzuelo 5cd887aba4 2013-10-11 Sergio Martin <sergio.martin@artica.es>
* include/graphs/flot/pandora.flot.js: Fixed strange
	random fail of flot graphs menus and improve allocation
	of this menu. Incident: #253

	* images/normalscreen.png: Change icon to modern style



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8891 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-11 11:20:25 +00:00
zarzuelo e934558823 2013-10-07 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php: Disabled 
	second pass processing in 3d pie chart because
	it was really heavy (13 seconds chargin a simple
	pie is unacceptable)




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8860 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-07 09:24:11 +00:00
zarzuelo 6baec3b7a4 2013-09-30 Sergio Martin <sergio.martin@artica.es>
* include/graphs/pChart/pPie.class.php: Fix reversed colors bug in
	3D pie graphs

	* godmode/reporting/reporting_builder.item_editor.php: Hide Server combo
	when metaconsole is not enabled.

	* include/javascript/jquery.pandora.js: Increase width of license
	dialog



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8831 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-30 13:24:09 +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
zarzuelo 9e4f937253 2013-07-22 Sergio Martin <sergio.martin@artica.es>
* include/graphs/flot/pandora.flot.js: Fixed access to 
	events from graphics in metaconsole for bug #2335



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8552 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-22 11:34:39 +00:00
mdtrooper ede3a9a368 2013-07-17 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/configurar_agente.php: fixed the default value for
	"prediction_module" in tagente_module.
	
	* include/graphs/functions_flot.php,
	include/graphs/functions_pchart.php,
	include/graphs/functions_gd.php, include/graphs/functions_utils.php,
	include/javascript/pandora_alerts.js,
	include/javascript/pandora_modules.js,
	include/javascript/pandora_events.js,
	include/functions_network_components.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8535 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-17 11:12:37 +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 3eed1ff8be 2013-07-16 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/flot/pandora.flot.js,
	include/functions_networkmap.php, include/constants.php,
	include/ajax/agent.php, include/ajax/events.php: improve the
	source code and remove the magic number and they changed for
	constants.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8527 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-16 09:09:50 +00:00
zarzuelo 69dddffd0f 2013-07-11 Sergio Martin <sergio.martin@artica.es>
* include/graphs/pChart/pPie.class.php: Fix the colors of the
	legend when we want to have legend of data that not appears
	in the pie. Merge from 4.1

	* operation/users/user_edit.php: Fix repeated select control
	for main page in workspace section

	* godmode/servers/modificar_server.php: Fix crash in
	servers view



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8516 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-11 11:11:16 +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 8e5612bc2b 2013-06-20 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/functions_pchart.php: fixed the graphs with all
	values in negative Y axis. Now it shows correct.
	
	Fixes: #2302
	
	MERGED FROM THE BRANCH PANDORA_4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8367 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-20 12:59:22 +00:00