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

124 commits

Author SHA1 Message Date
Simo Kinnunen
5e9aa427e9 The screen websocket now sends ping messages every now and then, so that it won't get caught by nginx's proxy_read_timeout if the screen is off or not moving. Previously, nginx may have decided to kill the connection after a period of no activity. 2017-01-25 17:46:23 +09:00
Simo Kinnunen
5839867619 Add IMSI to device details. 2017-01-13 13:52:11 +09:00
Simo Kinnunen
3d74cb48ab Make jpeg quality configurable. 2016-11-28 17:22:24 +09:00
Vishal Banthia
445cfcf0bc Merge pull request #481 from openstf/add-automation-label
Use automation label in device list for devices accessed using API
2016-11-25 03:59:20 +05:30
Marc Bachmann
bac74538c9
chore(package): update uuid to version 3.0.0 2016-11-23 03:21:32 +01:00
Vishal Banthia
a62a6094e4 Use automation state for devices used by api 2016-11-23 06:45:36 +05:30
Simo Kinnunen
33e4e617bb Update STFService.apk to 1.1.0. Switches to abstract sockets which fixes
adb getting stuck when tethering is being used.
2016-09-03 04:01:07 +09:00
Gunther Brunner
711ab4a8e5 Updated npm dependencies.
ProtobufJS and Bluebird require further work.
2016-08-03 20:08:30 +09:00
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
Simo Kinnunen
158b6944be Allow the cleanup plugin to be disabled. Resolves #346 and others. May
need a more generic method to disable individual plugins later.
2016-06-07 00:44:02 +09:00
Gunther Brunner
434f63b3a9 Fix all lib/ files with ESLint rules with 0 errors. 2016-01-19 20:52:38 +09:00
Gunther Brunner
342890e884 Start fixing npm test warnings. 2015-10-13 21:21:32 +09:00
Simo Kinnunen
3b89196cc3 Fix VNC endianness check. 2015-10-13 19:25:56 +09:00
Simo Kinnunen
d55ce41214 No need for VNC "fingerprint" anymore. 2015-10-13 04:05:07 +09:00
Simo Kinnunen
5216eac5ce Remove unused VNC authentication utilities. 2015-10-13 04:05:07 +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
a902c66131 Fix misc eslint errors. 2015-10-13 04:05:07 +09:00
Simo Kinnunen
ae449a631a Merge branch 'vnc' 2015-09-28 15:01:43 +09:00
Simo Kinnunen
a779413000 Clean up the filesystem plugin a little. 2015-09-27 21:59:05 +09:00
hzsunshx
5980e83275 remove duplicate adb.pull 2015-09-23 09:50:29 +08:00
hzsunshx
ab35ea3cd9 fix spell of file 2015-09-22 20:22:36 +08:00
hzsunshx
dff5835105 fix spell error 2015-09-22 17:38:41 +08:00
hzsunshx
1dccda5e2a add filesystem(file explorer) support, done 2015-09-22 17:19:20 +08:00
hzsunshx
b258837757 add filesystem support(without frontend) 2015-09-22 17:19:15 +08:00
Simo Kinnunen
1f32c21c78 Use 32 bits per pixel by default, since 24 bpp doesn't seem to be a supported option in the RFB 3.8 spec. 2015-09-21 16:38:03 +09:00
Simo Kinnunen
977b8c198e Support variable bit depths. Fix color issues. 2015-09-21 16:28:05 +09:00
Simo Kinnunen
9d20484dcb Limit VNC size by default. 2015-09-15 04:25:21 +09:00
Simo Kinnunen
d5bfcb16d4 Update server width based on desktop size. 2015-09-15 04:02:21 +09:00
Simo Kinnunen
ced0bf99a7 Use jpeg-turbo for decompressing the JPGs. It's super fast compared to
what it was before.
2015-09-15 04:01:16 +09:00
Simo Kinnunen
a98cc67e2c Translate pointer events into touch events. 2015-09-14 20:33:59 +09:00
Simo Kinnunen
2ee767ffed Don't send manual onStart() if frameproducer's not ready. 2015-09-14 20:33:29 +09:00
Simo Kinnunen
02af21e17c Pass VNC server name in options. 2015-09-14 19:41:18 +09:00
Simo Kinnunen
4b03fd81b3 Remove unused client attributes. 2015-09-14 19:39:52 +09:00
Simo Kinnunen
5cc27a86ad Don't add clients to the broadcast set until they're authenticated. Note
that actual, real auth is not checked yet.
2015-09-14 19:38:12 +09:00
Simo Kinnunen
bff4b7bafe Make sure chunk gets reset after every read loop. 2015-09-14 19:36:40 +09:00
Simo Kinnunen
692c043f6e Send latest screen size with every update. 2015-09-14 19:35:53 +09:00
Simo Kinnunen
797e97e7c7 Tell new broadcast sessions what the current state is, just in case they
were added in the middle of an existing session.
2015-09-14 19:34:06 +09:00
Simo Kinnunen
792713d415 VNC screen is visible (w/ RAW encoding). Size of VNC screen is still
hardcoded, preventing real use.
2015-09-14 18:00:17 +09:00
Simo Kinnunen
8a5f0551a7 Fix incorrect state change for ClientCutText. 2015-09-14 14:40:19 +09:00
Simo Kinnunen
f7d1b07d1c Clean up structure a little bit for initial testing. 2015-09-14 14:09:45 +09:00
Simo Kinnunen
6d84064e6b Consume ClientCutText's value. 2015-09-14 13:28:26 +09:00
Simo Kinnunen
66182666bd Now able to read VNC Viewer's primary requests. 2015-09-14 13:18:32 +09:00
Simo Kinnunen
045737e4bf VNC plugin should have its own folder since it'll need supporting files. 2015-09-07 10:51:25 +09:00
Simo Kinnunen
87e80ecb00 Base structure for vnc plugin. 2015-09-07 10:49:41 +09:00
Simo Kinnunen
a08f50e155 Lock rotation when devices are being used if --lock-rotation is given. 2015-08-25 18:17:53 +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