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

243 commits

Author SHA1 Message Date
Simo Kinnunen
43f0341297 Add support for Android O Developer Preview 1. 2017-04-08 23:21:19 +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
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
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
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
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
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
Kwangyong Kim
5618e68cb4 Add ldap username field option. Default field is 'cn' 2016-05-31 15:54:18 +09:00
Golovin Gleb
63401dc536 This fixes bug with leaking ports when emulator or device is rebooted
Change handler order for device worker promise
2016-04-25 21:48:17 +09:00
Vishal Banthia
a6e783ed1d Merge pull request #254 from openstf/optional-basic-auth-in-auth-mock
Add optional basic authentication in auth-mock
2016-02-03 15:59:06 +09:00
Vishal Banthia
0fa080d5cb Fix eslint error 2016-02-03 15:43:24 +09:00