Commit Graph

88 Commits (master)

Author SHA1 Message Date
Alan SCHNEIDER 2e7072a486 * Bump version 1.7.1 2012-07-16 18:06:14 +02:00
Alan SCHNEIDER 777fe0f767 * Fetch external IP address from ifconfig.me 2012-07-16 18:02:59 +02:00
Alan SCHNEIDER b29bca2eea * Speed improvements on DropBearInstaller/Remover
* Possible fix on wrong install return code (with full paths)
2012-07-15 15:53:35 +02:00
Alan SCHNEIDER ab82c025b7 Explorer: green text color 2012-06-17 22:10:06 +02:00
Alan SCHNEIDER d912e6fb6d * Properly updates UI upon ServerStarter failure because of WiFi 2012-06-13 11:09:19 +02:00
Alan SCHNEIDER aeaeb115c9 * Check WiFi before ServerStarter
* Retored 'ps dropbear' quick parsing to check if ServerStarter has to kill before starting
2012-06-13 10:52:11 +02:00
Alan SCHNEIDER 1d74c6e5eb * Rework of colors (dark/ICS/green)
Chevron still to color in white
2012-06-12 18:04:23 +02:00
Alan SCHNEIDER cc34afb1d9 * Use of a lockFile (not a pidFile anymore)
* Calls killall() instead of kill()
2012-06-12 17:14:54 +02:00
Alan SCHNEIDER 53540cb716 * Fix FC upon rotation
* Bump version 1.7.0
* Using absolute path to call for binaries
2012-05-21 21:40:36 +02:00
Alan SCHNEIDER 48b6c128fc Work in progress 2012-05-21 21:40:36 +02:00
Alan SCHNEIDER f14a51ae3e Update src/me/shkschneider/dropbearserver/Utils/ServerUtils.java 2012-05-21 21:40:36 +02:00
Alan SCHNEIDER 2f94d22f38 Update src/me/shkschneider/dropbearserver/Utils/ServerUtils.java 2012-05-21 21:40:36 +02:00
Alan SCHNEIDER 7969f9340a Fix. MIGHT NOT WORK 2012-05-21 21:40:35 +02:00
Alan SCHNEIDER aa44dd23a6 Adds getExternalIpAddress() into ServerUtils (from ifconfig.me) 2012-05-21 21:40:35 +02:00
Alan SCHNEIDER 0bcd047ed1 Update src/me/shkschneider/dropbearserver/Tasks/ServerStarter.java 2012-05-21 14:20:37 +03:00
Alan SCHNEIDER c4830ea913 [1.6.0]
* App name changed to 'DropBear SSH Server'
* Using another dropbear build, supports banner
* Basic banner implementation (non configurable, for now)
* Banner implementation
* Bump version 1.6.0
2012-04-29 18:54:28 +02:00
Alan SCHNEIDER c6ebf2b157 [1.5.7]
* Fix: Public keys were always removed upon loading
* Bump version 1.5.7
2012-04-29 16:36:40 +02:00
Alan SCHNEIDER 9cb90f97cc [1.5.6] Fix: Possible FC
* Fix: Possible FC if localIpAddress could not be retrieved
* Bumpd version 1.5.6
2012-04-28 16:41:22 +02:00
Alan SCHNEIDER 82fb7db5be [1.5.5] Fixes when loading from Notification
* Fix: SettingsPage and ServerPage were not updated when loaded from notification
* Fix: SettingsPage was both enabled and disabled when loading from Notification
* Bump version 1.5.5
2012-04-28 16:29:17 +02:00
Alan SCHNEIDER a0fcc4eb73 * Removed startAtBoot/onlyIfRunningBefore (not working) 2012-04-27 16:47:23 +02:00
Alan SCHNEIDER fe08f3818a * Implements notification at boot 2012-04-27 16:47:22 +02:00
Alan SCHNEIDER ff962bef08 [1.5.3]
* Improves notification: if server is running at startup, shows notification
2012-04-27 16:47:22 +02:00
Alan SCHNEIDER 9e233c250e [1.5.2]
* Final implementation of dropbearVersion detection and update
2012-04-27 16:47:22 +02:00
Alan SCHNEIDER dc7d4e72c4 * Quick fix on dropbearVersion 2012-04-27 16:47:22 +02:00
Alan SCHNEIDER 8b0d202c62 [1.5.1]
* Improves dropbearVersion detection
* Cleanup
2012-04-27 16:47:22 +02:00
Alan SCHNEIDER e3738bb938 * ServerUtils.getDropbearVersion parser dropbear version (displayed in AboutPage)
* Improves layouts compatibility: using LinearLayouts instead of RelativeLayouts
* Removes res/layout/settings_banner (unused)
2012-04-27 14:08:17 +02:00
Alan SCHNEIDER 541666d9b5 * Note: FileObserver rejected because it does not observs root commands 2012-04-27 13:42:11 +02:00
Alan SCHNEIDER 0cbfd9d8d7 * Improves: ServerStopper calls killall() directly if ServerPid <= 0 2012-04-27 13:41:06 +02:00
Alan SCHNEIDER db3c9ad98e * Thanks 2012-04-27 11:31:59 +02:00
Alan SCHNEIDER 9a231ab77e * Improves: Explorer has a fixed header 2012-04-27 11:30:42 +02:00
Alan SCHNEIDER cdf3d572f3 * Updates TODOs 2012-04-27 01:16:17 +02:00
Alan SCHNEIDER ebeded4b42 * Implements notifications (optional, default is true)
* Improves: onBackPress finished ExplorerActivity if dirStack is empty (top level)
* Improves: Removes 'password' label in SettingsPage.Credentials
* Fix: list_item_middle for 2nd and 3st items of SettingsPage.General
2012-04-27 00:59:53 +02:00
Alan SCHNEIDER f82a54a009 * Prevent duplicated public keys 2012-04-26 23:15:24 +02:00
Alan SCHNEIDER deda98fcc1 * SettingsPage.CredentialsLogin moved from String to Boolean to reflect dropbear's behavior
* CredentialsAlertDialog updated
  * ServerPage.Infos updated
  * SettingsHelper updated
* Fix: kill -9 pid is called along with kilall
2012-04-26 21:01:35 +02:00
Alan SCHNEIDER ef0856635b * Fix: Missing Toast message on SettingsPage.Credentials
* Fix: Files color in Explorer
* Quick rework of UID/GID (not perfect yet)
2012-04-26 20:24:02 +02:00
Alan SCHNEIDER 85cbad1baa * Revert: Complete removal restored to General (for obvious reason...)
* Adds res/raw/scp to fix SCP support
* Note: logins are ineffective
2012-04-26 18:39:38 +02:00
Alan SCHNEIDER 0af0b5a89a * Moves CompleteRemoval from SettingsPage.General to SettingsPage.Dropbear
* Removes banner (was not working), puts ListeningPort on top
* Detects if storage is missing before running Explorer
* Toasts asking to restart the server upon Dropbear configuration changes
* Nice messages during installation and removal
* ServerStopper now alwasy uses killall()
* Fix: ServerUtils.getPublicKeys(): retrieves only the first key
2012-04-26 18:06:36 +02:00
Alan SCHNEIDER ed420ca99e * Fix: Pleases dropbear by setting host keys' owner to root 2012-04-26 16:18:37 +02:00
Alan SCHNEIDER d62d42b6a5 * Minor update() calls cleanup 2012-04-26 15:56:00 +02:00
Alan SCHNEIDER 8783364cb4 * Adds public keys
* File explorer: add a public key form sdcard
  * SettingsPage.PublicKeysList: click to drop a public key
* Wording: Accounts -> Credentials
* Layouts:
  * SettingsPage.CredentialsInfos is more clear
  * SettingsPage.CredentialsInfos is clickable
  * SettingsPage.PublicKeysContent is clickable
* ExplorerActivity callback (startActivityForResult)
  * Result comes to MainActivity
  * Request to updatePublicKeys() is sent to MainAdapter>SettingsPage
* ServerStopper uses kill and kilall from a public static in ServerPage
* Adds CredentialsAlertDialog to change credentials
  * Updates hints
  * Set default values if empty
  * Set SharedPrefs on return
* Adds PublicKeysAlertDialog to remove a key
  * Removes public key from authorized_keys
* New installation procedure:
  * Insure that files are created with app's uid
  * dropbearmulti as root in DataDir
  * symlinks in /system/xbin as root
  * host_rsa/host_dss are 600 in DataDir as app
  * pid is 600 in DataDir as app
  * authorized_keys is 600 in DataDir as app
    * This allows the reading and parsing of public keys
* New removal procedure:
  * Reflects the new file's locations
* Fix: ServerPage.GetDropbear was visible even without having busybox installed
* Fix: Toast error when starting server without WiFi (depending on SharedPreferences)
2012-04-26 15:24:04 +02:00
Alan SCHNEIDER f124f3c8a5 * Takes SettingsHelper's accountsLogin/Passwd into account when:
* Starting the server (ServerStarter)
  * Displaying the ssh command (ServerPages.Infos)
2012-04-25 17:56:05 +02:00
Alan SCHNEIDER db56db20b2 * Accounts (only one for now) can be set in Settings
* Adds corresponding SharedPreferences
  * Bind EditText to SharedPreferences
* SettingsPage sets the Hint messages of AlertDialogs
2012-04-25 17:40:44 +02:00
Alan SCHNEIDER b902a05eb7 * Prevent dropbearCheck in MainActivity.onResume() using a public static Boolean 2012-04-25 17:13:49 +02:00
Alan SCHNEIDER 5103249e82 * Stores ServerPid to save precious ServerUtils.getServerPidFromPs() calls
* Removes useless FileSelected and onActivityResult implementations
* Fix: ServerPage.PID was not aligned right
2012-04-25 17:10:02 +02:00
Alan SCHNEIDER 8b65d0c58d * Improves: Explorer distringuish folders from files
* PublicKeys
  * Reads
  * Checks
  * Adds
* Fix: Explorer goes to high
2012-04-25 16:54:15 +02:00
Alan SCHNEIDER 4349eeaa14 * Improved Explorer (graphics, sorting etc.) 2012-04-25 15:53:10 +02:00
Alan SCHNEIDER f520b920d0 * Adds Explorer 2012-04-25 15:26:53 +02:00
Alan SCHNEIDER c0391375d3 * Optimized layouts
* About/appVersion is now dynamic from a static variable in MainActivity
2012-04-25 01:39:18 +02:00
Alan SCHNEIDER 9bde718224 * After deliberations, Help is removed 2012-04-25 01:03:20 +02:00
Alan SCHNEIDER edf257e85b * First writtings about Help 2012-04-25 00:59:27 +02:00