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

1960 commits

Author SHA1 Message Date
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
89aedcef06 Update minicap for 4.4. Should fix isai VL, AQUOS SERIE mini and others while keeping ASUS devices working. 2015-05-01 00:08:14 +09:00
Simo Kinnunen
35a6556985 Don't group onmessage inside onopen. Looks like we may lose a message that way (causing the initial load in production to sometimes fail to display the screen), although there is no time to properly test it right now. 2015-04-30 22:15:04 +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
ae9f2b5ab0 Remove the now unused --disable-screen-public-proxy option. 2015-04-29 18:08:55 +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
6a733fb5bd Update node. 2015-04-28 13:57:31 +09:00
Simo Kinnunen
9c3ecf3d31 Increase image pool to 10 images. 2015-04-27 18:25:55 +09:00
Simo Kinnunen
94ea19c791 Add a very simple image pool to limit the amount of new images loaded. Hoping it will fix the screen sometimes stopping. 2015-04-27 17:03:51 +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
5d9b77a76a Update minicap to support hopefully all 4.4 devices (and what a pain in the ass it was). 2015-04-23 23:32:52 +09:00
Simo Kinnunen
1e6d740acc Remove width transition from screen canvas. 2015-04-23 17:03:13 +09:00
Simo Kinnunen
7c30fb1174 Update minicap to support F-05F. 2015-04-23 16:58:41 +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
685882d19f The screen should now stretch to fill all the available area while maintaining aspect ratio. Includes a terrifying hack for the 270deg rotation. 2015-04-22 19:31:19 +09:00
Simo Kinnunen
0839602943 Minor refactoring with no functional changes. 2015-04-18 18:54:35 +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
53bd852d48 Make sure to revokeObjectURL() when the screen image is no longer needed. Should help with memory. 2015-04-16 14:34:00 +09:00
Simo Kinnunen
f6e2a75402 Merge branch 'feature/new-minicap' into develop 2015-04-15 19:34:29 +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
Gunther Brunner
6fe4f8ae1b Remove all JIRA/Confluence references. 2015-03-18 19:39:40 +09:00
Gunther Brunner
cefe35b82e Updated most dependencies. 2015-03-17 21:16:26 +09:00
Gunther Brunner
e1a7560bc0 Added optional --user-profile-url for opening user profile page in an external domain, it was hardcoded. 2015-03-17 19:48:41 +09:00
Gunther Brunner
f5cb2f91c0 Adding basic user redirect for external URL. 2015-03-16 20:48:24 +09:00
Gunther Brunner
d8a972c7eb Updated README. 2015-03-09 21:24:55 +09:00
Gunther Brunner
a087722c28 Remove Chat link. 2015-03-09 21:15:16 +09:00
Gunther Brunner
5e7b489dd9 Fix scrolling behaviour change of overflow: auto; introduced in Chrome 41 (only reproducible with a Trackpad). 2015-03-09 17:38:13 +09:00
Gunther Brunner
958a3bcfb9 Fix bug where http:// is not being added if there is a "http://" already in the query string. 2015-03-04 21:22:43 +09:00
Gunther Brunner
cd86fc8033 Updated dependencies. 2015-02-26 20:29:53 +09:00
Simo Kinnunen
bfd5cb70b1 Change install timeout to 5min. 2015-02-25 15:06:19 +09:00
Gunther Brunner
a2662a0b53 Fix selection of browser bug,
caused by lodash 2.x->3.x's _.first() breaking change.
2015-02-24 19:16:00 +09:00
Gunther Brunner
5c5bd7a822 Updated almost all dependencies.
Socket.io' has-binary PR finally got merged so updating to the latest version.
2015-02-24 18:59:56 +09:00
Simo Kinnunen
21b4ebe9e4 Ensure we add 'http://' to URLs even when a username is used. 2015-02-06 12:23:12 +09:00
Simo Kinnunen
9209b923c7 Support dotless activity names. 2015-02-05 22:07:58 +09:00
Gunther Brunner
4a1b68155d Use new auto-domain analytics. 2015-01-29 20:29:32 +09:00
Gunther Brunner
54cf8970d5 Updated lot's of dependencies.
Socket.io 1.3.2 still not ready.
2015-01-21 15:53:09 +09:00
Simo Kinnunen
b083441a77 Fix secure field in display information. 2015-01-14 20:23:10 +09:00
Simo Kinnunen
70a142b2ff Fix screen on x86. 2015-01-14 17:30:19 +09:00