Simo Kinnunen
|
3e5903edcf
|
Separate device log recording from the rest of the app. This should cause less strain on the DB server especially since the full event log is rarely needed; you could just use your favorite log collector to watch stderr. DB calls are still mixed, but may be refactored out later.
|
2015-08-04 20:44:44 +09:00 |
|
Simo Kinnunen
|
85067b6f0b
|
Allow reaper to die if initial state can't be loaded.
|
2015-08-04 19:08:16 +09:00 |
|
Simo Kinnunen
|
d9d47cc3bf
|
Mute devices when they're being used if the --mute-master option is given.
|
2015-07-29 19:07:24 +09:00 |
|
Simo Kinnunen
|
361bf9caea
|
Move utility plugins into their own folder. They don't go into the support folder because they're not standalone units and require interaction with the main units. Further refactoring pending.
|
2015-07-28 15:59:02 +09:00 |
|
Simo Kinnunen
|
caf8d35eb7
|
Allow adb connect URL to be customized.
|
2015-07-24 13:43:12 +09:00 |
|
Simo Kinnunen
|
7a262a4e68
|
Allow minitouch more time to start. The number of retries had already been set to 7 earlier, but got mistakenly changed to 5 during refactoring.
|
2015-07-22 17:55:52 +09:00 |
|
Simo Kinnunen
|
1d15e8e3d7
|
Since minicap is quite complicated and gets restarted often, perhaps it's best if we let changes fully propagate before restarting it again. There was a problem with someone changing rotation so quickly that pid retrieval failed, which means that stopping was sort of iffy, which then caused various problems. The pid retrieval process was improved in 5a77d300dc .
|
2015-07-21 15:42:58 +09:00 |
|
Simo Kinnunen
|
5a77d300dc
|
Read minicap pid from shell output. Should be more reliable for quick restarts.
|
2015-07-21 15:34:58 +09:00 |
|
Simo Kinnunen
|
cfcac31213
|
Update STFService to 1.0.0 for potential SDK 9 support.
|
2015-07-15 20:29:26 +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
|
55d27364a2
|
Ignore remote devices by default, use -R or --allow-remote to override.
|
2015-07-13 14:31:52 +09:00 |
|
Simo Kinnunen
|
48b3d66d90
|
Exclude dummy endpoint from CSRF check. It's used as a hack to enable autocomplete on certain fields.
|
2015-07-10 15:43:54 +09:00 |
|
Simo Kinnunen
|
daa285295e
|
Further tweaks to allow stf to be installed from NPM directly.
|
2015-07-01 16:50:19 +09:00 |
|
Gunther Brunner
|
5255b32f09
|
Remove partials, not needed anymore with Webpack bundling.
|
2015-07-01 15:12:56 +09:00 |
|
Simo Kinnunen
|
9f627cb129
|
Hopefully fix occasional errors when trying to send an initial banner to a frame client. After looking through ws' source, the most likely reason seems to be that the websocket is in CLOSING state. Even if not, we should get a bit more useful log output this time.
|
2015-07-01 12:49:12 +09:00 |
|
Simo Kinnunen
|
94dc1689b8
|
Automatically use prebuild resources if available.
|
2015-06-30 17:44:58 +09:00 |
|
Simo Kinnunen
|
3257665ec2
|
Sort browser apps alphabetically. Sort again in the detailed device list as we currently have old data left over and we may wish to change the sorting later anyway. Should not be terribly bad due to most devices only having one or two browsers.
|
2015-06-26 14:53:53 +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
|
fe7785f003
|
Keep the same channel for each device. This should make it easier to keep the client side up to date after device death (because there's no need to update it at all).
|
2015-06-25 17:18:16 +09:00 |
|
Simo Kinnunen
|
2d9c432b62
|
Fix incorrect log messages in the touch plugin.
|
2015-06-25 17:17:24 +09:00 |
|
Gunther Brunner
|
fbd59d031b
|
Moved from stf-docs to GitHub's stf-wiki.
|
2015-06-22 20:25:40 +09:00 |
|
Gunther Brunner
|
43fff42ec6
|
Removed stf-site from STF.
Moved stf-graphics to res/common/logo.
|
2015-06-22 19:56:21 +09:00 |
|
Simo Kinnunen
|
a7a5258e51
|
Remove unused dep from resources/minitouch.
|
2015-06-22 11:24:20 +09:00 |
|
Simo Kinnunen
|
aa7eb6f8ec
|
Remove vendor/remote as practically unused due to the stats plugin not being active.
|
2015-06-12 17:09:20 +09:00 |
|
Simo Kinnunen
|
810be9cfe3
|
Update minicap for Android M support.
|
2015-06-10 17:16:20 +09:00 |
|
Simo Kinnunen
|
a734b6e345
|
Model the touch plugin after the screen plugin's frame producer. This should allow more forgiving sudden deaths.
|
2015-06-08 17:48:39 +09:00 |
|
Simo Kinnunen
|
c9c892c69d
|
When receiving an introduction message, silently drop any previous value in the reaper. Fixes a bug where restarting a provider would not bring the devices online due to it starting within the heartbeat ttl, leading the reaper to believe it has been connected all along.
|
2015-06-05 10:58:03 +09:00 |
|
Simo Kinnunen
|
7a4ee783bc
|
Touch service takes a longer time than usual to start on SH-03G, up to a few seconds.
|
2015-06-04 12:17:58 +09:00 |
|
Simo Kinnunen
|
a2f55dc8e0
|
Use eventemitter3 for provider.
|
2015-06-04 12:07:30 +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
|
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
|
181829b55c
|
Remove left over bits from the old heartbeat implementation.
|
2015-06-02 13:16:04 +09:00 |
|
Simo Kinnunen
|
6443215a7c
|
Reaper should load initial state before listening to changes. There is a small window where if a device is removed or added during reaper startup it might go unnoticed, but it shouldn't be too much of a problem for us.
|
2015-06-02 10:44:39 +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
|
25544d1a1a
|
In-memory reaper. TtlSet needs tests.
|
2015-06-01 17:41:23 +09:00 |
|
Simo Kinnunen
|
c1357ac540
|
Try to read frames immediately instead of waiting for a readable event. We may already have received it before.
|
2015-04-30 20:59:38 +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
|
105795bec7
|
Give open device ports their own options. Preparing for future refactor.
|
2015-04-29 16:38:03 +09:00 |
|
Simo Kinnunen
|
b3b538c561
|
Remove support/http as unused.
|
2015-04-29 16:26:38 +09:00 |
|
Simo Kinnunen
|
2391d249e0
|
Make screenshots work again.
|
2015-04-29 13:10:46 +09:00 |
|
Simo Kinnunen
|
f90d1f4a4a
|
Use sendStatus instead of status where applicable.
|
2015-04-28 21:19:28 +09:00 |
|
Simo Kinnunen
|
2123a475e3
|
Don't allow minicap to fail more than 3 times in 10s.
|
2015-04-27 16:10:41 +09:00 |
|
Simo Kinnunen
|
688ddda713
|
Fix unexpected minicap death during start causing a TimeoutError, causing the licecycle to end unnecessarily. Now it will just try again like it should have from the start.
|
2015-04-27 11:48:42 +09:00 |
|
Simo Kinnunen
|
9ea0839b0b
|
Rotate canvas image on client side when necessary. Minicap now always returns the image in upright position for newer devices.
|
2015-04-23 14:45:10 +09:00 |
|
Simo Kinnunen
|
7202f102d9
|
Remove duplicate code.
|
2015-04-23 09:57:09 +09:00 |
|
Simo Kinnunen
|
51bad5ec59
|
Oops, mistakenly left a console.log behind.
|
2015-04-17 17:29:34 +09:00 |
|
Simo Kinnunen
|
feb77c4396
|
Don't read new frames before the previous frame has been sent.
|
2015-04-17 17:21:38 +09:00 |
|
Simo Kinnunen
|
07fb3b530c
|
Allow minicap to skip frames when necessary.
|
2015-04-16 19:50:38 +09:00 |
|
Simo Kinnunen
|
88162e8a33
|
Restart FrameProducer if it dies unexpectedly.
|
2015-04-16 16:35:36 +09:00 |
|
Simo Kinnunen
|
95e9dd0b82
|
Integrate new minicap along with a moderate rewrite. What's currently missing is recovering from socket death.
|
2015-04-15 18:55:46 +09:00 |
|