1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 18:29:17 +02:00
Commit graph

97 commits

Author SHA1 Message Date
Simo Kinnunen
6acfa5b528 Add a new command to generate fake devices for testing. 2014-06-04 18:57:20 +09:00
Simo Kinnunen
97c4d24a7a Add a new log priority: important. Should make it easier to display interesting non-error messages. 2014-06-02 12:19:52 +09:00
Simo Kinnunen
d1746ce745 Replace colors with chalk. 2014-05-29 05:27:16 +09:00
Simo Kinnunen
eb3e7a40cc Send key codes as strings for convenience. 2014-05-27 19:02:05 +09:00
Simo Kinnunen
41ed33f5c4 Implement APK uploads using the new storage system. Installation from URL still does not work, and dropping the file on the screen may not work either. 2014-05-22 13:33:38 +09:00
Simo Kinnunen
98470cda20 Add rate limiting to the image processor. 2014-05-21 14:32:21 +09:00
Simo Kinnunen
e56d757cde Add an app for resizing images. Still needs rate limiting, and still trying to decide how to pass the correct URL to the app. 2014-05-20 19:00:53 +09:00
Simo Kinnunen
949e13456c Update rethinkdb's run() to new syntax. 2014-05-16 18:05:41 +09:00
Simo Kinnunen
002c9e5fd9 Add a Node.js code watcher. It's not a separate process, so it can check require.cache for files it should watch. Currently unused due to missing SIGHUP handlers. 2014-05-14 11:04:40 +09:00
Simo Kinnunen
86adb4f359 Fix JSHint errors. 2014-05-13 14:54:56 +09:00
Simo Kinnunen
cd374dd072 Remove unused console logs. 2014-05-12 14:19:17 +09:00
Simo Kinnunen
eb94192122 Use stf-device-db instead of stf-devices-db. 2014-05-12 12:03:32 +09:00
Simo Kinnunen
0c24cb7ec6 Add browser icons. Currently requires stf-browser-db to be npm linked to work. 2014-05-08 18:58:51 +09:00
Simo Kinnunen
26b2b1acc6 Support tab key. 2014-05-01 19:18:38 +09:00
Simo Kinnunen
8da5b61289 Logcat works now, but still kind of wondering how the messages should arrive. 2014-04-17 18:27:35 +09:00
Simo Kinnunen
d5c96dc50d Clean up the owner plugin (now called 'group'). 2014-04-16 19:00:17 +09:00
Simo Kinnunen
961a958d7b Log forks. 2014-04-12 15:26:49 +09:00
Simo Kinnunen
4d5319b555 Auto-end shared lifecycles on exit. 2014-04-07 17:05:12 +09:00
Simo Kinnunen
941f4cb051 Oops. Fix stupid error in lifecycle. 2014-04-04 20:16:18 +09:00
Simo Kinnunen
e0b4b3b40f Don't listen to 'end' on proxy server. 2014-04-04 20:08:51 +09:00
Simo Kinnunen
8eae848897 Fix SH-06DNERV's data mapping. 2014-04-02 12:37:20 +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
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
09604c0142 Fall back to gsm.operator.alpha if gsm.sim.operator.alpha doesn't exist. 2014-03-19 19:52:28 +09:00
Simo Kinnunen
5601fe2829 Normalize device data in one place. 2014-03-19 18:49:41 +09:00
Simo Kinnunen
aec95d87a4 Shut down stf local in proper order so that the console doesn't get ugly. 2014-03-18 17:15:21 +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
Simo Kinnunen
ed5709aa04 Expose identify functionality. Shows a red screen with important data. 2014-03-17 19:21:34 +09:00
Simo Kinnunen
d1b724ada0 Integrate device database. 2014-03-17 14:59:18 +09:00
Simo Kinnunen
3d20b06f7f Separate device functionality into plugins. 2014-03-14 20:18:53 +09:00
Simo Kinnunen
d90d450400 Port to new adbkit. 2014-03-12 12:42:10 +09:00
Simo Kinnunen
a25df0b293 Wake up and unlock device when it's being used. A bit messy, pending refactor. 2014-03-04 18:00:31 +09:00
Simo Kinnunen
4896ca406e Reap dead devices using timeouts. Previously, if a provider died without being able to clean up properly, the device would stay as a ghost. 2014-02-25 20:45:29 +09:00
Simo Kinnunen
4381a5ddfe Remove remnants of console and old tx implementation. 2014-02-21 16:31:22 +09:00
Simo Kinnunen
e6a9c646e3 Provider better provider debug output and make fix killProcsByComm hanging on Xperia Z1. 2014-02-17 20:14:56 +09:00
Simo Kinnunen
bc9d356d7f Use InputAgent for the keyboard. 2014-02-17 19:27:45 +09:00
Simo Kinnunen
30fdc62711 Fix promiseutil.periodicNotify to actually resolve with correct values. 2014-02-17 19:15:56 +09:00
Simo Kinnunen
1fbaae8d8e Add utility for turning keymaps into characters mappings. 2014-02-12 00:09:18 +09:00
Simo Kinnunen
b6ccc29d0c Rename filter_value_* to filter_behavior_literal_*. 2014-02-11 23:09:23 +09:00
Simo Kinnunen
077982f08a Add a very lazy test for keyutil.parseKeyCharacterMap(). 2014-02-10 22:08:29 +09:00
Simo Kinnunen
329b862e4f Add key character map parser. 2014-02-10 21:48:25 +09:00
Simo Kinnunen
0a28757f62 devutil.killProcsByComm() was not falling back to SIGKILL like it should have been. Fixed. Also added a small delay between kill checks. 2014-02-05 23:08:09 +09:00
Simo Kinnunen
adaf3da228 New rewrite of provider. By moving to promises we should no longer have issues with double-quits. 2014-02-04 15:42:52 +09:00
Simo Kinnunen
483bf1be7a Default to null operator if none can be found. Easier to work with than undefined. 2014-02-03 03:15:19 +09:00
Simo Kinnunen
3a0d177925 Make inviting/kicking work. 2014-02-03 01:31:18 +09:00
Simo Kinnunen
b9ca8b04e1 Make wireutil a bit more normal. It now requires wire on its own. 2014-02-02 20:00:29 +09:00
Simo Kinnunen
48d5648b9d Get rid of switch statements in favor of an EventEmitter-based router for message handling. 2014-02-02 19:55:44 +09:00