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

180 commits

Author SHA1 Message Date
Denis barbaron
1dd9f45f06 Merge branch 'master' into group-feature 2020-01-24 10:47:35 +01:00
Karol Wrótniak
96312dd453
Merge remote-tracking branch 'upstream/master' into market_name 2019-09-19 23:47:12 +02:00
Simo Kinnunen
89f2f7d39b Make sure we try to read as soon as possible. Otherwise we may miss a chunk if timing is off. 2019-09-11 23:30:30 +09: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
aokhotin
4ef05e91bb zmq ZMQ_IPV6 option set 2018-09-10 22:02:06 +03:00
Simo Kinnunen
32c9949bd7
Merge pull request #806 from thinkhy/patch_180204
Use 'ps -lef' instead of 'ps' to list Pids on Android 8.x
2018-07-14 12:02:29 +08:00
song
1dccf60fca detect if 'ps' command output all the processes 2018-04-12 00:28:10 +08:00
song
69e434d08c change 'ps -lef' to 'ps -le 2>/dev/null' to filter weird errors in output 2018-04-06 15:19:18 +08: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
song
1d7efd0694 run 'ps' first, then if it doesn't find the target process try 'ps -elf' 2018-02-10 20:23:52 +08:00
song
2bcc7ada21 add space before and after logic operation 2018-02-08 00:01:30 +08:00
song
febac1dc0a improve the solution with one-liner command 'ps -lef||ps' 2018-02-07 23:47:26 +08:00
Simo Kinnunen
31b3205100 TPS650 doesn't have a brand. Fixes #804. 2018-02-04 18:03:44 -08:00
song
963de7fbd0 replace commands['ps'] with commands.ps which is suggested by ESLint 2018-02-04 20:59:59 +08:00
song
bf1283292e code changes to make ESLint happy 2018-02-04 20:36:38 +08:00
song
fa50c56bb9 Use 'ps -lef' instead of 'ps' to list Pids on Android 8.x 2018-02-04 18:48:28 +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
bac3b5e987 Add a timestamp to log output. Closes #730. 2017-11-05 21:06:53 +09:00
Simo Kinnunen
17c2ce67a2 Slightly modify undefined check to make it match the rest of the codebase. No change in expected usage. 2017-10-12 22:31:07 +09:00
Simo Kinnunen
c55b08fbc2 Merge branch 'ldap_search_filter' of https://github.com/thasegaw/stf into thasegaw-ldap_search_filter 2017-10-12 22:28:16 +09:00
Takashi Hasegawa
8e56ef9d16 revert due to injection 2017-06-15 10:02:23 +09:00
Takashi Hasegawa
89878d070f refactoring 2017-06-15 00:33:00 +09:00
Takashi Hasegawa
0ea54678f0 consider OrFilter 2017-06-14 23:11:51 +09:00
Takashi Hasegawa
8adc6424ca fix variable name 2017-06-14 12:53:55 +09:00
Takashi Hasegawa
9e8a8e4b97 support search filter 2017-06-14 12:51:31 +09:00
thinkhy
3dba33f071 replace "ps comm" with "ps" in the function listPidsByComm
There exists an incompatibility problem as the shell command "ps comm" is invalid in some devices such as Google Pixel.

Below is the output when I issued "ps com" in Pixel:

 1|sailfish:/ $ ps com
 bad pid 'com'
 1|sailfish:/ $ echo $?
 1

So I replaced "ps comm" with "ps" which is workable for all the Android device.
2017-06-11 23:08:47 +08:00
thinkhy
08d9220b58 Create devutil.js 2017-06-11 18:02:31 +08:00
Simo Kinnunen
0b071a1f5c Remove "Device database does not have an entry for device ..." entirely, everyone still thinks it's an error. 2017-05-24 15:02:04 +09:00
Simo Kinnunen
6f1025e8ff Refactor doctor to be more resilient to unexpected errors, which made our life even harder especially on Ubuntu where the RethinkDB version contains more things in it. 2017-04-23 01:17:44 +09:00
Simo Kinnunen
5839867619 Add IMSI to device details. 2017-01-13 13:52:11 +09:00
Simo Kinnunen
5781d42ac2 Remove the now unused cliutil. 2016-12-22 05:38:49 +09:00
Simo Kinnunen
cc736ba0ac Ported CLI from commander to yargs because yargs suits our large CLI better and is easier to develop with. Split commands into separate files since the file was getting annoyingly long. 2016-12-22 05:32:03 +09:00
Marc Bachmann
bac74538c9
chore(package): update uuid to version 3.0.0 2016-11-23 03:21:32 +01:00
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
b60cb6ef6a Fix eslint errors 2016-07-22 19:40:27 +05:30
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
Gunther Brunner
20ec477450 Remove eslint errors. 2016-06-01 23:15:50 +09:00
Gunther Brunner
8cee2497c6 Make crystal clear that not having data for a device is not an error. 2016-06-01 19:29:13 +09:00
Gunther Brunner
e18d78ddef Fix ADB version matching regex. 2016-04-19 17:22:29 +09:00
Gunther Brunner
8fc5f748d2 Add new stf doctor command to check if the versions of external dependencies are correct.
Add a `--devices` option to show a list of USB connected devices and a list of the devices that ADB can see.
2016-01-28 00:05:54 +09:00
Gunther Brunner
7c2bf332e4 Fix for-in loop. 2016-01-19 23:35:45 +09:00
Gunther Brunner
0a9e6080fa Fix last ESLint errors. 2016-01-19 23:27:12 +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
466af18058 Add eslint task. Needs eslintrc tweaking. 2016-01-14 21:20:54 +09:00
Vishal Banthia
8a342daef9 remove default expiry in jwt token 2015-12-03 02:08:26 +09:00
Vishal Banthia
62413b3780 allow user to create an access token to access stf api from user settings tab. 2015-11-26 02:40:34 +09:00