Vishal Banthia
707482fa3b
Update generated swagger.json
2017-07-31 17:25:42 +09: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
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
Vishal Banthia
ee3c5ee3b6
Save uploaded files in optional --save-dir
2016-11-18 14:19:16 +05:30
Simo Kinnunen
209031c271
Complain if dependencies don't satisfy package.json.
2016-11-11 22:28:28 +09:00
Simo Kinnunen
dd24a9fe4b
Update minicap for Android 7.1 support. Use the new minicap-prebuilt
...
package instead of bundling the binaries in the repo.
2016-10-24 01:37:05 +09:00
Gleb Golovin
80ac27fbb4
Fix worker restart when stopping
2016-09-26 11:50:04 +07: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
48d621b194
Removed shrinkwrap since it doesn't work properly on Travis. Force the engine to old jade, add then-jade dependency temporarily until template-html-loader uses new consolidate.js.
...
Update slack-client to @slack/client to latest version.
2016-08-05 18:56:38 +09:00
Gunther Brunner
1eb6af0119
Replaced old jade with new pug.
...
Using temporarily npm-shrinkwrap since `template-html-loader` uses an old `consolidate.js` version which doesn't support `pug`.
Follow here: https://github.com/jtangelder/template-html-loader/issues/8
2016-08-05 18:24:30 +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
484e56be12
Use capital letter in Bearer as per rfc spec
2016-07-22 19:34:22 +05:30
Vishal Banthia
87fcf19406
refactor security handler
2016-07-22 19:34:22 +05:30
Vishal Banthia
fa9ee605f3
update generated json
2016-07-22 19:34:22 +05:30
Vishal Banthia
a6266931ad
Modify APIs from Aysnc -> Sync using timeout
2016-07-22 19:34:22 +05:30
Vishal Banthia
d67d06a19f
typo
2016-07-22 19:34:22 +05:30
Vishal Banthia
b004dcb51b
remove unnecessary requirements from app unit
2016-07-22 19:34:22 +05:30
Vishal Banthia
723094347c
add generated swagger json file for swagger ui
2016-07-22 19:34:22 +05:30