Commit Graph

745 Commits

Author SHA1 Message Date
song
fa50c56bb9 Use 'ps -lef' instead of 'ps' to list Pids on Android 8.x 2018-02-04 18:48:28 +08: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
6d8918ea53 Merge pull request #648 from lishuai0214/small-improvements
small improvements
2017-11-05 21:12:53 +09: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
Simo Kinnunen
2351025f6f Allow master volume to be always muted. 2017-09-22 17:08:34 +09:00
Simo Kinnunen
e2a0447def Fix checkExecutable() not working correctly on Windows. 2017-09-06 16:35:47 +09:00
Simo Kinnunen
c922eb92e5 Android 8.0 support. 2017-08-31 03:04:40 +09:00
Vishal Banthia
707482fa3b Update generated swagger.json 2017-07-31 17:25:42 +09:00
lison.li
aad71a80d1 1. Although it's a bit repetitive, I think the independent serial parameter tells the reader that entry contains serial. 2. Just remove useless parameter "url". 2017-07-16 23:49:57 +08:00
Simo Kinnunen
3447c927df Update minitouch for Blackberry PRIV and use minitouch-prebuilt for minitouch binaries instead of bundling them to the vendor dir. 2017-06-16 16:13:45 +09:00
Vishal Banthia
9aaf98ba2a Merge pull request #601 from kwv/fixes-594
Fixes 594 -- Allows default content-type (application/octet-stream) on path based parameter operations
2017-06-14 20:06:16 -07:00
kris
9f3f0b9692 cleaned up per vbanthia's comments. fixed docs to align with implementation 2017-06-14 21:38:09 -05: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
b8388c75b3 add ldap-search-filter option 2017-06-14 13:45:12 +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
thinkhy
ddf9672dc1 Update index.js 2017-06-04 19:37:53 +08:00
kris
eb069bbdf3 updating generated JSON 2017-05-31 09:11:35 -05:00
kris
378edc7d92 allowing default content type for POST/DELETEs
fixes https://github.com/openstf/stf/issues/594
2017-05-31 09:08:09 -05: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
lanxi
c14ee446dc Update yargs 2017-05-04 17:01:44 +08:00
Simo Kinnunen
2b836f6382 Make sure that check actually catches and handles errors, even if synchronous. 2017-04-29 12:55:46 +09:00
Simo Kinnunen
6bf300e29d Require zmq in directly the test so that it being broken (due to e.g. missing bindings) won't prevent other tests from running. 2017-04-29 12:54:18 +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
43f0341297 Add support for Android O Developer Preview 1. 2017-04-08 23:21:19 +09:00
Simo Kinnunen
54263114cf Fix storage-s3/temp being in wrong directories. Everything still worked since they had the right content for yargs to do its thing. Fixes #555. 2017-03-08 12:59:45 +09:00
Karol Wrótniak
8b9ff7e580 Email domain restriction added for OAuth2 authorization. 2017-02-14 01:37:46 +01:00
Simo Kinnunen
884c51b9b4 Add an alternate install location for binary resources. Fixes devices where /data/local/tmp is mounted as noexec, like ZUK Z1. Closes #436. 2017-02-10 04:45:14 +09:00
Simo Kinnunen
86ed8cd1f0 Prevent attempt to gracefull kill device worker during cleanup if it has already exited. Not very elegant but it does its job. This should get rid of most Ctrl+C delays. 2017-02-10 01:31:16 +09:00
Simo Kinnunen
083a2a1f92 Fix incorrect migrate file path in stf local. Fixes #535 and #509. 2017-02-09 17:16:10 +09:00
Simo Kinnunen
385acc4ff2 Don't allow the processor unit to run before we're able to connect to the database. This caused an issue when the database started up slowly, but the processor connected to the app/dev dealers regardless. Any received messages requiring database connectivity would cause the processor to die (and be restarted by systemd), causing lost messages on occasion. 2017-02-06 00:36:32 +09:00
Simo Kinnunen
a995a2f823 Don't attempt to reconnect to the db when we're dying. 2017-02-06 00:30:07 +09:00
Simo Kinnunen
586dd6a4aa Setting parse-numbers: false caused number options to become strings as well. Since we seem to have little control over positional arguments, let's make it an option instead. 2017-01-27 17:26:18 +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
6180d2fd99 Updated adbkit-apkreader to resolve issues with certain APK files that were unparseable and therefore failed installation. 2017-01-24 18:08:10 +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
Simo Kinnunen
72a16ed2ff Make boot complete timeout configurable. 2016-12-20 22:48:55 +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
Vishal Banthia
42b55889ae Show errors in case of Duplicate adbkey 2016-11-23 03:23:12 +05:30