Commit Graph

1839 Commits

Author SHA1 Message Date
mdtrooper d68b6be81e 2012-03-22 Miguel de Dios <miguel.dedios@artica.es>
& Sergio Martin <sergio.martin@artica.es> using Gobby collaborative
	real-time editor http://obby.0x539.de
	
	* include/functions.php: changed into the function "get_report_types" the
	array types to tree for show better the select box, and changed into the
	function "get_report_name".
	
	* include/functions_forecast.php: fixed into the function
	"forecast_projection_graph" when zero data and change to user the user conf
	style for the dates.

	* include/functions_html.php: the function "html_debug_print" was improved
	to show type and sizes.

	* include/functions_reporting.php: renamed the function "header_content" to
	"reporting_header_content" and in this function change to use the user conf
	style for the dates.
	
	* include/functions_networkmap.php: cleaned source code style.
	
	Merged from the branch pandora_4.0
	



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5816 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-22 12:14:15 +00:00
zarzuelo 8cc38eed0a 2012-03-22 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	include/javascript/pandora.js
	operation/agentes/stat_win.php: Fixed period control
	in the popup graph menu (stat_win) merged from 4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5811 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-22 11:22:07 +00:00
zarzuelo f7864144db 012-03-21 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	include/javascript/pandora.js
	include/functions.php
	include/functions_alerts.php
	godmode/alerts/configure_alert_template.php
	godmode/alerts/alert_list.builder.php: Improved the
	periods control and added it to the alerts action threshold 
	and alert template threshold



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5805 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-21 10:58:52 +00:00
zarzuelo 52f6fa92b0 2012-03-21 Sergio Martin <sergio.martin@artica.es>
* include/config_process.php
	include/functions.php
	include/constants.php: Add a new include file
	only for constants



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5804 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-21 08:50:14 +00:00
zarzuelo 172e349dd9 2012-03-20 Sergio Martin <sergio.martin@artica.es>
* include/functions.php: Recoded the human_time_description_raw
	function fixing bugs and improving exactly mode even years accuracy



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5802 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-20 16:45:32 +00:00
zarzuelo dfca5db6da 2012-03-20 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php
	operation/reporting/reporting_viewer.php
	godmode/reporting/reporting_builder.php: Improved period form in the
	report view and navegability merged from 4.0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5801 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-20 15:17:44 +00:00
mdtrooper 1047be10a4 2012-03-20 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: now the function
	"html_print_input_text_extended" accept a script code as string for event
	"keyup" or as array where the index is string for each event where you want
	add javascript code. And make more pretty the page of report and cleaned
	source code style. 

	* include/functions_reporting.php,
	godmode/reporting/reporting_builder.list_items.php,
	godmode/reporting/reporting_builder.php: changed the old method to order
	items in a report for the method with checks and move the block of items.

	* godmode/reporting/reporting_builder.preview.php: removed this file, now
	it use the html view in operation. 
	
	Merged from the branch pandora_4.0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5796 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-20 11:46:24 +00:00
zarzuelo 0d12b9f38a 2012-03-20 Sergio Martin <sergio.martin@artica.es>
* include/functions_visual_map.php
	operation/visual_console/public_console.php: Fixed the
	public visual console graphs adding homeurl



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5792 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-20 11:03:06 +00:00
zarzuelo ec8ea7dff9 2012-03-20 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora.js
	godmode/reporting/visual_console_builder.editor.js
	godmode/reporting/visual_console_builder.editor.php: add
	new period control to the visual console graph item editor




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5790 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-20 10:03:22 +00:00
zarzuelo 84b8b300c7 2012-03-16 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora.js: Fixed typo bug from last
	commit



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5786 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-16 12:08:10 +00:00
zarzuelo 4ce050d774 2012-03-16 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	include/javascript/pandora.js: Fixed problem with two 
	or more time controls at the same time adding uniq id
	to selects

	* godmode/agentes/module_manager_editor_common.php
	godmode/reporting/reporting_builder.item_editor.php: Clean
	code



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5785 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-16 12:03:59 +00:00
zarzuelo 3b633261c6 2012-03-16 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	include/javascript/pandora.js
	images/pencil.png
	images/default_list.png: Improved the usability
	of the periods advanced control toggling between
	manual and default mode



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5784 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-16 09:23:09 +00:00
zarzuelo 975d31d87e 2012-03-15 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora.js: Fix a little bug
	of default value in time advance control

	* operation/reporting/graph_viewer.php
	godmode/reporting/graph_builder.php
	godmode/reporting/graph_builder.preview.php: Remove 
	the preview graphs and replace it by link of the
	operation mode



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5779 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-15 18:35:23 +00:00
zarzuelo 3ce5a68cff 2012-03-15 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora.js
	godmode/agentes/module_manager_editor_common.php: Added 
	advanced select for time to modules create/update form,
	improve layout of this form and add default value of 
	5 minutes to select



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5776 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-15 17:30:13 +00:00
zarzuelo b7fe0fe3dc 2012-03-15 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	include/javascript/pandora.js
	include/functions_custom_graphs.php
	include/functions.php
	operation/agentes/datos_agente.php
	operation/agentes/gis_view.php
	operation/agentes/graphs.php
	operation/agentes/stat_win.php
	operation/reporting/graph_viewer.php
	mobile/operation/agents/view_agents.php
	godmode/agentes/agent_manager.php
	godmode/massive/massive_edit_agents.php
	godmode/reporting/graph_builder.main.php
	godmode/reporting/reporting_builder.item_editor.php
	godmode/reporting/graph_builder.preview.php: changed the 
	html_print_extended_select_for_time function to select
	easily the custom period and do it genericly.
	Clean all the calls to this function and unify the 
	combo periods.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5775 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-15 16:03:51 +00:00
hkosaka 4265abe9ba 2012-03-15 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_api.php: Fixed the function "set_new_agent"
	to refer to the proper $config.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5772 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-15 02:57:16 +00:00
mdtrooper 0258f67211 2012-03-14 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: fixes and changes for to show better the
	html reports.
	
	* include/functions_groups.php: cleaned source code.
	
	* include/functions.php: fixed and changed the function "string2image" to
	create the text with any size and use ttf font.
	
	Merged from the branch pandora_4.0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5770 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-14 18:08:40 +00:00
vgilc bbce8c546d 2012-03-14 Vanessa Gil <vanessa.gil@artica.es>
* godmode/alerts/alert_actions.php
	  godmode/alerts/alert_commands.php
  	  godmode/alerts/alert_templates.php
	  godmode/alerts/configure_alert_template.php
	  godmode/modules/manage_nc_groups.php
	  godmode/modules/manage_netwok_components.php
	  godmode/modules/manage_network_templates.php
	  godmode/modules/manage_network_templates_form.php
	  godmode/reporting/graph_builder.php
	  godmode/reporting/graphs.php
	  godmode/reporting/map_builder.php
	  godmode/reporting/reporting_builder.php
	  godmode/reporting/visual_console_builder.php
	  godmode/snmpconsole/snmp_alert.php
	  godmode/tag/edit_tag.php
	  godmode/tag/tag.php
	  include/functions_config.php
	  include/functions_events.php: Extended system audit log.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5769 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-14 17:51:39 +00:00
mdtrooper 212aec5bfd 2012-03-14 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/functions_pchart.php: fixed into function
	"pch_slicebar_graph" unset var $antialias.

	Merged bugfix from branch pandora_4.0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5765 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-14 12:30:36 +00:00
mdtrooper afff585489 2012-03-13 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.preview.php: fixed when the Pandora
	have not enterprise part and show "-1" instead empty string.

	* operation/reporting/reporting_viewer.php: added the enterprise posibility
	to generate PDF from this report. And added the posibility to go to edit the
	report from this page. Finally fixed the hidden first row of form, now show
	again the check to select method to calculate and the title and other
	things.

	* include/functions_ui.php: fixed into the function "ui_print_page_header"
	when the header have not any active tab.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5758 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-13 16:56:39 +00:00
mdtrooper d4edd1a05d 2012-03-13 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.preview.php: fixed the calendar js
	show, fixed the double update button and added the enterprise posibility to
	generate PDF from this report.
	
	* include/javascript/pandora.js: fixed the re-enable the module list widget
	when sometimes start as disabled.

	* include/functions_reporting.php, operation/reporting/reporting_viewer.php:
	cleaned source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5757 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-13 16:01:36 +00:00
mdtrooper b0f9417be5 2012-03-13 Miguel de Dios <miguel.dedios@artica.es>
* 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
2012-03-13 13:14:28 +00:00
juanmanuelr 2d43f001f8 2012-03-13 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php: Removed legend in 
	graphic_module_events function due to attachment overload.
	* include/functions_agents.php: Non-init count was bad because 
	normal modules are counted too.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5753 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-13 11:29:13 +00:00
mdtrooper 6a566fd1da 2012-03-12 Miguel de Dios <miguel.dedios@artica.es>
* 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
2012-03-12 19:30:12 +00:00
mdtrooper f926c13b00 2012-03-12 Miguel de Dios <miguel.dedios@artica.es>
* 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
2012-03-12 19:05:14 +00:00
mdtrooper ff2d9b1ded 2012-03-12 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: into the function "html_print_select" removed
	the hardcode style for the selectbox.
	
	* godmode/reporting/visual_console_builder.wizard.php: force the style of
	content table of form.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5746 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-12 18:53:32 +00:00
mdtrooper 56dfd72f2b 2012-03-12 Miguel de Dios <miguel.dedios@artica.es>
* 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
2012-03-12 18:31:15 +00:00
juanmanuelr 78377dda0d 2012-03-12 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_ui.php: Skin is not used on logon error.
	
	Fixes: #3464062
	
	* godmode/menu.php: Delete autorefresh in Pandora db interface.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5741 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-12 17:40:53 +00:00
mdtrooper 1a7e768984 2012-03-12 Miguel de Dios <miguel.dedios@artica.es>
* 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
2012-03-12 17:28:23 +00:00
mdtrooper 1f32205056 2012-03-12 Miguel de Dios <miguel.dedios@artica.es>
* 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
2012-03-12 16:23:50 +00:00
mdtrooper c7b0698aa2 2012-03-09 Miguel de Dios <miguel.dedios@artica.es>
* 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
2012-03-09 11:47:56 +00:00
zarzuelo 9617c18286 2012-03-09 Sergio Martin <sergio.martin@artica.es>
* include/graphs/flot/pandora.flot.js: Fixed a xAxis bad 
	tick calculating and added some transparency to graph areas



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5731 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-09 10:51:25 +00:00
mdtrooper 6f1f063085 2012-03-08 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql, pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql,
	extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql: added the field
	shortcut_data for to save as serialize the quick links.

	* general/shortcut_bar.php: added code to new feature to save in the
	sortcut the important links for quick access.

	* include/functions_menu.php, godmode/agentes/modificar_agente.php: added
	class "item_drag_shortcut" to links for drag to shorcut. For make a example.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5729 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-08 18:09:21 +00:00
slerena 4db6d2c80a 2012-03-08 Sancho Lerena <slerena@artica.es>
* include/functions_visual_map.php
	operation/visual_console/public_console.php
	operation/visual_console/render_view.php: Changes for new feature
	"Public Visual Console".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5728 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-08 17:55:31 +00:00
vgilc a1531c0fcf 2012-03-08 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.sql
	  pandoradb.oracle.sql
	  pandoradb.postgreSQL.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql: Added fields
	'section' and 'data_section' to tusuario.

	* index.php
	  include/functions.php
	  operation/users/user_edit.php: Customize home screen.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5726 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-08 16:42:31 +00:00
zarzuelo 72cd763711 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
mdtrooper b3335a3240 2012-03-08 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/jquery-1.7.1.js,
	include/javascript/jquery-1.7.1.min.js, include/functions_ui.php: changed
	the library the version compress to readable version.
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5722 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-08 13:01:23 +00:00
zarzuelo 4fa4605ca0 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 05dae5868d 2012-03-07 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/graphs/flot/pandora.flot.js
	operation/agentes/stat_win.php: Fixed several sparse
	graph bugs and stabilize code with new jquery system
	of miguel work



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5711 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-07 17:58:15 +00:00
zarzuelo cb2308b2d0 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
mdtrooper b41cf30286 2012-03-07 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/jquery.mousewheel.min.js: removed old version this
	library incompatible with the last version of jquery.
	 
	* include/javascript/jquery.mousewheel.js: added the last version (3.0.6) of
	this library for jquery.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5709 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-07 14:13:49 +00:00
mdtrooper a2d495aab5 2012-03-07 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/functions_flot.php: upload lost changes in previous
	commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5708 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-07 11:03:22 +00:00
mdtrooper be037611d8 2012-03-07 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/jquery-1.6.1.min.js: removed this file because the
	console use the last jquery library.
	
	* operation/search_agents.php: clean source code style.
	
	* include/graphs/functions_flot.php, include/graphs/flot/pandora.flot.js:
	fixed the lost unit in the style of the divs for the graphs, into the
	function "pandoraFlotArea" check the alerts.lenght for empty strings, into
	the function "updateLegend" check empty string for to var
	"item.series.label", into the function "get_event_details" check empty var
	"event_ids" and into the function "flot_area_graph" check empty var in
	$long_index.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5707 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-07 10:53:06 +00:00
mdtrooper 6e0f14e2b6 2012-03-07 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/functions_gd.php: fixed into the function
	"gd_progress_bubble" when the $progress is upper to 100% or lower 0% show
	the image "out of limits".
	
	Merge from the branch "pandora_4.0"



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5705 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-07 09:50:54 +00:00
zarzuelo e6e172613e 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 79a86bc4d2 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 013585da6a 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 77c33c75a9 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 f7c0726660 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 d100f24635 2012-02-28 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/javascript/pandora_modules.js: "snmpwalk" button is 
	disabled after click on that button to avoid duplicate requests.
	
	Fixes: #3476128



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5674 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-29 11:56:26 +00:00