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

132 commits

Author SHA1 Message Date
Vishal Banthia
8a342daef9 remove default expiry in jwt token 2015-12-03 02:08:26 +09:00
Vishal Banthia
62413b3780 allow user to create an access token to access stf api from user settings tab. 2015-11-26 02:40:34 +09:00
Simo Kinnunen
8e8f2d17b7 Make ZMQ keepalive options optional, since they're breaking things on
some systems. You should now use the ZMQ_TCP_KEEPALIVE=1 and
ZMQ_TCP_KEEPALIVE_IDLE=<value> environment variables to set them.
2015-10-21 20:13:45 +09:00
Simo Kinnunen
0942ecea7a Fix stf local not accepting multiple serials. Fixes #91. 2015-10-14 01:56:30 +09:00
Simo Kinnunen
b248e96dc2 Output a warning instead of crashing if ZMQ library is too old to
support TCP keepalive options. Fixes #109.
2015-10-14 01:40:30 +09:00
Gunther Brunner
342890e884 Start fixing npm test warnings. 2015-10-13 21:21:32 +09:00
Simo Kinnunen
5216eac5ce Remove unused VNC authentication utilities. 2015-10-13 04:05:07 +09:00
Simo Kinnunen
5b5520b705 VNC authentication works, although there is no UI for adding passwords
yet. Direct database manipulation is required for now.
2015-10-13 04:05:07 +09:00
Vishal Banthia
6c741cbf4b Set TCP_KEEPALIVE socket option to fix tcp_connection problem in
some network. Issue-100
2015-10-09 16:32:02 +09:00
Simo Kinnunen
9d20484dcb Limit VNC size by default. 2015-09-15 04:25:21 +09:00
Simo Kinnunen
dc07777829 Hopefully get rid of FrameProducer._stop() timeouts. Doesn't reproduce locally. 2015-07-15 14:15:05 +09:00
Simo Kinnunen
7ad09d6713 Update jws to 3.0.0. 2015-07-01 17:32:30 +09:00
Simo Kinnunen
374781532f Fix stf generate-fake-device. 2015-06-29 19:25:16 +09:00
Simo Kinnunen
736b6f769e Reaper decides if a device is present or not. Allows devices to "come back to life" if they start beating again. 2015-06-03 18:49:42 +09:00
Simo Kinnunen
9130717e0e The doubly linked list implementation was revealed to be buggy by simple unit tests. Fixed. 2015-06-02 15:35:16 +09:00
Simo Kinnunen
d806d4fe54 EventEmitter constructor was not being called in many places. It did work due to the EventEmitter3 constructor being empty, but we can't rely on that. 2015-06-02 13:26:43 +09:00
Simo Kinnunen
92c18539fc Move ttlset to the common util folder. Could be used by something else too. 2015-06-02 10:39:43 +09:00
Simo Kinnunen
5bb05f52f6 Move some screen utilities to the global util directory so that they can be used for other things too. 2015-04-30 13:41:32 +09:00
Simo Kinnunen
e43ae34d4b Make all zmq endpoints use srv records. 2014-12-17 21:01:20 +09:00
Simo Kinnunen
f0aae7d4e5 The srv resolver should be easier to use now. 2014-12-17 20:30:52 +09:00
Simo Kinnunen
23621d0bdd The DB should now be able to connect to SRV records. It will also attempt to fail over once if a connection closes. 2014-12-17 17:55:58 +09:00
Simo Kinnunen
6b5ecf3afb Nexus 9 support. Home button doesn't work, presumably due to auto-unlocking. 2014-11-10 11:42:59 +09:00
Simo Kinnunen
100280db5a Give forward plugin its own folder. Should make it easier to clean it up. 2014-10-14 16:24:18 +09:00
Simo Kinnunen
035acec372 Use same event fin packets. 2014-10-14 16:16:52 +09:00
Simo Kinnunen
617e20522b Reverse port forwarding backend actually works now. UI needs some work for the "new vision". 2014-10-09 18:35:06 +09:00
Gunther Brunner
a4a46fc48b Add support for Screen size (in inches). 2014-09-12 19:32:45 +09:00
Simo Kinnunen
4234bb9e34 Remove rutil in favor of the updated rethinkdb driver. 2014-07-22 12:55:33 +09:00
Simo Kinnunen
9604f2dde2 Fix some JSHint warnings. 2014-07-21 15:12:17 +09:00
Simo Kinnunen
b9484019a3 Update to new device DB. 2014-06-18 22:52:02 +09:00
Valverde Antonio
760e09290f Code adapted to the new interface of stf-device-db. 2014-06-18 22:52:02 +09:00
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
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
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