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

57 commits

Author SHA1 Message Date
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
Simo Kinnunen
bfd5cb70b1 Change install timeout to 5min. 2015-02-25 15:06:19 +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
Simo Kinnunen
2d4d24a19d Allow screen URL pattern to be changed. 2015-01-06 18:52:54 +09:00
Simo Kinnunen
5bbe7d33a6 Fix display information. 2014-12-19 17:19:09 +09:00
Simo Kinnunen
436fa6eff9 Remove unused screenshot plugin. 2014-12-17 21:25:10 +09:00
Simo Kinnunen
26deca8d9f Remove unused require. 2014-12-16 21:32:42 +09:00
Simo Kinnunen
6e493c6178 Ignore unknown browsers instead of refusing to start. 2014-12-16 21:08:37 +09:00
Simo Kinnunen
8da6297350 Make screenshots work again. 2014-12-11 18:46:15 +09:00
Simo Kinnunen
e4114d87af Use WebSockets for the screen. The screen directive works, but needs a serious cleanup. 2014-12-10 14:27:14 +09:00
Simo Kinnunen
f1f32f29a7 Wait after paste. 2014-12-02 19:54:49 +09:00
Simo Kinnunen
34bf8adb99 Remove packages that were not present when the device was connected. 2014-12-02 15:00:09 +09:00
Simo Kinnunen
9447d72468 Proxy server was throwing errors on socket hangups (e.g. tab closed), causing the device process to die. 2014-11-17 19:54:47 +09:00
Simo Kinnunen
c6d0c9b86f Disable auto-unlocking until it actually works properly. 2014-11-10 16:52:01 +09:00
Simo Kinnunen
082c4c89c8 Switch to stf-syrup because someone stole the name. 2014-11-06 15:53:08 +09:00
Simo Kinnunen
7af652afe9 Code formatting error. 2014-10-29 16:24:52 +09:00
Simo Kinnunen
f3c61983ea Refactor origin swap code to be a bit more traditional. I don't like overriding functions unless necessary. 2014-10-29 15:29:22 +09:00
Simo Kinnunen
33d4c70820 Fix touch coordinates on Yoga Tablet 8. 2014-10-29 15:13:14 +09:00
Simo Kinnunen
cd1f9108ce Update http-proxy. 2014-10-23 12:58:37 +09:00
Simo Kinnunen
d58341665f Try to wake the device when a user start starts using it in addition to taking WakeLock. Hoping that this will fix the mysterious issue where occasionally clicks don't register properly until you press the home button. 2014-10-17 15:45:01 +09:00
Simo Kinnunen
b98193b3a2 Remove readable on end. Should prevent writes after FIN. 2014-10-15 13:00:41 +09:00
Simo Kinnunen
cecf08a244 Reverse port forwarding UI actually works now. 2014-10-14 22:57:44 +09:00
Simo Kinnunen
4bbcaa45db Separate ForwardManager into its own file and attempt to make it a bit more resilient. 2014-10-14 20:01:54 +09:00
Simo Kinnunen
100280db5a Give forward plugin its own folder. Should make it easier to clean it up. 2014-10-14 16:24:18 +09:00
Simo Kinnunen
035acec372 Use same event fin packets. 2014-10-14 16:16:52 +09:00
Simo Kinnunen
ebafa3770e Remove unnecessary code in the stop method. 2014-10-14 16:11:29 +09:00
Simo Kinnunen
44987cbc8b Reset forwards on ungroup. 2014-10-14 16:07:15 +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
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
86c3e98b6d Detect INSTALL_FAILED_VERSION_DOWNGRADE and uninstall automatically. 2014-09-24 11:17:48 +09:00
Simo Kinnunen
e2b5ca9344 Touchmove had both X and Y mapped to maximum X. 2014-09-16 17:57:37 +09:00
Simo Kinnunen
08f5c899b4 Use abstract sockets in minitouch, fixes a permission problem on Galaxy S5. 2014-09-16 17:31:37 +09:00
Simo Kinnunen
6c09a53d55 New multitouch-compatible touch system. 2014-09-12 19:24:50 +09:00
Simo Kinnunen
265287382a Press home when user leaves so that we don't leave a game running 24/7 killing the device. 2014-09-10 19:29:22 +09:00
Simo Kinnunen
633b1764df Launch remote binaries with exec so that we don't leave the shell behind unnecessarily. 2014-09-08 15:24:00 +09:00
Simo Kinnunen
9dcd327420 Attempt to relaunch agent/service instead of dying instantly. 2014-09-05 19:51:30 +09:00
Simo Kinnunen
77261ffd43 Remove unused errors and make STF error codes match Android error codes better. 2014-09-05 14:00:51 +09:00
Simo Kinnunen
fdfcdf913d Move install response codes to the filter. 2014-09-04 16:51:43 +09:00
Simo Kinnunen
59f1aebc87 Fix response code JSON. 2014-09-04 16:32:58 +09:00