Commit Graph

6696 Commits

Author SHA1 Message Date
mdtrooper 5d7dd5567d 2013-05-14 Miguel de Dios <miguel.dedios@artica.es>
* godmode/modules/manage_network_components.php,
	godmode/modules/manage_nc_groups.php,
	godmode/modules/manage_network_templates.php,
	godmode/reporting/reporting_builder.php,
	godmode/reporting/graphs.php, godmode/db/db_purge.php,
	godmode/agentes/module_manager.php, godmode/events/event_filter.php,
	godmode/massive/massive_delete_modules.php,
	godmode/massive/massive_delete_agents.php,
	godmode/massive/massive_edit_modules.php,
	godmode/netflow/nf_edit.php, godmode/netflow/nf_item_list.php,
	include/functions_agents.php, include/functions_tags.php,
	include/functions_messages.php, include/functions_events.php:
	erased deprecated SQL transaction. 




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8130 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-14 11:56:43 +00:00
mdtrooper 9d2e9c5161 2013-05-14 Miguel de Dios <miguel.dedios@artica.es>
* include/constants.php: added constant "ITEMS_TO_SHOW_IN_MAIN_TAB".
	
	* operation/search_agents.getdata.php, operation/search_agents.php,
	operation/search_modules.getdata.php, operation/search_main.php,
	operation/search_results.php: improved the views of global search.
	
	* images/visual_console.png: update Carla's work.
	
	* images/visual_console_green.png: added a green version.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8128 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-14 09:33:13 +00:00
markholland fe4bcdc14a 2013-05-14 Mark Holland <mark@mark-holland.me.uk>
* src/pandroid/agent/PandroidAgentListener.java: Moved the 
	loading	of the config values to an asynctask to force that updating 
	the values and then contacting the server and creating the 
	notification happens after all the config values have been loaded.

	* src/pandroid/agent/Status.java: On resuming the app
	the loading of the last values has been moved to an asynctask to force
	updating the ui to wait for all the values to be loaded.

	* src/pandroid/agent/*.java: Applied the Correct Indentation function
	of eclipse to all code.

	* res/layout/*.xml: Applied the Correct Indentation function
	of eclipse to all code.

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

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8127 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-14 06:59:20 +00:00
zarzuelo 1c49e57a52 2013-05-13 Sergio Martin <sergio.martin@artica.es>
* include/styles/pandora.css
	include/functions_treeview.php
	images/events_responses.png
	images/gm_setup.png
	images/policies_mc.png
	images/filter.png
	images/op_alerts.png
	images/network_mc.png
	images/enterprise.png
	images/profiles.png
	images/operation.png
	images/full_screen.png
	images/list.png
	images/gm_servers.png
	images/normal_screen.png
	images/database_history.png
	images/gm_policies.png
	images/gm_users.png
	images/server_export_mc.png
	images/custom_columns.png
	images/templates.png: Little fixes and images
	changes



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8126 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-13 16:51:39 +00:00
mdtrooper e93f2580e2 2013-05-13 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/configurar_agente.php, include/functions_tags.php,
	include/functions_incidents.php, include/functions_agents.php,
	operation/messages/message_list.php: erased the SQL transitions.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8125 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-13 14:32:37 +00:00
mdtrooper b064082064 2013-05-13 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php: fixed PHP warnings.
	
	* godmode/agentes/modificar_agente.php,
	include/functions_agents.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8124 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-13 10:52:51 +00:00
Ramon Novoa 2563a91ea5 2013-05-13 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Tools.pm: Merged from 4.0 branch. Directly call
	  snmptranslate, since SNMP::translateObj does not seem to load
	  enterprise MIBs.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8123 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-13 10:29:03 +00:00
slerena 63aa7f86e5 2013-05-13 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Core.pm: Fixes crash on inverse resolution for
        GIS information on openstreetmaps. This was due function was moved from
        Dataserver to Core.pm and include for LWP::Simple not :(




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8121 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-13 02:40:28 +00:00
mdtrooper fd7225ded7 2013-05-10 Miguel de Dios <miguel.dedios@artica.es>
* operation/snmpconsole/snmp_browser.php: fixed the url to pure.
	
	Fixes: #2212




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8119 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-10 12:28:26 +00:00
Ramon Novoa 3d656eb704 2013-05-10 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Tools.pm: Check that inet_aton does not return undef.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8118 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-10 11:19:02 +00:00
Ramon Novoa 2f31062b25 2013-05-07 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Tools.pm: Added a function to resolve hostnames.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8111 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-07 17:02:02 +00:00
Ramon Novoa 506ef27913 2013-05-07 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm,
	  util/pandora_db.pl: Several improvements. Added support for detecting
	  other running instances of the script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8110 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-07 15:38:11 +00:00
zarzuelo 4d291847fa 2013-05-07 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php: Added to Server performance 
	box in tactical view total events statistic for bug #2042



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8109 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-07 14:56:04 +00:00
zarzuelo 5fd283d9a8 2013-05-07 Sergio Martin <sergio.martin@artica.es>
* include/functions_config.php: Set a default value to 
	enable_metaconsole_netflow config token to avoid metaconsole
	ugly notice for bug #2210



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8108 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-07 13:59:49 +00:00
mdtrooper 8f9521bbf3 2013-05-06 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/group_view.php, godmode/groups/group_list.php,
	include/functions_groups.php: added pagination to groups views.
	
	PENDING TASK: #346
	
	* include/functions_component_groups.php: cleaned source code style.
	
	* include/functions.php: added function "is_array_empty" for
	deepers arrays.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8107 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-07 12:32:30 +00:00
zarzuelo e6ec4c1b96 2013-05-06 Sergio Martin <sergio.martin@artica.es>
* include/help/en/help_module_interval_factor.php
	include/help/es/help_module_interval_factor.php
	godmode/agentes/module_manager_editor_common.php: Change the
	control of interval module when is data module from extended 
	from time to normal box with a different help tip explaining
	that this control is not setted in seconds.

	* operation/integria_incidents/incident.php
	images/book_edit.png
	general/pandora_help.php
	godmode/setup/setup_general.php: Aesthetic fixes



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8103 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-06 16:39:41 +00:00
Ramon Novoa 11d57f0a3a 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 7ecd5f68db 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 2c36f19a2e 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
Ramon Novoa 8184f73ae3 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 61c83b7147 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 792588b26c 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 93010856d8 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 1a933356a2 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 b2c0ec28a9 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 3eb85c6408 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 904af5befe 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 91334e695e 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 8eb312004c 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 178e8638dc 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 2d9dcfcad9 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 3dd7e0babf 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 eab7124396 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 2697d23f81 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 cceb84859e 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 b9ca863a13 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 836417756b 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 2d5bda7807 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 b1e465ada0 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 8f086d85c8 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 823b7c2bcb 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 384a33362c 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 753f376328 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 afd29986fb 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 76aa8b5c20 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 d36d4a52e8 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
Ramon Novoa e5270b9e90 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 98cbfebc78 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 164760ed8a 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 c616937375 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