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

61 commits

Author SHA1 Message Date
lison.li
aad71a80d1 1. Although it's a bit repetitive, I think the independent serial parameter tells the reader that entry contains serial. 2. Just remove useless parameter "url". 2017-07-16 23:49:57 +08:00
Vishal Banthia
a62a6094e4 Use automation state for devices used by api 2016-11-23 06:45:36 +05:30
Vishal Banthia
a6266931ad Modify APIs from Aysnc -> Sync using timeout 2016-07-22 19:34:22 +05:30
Vishal Banthia
232163d290 add remoteDebugUrl into database so that it is accessible from api 2016-07-22 19:34:22 +05:30
Vishal Banthia
bca180d284 refactor reserve and release endpoints in HTTP POST and DELETE methods 2016-07-22 19:34:22 +05:30
Vishal Banthia
e0a45391ab Add auth middleware in api unit. Now only authorized user can access api unit 2016-07-22 19:34:22 +05:30
Gunther Brunner
434f63b3a9 Fix all lib/ files with ESLint rules with 0 errors. 2016-01-19 20:52:38 +09:00
Gunther Brunner
466af18058 Add eslint task. Needs eslintrc tweaking. 2016-01-14 21:20:54 +09:00
Vishal Banthia
9cb231391a Create seperate database table for AccessTokens to hide jwt token and tokenId from user 2015-11-26 03:09:58 +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
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
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
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
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
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
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
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
Simo Kinnunen
753d839112 dbapi.saveDeviceStatus() was using a removed method. 2014-02-05 23:11:07 +09:00
Simo Kinnunen
91097dc569 Don't rely on lucky timings when sending messages from the provider. 2014-02-05 15:37:28 +09:00
Simo Kinnunen
37303c5d92 Add owners to groups. 2014-02-04 20:33:53 +09:00