Commit Graph

670 Commits

Author SHA1 Message Date
zarzuelo 7942bf37e5 2013-04-01 Sergio Martin <sergio.martin@artica.es>
* src/pandroid/agent/PandroidAgentListener.java: Fixed 
	a crash bug in some devices when try to retrieve the 
	coordinates provider. Close unclosed cursor and change some
	error logs to normal logs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7905 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-01 07:27:56 +00:00
slerena 1006e59d07 2013-04-01 Sancho Lerena <slerena@artica.es>
* unix/plugins/inventory: Improved software inventory in RPM format.
        Removed dupes and "orphan" lines.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7903 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-01 01:32:14 +00:00
Ramon Novoa 7cacb2a64b 2013-03-12 Ramon Novoa <rnovoa@artica.es>
* pandora_revent: Added to repository. Pandora remote event generation
	  script.

	* pandora_agent_installer: Added the pandora_revent script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7840 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-12 17:53:25 +00:00
Ramon Novoa 4910921918 2013-03-12 Ramon Novoa <rnovoa@artica.es>
* bin/util/pandora_revent.exe: Added to repository. Compiled version of
	  pandora_revent.pl.

	* installer/pandora.mpi: Added pandora_revent.exe and curl.exe to the
	  installer.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7839 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-12 17:01:54 +00:00
darode 6e5709064a 2013-03-11 Dario Rodriguez <dario@artica.es>
* win32/bin/util/curl.exe: Added curl binary for
        windows systems.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7831 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-11 17:28:50 +00:00
Ramon Novoa 86fb89169f 2013-03-11 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Reset configuration to default values before
	  launching broker agents. Fixed bug #3519092.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7824 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-11 12:10:56 +00:00
Ramon Novoa 1d4b4ad5f8 2013-03-11 Ramon Novoa <rnovoa@artica.es>
* unix/pandora_agent: Added debugging information to the execution of
	  module_exec modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7823 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-11 11:51:32 +00:00
koichirok 9fdd4e5262 2013-03-11 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_agent: Fixed bug that the send_buffered_xml_files
	 doesn't remove xml files successfully sent.

	Merged from: branch_4.0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7819 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-11 05:41:51 +00:00
mdtrooper 0f6b1c76ba 2013-03-06 Miguel de Dios <miguel.dedios@artica.es>
* HP-UX/pandora_agent.conf: fixed ps params for "sshDaemon" module
	for some versions of HP-UX.
	
	Fixes: #3606128




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7790 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-06 11:07:40 +00:00
Aldrioth b261b2dbf9 2013-02-27 Tomas Palacios <tomas.palacios@artica.es>
* pandora_agent_installer: Added compatibility for custom perl
        installation paths.

        * pandora_agent_daemon: Modified the way to find SunOS agent PID
        to make it more reliable.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7732 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-27 15:35:35 +00:00
slerena df66e4ecb6 2013-02-22 Sancho Lerena <slerena@artica.es>
* Darwrin: Added Darwin (MacOS) agent on directory, i don't
        know why was removed from trunk ¿?




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7709 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-22 18:06:57 +00:00
Ramon Novoa c86f525048 2013-02-21 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_logevent.cc: Add the timestamp to the log.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7694 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-21 10:18:13 +00:00
Ramon Novoa 44f2d8b9a2 2013-02-20 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_logevent.cc: Retrieve extra event information
	  for log modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7686 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-20 14:28:59 +00:00
koichirok 064f322e3d 2013-02-19 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_agent_installer: Removed duplicated chown line.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7674 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-19 10:28:33 +00:00
hkosaka 474d7775e9 2013-02-12 Hirofumi Kosaka <kosaka@rworks.jp>
* pandora_agent: Fixed bug that data transfer would fail
	when secondary_transfer_mode is different from transfer_mode.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7623 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-12 02:38:48 +00:00
Ramon Novoa 6e1d816b47 2013-01-17 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module.cc,
	  modules/pandora_module.h,
	  modules/pandora_module_factory.cc,
	  modules/pandora_module_regexp.cc: Added support for log modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7497 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-17 14:33:54 +00:00
Ramon Novoa 7af1adc734 2013-01-17 Ramon Novoa <rnovoa@artica.es>
* plugins/grep_log: Merged with grep_log_module.

	* plugins/grep_log_module: Added to repository grep plugin for log
	  modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7496 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-17 14:32:14 +00:00
jsatoh b9a964191a 2013-01-11 Junichi Satoh <junichi@rworks.jp>
* SunOS/make_solaris_package/make_solaris_package.sh: Updated
	AGENT_VERSION string.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7429 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-11 04:30:15 +00:00
slerena f4ab620a23 2012-12-17 Sancho Lerena <slerena@artica.es>
* pandora_agent: Updated version

        * plugins/who.sh,
        plugins/top.sh:	New plugins for	command	snapshots.

        * plugins/inventory: Merged with fixes and new kernel module from
        4.0.3 branch. Tested on	Redhat and SUSE.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7290 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-17 16:33:15 +00:00
Ramon Novoa 7f9d5d2c71 2012-12-12 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_logevent.cc: Changed the flags of
	  LoadLibraryEx. Fixes a bug when loading event descriptions
	  from exe files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7266 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-12 11:49:44 +00:00
zarzuelo 930b09e5f3 2012-11-20 Sergio Martin <sergio.martin@artica.es>
* pandora_windows_service.h
	  pandora_windows_service.cc: Added support for
	gis_exec (Automatic gis coordinates)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7180 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-21 17:13:05 +00:00
zarzuelo d35f66391b 2012-11-20 Sergio Martin <sergio.martin@artica.es>
* pandora_windows_service.cc: Fixed some bugs
	of the type conversions 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7167 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 12:39:11 +00:00
zarzuelo 2debc7c2fc 2012-11-20 Sergio Martin <sergio.martin@artica.es>
* pandora_windows_service.cc: Added support for
	custom fields



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7166 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 12:29:00 +00:00
zarzuelo 5b90a6a59e 2012-11-20 Sergio Martin <sergio.martin@artica.es>
* modules/pandora_module_factory.cc: Fix a few
	variable declaration bugs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7163 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 09:26:04 +00:00
zarzuelo 445e79e289 2012-11-20 Sergio Martin <sergio.martin@artica.es>
* modules/pandora_module_factory.cc: Added macros
	support to the module_exec command of the module
	configuration



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7162 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 09:15:14 +00:00
zarzuelo 34867c52ad 2012-11-19 Sergio Martin <sergio.martin@artica.es>
* pandora_windows_service.cc: Added new fields of 
	agent in XML header like custom_id and url_address.
	Added coordinates data (not gis_exec yet)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7157 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-19 15:57:56 +00:00
zarzuelo a9dabcf2aa 2012-11-19 Sergio Martin <sergio.martin@artica.es>
* modules/pandora_module.h
	modules/pandora_module.cc: Fixed type conflicts in the
	last changes



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7155 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-19 14:30:35 +00:00
zarzuelo 205e4259dd 2012-11-19 Sergio Martin <sergio.martin@artica.es>
* modules/pandora_module.h
	modules/pandora_module_factory.cc
	modules/pandora_module.cc: Added several new module fields
	to the XML



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7154 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-19 08:23:49 +00:00
zarzuelo e63d9162d9 2012-11-15 Sergio Martin <sergio.martin@artica.es>
* pandora_agent: Added support to the new fields of the
	agent in the XML: custom_id, url_addres and custom fields



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7151 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-15 15:53:45 +00:00
zarzuelo c2047c4ab7 2012-11-13 Sergio Martin <sergio.martin@artica.es>
* pandora_agent: Added several fields to the XML



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7143 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-13 12:24:36 +00:00
markholland 57c8cef90a 2012-09-24 Mark Holland <mark@mark-holland.me.uk>
* src/pandroid/agent/ChangeLog:
	Wasn´t added in last commit

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6997 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-24 16:45:19 +00:00
markholland 90985f3e9a 2012-09-24 Mark Holland <mark@mark-holland.me.uk>
* src/pandroid/agent/PandroidAgentListener.java:
	Removed asynctask when making contact in attempt
	to fix configuration loss after x time

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6996 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-24 16:43:51 +00:00
markholland b8234cce21 2012-08-24 Mark Holland <mark@mark-holland.me.uk>
* src/pandroid/agent/PandroidAgentListener.java:
	Reverted to original writeFile method, changed
	xml encoding header to iso-8859-1

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6971 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-13 15:16:56 +00:00
zarzuelo 0b5c0c0fc6 2012-09-12 Sergio Martin <sergio.martin@artica.es>
* src/pandroid/agent/PandroidAgent.java
	src/pandroid/agent/PandroidAgentTentacle.java
	src/pandroid/agent/Status.java
	src/pandroid/agent/PandroidAgentListener.java
	res/drawable-xhdpi/ic_launcher.png
	res/drawable-xhdpi/logo.png
	res/drawable-xhdpi/pandroid_large.png
	res/drawable-hdpi/ic_launcher.png
	res/drawable-ldpi/ic_launcher.png
	res/drawable-ldpi/logo.png
	res/drawable-ldpi/pandroid_large.png
	res/drawable-mdpi/ic_launcher.png: Fixed some
	warnings of not used variables and includes.
	Added new designs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6962 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-12 10:44:53 +00:00
jsatoh ecb2cea68c 2012-08-28 Junichi Satoh <junichi@rworks.jp>
* pandora_agent: Improved to be able to use CRLF in pandora_agent.conf.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6917 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-28 04:42:28 +00:00
jsatoh 4a86f05b25 2012-08-25 Junichi Satoh <junichi@rworks.jp>
* res/values-ja/strings.xml: Fixed wrong Japanese translations.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6913 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-25 08:14:59 +00:00
markholland f75104454e 2012-08-24 Mark Holland <mark@mark-holland.me.uk>
* AndroidManifest.xml: Added experimental start
	pandroid on device boot(not operational)

	* res/layout/setup.xml: Removed duplicate password
	button

	* res/layout/setupnosim.xml: Removed unused text view

	* src/pandroid/agent/core.java: set inventory to disabled
	by default

	* src/pandroid/agent/PandroidAgentListener.java: Fixed
	inventory report if condition

	* src/pandroid/agent/PandroidAgentTentacle.java: Fixed if
	condition when server response == null, Changed how data
	is written to serverOutput, fixes utf-8.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6909 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-24 01:43:50 +00:00
markholland e98005a74b 2012-08-22 Mark Holland <mark@mark-holland.me.uk>
* AndroidManifest.xml: Changed icon drawable to
	ic_launcher

	* res/drawable-hdpi: Added notification icon

	* res/drawable-ldpi: Added notification icon

	* res/drawable-mdpi: Added notification icon

	* res/drawable-xhdpi: Added notification icon

	* res/layout/setup.xml: Added inventory report checkbox,
	notification checkbox and stop/restart listener buttons.

	* res/layout/setupnosim.xml: Added inventory report checkbox,
	notification checkbox and stop/restart listener buttons.

	* res/values/strings.xml: Added strings for notification and
	stop/restart buttons, reflected in all locales

	* src/pandroid/agent/core.java: Added variables for notification
	and inventory report, fixed agentname, mobileurl mixup.

	* src/pandroid/agent/PandroidAgent.java: Removed splash screen, 
	Added check if app launched before and only restarts listener in
	this case. Added onPause and onDestroy methods to ensure no settings
	loss.

	* src/pandroid/agent/PandroidAgentListener.java: Added optional
	notification when pandroid alarm is enabled, removed loading toast,
	added inventory enabled check, added cancel notification method,
	changed xml format to utf-8(untested)

	* src/pandroid/agent/setup.java: Fixed mobile url, if no http:// or 
	https:// then http:// added automatically. Added stop/restart listener
	buttons, added inventory report and notification checkbox

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6902 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-22 02:57:53 +00:00
markholland 646ce54b6d 2012-08-20 Mark Holland <mark@mark-holland.me.uk>
* Pandroid Agent v3.0.apk: Added apk of pandroid so that
	anyone can test it.
	

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6882 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-19 07:26:56 +00:00
markholland 9abbbce1ce 2012-08-19 Mark Holland <mark@mark-holland.me.uk>
* res/layout/drawable-hdpi: Added help and about icons
	from sdk	

	* res/layout/drawable-ldpi: Added new vector images.
	Added help and about icons from sdk.

	* res/layout/drawable-mdpi:Added help and about icons
	from sdk.

	* res/layout/drawable-xhdpi: Added new higher
	resolution images. Added help and about icons from sdk

	* res/layout/password_choose.xml: UI tweak

	* res/layout/password_create.xml: UI tweak

	* res/layout/setup.xml: Changed webURL id, moved position
	of task spinner.

	* res/layout/setupnosim.xml: Changed webURL id, moved
	position of task spinner.

	* res/layout/status.xml: Removed start, stop, show and 
	hide xml buttons.

	* res/layout/statusnosim.xml: Removed start, stop, show 
	and hide xml buttons.

	* res/layout/welcome.xml: Added splash screen view with
	pandroid logo and version 3.0 text.

	* res/values/strings.xml: Changed order of strings to be
	more structured, removed unused correct_update string,
	fixed the "..." in loading string, fixed copyright symbol,
	added strings for seconds, runnning and stopped that were
	previously hardcoded, fixed apostrophe in don't.

	* res/values-de/strings.xml: Added strings for German locale

	* res/values-es/strings.xml: Added strings for Spanish locale
	
	* res/values-fr/strings.xml: Added strings for French locale

	* res/values-it/strings.xml: Added strings for Italian locale

	* res/values-ja/strings.xml: Added strings for Japanese locale

	* res/values-pt/strings.xml: Added strings for Portuguese locale

	* res/values-zh/strings.xml: Added strings for Chinese(simplified)
	locale

	* src/pandroid/agent/About.java: Changed URL to pandorafms.com from
	.org

	* src/pandroid/agent/core.java: Changed mobile url variable, 

	* src/pandroid/agent/Installation.java: Added comment explaining class.

	* src/pandroid/agent/PandroidAgent.java: Added splash screen dialog

	* src/pandroid/agent/PandroidAgentListener.java: Added loading toast on
	connect, moved contact into an asynctask, added application inventory to
	xml(app name;version;package name), fixed battery level to work on first
	connect, made all get methods private.

	* src/pandroid/agent/setup.java: Auto add http:// to mobile web url.

	* src/pandroid/agent/SMSBroadcastReceiver.java: Changed variable name.

	* src/pandroid/agent/status.java: swapped hardcoded strings to ones from
	res.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6881 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-19 06:23:11 +00:00
jsatoh 19dc233eeb 2012-08-15 Junichi Satoh <junichi@rworks.jp>
* pandora_agent: Changed not to use thread library when agent_threads
	is set to 1 or undefined. This change is to avoid RHEL/CentOS 5 perl
	thread library bug.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6861 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-15 02:06:52 +00:00
Ramon Novoa ba23ce80c2 2012-08-03 Ramon Novoa <rnovoa@artica.es>
* win32/modules/pandora_module_logevent.cc: Get the EventID from the
	  InstanceID. Seems like Microsoft replaced Eventid with InstanceID at
	  some point.

	* pc/pandora_agent.mpi: Fixed some paths.

	* pc/tentacle_client,
	  unix/tentacle_client,
	  shellscript/linux/tentacle_client,
	  shellscript/mac_osx/tentacle_client: Specify the socket type. On some
	  OSs (like certain versions of Solaris) it can't be guessed and results in an error.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6844 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-03 12:03:59 +00:00
markholland b342dbc978 2012-08-03 Mark Holland <mark@mark-holland.me.uk>
* res/layout/password_entry.xml: UI tweaks

	* res/layout/setup.xml: Added mobile console
	textview and button

	* res/layout/setupnosim.xml: Added mobile console
	textview and button

	* res/layout/status.xml: Added roaming view

	* res/values/strings.xml: string for roaming, 
	roaming report, mobile site

	* src/pandroid/agent/core.java: Added variables
	for roaming and mobile site url

	* src/pandroid/agent/PandroidAgentListener.java: 
 	Added roaming report method and variables then add
	to xml

	* src/pandroid/agent/setup.java: Added mobile site
	view and full screen password input

	* src/pandroid/agent/status.java: Added roaming view

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6843 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-03 04:54:40 +00:00
zarzuelo b2fad9d913 2012-08-01 Sergio Martin <sergio.martin@artica.es>
* pandora_agent: Add the macros support in module_exec



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6838 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-01 16:35:40 +00:00
markholland 5eb4d7f6c6 2012-07-09 Mark Holland <mark@mark-holland.me.uk>
* AndroidManifest.xml: Added Pandora FMS 
	comment to header.

	* res/layout/About.xml: Swapped hardcoded
	text for strings.

	* res/layout/help.xml: Added scrollview.

	* res/layout/password_choose.xml: View for dialog
	when choosing whether to have a password.

	* res/layout/password_create.xml: Added textviews
	with instructions.

	* res/layout/password_entry.xml: Swapped hardcoded
	text for strings.

	* res/layout/setup.xml: Added checkboxes for all
	modules.

	* res/layout/setupnosim.xml: View that only
	shows checkboxes for modules that don't need a sim
	card present.

	* res/values/strings.xml: Updated help string
	(english only). Lots of new strings, also
	added to strings-en and strings-es.

	* src/pandroid/agent/About.java: Added Pandora FMS 
	comment to header.

	* src/pandroid/agent/core.java: Added Pandora FMS 
	comment to header. Added variable for hello signal.
	Added reporting variables for all modules. Changed 
	alarm to be accessed in a static way. changed agent
	identifier from pandroid plus simID to pandroid plus
	install uid.

	* src/pandroid/agent/Help.java:	Added Pandora FMS 
	comment to header.

	* src/pandroid/agent/Installation.java: Calculates a
	unique installation uid.

	* src/pandroid/agent/PandroidAgent.java: hasSim now 
	works whether phone without sim and also tablet without
	capability for sim card. On resume sets hello signal to 1.

	* src/pandroid/agent/PandroidAgentListener.java: Removed
	unnecessary variables, all defaults come from Core.java.
	Ensure Hello signal changed to 0 after every connection.
	Variables for all module reporting, data only added to xml
	if enabled in setup.

	* src/pandroid/agent/setup.java: Added Pandora FMS 
	comment to header. Different views loaded depending
	on whether sim card is present. Added button for changing
	password. Added checkboxes for all modules. Added dialog
	for choosing whether to set a password. Added minimum
	password length and empty to remove password. Keyboard 
	dismissed upon completing dialogs.

	* src/pandroid/agent/SMSBroadcastReceiver.java: Added 
	Pandora FMS comment to header.

	* src/pandroid/agent/status.java: Added Pandora FMS 
	comment to header. Remove incorrect toast message
	when pressing start button.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6755 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-09 08:35:48 +00:00
markholland da4c8745c7 2012-07-04 Mark Holland <mark@mark-holland.me.uk>
* AndroidManifest.xml: Added permissions read_contacts
	and read_sms

	* res/layout/password_create.xml: Created view for
	password creation dialogue

	* res/layout/password_entry.xml: Created view for
	password entry dialogue

	* res/layout/status.xml: Converted most of data 
	into a table layout

	* res/layout/statusnosim.xml: Created status view
	only showing the data avaliable when device has
	no sim card

	* res/values/strings.xml: Added strings for bytes
	sent/received and password dialogues

	* src/pandroid/agent/core.java: added variables for
	bytes sent/received, hasSim and password. Changed 
	signal strength to integer.

	* src/pandroid/agent/PAndroidAgent.java: Added check
	if sim card present. Method for switching tabs from
	activities.

	* src/pandroid/agent/PandroidAgentListener.java: Added
	variables for bytes sent/received. Now if no sim card
	present SimID, NetworkOperator, SMSSent, NetworkType,
        PhoneType, SignalStrength, Calls, DataBytes modules aren't 		used or sent.

	* src/pandroid/agent/setup.java: Added methods for
	creating password and entering password when switching
	to setup tab(not completed). Added checkbox for simId
	and task reporting

	* src/pandroid/agent/status.java: Checks if sim present
	and displays view accordingly.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6733 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-04 01:32:06 +00:00
koichirok 69b3ea4c54 2012-06-27 Koichiro Kikuchi <koichiro@rworks.jp>
* ChangeLog: Fixed log entry date of my previous commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6718 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-27 06:59:53 +00:00
koichirok cbbaa6ec83 2012-06-21 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_agent.redhat.spec: Merged from 4.0 branch. Don't create
	 pandora user if already exists.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6717 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-27 06:54:08 +00:00
markholland 199fb87920 2012-06-26 Mark Holland <mark@mark-holland.me.uk>
* res/values/strings.xml: Added strings for 
	smsReceived, networkType, phoneType and calls.
	Replicated in values-en and values-es.

	* res/layout/setup.xml: Added checkboxes for simID
	and task reporting.

	* res/layout/status.xml: Added textviews for new data.

	* src/pandroid/agent/core.java: set simID
	reporting as disabled by default. Added variables
	for networkOperator, networkType, phoneType,
	signalStrength, incoming, missed and outgoing calls.

	* src/pandroid/agent/PandroidAgentListener.java: task,
	smsReceived, networkType, phoneType and calls methods
	and then added to XML. simID now checks whether
	enabled in user configuration.

	* src/pandroid/agent/setup.java: Added spinner for task
	selection.

	* src/pandroid/agent/SMSActivity.java: removed

	* src/pandroid/agent/SMSBroadcastReceiver.java: upon
	receiving a smsreceived intent, increments the stored
	number of smsReceived.

	* src/pandroid/agent/status.java: Added textviews for
	new methods mentioned above.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6708 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-26 00:47:47 +00:00
Ramon Novoa 42d58d76bf 2012-06-21 Ramon Novoa <rnovoa@artica.es>
* win32/bin/pandora_agent.conf,
	  win32/installer/pandora.mpi,
	  win32/versioninfo.rc,
	  win32/pandora.cc,
	  pc/AIX/pandora_agent.conf,
	  pc/Linux/pandora_agent.conf,
	  pc/HP-UX/pandora_agent.conf,
	  pc/Win32/pandora_agent.conf,
	  pc/NT4/pandora_agent.conf,
	  pc/SunOS/pandora_agent.conf,
	  pc/FreeBSD/pandora_agent.conf,
	  unix/AIX/pandora_agent.conf,
	  unix/DEBIAN/control,
	  unix/DEBIAN/make_deb_package.sh,
	  unix/pandora_agent.spec,
	  unix/Linux/pandora_agent.conf,
	  unix/HP-UX/pandora_agent.conf,
	  unix/pandora_agent.redhat.spec,
	  unix/pandora_agent,
	  unix/NT4/pandora_agent.conf,
	  unix/SunOS/pandora_agent.conf,
	  unix/FreeBSD/pandora_agent.conf,
	  shellscript/linux/pandora_agent.conf,
	  shellscript/bsd-ipso/pandora_agent.conf,
	  shellscript/aix/pandora_agent.conf,
	  shellscript/hp-ux/pandora_agent.conf,
	  shellscript/mac_osx/pandora_agent.conf,
	  shellscript/solaris/pandora_agent.conf,
	  shellscript/openWRT/pandora_agent.conf: Updated version strings.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6672 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-21 17:41:54 +00:00