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

66 commits

Author SHA1 Message Date
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
Vishal Banthia
466890777d Allow to update device notes column from STF UI. https://github.com/openstf/stf/issues/124 2015-11-13 21:16:59 +09:00
Simo Kinnunen
66fbadbd5d Wait for indexes to be ready before we let migrate finish. Should fix 2015-10-22 00:10:26 +09:00
Simo Kinnunen
638322fd47 Fix VNC auth DB index. 2015-10-13 15:31:26 +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
Simo Kinnunen
4a4b0f26d1 Reset owner and reverse forwards when a dead worker restarts. This should prevent ghost owners from staying in the device list. 2015-06-25 17:18: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
11a042d0aa Looks like the DB needs ready: false on device absence or plugged in devices show up as immediately available. That's a bug, will need to investigate later. 2015-06-02 16:14:39 +09:00
Simo Kinnunen
25544d1a1a In-memory reaper. TtlSet needs tests. 2015-06-01 17:41:23 +09:00
Simo Kinnunen
f275d9e563 Don't add secondary indexes to the log database. It's huge. 2014-12-17 23:26:40 +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
ed106ab7c6 Set createdAt only when a device is inserted for the first time. 2014-12-02 15:33:29 +09:00
Simo Kinnunen
cecf08a244 Reverse port forwarding UI actually works now. 2014-10-14 22:57:44 +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
Simo Kinnunen
92ce053c16 Remove forgotten console.log. 2014-10-02 12:04:55 +09:00
Simo Kinnunen
95347d91f0 Show a dialog for new ADB key if using device. 2014-10-01 21:33:47 +09:00
Simo Kinnunen
e6c1de5194 ADB connect now respects auth keys in the settings page. 2014-10-01 18:41:54 +09:00
Simo Kinnunen
4234bb9e34 Remove rutil in favor of the updated rethinkdb driver. 2014-07-22 12:55:33 +09:00
Simo Kinnunen
87a51ef76d Better compatibility with docker's --link option. 2014-07-09 23:27:03 +09:00
Simo Kinnunen
e13fc6701f Save user settings to the database and embed them to the template for fast access. 2014-07-04 22:59:29 +09:00
Simo Kinnunen
66006db685 Insert battery events to the database with soft durability. 2014-06-20 11:36:27 +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
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
24c1ba1bda Save user IP to database. 2014-05-30 11:46:47 +09:00
Simo Kinnunen
aa8f8fd999 Set rethinkdb connection defaults to docker --link environment variables. 2014-05-29 03:13:21 +09:00
Simo Kinnunen
70f6b323f2 Fix stupid bug in addUserForward. 2014-05-28 22:21:41 +09:00
Simo Kinnunen
98ecf57d49 Fix browser plugin not updating in real time. 2014-05-01 20:13:29 +09:00
Simo Kinnunen
a915aea9ea Update with new service features. 2014-05-01 17:05:21 +09:00
Simo Kinnunen
0dfc502e80 Rename identity.browsers to identity.browser. 2014-04-22 10:31:53 +09:00
Simo Kinnunen
4676af51d7 Fix incorrect variable. 2014-04-16 15:26:39 +09:00
Simo Kinnunen
07217f9a39 Make sure we only have one forward per port. 2014-04-16 15:14:01 +09:00
Simo Kinnunen
f8a2eeab26 Reverse port forwarding works, but changes don't apply to new devices yet. 2014-04-15 15:52:45 +09:00
Simo Kinnunen
fe092bc358 Fix 'line is too long' warning. 2014-04-15 11:30:39 +09:00
Simo Kinnunen
123bf2e647 Automatically close database when lifecycle ends. 2014-04-12 16:00:04 +09:00
Simo Kinnunen
fa7437a445 Add more advanced filtering to the device tracker. Make the group tracker work properly. 2014-04-08 13:48:46 +09:00
Simo Kinnunen
46591b24c8 Insert log messages with soft durability. 2014-04-03 14:22:18 +09:00
Simo Kinnunen
3685d543c4 Bind DB connection error to lifecycle. 2014-04-03 12:20:00 +09:00
Simo Kinnunen
8f90ce0e02 Don't auto-migrate because it's slow when many processes have to do the same. 2014-04-02 14:39:07 +09:00
Simo Kinnunen
5183485a53 Add phone number and imei to device identity. 2014-04-02 13:08:59 +09:00
Simo Kinnunen
e17f306d30 Add browser list to device identity. 2014-04-01 19:29:28 +09:00
Simo Kinnunen
b4416b5f0f Fix all JSHint complaints in Node.js code. 2014-03-19 20:36:46 +09:00
Simo Kinnunen
2555168345 Replace groupService's outdated member tracker with deviceService.trackGroup(). 2014-03-19 16:45:30 +09:00
Simo Kinnunen
d43d427dcb Fix devices not being updated correctly because table name was wrong. 2014-03-18 18:04:54 +09:00
Simo Kinnunen
dc076c6b15 Update device instead of upsert so that we don't lose data between unplugs. 2014-03-18 17:59:12 +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
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
277c9b401a Make GroupService keep the list of members up to date. 2014-02-07 11:56:19 +09:00