Commit Graph

749 Commits

Author SHA1 Message Date
Ramon Novoa 1f4b99eaa9 2013-10-21 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_daemon: Changed status return codes to conform to LSB
	  specs. Fixes bug #2397.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8940 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-21 08:08:12 +00:00
pandora-release 96194ffc21 Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8917 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-15 23:24:00 +00:00
pandora-release 7c1d87de90 Updated version and build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8915 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-15 10:48:41 +00:00
jsatoh 1cf38f9272 2013-10-13 Junichi Satoh <junichi@rworks.jp>
* unix/tentacle_server: Upgraded to 0.4.0. (Imported from trunk of
        tentacled repository.)
        Added IPv6 support.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8901 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-13 01:52:24 +00:00
pandora-release d041d8a266 Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8873 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-08 23:24:56 +00:00
pandora-release 8af4dc13d8 Updated version and build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8870 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-08 12:12:08 +00:00
pandora-release 9bd9814ece Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8836 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-30 23:21:55 +00:00
pandora-release 7abb33a2bb Updated version and build strings for the 5.0RC1 release.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8835 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-30 14:35:41 +00:00
jsatoh 0066dc2dbb 2013-09-22 Junichi Satoh <junichi@rworks.jp>
* tentacle_client: Upgraded to 0.4.0. (Imported from trunk of
        tentacled repository.)
	Added IPv6 support.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8797 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-22 15:00:57 +00:00
Ramon Novoa e87c3d5007 2013-09-19 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_installer: Changed the bash style == to =.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8785 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-19 13:23:05 +00:00
Ramon Novoa ae177b41bb 2013-09-19 Ramon Novoa <rnovoa@artica.es>
* Linux/pandora_agent.conf: The default user should not be pandora.

	* pandora_agent_installer: Removed some calls to chown that had the
	  potential to damage a Linux system.

	* pandora_agent: Delay the parsing of include files to make sure
	  that all variables that may affect a module's configuration
	  have already been read.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8783 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-19 12:07:31 +00:00
Ramon Novoa 8886667a16 2013-09-16 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_inventory.cc: Do not output anything if the
	  module has no data.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8771 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-16 09:30:02 +00:00
Ramon Novoa 3ad7b105eb 2013-09-13 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Added a missing parameter to a call to log_message.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8766 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-13 14:01:49 +00:00
Ramon Novoa f09b303f2f 2013-09-12 Ramon Novoa <rnovoa@artica.es>
* win32/modules/pandora_module_logevent.cc: Write to the log file
	  (instead of the debug log) if Wevtapi.dll cannot be found.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8762 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-12 08:20:43 +00:00
darode d9cb5abea0 2013-08-22 Dario Rodriguez <dario@artica.es>
* pandora_agent_installer: Merged improvements from 4.1 branch
        to fix several bugs related to custom installation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8688 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-22 17:04:00 +00:00
Ramon Novoa b8346a6e40 2013-08-13 Ramon Novoa <rnovoa@artica.es>
* unix/pandora_agent: Display proxy mode errors in the log file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8657 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-13 17:01:17 +00:00
mdtrooper 1e95f6eb64 2013-08-08 Miguel de Dios <miguel.dedios@artica.es>
* src/pandroid/agent/PandroidAgentListener.java,

	src/pandroid/agent/PandroidAgentTentacle.java: removed the java

	warning that the class of tentacle have a method with the same name

	as a constructor.






git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8646 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-08 13:02:55 +00:00
Ramon Novoa a36f4b89e8 2013-08-08 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_logevent.h: Updated the EventID mask. The
	  Windows Event Log Viewer seems to ignore the most significant 16
	  bits of the event id.

	* modules/pandora_module_logevent.cc: Do not discard existing
	  events when running in debug mode.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8644 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-08 12:22:42 +00:00
mdtrooper 1d2abab206 2013-07-10 Miguel de Dios <miguel.dedios@artica.es>
* unix/NT4/pandora_agent.conf, pc/NT4/pandora_agent.conf: set the
	remote_config to 0.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8508 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-10 10:22:55 +00:00
Ramon Novoa f2b7f898fd 2013-07-10 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Changed the regexp used to retrieve ip addresses to
	  avoid locale related problems.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8507 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-10 10:08:52 +00:00
Ramon Novoa aeeaf21ad2 2013-07-03 Ramon Novoa <rnovoa@artica.es>
* pandora_agent.redhat.spec: Make absolute calls to chkconfig. Add the
	  service before enabling it.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8463 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-03 11:41:25 +00:00
mdtrooper 051ef6b82f git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8454 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f 2013-07-03 07:51:19 +00:00
mdtrooper fb136060cf 2013-07-03 Miguel de Dios <miguel.dedios@artica.es>
* AndroidManifest.xml: fixed small warning.






git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8452 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-03 07:38:37 +00:00
Ramon Novoa ae4fcf7b9d 2013-06-26 Ramon Novoa <rnovoa@artica.es>
* pandora_agent.redhat.spec,
	  pandora_agent.spec: Fixed directory permissions



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8416 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-26 10:45:22 +00:00
mdtrooper b6d9a31ce0 2013-06-26 Miguel de Dios <miguel.dedios@artica.es>
* Linux/pandora_agent.conf: restored the remote_config as disabled
	for to avoid problems.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8413 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-26 08:22:39 +00:00
mdtrooper 822e2ef03e 2013-06-26 Miguel de Dios <miguel.dedios@artica.es>
* bin/pandora_agent.conf: restored the remote_config as disabled
	for to avoid problems.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8412 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-26 08:18:29 +00:00
slerena a415ff7507 2013-06-25 Sancho Lerena <slerena@artica.es>
* Linux/pandora_agent.conf: new defaul values (inventory enabled,
        remote config enabled).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8408 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-25 16:07:30 +00:00
slerena 5b6d1823db 2013-06-25 Sancho Lerena <slerena@artica.es>
* bin/pandora_agent.conf: removed old references to ODBC feature
        not supported anymore. New defaults (inventory, remote config and
        IP detection now by default).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8407 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-25 16:04:51 +00:00
Ramon Novoa cb31a08927 2013-06-25 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc: When concatenating IP addresses, do not
	  output a comma unless the IP can be parsed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8390 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-25 09:53:04 +00:00
Ramon Novoa ec07035f45 2013-06-20 Ramon Novoa <rnovoa@artica.es>
* windows/winevt.h: Added to repository. Headers for Wevtapi.dll.

	* modules/pandora_module_logevent.cc,
	  modules/pandora_module_logevent.h,
	  pandora_strutils.cc,
	  pandora_strutils.h: Added support for the new XML based eventing model
	  introduced in Windows Vista.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8358 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-20 08:37:35 +00:00
Ramon Novoa 62488ffead 2013-06-14 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_logevent.h,
	  modules/pandora_module_logevent.cc: Merged from 4.0 branch. Improved
	  the reading of log event descriptions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8330 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-14 10:58:24 +00:00
Ramon Novoa f2d28ff90e 2013-06-13 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Merged from 4.0 branch. Quote the XML data file name
	  before trying to send it.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8322 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-13 15:10:53 +00:00
Ramon Novoa acf0af6063 2013-06-07 Ramon Novoa <rnovoa@artica.es>
* DEBIAN/make_deb_package.sh: Merged from 4.0 branch. Create the agent's
	  temp dir.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8268 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-07 08:51:56 +00:00
mdtrooper fb31958af2 2013-05-30 Miguel de Dios <miguel.dedios@artica.es>
* .classpath, .settings, .settings/org.eclipse.jdt.core.prefs:

	added garbage files necesaries for eclipse.

	

	* AndroidManifest.xml: update the version.

	

	* bin/AndroidManifest.xml: erased temp file from project compilation

	in eclipse.

	

	* proguard.cfg: fixed the file and change the deprecated

	instructions.

	

	* src/pandroid/agent/PandroidAgentListener.java: added the code for

	to magical change to open source version.

	

	* src/pandroid/agent/PandroidAgentTentacle.java,

	src/pandroid/agent/PandroidAgent.java: improved the source code

	style.

	

	* res/values/strings.xml, res/values-en/strings.xml,

	res/values-es/strings.xml: updated the texts.






git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8232 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-30 10:51:10 +00:00
jsatoh e2f88eb933 2013-05-28 Junichi Satoh <junichi@rworks.jp>
* res/values-ja/strings.xml: Fixed a translation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8217 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-28 00:40:53 +00:00
Ramon Novoa 25a17874c8 2013-05-23 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Merged plugins with modules to add macro support.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8202 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-23 17:20:21 +00:00
markholland b011826210 2013-05-18 Mark Holland <mark@mark-holland.me.uk>
* Pandroid Agent v3.0_UTF8.apk: Added apk that sends xml in
    utf-8 encoding.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8151 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-18 19:01:38 +00:00
markholland 9d718116aa 2013-05-18 Mark Holland <mark@mark-holland.me.uk>
* src/pandroid/agent/PandroidAgentListener.java: Changed xml
    header to UTF-8 encoding.

    * src/pandroid/agent/PandroidAgentTentacle.java: Changed data
    String to byte array.

    * Pandroid Agent v3.0_UTF8.apk: Added apk that sends xml in
    utf-8 encoding.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8150 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-18 14:33:49 +00:00
markholland 0b825587ee 2013-05-16 Mark Holland <mark@mark-holland.me.uk>
* src/pandroid/agent/PandroidAgentListener.java: Fixed
	values not showing up on status view when pandroid activity
	killed. Corrected spelling mistake of receiveBytes. Removed
	last_gps_contact module, wasn't implemented.

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

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8147 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-16 19:36:32 +00:00
markholland 15018cb012 2013-05-16 Mark Holland <mark@mark-holland.me.uk>
* res/values: Added report inventory string to all languages.
	fixed some wrongly spelled strings.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8146 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-16 19:09:05 +00:00
markholland 5c808b7266 2013-05-15 Mark Holland <mark@mark-holland.me.uk>
* Pandroid Agent v3.0_iso-8859-1.apk: Updated to latest version.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8136 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-15 20:27:47 +00:00
markholland c8d08a53fd 2013-05-15 Mark Holland <mark@mark-holland.me.uk>
* src/pandroid/agent/PandroidAgentListener.java: Possibly fixed
    notification disappearing, agent running > 24 hours and notification
    still present.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8135 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-15 20:15:34 +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
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
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
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