Commit Graph

2349 Commits

Author SHA1 Message Date
Denis Barbaron
339b6a86fc Update STF Service APK to 2.4.12 (#717) 2023-10-25 00:59:54 +02:00
Karol Wrótniak
9e5e371590 Update STFService.apk to 2.4.12 (#718) 2023-10-25 00:57:59 +02:00
Ivan Mironov
8c67ff5c21 Fix mobile browser detection so that "Desktop mode" works as expected (#715)
Currently, enabling the "Desktop site" mode in Chrome on Android does
nothing to the stf interface.

Signed-off-by: Ivan Mironov <mironov.ivan@gmail.com>
Co-authored-by: Karol Wrótniak <karol.wrotniak@droidsonroids.pl>
2023-09-30 01:39:52 +02:00
Ivan Mironov
3ae296e30c Fix the description in Dockerfile-debian-arm64 (#713)
This is a minor cosmetic change. Missed this in https://github.com/DeviceFarmer/stf/pull/712.

Signed-off-by: Ivan Mironov <mironov.ivan@gmail.com>
Co-authored-by: Karol Wrótniak <karol.wrotniak@droidsonroids.pl>
2023-09-30 01:29:39 +02:00
Ivan Mironov
4db9120a1c Add more CLI options for stf local to support reverse proxies (#714)
I use `stf` for a very small installation with just one user and few
devices. `stf local` provides enough functionality and is easy to run:
just one command without the need to configure all internal services
separately. The only missing feature is the ability to provide access
securely over the internet.

I want to use nginx reverse proxy with https and client certificate
authorization, but currently this does not play well with modern
browsers as they refuse to connect to insecure ws:// from secure
https:// context.

This patch just adds the ability to configure various URL patterns to
match the externally accessible address of the installation.

Signed-off-by: Ivan Mironov <mironov.ivan@gmail.com>
2023-09-30 01:17:33 +02:00
Ivan Mironov
87d636f85a Add Dockerfile for arm64 (#712)
Image can be built on a normal x86_64 linux PC with installed
qemu-aarch64-static and properly configured binfmt_misc by running

	docker build --platform linux/arm64/v8 -f Dockerfile-debian-arm64 -t stf .

or

	buildah bud --platform linux/arm64/v8 -f Dockerfile-debian-arm64 -t stf .

Signed-off-by: Ivan Mironov <mironov.ivan@gmail.com>
2023-09-27 15:30:58 +02:00
Karol Wrótniak
3d3af0e9ac Update README.md
Closes https://github.com/DeviceFarmer/stf/issues/698
2023-08-25 11:42:13 +02:00
Karol Wrótniak
86c1aad158 Release 3.6.6 (#696)
* Release 3.6.6

* Update CHANGELOG.md
v3.6.6
2023-08-18 20:38:47 +02:00
Karol Wrótniak
1fcc6e75e3 Update STFService app to 2.4.12 (#695) 2023-08-18 18:28:15 +02:00
Karol Wrótniak
322cf55815 Update dependencies (#694)
* Update STFService APK to 2.4.6

* Update stf-device-db to 1.4.0
2023-08-18 02:44:17 +02:00
Denis Barbaron
2341f49071 fix docker url of STF (#682)
Thanks to @dev-jonghoonpark (#679)
2023-07-05 15:20:14 +02:00
Denis Barbaron
620be9ba21 cookies' generic removing (#676)
Signed-off-by: Denis barbaron <denis.barbaron@orange.com>
2023-06-16 17:43:20 +02:00
Denis Barbaron
3e526d2aa3 update saml2 to get contact information and service provider metadata (#674)
Signed-off-by: Denis barbaron <denis.barbaron@orange.com>
Co-authored-by: Karol Wrótniak <karol.wrotniak@droidsonroids.pl>
2023-06-15 21:48:45 +02:00
Denis Barbaron
c24d24bc9d Update the documentation of SAML 2.0 authentication (#675) 2023-06-15 17:48:16 +02:00
Denis Barbaron
b037a107c4 update oauth2 to get contact information (#673)
Signed-off-by: Denis barbaron <denis.barbaron@orange.com>
Co-authored-by: Karol Wrótniak <karol.wrotniak@droidsonroids.pl>
2023-06-13 13:02:59 +02:00
Denis Barbaron
0749b553e8 add support of node version 20.3.0 (#672)
Signed-off-by: Denis barbaron <denis.barbaron@orange.com>
2023-06-12 23:47:40 +02:00
David
f376c4de75 Explorer directory fix (#670)
* Improve explorer dir and permissions logic

---------

Signed-off-by: tyopoyt <dcrouseIII@gmail.com>
Co-authored-by: tyopoyt <dcrouseIII@gmail.com>
2023-06-09 01:01:27 +02:00
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
Karol Wrótniak
1997a7615f Release 3.6.5 (#649)
* devicefarmer dependency versions bump

* STF service apk version bump
v3.6.5
2023-03-30 16:40:56 +02:00
dependabot[bot]
0659ebe16d Bump cookiejar from 2.1.3 to 2.1.4 (#632)
Bumps [cookiejar](https://github.com/bmeck/node-cookiejar) from 2.1.3 to 2.1.4.
- [Release notes](https://github.com/bmeck/node-cookiejar/releases)
- [Commits](https://github.com/bmeck/node-cookiejar/commits)

---
updated-dependencies:
- dependency-name: cookiejar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-04 01:24:45 +01: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
dependabot[bot]
8b67366b05 Bump debug from 2.6.9 to 3.1.0 (#627)
Bumps [debug](https://github.com/debug-js/debug) from 2.6.9 to 3.1.0.
- [Release notes](https://github.com/debug-js/debug/releases)
- [Changelog](https://github.com/debug-js/debug/blob/3.1.0/CHANGELOG.md)
- [Commits](https://github.com/debug-js/debug/compare/2.6.9...3.1.0)

---
updated-dependencies:
- dependency-name: debug
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-11 10:40:42 +01:00
dependabot[bot]
1d3df08d9a Bump decode-uri-component from 0.2.0 to 0.2.2 (#622)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-06 14:14:59 +01:00
Karol Wrótniak
a146768b3a Update device-db to 1.3.0 (#619) 2022-11-25 10:59:52 +01:00
dependabot[bot]
831ee733c6 Bump moment from 2.29.3 to 2.29.4 (#596)
Bumps [moment](https://github.com/moment/moment) from 2.29.3 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.3...2.29.4)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-24 13:03:17 +01:00
Riste Samardjiev
f168b45481 move off screen password autofill (#610)
Signed-off-by: Riste <rsamardjiev@playtika.com>
2022-11-03 11:07:18 +01:00
MykytaIvshkn
24c944df17 Enable device market name (#601)
* Enable device market name

Signed-off-by: mivashkin <mivashkin@playtika.com>

Co-authored-by: mivashkin <mivashkin@playtika.com>
Co-authored-by: Karol Wrótniak <karol.wrotniak@droidsonroids.pl>
2022-11-03 01:07:51 +01:00
Karol Wrótniak
dd8c186911 Update rethinkdb to 2.4.2 in docker compose sample (#611)
Fixes #608
2022-11-01 18:00:49 +01:00
Konstantin
e7e0d3b960 Fixing the link to get the package swagger-node-runner from ssh to https (#607)
Signed-off-by: Energoblock <7158577+Energoblock@users.noreply.github.com>

Signed-off-by: Energoblock <7158577+Energoblock@users.noreply.github.com>
2022-10-31 17:09:35 +01:00
dependabot[bot]
2a5b1b9d2d Bump passport from 0.4.1 to 0.6.0 (#581)
Bumps [passport](https://github.com/jaredhanson/passport) from 0.4.1 to 0.6.0.
- [Release notes](https://github.com/jaredhanson/passport/releases)
- [Changelog](https://github.com/jaredhanson/passport/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jaredhanson/passport/compare/v0.4.1...v0.6.0)

---
updated-dependencies:
- dependency-name: passport
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 01:26:05 +02: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
Serhii Manko
40757e73a4 Upload the ipa files for the iOS platform (#583)
Signed-off-by: Serhii Manko <mankoffserg@gmail.com>

Signed-off-by: Serhii Manko <mankoffserg@gmail.com>
2022-09-20 15:54:19 +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
da6c786a51 Update DEPLOYMENT.md (#569)
Replace "openstf" by "devicefarmer" in DEPLOYMENT.md documentation

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

Signed-off-by: Denis Barbaron denis.barbaron@orange.com
2022-08-24 15:16:18 +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
da9284b288 add contributors (#555)
Signed-off-by: Denis barbaron denis.barbaron@orange.com

Co-authored-by: Karol Wrótniak <karol.wrotniak@droidsonroids.pl>
2022-08-02 17:31:20 +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
Karol Wrótniak
3425d831e8 Downgrade adbkit to 2.11.3 (#520) v3.6.4 2022-04-26 23:56:02 +02:00
Karol Wrótniak
a56e53ee03 Downgrade adbkit to 3.2.1 (#519) v3.6.3 2022-04-26 20:56:48 +02:00
Karol Wrótniak
8cdd6c13dc release 3.6.2 (#515) 2022-04-20 20:37:03 +02:00
dependabot[bot]
04d03e8c77 Bump aws-sdk from 2.1110.0 to 2.1117.0 (#511)
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.1110.0 to 2.1117.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.1110.0...v2.1117.0)

---
updated-dependencies:
- dependency-name: aws-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-20 18:27:07 +02:00
Denis Barbaron
3cc16a50f5 update semaphore files for consistency with upgrading nodejs to latest version (#505)
Signed-off-by: Denis Barbaron <denis.barbaron@orange.com>
2022-04-14 10:53:18 +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
8cc8cd0bb5 Fix deploy to dockerhub 2022-03-27 00:55:52 +01:00