Commit Graph

844 Commits

Author SHA1 Message Date
Denis Barbaron
525f201509 Update STF Service APK to 2.4.10 (#661) 2023-05-10 10:41:45 +02:00
Denis Barbaron
51b86a87ef fix bug on taking control of a device: set a lock for exclusive access (#650)
* fix bug on taking control of a device: set a lock for exclusive access

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

* update the locking function

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

---------

Signed-off-by: Denis barbaron <denis.barbaron@orange.com>
2023-04-03 20:05:49 +02:00
Denis Barbaron
9c0f2d4df8 fix spelling mistakes in API file (#630)
Signed-off-by: Denis barbaron <denis.barbaron@orange.com>

Signed-off-by: Denis barbaron <denis.barbaron@orange.com>
2023-01-16 16:58:36 +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
Joowon Moon
0c74b53a94 fix #592 Fix marketName issue (#593)
Signed-off-by: Joowon Moon <jsjs401@daum.net>
2022-09-30 13:29:54 +02: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
Denis Barbaron
ce5a0009c9 fix bug on screen grabber management (#554)
Signed-off-by: Denis barbaron <denis.barbaron@orange.com>
2022-07-29 11:56:13 +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
Denis Barbaron
eacc7bbca7 use the fork of the please-update-dependencies package (#522)
* use the fork of the please-update-dependencies package

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

* use @devicefarmer/please-update-dependencies package

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

Co-authored-by: Karol Wrótniak <karol.wrotniak@droidsonroids.pl>
2022-05-10 16:34:30 +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
Oğuzhan Yiğit
481f220992 stf: Device name related updates (#516)
* stf: Upstream android-device-list library to cover newer devices
* 1.2.1 version is nearly 2.5 years old so it does not cover latest android devices thus creates un-friendly device names, fixes it
* no breaking API/ABI changes
* to the latest 1.2.7 version https://github.com/pbakondy/android-device-list/blob/master/package.json#L3

Signed-off-by: sirmordred <oguzhan97yigit@gmail.com>

* stf: Allow users to override device names
* it allows to users to change device names by setting ro.stf.product.device attribute via: e.g adb shell setprop ro.stf.product.device Samsung Galaxy S9
* Not all time android-device-list library is updated, even if it is updated, it does not cover all devices
* Users must have a way to override device name so they can change it as they want (alternative is: overriding ro.product.device attribute but changing that attribute may cause some unexpected system errors because it is used by android os in device as well)
* Preserve current behavior: if stf could not find ro.stf.product.device attribute, it falls to base implementation

Signed-off-by: sirmordred <oguzhan97yigit@gmail.com>

* stf: Changed prefix of custom device name property
* some properties starts with prefixes like "ro" are not allowed to change in some phones, use "debug" instead
for more info: https://stackoverflow.com/questions/66877858/android-setprop-failed-to-set-property

Signed-off-by: sirmordred <oguzhan97yigit@gmail.com>

Co-authored-by: Karol Wrótniak <karol.wrotniak@droidsonroids.pl>
2022-04-27 19:38:39 +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
Karol Wrótniak
cc79f28bde Update STF Service APK to v2.4.9 (#482)
* Update required STFService.apk version

* Add apk v2.4.9
2022-03-25 15:13:47 +01: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
Karol Wrótniak
2e327b8bcb Update STFService.apk to 2.4.8 (#328)
* Update STFService.apk to 2.4.8

* Update STFService.apk file to version 2.4.8
2021-10-03 15:51:48 +02: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
Jussi Vatjus-Anttila
3370f679bc add rest API for update Device note (#222)
* add rest API for update Device note

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

* improve failure message

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

Co-authored-by: Karol Wrótniak <karol.wrotniak@droidsonroids.pl>
2021-04-06 11:21:38 +02:00
Karol Wrótniak
53acc928f5 Revert all adbkit upgrades (#207) 2021-03-10 19:22:32 +01:00
Karol Wrótniak
827cd1ed37 Adbkit revert (#204)
* Revert adbkit upgrade

* Update required STFService APK version
2021-03-10 17:31:06 +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
50ee38c2ce Fix deviceClient invocations in minicap (#201) 2021-03-10 13:52:47 +01:00
Karol Wrótniak
f21140acf7 Fix adb invocations in devutil (#200) 2021-03-10 13:22:03 +01:00
Karol Wrótniak
463604f72e Update minicap.js (#199) 2021-03-10 12:39:14 +01:00
Karol Wrótniak
b343341f79 Update properties.js (#198) 2021-03-10 12:20:17 +01:00
Karol Wrótniak
67cf6ef2b3 Fix waitBootComplete invocation (#196)
* Fix waitBootComplete invocation
2021-03-10 11:38:53 +01:00
Karol Wrótniak
360a4559ee Fix adbkit import (#195) 2021-03-10 10:42:44 +01:00
Karol Wrótniak
c71cb684fd Fix adbkit parser import (#194) 2021-03-10 10:19:14 +01:00
Karol Wrótniak
8a96e67fb9 Update index.js (#193) 2021-03-10 08:56:57 +01:00
nghiaviminh
6b38be2b14 Fix AAB installation fails when /tmp is on different mountpoint than storage-temp save directory (#139)
Signed-off-by: nghia.viminh <nghia.viminh@gameloft.com>
2020-10-26 09:52:45 +01:00
nghiaviminh
841b092d25 Add .aab installation support (#103)
* Add .aab installation support

Signed-off-by: nghia.viminh <nghia.viminh@gameloft.com>
2020-09-28 11:29:58 +02:00
Karol Wrótniak
c4203cc7c5 Update vnc jpeg-turbo binding (#90) 2020-08-28 20:55:34 +02:00
Cookies52
6125b76b0d Fix images (#59)
* Update browser-icons.js and device-icons.js

Fix new npm name

Signed-off-by: Matt Dann <mdann52@yahoo.co.uk>

* Also update appstore icons

Signed-off-by: Matt Dann <mdann52@yahoo.co.uk>
2020-08-08 15:52:49 +02:00
Karol Wrótniak
5ac119bbd3 Add @devicefarmer to stf-wiki path (#34)
Signed-off-by: Karol Wrótniak <karol.wrotniak@droidsonroids.pl>
2020-07-11 02:12:51 +02:00
Karol Wrótniak
9378da4914 Add @devicefarmer to prebulit binaries paths (#33)
Signed-off-by: Karol Wrótniak <karol.wrotniak@droidsonroids.pl>
2020-07-11 01:04:14 +02:00
Karol Wrótniak
8e4f547048 Fix prebulit binaries paths (#32)
Signed-off-by: Karol Wrótniak <karol.wrotniak@droidsonroids.pl>
2020-07-11 00:46:21 +02:00
Karol Wrótniak
86bc95e72a Add namespace to npm dependencies (#28) 2020-07-05 12:31:15 +02:00
Karol Wrótniak
8665298464 Update required STFService.apk
Fixes https://github.com/openstf/stf/issues/1200
2020-05-18 18:35:39 +02:00
许度庆
b078336dd2 fix: eslint 2020-03-17 12:42:14 +08:00
许度庆
371ee429e1 fix: chinese characters donot support 2020-03-17 12:03:37 +08:00
Karol Wrótniak
f940e0cd2f Merge pull request #540 from DroidsOnRoids/rejected-email-template
Rejected email hardcoded HTML replaced with template.
2020-02-26 01:16:54 +01:00
Karol Wrótniak
494b652743 Add workaround note with link to #1180 2020-02-23 15:39:43 +01:00
atyamash
5a3c872739 handle a touchMove error
handle a touchMove error

handle a touchMove error
2020-02-23 20:46:38 +09:00
Denis Barbaron
71d9478a69 Required version of STFService.apk is now 2.4.2
.. for Android 10 support
2020-02-18 14:37:01 +01:00
Denis Barbaron
4aa72e7ee3 Update description of Group API in swagger file
Using API, Group dates have to be provided in UTC conforming to RFC 3339 section 5.6
2020-02-14 11:35:56 +01:00
Denis barbaron
311b077945 add database migration for group feature 2020-02-12 12:17:51 +01:00
Karol Wrótniak
9dfb09e32c Correct prebuilt binaries paths 2020-02-08 17:24:36 +01:00
Karol Wrótniak
c3a51cf867 Merge branch 'master' into feature/separate-device-logs 2020-02-08 01:40:43 +01:00