Commit Graph

59 Commits (release_19)

Author SHA1 Message Date
Greg Alexander c4e32e3ddc runOnUiThread() wants a Runnable, not a Thread, but i don't think it
6 years ago
Greg Alexander 906d6a30ef use app-private path for home/ssh directory by default, and make a menu
6 years ago
Greg Alexander af616dbc79 fix crash from ActivityNotFoundException when note 7 user attempts to
6 years ago
Greg Alexander 9efa856065 add option to set environment variables
6 years ago
Greg Alexander bf8c204a8c don't include "IP: " in notification string
8 years ago
Greg Alexander 3ef00eb6a1 now the notification view looks good and has useful information
8 years ago
Greg Alexander 9c7454d222 when launching the sshd service, make sure the /sdcard/ssh path exists,
8 years ago
Greg Alexander f652b1b3c6 add a contentView to the notification, which is needed at least in
8 years ago
Greg Alexander 0523529968 replace awkward authorized keys editor with a single "Reset Keys" option
8 years ago
Greg Alexander c9b8494352 add "Start on Open" option that makes the activity start the service, and
8 years ago
Greg Alexander 14a9812c85 now if you tap on the notification it goes to the SimpleSSHD main
8 years ago
Greg Alexander 3da61bfa96 make the foreground service an option
8 years ago
Greg Alexander ae7703fad0 implemented startForeground(), with some reservation
8 years ago
Greg Alexander 73d4406ee1 automatically restart sshd if the system kills it (or it crashes). but
8 years ago
Greg Alexander 4eecabf241 and now it works, even will create a new ssh directory from scratch
8 years ago
Greg Alexander 31fd0b37d0 now it compiles
8 years ago
Greg Alexander 84f9f31c14 first draft of new authorized_keys creation activity and support threads
8 years ago
Greg Alexander 65d628499b beginning framework for authorized keys editor
8 years ago
Greg Alexander b35cee186d separate "Documentation" and "About" choices, and About just displays
9 years ago
Greg Alexander a916ac5c08 add 'buffersu' program to wrap rsync and make sure there is no wedging
9 years ago
Greg Alexander fc20a31b6c if there are multiple interfaces up, go ahead and list them all
9 years ago
Greg Alexander 698ce0c52c now it skips the fe80 bogus ipv6 addr
9 years ago
Greg Alexander 63d63e4f84 this approach using java.net.NetworkInterface doesn't seem to work either
9 years ago
Greg Alexander 615e835880 get the ip address of the device using wifimanager, which only works if
9 years ago
Greg Alexander 3620b17411 implement start on boot
10 years ago
Greg Alexander 8a1bc2c4e0 made the JNI methods static because they didn't use this anyways
10 years ago
Greg Alexander 5df0610f5c implement the extra dropbear commandline options
10 years ago
Greg Alexander 637de21aca add locking to resolve some thread safety issues
10 years ago
Greg Alexander 5c7d92415c remove debug code from updater thread
10 years ago
Greg Alexander a40b35a5a2 updater checks length as well as time, in case there are multiple
10 years ago
Greg Alexander 52a1093dde make the log view always show the bottom of the log
10 years ago
Greg Alexander 4581a224ac first draft of a thread to poll for changes to the dropbear.err file
10 years ago
Greg Alexander b44b9295d5 add display of the dropbear.err log (it doesn't update yet)
10 years ago
Greg Alexander 932bfa3242 save the static pointer to the main Activity in SimpleSSHD because it'll
10 years ago
Greg Alexander 76eb76fac4 get rid of the old prefs machinery
10 years ago
Greg Alexander e49cf68feb port is a string now because none of the stock preference widgets will do
10 years ago
Greg Alexander bbcb048996 first draft of settings activity
10 years ago
Greg Alexander 95c028ad81 add an options menu to access the future settings activity
10 years ago
Greg Alexander 324bf93935 no need to specify -l on the shell, dropbear does it as appropriate
10 years ago
Greg Alexander f0347f7477 probably startForeground() is overkill?
10 years ago
Greg Alexander 5c01b97345 when creating the Service, we check for a pid file for an orphaned daemon
10 years ago
Greg Alexander e77351edd4 factor the SharedPreferences usage into its own Prefs class
10 years ago
Greg Alexander 5248db4380 add a (useless) service onDestroy() to clean up the sshd
10 years ago
Greg Alexander aa006d51d8 eek! and call super.onPause() too
10 years ago
Greg Alexander f5d6675cad make the start button color a little more palatable
10 years ago
Greg Alexander 58eefb02b9 add something to wait for the forked process to die, so it doesn't become
10 years ago
Greg Alexander c6fbf0cbcc fix getting the port number out of the UI
10 years ago
Greg Alexander 41faa118cc fix typos in definition of startstop_clicked()
10 years ago
Greg Alexander b9ad9864ce whoops, chain to super.onResume()
10 years ago
Greg Alexander 1febe9ebe9 add service lifetime termination, and notes about future service foregrounding..
10 years ago