* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* res/layout.main.xml: removed as no longer used
in pandroid 2.0
* res/values/strings.xml: Added strings for simID,
upTime, start, loading and agent stopped. Replicated
in values-en and values-es
* src/pandroid/agent/core.java: Added variables
for simID and upTime
* src/pandroid/agent/PandroidAgent.java: commented
out unnecessary code from version 1.0. Removed
absolute tab height as it interferes with high
density screens.
* src/pandroid/agent/PandroidAgentListener.java:
Android version is now set as per device rather
than a fixed string. simID, upTime and networkOperator methods
and then added to XML
* src/pandroid/agent/setup.java: commented
out unnecessary code from version 1.0
* src/pandroid/agent/SMSActivity.java: Started work
* src/pandroid/agent/SMSBroadcastReceiver.java:
Started work
* src/pandroid/agent/status.java: Created onStart
method to better follow android standard. run()
is executed here. Fixed way toasts for connection
messages are handled. Added textviews for simID
and upTime values. added start/stop, show and hide
XML buttons for debugging purposes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6601 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* unix/Linux/pandora_agent.conf
unix/pandora_agent: Added units parameter to the
agent and added units to the default modules in
conf for pending task #3520530
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6290 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* win32/windows/pandora_wmi.cc: Added to the windows
agent inventory module for patches the service pack
column
Merged from 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6251 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* unix/plugins/inventory,
unix/Linux/pandora_agent.conf: Inventory improved: added Mac to NIC,
created new modules for IPs and Route table. Update pandora agent conf.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6203 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* unix/plugins/inventory: Fixed method of obtain
runlevel to be valid on OpenSuse
Merged from 4.0.x
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6188 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* unix/plugins/inventory: Fixed method of obtain
runlevel to be valid on OpenSuse
Merged from 4.0.x
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6167 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f