Commit Graph

612 Commits

Author SHA1 Message Date
Simo Kinnunen
6bb07d7c34 Fix Galaxy S5's display information segfaulting by trying to use the public SDK methods first. SurfaceComposerClient's getDisplayInfo is practically unusable on Galaxy S5 due to weird memory corruption issues. 2014-06-18 15:51:54 +09:00
Gunther Brunner
2f5a882099 Updating to latest device db. 2014-06-18 14:29:28 +09:00
Gunther Brunner
b139849b3f Added CPU information.
Added Memory information.
2014-06-18 00:40:49 +09:00
Gunther Brunner
2b7fa4479f New devices-db doesn't have a image property. 2014-06-17 23:44:16 +09:00
Simo Kinnunen
f06035b8ac Fix the previous port fix. It failed spectacularly when the port count was already divisible by 3, causing no ports to be given to any device. 2014-06-10 12:32:03 +09:00
Simo Kinnunen
72000cc717 Ensure that we correctly allocate worker ports. We were off by one before. 2014-06-09 19:01:02 +09:00
Valverde Antonio
25b9583d5c Fix missing provider when a device is plugged in for the first time 2014-06-06 18:24:32 +09:00
Simo Kinnunen
7fb721f379 Make it possible to connect to ADB running on other computers. 2014-06-06 18:01:36 +09:00
Simo Kinnunen
984c45b183 Separate websocket to its own role. Necessary because the app was getting pretty big already, but mostly because our Windows PCs don't like to connect to websockets on port 80, which is what we use for the app. 2014-06-06 15:02:29 +09:00
Simo Kinnunen
92be2f1b59 Fix default IP in port forwarding. 2014-06-06 10:57:21 +09:00
Simo Kinnunen
e90df6b2f4 Use a real random model for fake devices. 2014-06-04 19:08:07 +09:00
Simo Kinnunen
6acfa5b528 Add a new command to generate fake devices for testing. 2014-06-04 18:57:20 +09:00
Gunther Brunner
1c45b6eb70 Starting to add build targets for common status page. 2014-06-04 18:45:11 +09:00
Gunther Brunner
2ca3619057 Starting to add error status pages. 2014-06-03 21:00:00 +09:00
Simo Kinnunen
41661c9384 Update to Socket.IO 1.0. 2014-06-03 19:00:43 +09:00
Simo Kinnunen
9bb066f0c6 Update to express 4. 2014-06-03 16:33:00 +09:00
Simo Kinnunen
4d4cf58dee Remove /static/data from the auth roles, it doesn't seem to even exist anymore. 2014-06-03 14:40:21 +09:00
Simo Kinnunen
3ea41c1a4e Fix direct device control not extending owner timeout. 2014-06-02 21:03:21 +09:00
Simo Kinnunen
bebb3af42a Send heartbeats from the provider. This keeps unauthorized and offline devices present as well, which is what we want. This also greatly reduces the number of queries to rethinkdb. 2014-06-02 14:52:46 +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
24c1ba1bda Save user IP to database. 2014-05-30 11:46:47 +09:00
Simo Kinnunen
22fc9e79dd Use 'localhost' by default as 'public address'. Can override with --public-ip. 2014-05-30 11:46:47 +09:00
Simo Kinnunen
36f62f3276 F-06E doesn't find the STFService if we don't tell it which component to use. 2014-05-30 00:01:18 +09:00
Gunther Brunner
f09fb07606 Fixed manual paths. 2014-05-30 00:00:08 +09:00
Gunther Brunner
6f11078389 Changed default entry point for intro, manual and v2-features. 2014-05-29 23:04:26 +09:00
Gunther Brunner
726cf3a59a Added V2 LP. 2014-05-29 23:01:31 +09:00
Gunther Brunner
589eaf8066 STF is now buildable. 2014-05-29 12:38:47 +09:00
Simo Kinnunen
d1746ce745 Replace colors with chalk. 2014-05-29 05:27:16 +09:00
Simo Kinnunen
aa8f8fd999 Set rethinkdb connection defaults to docker --link environment variables. 2014-05-29 03:13:21 +09:00
Simo Kinnunen
71188b2e50 Don't make too many low priority updates at once. 2014-05-29 01:10:22 +09:00
Simo Kinnunen
70f6b323f2 Fix stupid bug in addUserForward. 2014-05-28 22:21:41 +09:00
Simo Kinnunen
356465bdd3 Use public IP for local login. Should make cross-device testing easier. 2014-05-27 20:19:39 +09:00
Gunther Brunner
129a1d1f45 Don't die when sending a unknown key. 2014-05-27 19:24:09 +09:00
Simo Kinnunen
eb3e7a40cc Send key codes as strings for convenience. 2014-05-27 19:02:05 +09:00
Gunther Brunner
3794237224 Updating to the new devices-db. 2014-05-23 17:23:49 +09:00
Simo Kinnunen
52fffe91af Update STFService to 0.7.3 to fix browser list getting updated all the time. 2014-05-23 11:20:22 +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
1db48e9fcb Forgot we are getting screenshots as JPG. 2014-05-21 20:12:34 +09:00
Simo Kinnunen
98470cda20 Add rate limiting to the image processor. 2014-05-21 14:32:21 +09:00
Simo Kinnunen
c0d02c4e3a Screenshot resizing works in the UI now. Still missing rate limiting. 2014-05-21 14:07:53 +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
254b2dc7a3 Add screenshots to UI. Still need to implement resizing. 2014-05-20 11:34:39 +09:00
Simo Kinnunen
48726669dc Screenshots are more or less working (server-side). Resize not implemented yet. Temporarily breaks APK uploads. 2014-05-19 17:55:18 +09:00
Simo Kinnunen
5be2b8f7d5 Add --public-ip option to stf local. 2014-05-19 16:55:57 +09:00
Simo Kinnunen
949e13456c Update rethinkdb's run() to new syntax. 2014-05-16 18:05:41 +09:00
Simo Kinnunen
78c207c8d1 Make group timeout configurable. 2014-05-14 19:13:11 +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
9edd849d28 Rename icon middlewares. They're cleaner this way. 2014-05-13 16:41:18 +09:00
Simo Kinnunen
80cdf6f684 Send relative coords to the device. Allows multiple screens to be controlled at the same time, like it was before. 2014-05-13 15:25:43 +09:00
Simo Kinnunen
86adb4f359 Fix JSHint errors. 2014-05-13 14:54:56 +09:00