Commit Graph

6780 Commits

Author SHA1 Message Date
ramonn 94c7a2637e 2013-05-06 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Syntactic fix. Fixes bug #2173.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8102 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-06 10:34:01 +00:00
jsatoh 44c8bdad51 2013-05-04 Junichi Satoh <junichi@rworks.jp>
* mobile/include/ui.class.php: Added charset.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8099 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-04 01:39:52 +00:00
jsatoh 7ed26566f1 2013-05-04 Junichi Satoh <junichi@rworks.jp>
* mobile/index.php, mobile/include/user.class.php,
	include/functions.php: Fixed i18n failure in the mobile console.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8098 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-04 00:29:16 +00:00
ramonn 16ca79f181 2013-05-03 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm: Add a default module_interval.

	* util/pandora_db.pl: Moved data deletion code to a generic function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8097 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-03 18:00:53 +00:00
jsatoh 160b857672 2013-05-03 Junichi Satoh <junichi@rworks.jp>
* include/functions_graph.php: Fixed warnings



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8095 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-03 08:19:07 +00:00
mdtrooper 21d1e9eef8 2013-05-01 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/agent_manager.php: improved the source code style.
	
	* godmode/agentes/configurar_agente.php: fixed the agents address
	with white spaces in the both sides.
	
	Fixes: #2171




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8094 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-01 12:09:57 +00:00
markholland 27427c0748 2013-05-01 Mark Holland <mark@mark-holland.me.uk>
* src/pandroid/agent/PandroidAgentListener.java: Changed gps module
	to update coordinates after a time of "interval" AND "15 metres" if
	no change then uses lastKnownLocation.

	* Pandroid Agent v3.0_iso-8859-1.apk: Updated to latest version.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8093 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-01 04:02:47 +00:00
markholland 9a7711331b 2013-05-01 Mark Holland <mark@mark-holland.me.uk>
* Connect to new svn


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8092 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-01 02:05:27 +00:00
mdtrooper cae521f4ab 2013-05-01 Miguel de Dios <miguel.dedios@artica.es>
* extensions/system_info.php, extensions/agents_modules.php,
	extensions/vnc_view.php, extensions/users_connected.php,
	extensions/update_manager/lib/libupdate_manager.php,
	extensions/update_manager/lib/libupdate_manager_updates.php,
	extensions/snmp_explorer.php, extensions/insert_data.php,
	operation/agentes/tactical.php: improved the source code.
	
	* include/functions_reporting.php: fixed the links of list modules.
	
	Fixes: #3612243




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8091 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-30 22:20:22 +00:00
zarzuelo b94fa68180 2013-04-30 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/agent_template.php: Add tags creation
	in module tamplates application for bug #3611909



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8090 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-30 15:49:05 +00:00
zarzuelo 0026e3cc53 2013-04-30 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/reporting_builder.item_editor.php: 
	Reporting builder layout and hide graph per agent option
	in agent events item for bug #3611908



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8089 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-30 14:13:33 +00:00
zarzuelo 4c27d3e443 2013-04-30 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/estado_generalagente.php
	images/network_small.png
	images/so_win.png
	images/so_aix.png
	images/so_aix_small.png
	images/os_icons/so_win.png
	images/os_icons/so_linux.png
	images/os_icons/so_cisco.png
	images/os_icons/so_bsd_small.png
	images/os_icons/so_mac.png
	images/os_icons/so_vmware.png
	images/os_icons/so_solaris_small.png
	images/os_icons/android_small.png
	images/os_icons/so_bsd.png
	images/os_icons/so_aix_small.png
	images/os_icons/so_other_small.png
	images/os_icons/so_hpux_small.png
	images/os_icons/so_solaris.png
	images/os_icons/android.png
	images/os_icons/embedded_small.png
	images/os_icons/network_small.png
	images/os_icons/so_aix.png
	images/os_icons/so_other.png
	images/os_icons/so_hpux.png
	images/os_icons/so_win_small.png
	images/os_icons/so_linux_small.png
	images/os_icons/so_cisco_small.png
	images/os_icons/network.png
	images/os_icons/embedded.png
	images/os_icons/so_mac_small.png
	images/os_icons/so_vmware_small.png
	images/so_cisco_small.png
	images/so_win_small.png
	images/so_hpux_small.png
	images/so_mac_small.png
	images/so_bsd.png
	images/so_linux_small.png
	images/so_cisco.png
	images/so_other.png
	images/so_mac.png
	images/so_other_small.png
	images/so_solaris.png
	images/so_linux.png
	images/so_hpux.png
	images/so_bsd_small.png
	images/so_solaris_small.png: Added new OS
	icons




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8088 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-30 13:50:13 +00:00
zarzuelo d64964f6b8 2013-04-30 Sergio Martin <sergio.martin@artica.es>
* include/styles/pandora.css: Fix bad reposition
	action of bar graphs values in pure mode

	* include/graphs/flot/pandora.flot.js: Fix bad 
	reposition action of bar graphs values when resize
	container

	* include/functions_graph.php: Fix the graph of 
	database info of agents with most modules. Now
	avoid pending delete and the data is showed properly

	* operation/agentes/estado_generalagente.php: Fix a
	missing change of agent view layout fix



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8087 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-30 11:54:37 +00:00
zarzuelo e50bd98831 2013-04-30 Sergio Martin <sergio.martin@artica.es>
* godmode/modules/manage_network_components.php: Added 
	type (network/plugin/wmi) icon near the other type 
	(numeric/string/proc...) in the Type column in
	network components list for bug #3609655



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8086 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-30 10:16:58 +00:00
zarzuelo 78b5a07e31 2013-04-30 Sergio Martin <sergio.martin@artica.es>
* include/styles/pandora.css
	include/functions_groups.php: Fix a little the
	groups view style

	* operation/agentes/estado_generalagente.php: Fix the 
	layout of the agent main view table when url addres is 
	setted for bug #3609651

	* general/header.php: Remove completly the link of
	the autorefresh button from the header when is disabled
	to avoid confusing



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8085 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-30 07:23:40 +00:00
zarzuelo dda3bfd4a3 2013-04-29 Sergio Martin <sergio.martin@artica.es>
* include/styles/pandora.css
	include/functions_ui.php: Fixed various styles of
	header icons and tabs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8084 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-29 14:10:22 +00:00
mdtrooper 4b1ed028a7 2013-04-25 Miguel de Dios <miguel.dedios@artica.es>
* extensions/update_manager/update_pandora.php: cleaned source code
	style.
	
	* include/functions_events.php,
	operation/events/events.build_table.php: show columns by group in
	metaconsole.
	
	Fixes: #3609374




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8083 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-29 14:09:01 +00:00
zarzuelo 481960d32b 2013-04-29 Sergio Martin <sergio.martin@artica.es>
* images/mod_async_proc.png
	images/mod_string.png
	images/mod_snmp_proc.png
	images/mod_data.png
	images/mod_tcp_inc.png
	images/mod_web_data.png
	images/mod_icmp_data.png
	images/mod_async_string.png
	images/mod_image_png.png
	images/mod_proc.png
	images/mod_snmp_string.png
	images/mod_tcp_data.png
	images/mod_web_proc.png
	images/mod_icmp_proc.png
	images/mod_image_jpg.png
	images/mod_log4x.png
	images/mod_async_inc.png
	images/mod_async_data.png
	images/mod_data_inc.png
	images/mod_keepalive.png
	images/mod_snmp_inc.png
	images/mod_snmp_data.png
	images/mod_tcp_string.png
	images/mod_tcp_proc.png: Change module types icons
	to new style



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8082 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-29 12:02:25 +00:00
zarzuelo 1e7a44eedd 2013-04-29 Sergio Martin <sergio.martin@artica.es>
* 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 gis icons
	to new style

	* images/status_sets/faces/severity_informational.png
	images/status_sets/faces/severity_warning_pixel.png
	images/status_sets/faces/agent_critical_ball.png
	images/status_sets/faces/severity_major_pixel.png
	images/status_sets/faces/module_unknown.png
	images/status_sets/faces/module_warning_ball.png
	images/status_sets/faces/module_ok_ball.png
	images/status_sets/faces/module_alertsfired.png
	images/status_sets/faces/severity_maintenance.png
	images/status_sets/faces/agent_no_data_ball.png
	images/status_sets/faces/severity_minor_pixel.png
	images/status_sets/faces/agent_ok_ball.png
	images/status_sets/faces/severity_normal_pixel.png
	images/status_sets/faces/severity_critical.png
	images/status_sets/faces/server_down_ball.png
	images/status_sets/faces/alert_not_fired_ball.png
	images/status_sets/faces/severity_informational_pixel.png
	images/status_sets/faces/module_unknown_ball.png
	images/status_sets/faces/severity_warning.png
	images/status_sets/faces/severity_major.png
	images/status_sets/faces/agent_down_ball.png.png
	images/status_sets/faces/module_no_data_ball.png
	images/status_sets/faces/alert_fired_ball.png
	images/status_sets/faces/agent_warning_ball.png
	images/status_sets/faces/severity_maintenance_pixel.png
	images/status_sets/faces/agent_no_monitors_ball.png
	images/status_sets/faces/alert_disabled_square.png
	images/status_sets/faces/severity_minor.png
	images/status_sets/faces/severity_normal.png
	images/status_sets/faces/severity_critical_pixel.png
	images/status_sets/faces/alert_disabled_ball.png
	images/status_sets/faces/module_critical_ball.png
	images/status_sets/faces/server_ok_ball.png
	images/status_sets/color_text/severity_informational.png
	images/status_sets/color_text/module_critical.png
	images/status_sets/color_text/server_ok.png
	images/status_sets/color_text/alert_not_fired.png
	images/status_sets/color_text/severity_warning_pixel.png
	images/status_sets/color_text/agent_critical_ball.png
	images/status_sets/color_text/severity_major_pixel.png
	images/status_sets/color_text/module_warning_ball.png
	images/status_sets/color_text/module_unknown.png
	images/status_sets/color_text/module_ok_ball.png
	images/status_sets/color_text/module_alertsfired.png
	images/status_sets/color_text/module_no_data.png
	images/status_sets/color_text/severity_maintenance.png
	images/status_sets/color_text/agent_no_data_ball.png
	images/status_sets/color_text/severity_minor_pixel.png
	images/status_sets/color_text/alert_fired.png
	images/status_sets/color_text/agent_ok_ball.png
	images/status_sets/color_text/agent_no_data.png
	images/status_sets/color_text/severity_normal_pixel.png
	images/status_sets/color_text/severity_critical.png
	images/status_sets/color_text/agent_no_monitors.png
	images/status_sets/color_text/agent_ok.png
	images/status_sets/color_text/server_down_ball.png
	images/status_sets/color_text/alert_not_fired_ball.png
	images/status_sets/color_text/server_down.png
	images/status_sets/color_text/severity_informational_pixel.png
	images/status_sets/color_text/module_unknown_ball.png
	images/status_sets/color_text/alert_disabled.png
	images/status_sets/color_text/severity_warning.png
	images/status_sets/color_text/severity_major.png
	images/status_sets/color_text/module_no_data_ball.png
	images/status_sets/color_text/agent_critical.png
	images/status_sets/color_text/module_warning.png
	images/status_sets/color_text/alert_fired_ball.png
	images/status_sets/color_text/severity_maintenance_pixel.png
	images/status_sets/color_text/agent_warning_ball.png
	images/status_sets/color_text/agent_no_monitors_ball.png
	images/status_sets/color_text/alert_disabled_square.png
	images/status_sets/color_text/module_ok.png
	images/status_sets/color_text/severity_minor.png
	images/status_sets/color_text/agent_down_ball.png
	images/status_sets/color_text/severity_normal.png
	images/status_sets/color_text/agent_warning.png
	images/status_sets/color_text/agent_down.png
	images/status_sets/color_text/severity_critical_pixel.png
	images/status_sets/color_text/alert_disabled_ball.png
	images/status_sets/color_text/module_critical_ball.png
	images/status_sets/color_text/server_ok_ball.png
	images/status_sets/default/module_unknown_ball.png: Change all
	the text icons to new styles and add missed icons for bug
	#3611748



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8081 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-29 11:36:28 +00:00
zarzuelo c1e37d9ea5 2013-04-29 Sergio Martin <sergio.martin@artica.es>
* include/php_to_js_values.php: Added a separated file
	to store from php interesting values to ve retrieved 
	from javascript



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8079 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-29 09:24:49 +00:00
zarzuelo 8d1836c547 2013-04-29 Sergio Martin <sergio.martin@artica.es>
* include/functions.php
	include/javascript/pandora_modules.js
	include/javascript/pandora.js
	index.php
	ajax.php: Added a simple system of interchange of
	data from php to javascript with invisible divs.
	Fixed ajax call of server plugin components macros
	for bug 3612145



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8078 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-29 08:59:03 +00:00
markholland 87035e196f 2013-04-28 Mark Holland <mark@mark-holland.me.uk>
* layout/spinner.xml: Changed spinnner text color to green.

	* Pandroid Agent v3.0_iso-8859-1.apk: Updated to latest version.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8077 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-28 21:51:38 +00:00
markholland 7873e09439 2013-04-28 Mark Holland <mark@mark-holland.me.uk>
* AndroidMainfest.xml: Set theme to themes.xml, moved permissions
	and uses to top of file.

	* layout/spinner.xml: Theme for spinner that sets text
	color to grey.	

	* values/themes.xml: For setting theme on devices < sdk 11
	(android 3.0)	

	* values-v11/themes.xml: For setting theme on device above
	sdk 11

	* src/pandroid/agent/Setup.java: Set spinnner to use new
	theme for setting text color

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8076 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-28 04:43:12 +00:00
markholland a27a539b97 2013-04-28 Mark Holland <mark@mark-holland.me.uk>
* assets/database/pandroid.zip: Removed as no longer needed

	* assets/libs/android-sqlite-asset-helper: Removed as no longer 
	needed

	* layout/setup.xml: Disabled autocorrect on server address
	and agent name text edits. Changed all dip to sp. Changed order
	of some objects

	* layout/setupnosim.xml: Disabled autocorrect on server address
	and agent name text edits. Changed all dip to sp. Changed order
	of some objects

	* src/pandroid/agent/Core.java: Reordered lots of code 
	to improve legibility.

	* src/pandroid/agent/DataBaseHandler.java: Removed as 
	no longer needed

	* src/pandroid/agent/DataBaseHandler.java: Removed as 
	no longer needed

	* src/pandroid/agent/HelperSharedPreferences: Removed 
	as no longer needed

	* src/pandroid/agent/PandroidAgent.java: Removed all relating
	to SharedPreferences

	* src/pandroid/agent/PandroidAgentListener.java: loadConf on service
	start. Restored SharedPreferences getter and setter. Notification
	shows the whole time alarm enabled, on stop agent dissapears. On
	connection shows message(unavoidable at current time).

	* src/pandroid/agent/PandroidAgentTentacle.java: Changed socket
	timeout to 2000ms.

	* src/pandroid/agent/Setup.java: Reordered lots of code 
	to improve legibility.

	* src/pandroid/agent/SMSBroadcastReceiver.java: Returned
	to using local SharedPreferences.

	* values: Added value for choosing task to report, odd suggestions.

	* Pandroid Agent v3.0_iso-8859-1.apk: Updated to latest version.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8075 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-28 01:57:17 +00:00
markholland 9f34b2a5bd 2013-04-27 Mark Holland <mark@mark-holland.me.uk>
* Pandroid Agent v3.0_iso-8859-1.apk: Restored proper default values
	for server and interval.

	* src/pandroid/agent/Core.java: Restored proper default values
	for server and interval.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8073 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-27 18:57:37 +00:00
markholland 0fa65aae7c 2013-04-27 Mark Holland <mark@mark-holland.me.uk>
* Pandroid Agent v3.0_iso-8859-1.apk: Updated with buffer size
	selection.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8072 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-27 18:24:24 +00:00
markholland 39d07d2090 2013-04-27 Mark Holland <mark@mark-holland.me.uk>
* src/pandroid/agent/Core.java: Reverted to previous commit
	SharedPreferences.

	* src/pandroid/agent/PandroidAgent.java: Reverted to previous commit
	SharedPreferences.

	* src/pandroid/agent/PandroidAgentListener.java: Notification only
	shows when attempting to send xml, can't work out how to have it 
	persistent and not dissapear when Pandroid activity is destroyed.

	* src/pandroid/agent/SMSBroadcastReceiver.java: Reverted to previous 
	commit SharedPreferences.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8071 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-27 17:52:04 +00:00
markholland 9cd18ec26a 2013-04-27 Mark Holland <mark@mark-holland.me.uk>
* assets/database/pandroid.zip: Added buffer size initial value.

	* layout: Added buffer size text edit.

	* src/pandroid/agent/Core.java: Added variable for buffer size 
	with initial value of 256KB. Moved all preference reading/editing 
	to HelperSharedPreferences.

	* src/pandroid/agent/DataBaseHandler.java: Now extends 
	sqliteassethelper library.

	* src/pandroid/agent/HelperSharedPreferences: New helper class in 
	attempt to mitigate SharedPreferences loss.

	* src/pandroid/agent/PandroidAgent.java: Removed SharedPreferences
	references and methods.

	* src/pandroid/agent/PandroidAgentListener.java: Rewritten all get
	and put preferences to use HelperSharedPreferences instead.

	* src/pandroid/agent/Setup.java: Added views for buffer size.

	* src/pandroid/agent/SMSBroadcastReceiver.java: Changed to use
	HelperSharedPreferences.
	
	* values: Added buffer size to all strings.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8070 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-27 05:53:47 +00:00
markholland 2865d6c2a5 2013-04-26 Mark Holland <mark@mark-holland.me.uk>
* src/pandroid/agent/Core.java: Single SharedPreferences and
	Editor objects that are retrieved when needed. getSharedData()
	and putSharedData() moved to this class from 
	PandroidAgentListener.

	* src/pandroid/agent/PandroidAgent.java: Instantiate static
	SharedPreferences and Editor objects with getters for each.

	* src/pandroid/agent/PandroidAgentListener.java: buildXML() and
	contact() are now background tasks. Implemented buffer, if xml fails
	to send it stays in the system, next succesful conection after sends
	all of the unsent xml files, current buffer size = 99 files.

	* src/pandroid/agent/PandroidAgentTentacle.java: Changed socket to
	timeout after 1000ms.

	* src/pandroid/agent/SMSBroadcastReceiver.java: Changed SharedPreferences
	to static version from PandroidAgent.java	

	* Pandroid Agent v3.0_iso-8859-1.apk: Updated to include latest
	changes.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8069 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-26 20:59:23 +00:00
zarzuelo 9b7201d812 2013-04-26 Sergio Martin <sergio.martin@artica.es>
* include/styles/pandora.css: Fix aesthetical issues

	* include/functions_modules.php: Mark as needy to calculate
	the module status count in an agent when disable/enable one of
	his modules. The part of server to avoid disabled modules in
	counts was made by ramon. BUG #3611683

	* godmode/users/configure_user.php: Fix warnings due the 
	latest fields added to database schemma

	* images/blank.gif: Add a missed image

	* godmode/agentes/agent_template.php: Fix a little feedback
	bug on template application and add category id to the 
	fields copied from components to modules when apply a template



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8068 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-26 12:19:58 +00:00
ramonn d160ac4230 2013-04-26 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Adjusted module counts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8067 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-26 11:26:28 +00:00
mdtrooper bfb65a1dbc 2013-04-25 Miguel de Dios <miguel.dedios@artica.es>
* godmode/users/user_list.php: changed the table layout and other
	stetical things.
	
	Fixes: #3611684
	
	* include/functions_html.php: cleaned the source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8064 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-25 18:16:58 +00:00
mdtrooper 0da662bac6 2013-04-25 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/alert_list.list.php,
	godmode/setup/setup_general.php, extensions/pandora_logs.php: some
	fixes in the source code from the indications of bug in the tracker.
	
	Fixes: #3611333




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8063 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-25 17:10:00 +00:00
markholland b378efc27e 2013-04-25 Mark Holland <mark@mark-holland.me.uk>
* src/pandroid/agent/Core.java: Separate load and store
	methods for SharedPreferences and database.

	* src/pandroid/agent/PandroidAgent.java: Values retrieved from
	database onCreate. onPause and onDestroy values are saved to 
	database.

	* src/pandroid/agent/PandroidAgentListener.java: Reverted to using
	SharedPreferences at runtime, database used when app not in view.
	Added module as proof of iso-8859-1 now working.

	* Pandroid Agent v3.0_iso-8859-1.apk: For testing whether
	configuration is no longer lost after an amount of time.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8062 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-25 16:46:55 +00:00
mdtrooper 89d7e883bd 2013-04-25 Miguel de Dios <miguel.dedios@artica.es>
* godmode/modules/manage_network_components_form.php,
	godmode/servers/plugin.php, operation/search_users.getdata.php,
	operation/visual_console/render_view.php,
	operation/events/events_marquee.php,
	operation/events/events_list.php,
	operation/snmpconsole/snmp_view.php,
	operation/gis_maps/render_view.php,
	operation/integria_incidents/incident.files.php,
	operation/integria_incidents/incident.tracking.php,
	operation/integria_incidents/incident.list.php: fixed the old refr
	access for the config instead the get var.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8061 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-25 16:32:18 +00:00
mdtrooper 3ad9dd799d 2013-04-25 Miguel de Dios <miguel.dedios@artica.es>
* extensions/agents_modules.php: changed the header of the table
	agents modules, now it uses css3 (and some tricks in javascript)
	and the text for the modules is vertical.
	
	Fixes: #3539424
	
	* operation/integria_incidents/incident.list.php,
	operation/search_users.getdata.php,
	godmode/servers/manage_recontask_form.php,
	godmode/massive/massive_delete_action_alerts.php,
	godmode/modules/manage_network_components_form.php: improved the
	source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8059 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-25 15:34:53 +00:00
ramonn 4889cbe92c 2013-04-25 Ramon Novoa <rnovoa@artica.es>
* images/cross_double.png,
	  godmode/users/user_list.php: Added support to delete users from all
	  consoles to the metaconsole. Fixes bug #3607619.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8058 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-25 11:34:29 +00:00
mdtrooper 74776d7188 2013-04-25 Miguel de Dios <miguel.dedios@artica.es>
* godmode/events/custom_events.php,
	godmode/massive/massive_enable_disable_alerts.php,
	godmode/massive/massive_edit_agents.php,
	godmode/massive/massive_delete_modules.php,
	godmode/massive/massive_add_action_alerts.php,
	godmode/massive/massive_delete_profiles.php,
	godmode/massive/massive_delete_alerts.php,
	godmode/groups/modu_group_list.php, godmode/groups/group_list.php,
	godmode/reporting/graph_builder.php, godmode/reporting/graphs.php,
	godmode/alerts/alert_templates.php,
	godmode/alerts/configure_alert_action.php, include/functions_ui.php,
	include/functions_graph.php: improved the source code.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8057 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-25 10:16:41 +00:00
ramonn 1b9578085e 2013-04-25 Ramon Novoa <rnovoa@artica.es>
* pandoradb.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql: Removed an unused column from tagente_datos_inc.
	  Fixes bug #3611681.

	* godmode/servers/modificar_server.php: Fixed a comment.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8056 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-25 09:22:58 +00:00
mdtrooper 8e29ea6a5e 2013-04-25 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js: set the title for the large
	modules.
	
	Fixes: #3609509




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8055 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-25 09:14:51 +00:00
mdtrooper b2d860d6f6 2013-04-25 Miguel de Dios <miguel.dedios@artica.es>
* extensions/agents_alerts.php, extensions/snmp_explorer.php,
	extensions/insert_data.php, extensions/net_tools.php,
	extensions/resource_exportation.php, extensions/system_info.php,
	extensions/pandora_logs.php, extensions/agents_modules.php,
	godmode/reporting/reporting_builder.item_editor.php,
	godmode/servers/manage_recontask_form.php,
	godmode/setup/gis_step_2.php,
	godmode/massive/massive_standby_alerts.php,
	godmode/massive/massive_operations.php,
	godmode/massive/massive_add_action_alerts.php,
	godmode/massive/massive_add_alerts.php,
	godmode/massive/massive_delete_agents.php,
	godmode/massive/massive_delete_action_alerts.php,
	operation/users/user_edit.php, operation/events/events_list.php,
	operation/integria_incidents/incident.list.php,
	operation/integria_incidents/incident.workunits.php,
	operation/tree.php, general/shortcut_bar.php: cleaned source code
	style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8054 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-25 09:08:54 +00:00
mdtrooper bc0d3dc06d 2013-04-25 Miguel de Dios <miguel.dedios@artica.es>
* general/shortcut_bar.php, general/main_menu.php,
	extensions/update_manager/update_pandora.php,
	extensions/plugin_registration.php, godmode/setup/gis_step_2.php,
	godmode/massive/massive_delete_alerts.php,
	godmode/alerts/alert_actions.php, godmode/tag/edit_tag.php,
	godmode/category/edit_category.php,
	godmode/agentes/configurar_agente.php,
	operation/snmpconsole/snmp_view.php,
	operation/search_graphs.getdata.php,
	operation/agentes/status_monitor.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8053 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-25 09:01:28 +00:00
markholland edff3417ed 2013-04-25 Mark Holland <mark@mark-holland.me.uk>
* src/pandroid/agent/Core.java: Changed get and update
	database values methods to support new DataBaseHandler.

	* src/pandroid/agent/DataBaseHandler.java: Complete rewrite.

	* src/pandroid/agent/PandroidAgent.java: Removed initiate
	database, database now supplied with build.

	* src/pandroid/agent/PandroidAgentListener.java: changed
	SimIDReport to simIDReport to reflect database.

	* assets/database/pandroid.zip: zipped sqlite3
	database containing all default values.

	* libs/android-sqlite-asset-helper.jar: library to facilitate
	database operations. Only temporarily being used.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8052 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-25 04:09:18 +00:00
mdtrooper 4475671c59 2013-04-24 Miguel de Dios <miguel.dedios@artica.es>
* operation/users/user_edit.php: fixed the call to function from
	enterprise in the open source installations.
	
	Fixes: #3611329




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8051 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-24 15:40:03 +00:00
mdtrooper e9233f78d6 2013-04-24 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php, include/functions_servers.php:
	fixed the set default value for "local_modules_rate".
	
	Fixes: #3611336




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8050 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-24 15:01:52 +00:00
mdtrooper 40476d1fad 2013-04-24 Miguel de Dios <miguel.dedios@artica.es>
* extensions/agents_alerts.php, extensions/agents_modules.php,
	godmode/menu.php, operation/menu.php: fixed old references to the
	config refr.
	
	Fixes: #3611361




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8049 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-24 14:46:57 +00:00
mdtrooper c9bd0d75ff 2013-04-24 Miguel de Dios <miguel.dedios@artica.es>
* godmode/events/event_responses.editor.php: set the sizes of
	the widgets for the form in the metaconsole.
	
	Fixes: #3611423
	
	* godmode/users/configure_user.php




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8048 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-24 14:27:24 +00:00
mdtrooper 6d448bbfcf 2013-04-24 Miguel de Dios <miguel.dedios@artica.es>
* godmode/tag/edit_tag.php: change the input text for textarea for
	large list of emails.
	
	Fixes: #3611473
	
	* pandoradb.sql: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8047 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-24 13:51:57 +00:00
mdtrooper 4e14d7a9b7 2013-04-24 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/networkmap.topology.php: fixed the PHP
	notice in the enterprise Dashboard.
	
	Fixes: #3611685




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8046 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-24 13:32:55 +00:00
mdtrooper 3963dc903a 2013-04-24 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/networkmap.php,
	include/functions_networkmap.php: set the background transparent.
	
	Fixes: #3611686
	
	* include/styles/pandora.css, include/functions_ui.php: fixed the
	tabs in the header when the tab is bigger that standar tab, and
	the separator doesn't print.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8045 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-24 13:16:28 +00:00