Commit Graph

160 Commits

Author SHA1 Message Date
Denis Barbaron
872b0bcbd8 fix all vulnerabilities in the production code (#817)
Signed-off-by: Denis barbaron <denis.barbaron@orange.com>
2024-11-29 11:02:11 +01:00
Denis Barbaron
2f54e40206 Upgrading STF for security reasons (#813)
* Upgrading STF for security reasons

Signed-off-by: Denis barbaron <denis.barbaron@orange.com>

* update semaphore files

Signed-off-by: Denis barbaron <denis.barbaron@orange.com>

* upgrading STF for security reasons v2

Signed-off-by: Denis barbaron <denis.barbaron@orange.com>

* update yarn.lock file

Signed-off-by: Denis barbaron <denis.barbaron@orange.com>

---------

Signed-off-by: Denis barbaron <denis.barbaron@orange.com>
2024-11-22 11:41:20 +01:00
Jussi Vatjus-Anttila
8aae1616ac option to cleanup tmp folder during cleanup phase (#772)
* option to cleanup tmp folder during cleanup phase

Signed-off-by: Jussi Vatjus-Anttila <jussiva@gmail.com>

* do only one adb command at time to ensure them all are executed

Signed-off-by: Jussi Vatjus-Anttila <jussiva@gmail.com>

* cleanup and fix lint errors

Signed-off-by: Jussi Vatjus-Anttila <jussiva@gmail.com>

---------

Signed-off-by: Jussi Vatjus-Anttila <jussiva@gmail.com>
2024-08-16 13:21:24 +02:00
Jussi Vatjus-Anttila
a6b5f18941 options to disable bluetooth and/or clean bonded (paired) devices (#758)
Signed-off-by: Jussi Vatjus-Anttila <jussiva@gmail.com>
2024-01-30 23:43:23 +01:00
Jussi Vatjus-Anttila
806bfa4087 UI support to cleanup bluetooth bonded devices (#757)
Signed-off-by: Jussi Vatjus-Anttila <jussiva@gmail.com>
2024-01-30 00:38:54 +01:00
Jussi Vatjus-Anttila
c481720dd7 fix syrup require (#756)
Signed-off-by: Jussi Vatjus-Anttila <jussiva@gmail.com>
2024-01-29 20:30:57 +01:00
Jussi Vatjus-Anttila
e958a599cb Implement enable/disable bluetooth of device (#754)
Signed-off-by: Jussi Vatjus-Anttila <jussiva@gmail.com>
2024-01-29 12:06:57 +01:00
Denis Barbaron
f04738f9be fix bug on port forwarding feature (#629)
* fix bug on port forwarding feature

Signed-off-by: Denis barbaron <denis.barbaron@orange.com>

* fix lint error

Signed-off-by: Denis barbaron <denis.barbaron@orange.com>

Signed-off-by: Denis barbaron <denis.barbaron@orange.com>
2023-01-16 12:38:17 +01:00
Denis Barbaron
878171ec24 fix deprecated warnings on Buffer class (#580)
Signed-off-by: Denis barbaron <denis.barbaron@orange.com>

Signed-off-by: Denis barbaron <denis.barbaron@orange.com>
2022-09-16 16:07:49 +02:00
Denis Barbaron
d9e59446f3 add frame rate management (#558)
Signed-off-by: Denis barbaron <denis.barbaron@orange.com>
2022-08-03 13:48:51 +02:00
Karol Wrótniak
e60bcee3fc Revert "Fix adbkit API invocations (#524)" (#528)
This reverts commit 6f09708304.
2022-05-12 10:08:47 +02:00
Karol Wrótniak
6f09708304 Fix adbkit API invocations (#524)
Update Adbkit to 3.2.3
2022-05-05 18:43:22 +02:00
Denis Barbaron
6b2f434acb upgrade node to latest version v17.9.0 (#500)
* upgrade node to latest version v17.9.0

Signed-off-by: Denis Barbaron <denis.barbaron@orange.com>

* remove useless comments in karma configuration file

Signed-off-by: Denis Barbaron <denis.barbaron@orange.com>
2022-04-12 17:03:43 +02:00
Mark Omarov
34f8bce292 🐛 Fix: Increase PID retrieval timeout for edge-cases (#419)
Some devices (Pixel 4XL) need more time to retrieve PID, in such cases when the retrieval failed - the whole stream is shutting down, therefore, connection with Minicap is lost which leads to constant empty screen on the Web UI.

Signed-off-by: Mark Omarov <mark.omarov.work@gmail.com>

Co-authored-by: Mark Omarov <mark.omarov.work@gmail.com>
2022-02-01 23:36:06 +01:00
Crepieux Pierre
4a8787891d Fix code style
Signed-off-by: Crepieux Pierre <pierre.crepieux@orange.com>
2021-06-01 09:46:35 +02:00
Crepieux Pierre
bb1c20d1f7 Introduce support for new VM based minicap to support Android 12
This commit introduce a new option to use a new minicap
implementation by specifying --screen-grabber or the env
variable SCREEN_GRABBER. The current native minicap is the default
and is refered as 'minicap-bin'. The new minicap which is packaged
in an apk is usable with 'minicap-apk' and will be used as a
fallback.
At the moment, this apk is expected to be included in
minicap-prebuilt node package at this location
minicap-prebuilt/prebuilt/noarch/minicap.apk.

STFService.apk has also been updated to take into account Android 12

Signed-off-by: Crepieux Pierre <pierre.crepieux@orange.com>
2021-05-31 18:00:28 +02:00
Karol Wrótniak
53acc928f5 Revert all adbkit upgrades (#207) 2021-03-10 19:22:32 +01:00
Karol Wrótniak
d08c93f184 Fix ADB parser invocation (#203) 2021-03-10 15:15:33 +01:00
Karol Wrótniak
5dfdd9ac63 Fix adb invocations (#202) 2021-03-10 14:50:33 +01:00
Karol Wrótniak
c71cb684fd Fix adbkit parser import (#194) 2021-03-10 10:19:14 +01:00
Karol Wrótniak
c4203cc7c5 Update vnc jpeg-turbo binding (#90) 2020-08-28 20:55:34 +02:00
Karol Wrótniak
86bc95e72a Add namespace to npm dependencies (#28) 2020-07-05 12:31:15 +02:00
Karol Wrótniak
88bb59c271 Merge pull request #1056 from denis99999/group-feature
Addition of a powerful system for device booking & partitioning
2020-02-08 01:30:37 +01:00
Karol Wrótniak
28341db76b Merge pull request #1127 from Orange-OpenSource/android-10-support
ensure we are using the relevant command to start the service
2020-02-05 17:06:11 +01:00
Denis barbaron
1dd9f45f06 Merge branch 'master' into group-feature 2020-01-24 10:47:35 +01:00
Crepieux Pierre
f145032277 ensure we are using the relevant command to start the service
Android prevents the launch of a service if the app is in
background. This change is related to
https://github.com/openstf/STFService.apk/pull/38
which increased the targetSdkLevel of the STFService app.
2019-10-30 16:17:01 +01:00
Denis barbaron
7f5dc4c152 add groups feature 2019-06-12 10:29:07 +02:00
Karol Wrótniak
3d3d1f67b4 Add market name to device properties. 2019-05-03 22:00:55 +02:00
Simo Kinnunen
6f42b9677b Merge pull request #768 from 0rzech/screen-reset-option
Screen reset option
2018-03-23 22:55:17 +09:00
Simo Kinnunen
3fc9b5b5e9 Merge pull request #779 from DroidsOnRoids/opengles
Add OpenGL ES version to device properties.
2018-03-23 22:43:21 +09:00
Piotr Orzechowski
e8db600878 Add option to control screen resetting on device release 2018-03-07 11:15:15 +01:00
Simo Kinnunen
e9d03aeac3 Merge pull request #800 from syncxplus/master
Correct touch service log
2018-03-02 22:29:38 +09:00
Bo
fb4742cd67 Correct touch service log 2018-01-23 16:09:45 +08:00
Karol Wrótniak
2af554e2a3 Add OpenGL ES version to device properties. 2017-12-18 03:18:19 +01:00
thinkhy
2dac3d1bbd add the column of CPU Platform in device list (#777)
* add the column of CPU Platform in device list

* Update api.js

* Update solo.js

* Update devutil.js

* Update device-column-service.js

* Update device-list-controller.js
2017-12-16 16:50:25 +08:00
Simo Kinnunen
2351025f6f Allow master volume to be always muted. 2017-09-22 17:08:34 +09:00
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