Commit Graph

181 Commits

Author SHA1 Message Date
Simo Kinnunen
f5ac9d2315 Reverse port forwarding maybe works. 2014-04-14 20:57:40 +09:00
Simo Kinnunen
1cc88e4f42 Suggest enabling third party apps if STF apk installation is taking a bit too long. 2014-04-14 14:29:42 +09:00
Simo Kinnunen
609e33837b Gracefully shutdown auth apps. 2014-04-12 21:34:38 +09:00
Simo Kinnunen
4ba11eca61 Provider should now shut down gracefully. 2014-04-12 16:56:12 +09:00
Simo Kinnunen
bd2b43901d Make graceful shutdown more graceful by actually waiting for sockets (and others) to close. Ongoing effort. 2014-04-12 16:16:03 +09:00
Simo Kinnunen
5e610a8de4 Use serial syrup everywhere. 2014-04-11 15:47:53 +09:00
Simo Kinnunen
7f74ecd7af Use wireutil.reply() where possible. 2014-04-11 14:54:19 +09:00
Simo Kinnunen
e4b701df5d Don't try to restart if we're stopping. 2014-04-11 11:01:00 +09:00
Simo Kinnunen
4b155a3850 Show upload/processing progress for normal file uploads. 2014-04-07 16:36:28 +09:00
Simo Kinnunen
a9641f3271 Support rotation. 2014-04-07 11:14:38 +09:00
Simo Kinnunen
e0b4b3b40f Don't listen to 'end' on proxy server. 2014-04-04 20:08:51 +09:00
Simo Kinnunen
45f7db1728 Send more detailed error codes for upload. 2014-04-04 19:50:22 +09:00
Simo Kinnunen
ea6245ace4 Faster progress. 2014-04-04 18:10:43 +09:00
Simo Kinnunen
c45da05e28 Add missing require and remove unnecessary require. 2014-04-04 18:02:46 +09:00
Simo Kinnunen
317bdf5438 Guesstimate installation progress. 2014-04-04 18:01:00 +09:00
Simo Kinnunen
44378e625f Show progress for URL installation. Temporarily break upload installation. 2014-04-04 17:33:51 +09:00
Simo Kinnunen
1d2afa65b4 Fix event handler cleanup. 2014-04-04 17:27:59 +09:00
Gunther Brunner
760464388e Upload now has uninstall. 2014-04-03 23:28:32 +09:00
Simo Kinnunen
97a042a54d Support installation from URLs. 2014-04-03 22:53:23 +09:00
Simo Kinnunen
655af52659 Support uninstalling applications. 2014-04-03 20:28:54 +09:00
Simo Kinnunen
44f0575cb9 Change pushing_file to pushing_app. 2014-04-03 19:17:17 +09:00
Simo Kinnunen
89260676a3 Switch install plugin to send status codes instead of full strings. 2014-04-03 19:15:26 +09:00
Simo Kinnunen
c33f0eab09 Make sure touch events arrive in correct order. 2014-04-03 17:13:17 +09:00
Simo Kinnunen
5183485a53 Add phone number and imei to device identity. 2014-04-02 13:08:59 +09:00
Simo Kinnunen
a891e5de49 Don't wait for properties forever. 2014-04-02 13:07:02 +09:00
Simo Kinnunen
df8dfdb321 Wait 1 minute for boot to complete, then fail. 2014-04-02 12:36:18 +09:00
Simo Kinnunen
0ce65687c5 Add timeouts everywhere. Should help if the ADB socket gets stuck like it sometimes does. 2014-04-02 11:58:53 +09:00
Simo Kinnunen
64d4782436 Enable STFService version check again. 2014-04-01 22:15:10 +09:00
Simo Kinnunen
e43507b686 Refactor stream log output to a utility. 2014-04-01 21:55:50 +09:00
Simo Kinnunen
d6604bcda8 Replace device:support:quit with util:lifecycle, which is usable by non-device processes too. 2014-04-01 21:41:58 +09:00
Simo Kinnunen
e17f306d30 Add browser list to device identity. 2014-04-01 19:29:28 +09:00
Simo Kinnunen
09eb8c539d Refactor InputAgent into STFService. Support copypasting (only pasting implemented in the UI right now though). 2014-04-01 11:50:16 +09:00
Simo Kinnunen
1880d52075 Poor UI for installation progress. 2014-03-26 21:13:48 +09:00
Simo Kinnunen
27443d5a92 Be more verbose about install progress. 2014-03-26 19:29:32 +09:00
Simo Kinnunen
796cdf94b6 Only use websocket transport. Currently we cannot guarantee state integrity on reconnect, so let's disable it for now. 2014-03-26 14:08:41 +09:00
Simo Kinnunen
a4a1cd89f0 Emit progress events on APK installation. 2014-03-26 13:50:10 +09:00
Simo Kinnunen
60cc74c3db Update InputAgent APK to hopefully solve InputService getting killed every now and then. 2014-03-26 13:34:23 +09:00
Simo Kinnunen
8ed3ae1784 First version of apps launching automatically after installation. 2014-03-25 21:12:51 +09:00
Gunther Brunner
8a4f4f5638 -Added favicon. 2014-03-25 19:29:58 +09:00
Simo Kinnunen
a9f7e0dd0d Revert "Use 'am stopservice' to stop the input service."
This reverts commit d97a10de0ace793a06a15bfdd6b667b7517e655e.
2014-03-24 11:20:25 +09:00
Simo Kinnunen
2683f36390 Use 'am stopservice' to stop the input service. 2014-03-23 22:16:14 +09:00
Simo Kinnunen
dfe3d97de3 APKs can now be drag & dropped to the device screen, which will install the application. Still lacking UI, and the app doesn't get launched. 2014-03-20 22:00:01 +09:00
Simo Kinnunen
b4416b5f0f Fix all JSHint complaints in Node.js code. 2014-03-19 20:36:46 +09:00
Simo Kinnunen
d817783b63 Do not reap instantly, there are timing issues that seem to cause it to override device registrations. 2014-03-19 19:39:44 +09:00
Simo Kinnunen
5601fe2829 Normalize device data in one place. 2014-03-19 18:49:41 +09:00
Simo Kinnunen
52416ebde4 Remove device owner if device is not present. 2014-03-19 18:06:34 +09:00
Simo Kinnunen
2555168345 Replace groupService's outdated member tracker with deviceService.trackGroup(). 2014-03-19 16:45:30 +09:00
Simo Kinnunen
912dd6b58a Fix missing dependency in logcat plugin. 2014-03-18 17:58:03 +09:00
Simo Kinnunen
022977886c Rename "isOwnedByUser" to "using". 2014-03-18 15:19:39 +09:00
Simo Kinnunen
30b04ab2d2 Add convenience flags for knowing if a device is usable, ready, and owned by us. 2014-03-18 15:06:02 +09:00