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

158 commits

Author SHA1 Message Date
Simo Kinnunen
ae449a631a Merge branch 'vnc' 2015-09-28 15:01:43 +09:00
Simo Kinnunen
dc0a6f4d96 Support Android M Developer Preview 3. 2015-09-28 03:21:06 +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
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