Commit Graph

857 Commits

Author SHA1 Message Date
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
Vishal Banthia
9de5ba5fae refactoring swagger 2016-07-22 19:34:22 +05:30
Vishal Banthia
26ad95a36e add comment for going against REST 2016-07-22 19:34:22 +05:30
Vishal Banthia
25cee263b2 Fix express warning for deprecated res.json(stat) message 2016-07-22 19:34:22 +05:30
Vishal Banthia
96494247bb add remoteConnect endpoint for device 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
Vishal Banthia
c9a9d3cb06 User path parameter for Delete /user/devices/:device endpoint 2016-07-22 19:34:22 +05:30
Vishal Banthia
bca180d284 refactor reserve and release endpoints in HTTP POST and DELETE methods 2016-07-22 19:34:22 +05:30
Vishal Banthia
dccacea43f add new device-reserve and device-release endpoints 2016-07-22 19:34:22 +05:30
Vishal Banthia
536e469e6f remove unnecessary options from api unit. Improve error messages... etc etc 2016-07-22 19:34:22 +05:30
Vishal Banthia
221bc78e49 use security handler instead of express middleware for access token validation. 2016-07-22 19:34:22 +05:30
Vishal Banthia
f10ae51b53 add swagger.json endpoint 2016-07-22 19:34:22 +05:30
Vishal Banthia
0ec03aa2c0 move accessTokens endpoint from app unit to api unit 2016-07-22 19:34:22 +05:30
Vishal Banthia
5729095acb move group endpoint from app unit to api unit 2016-07-22 19:34:22 +05:30
Vishal Banthia
d6f37681ce move devices endpoint from app unit to api unit 2016-07-22 19:34:22 +05:30
Vishal Banthia
0e8b308b6c change /app/api/v1/user -> /api/v1/me 2016-07-22 19:34:22 +05:30
Vishal Banthia
e0a45391ab Add auth middleware in api unit. Now only authorized user can access api unit 2016-07-22 19:34:22 +05:30
Vishal Banthia
41f306a7f0 Add basic api unit. This unit will be responsible for providing all stf restful apis. 2016-07-22 19:34:22 +05:30
Simo Kinnunen
158b6944be Allow the cleanup plugin to be disabled. Resolves #346 and others. May
need a more generic method to disable individual plugins later.
2016-06-07 00:44:02 +09:00
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
Kwangyong Kim
beb0f7282b Fix typo 2016-05-31 17:45:56 +09:00
Kwangyong Kim
5618e68cb4 Add ldap username field option. Default field is 'cn' 2016-05-31 15:54:18 +09:00