Simo Kinnunen
|
385acc4ff2
|
Don't allow the processor unit to run before we're able to connect to the database. This caused an issue when the database started up slowly, but the processor connected to the app/dev dealers regardless. Any received messages requiring database connectivity would cause the processor to die (and be restarted by systemd), causing lost messages on occasion.
|
2017-02-06 00:36:32 +09:00 |
|
Simo Kinnunen
|
a995a2f823
|
Don't attempt to reconnect to the db when we're dying.
|
2017-02-06 00:30:07 +09: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
|
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 |
|