Commit Graph

685 Commits

Author SHA1 Message Date
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
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
Gunther Brunner
e18d78ddef Fix ADB version matching regex. 2016-04-19 17:22:29 +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
Vishal Banthia
e3fce92704 Add optional basic authentication in auth-mock 2016-02-03 15:43:24 +09:00
Vishal Banthia
97269b3aa8 Fix eslint errors 2016-02-03 15:42:56 +09:00
codeskyblue
c3df22070c code conversion 2016-02-03 15:42:56 +09:00
codeskyblue
68e29a01c2 openid change /auth/verify to /auth/openid/verify 2016-02-03 15:42:56 +09:00
codeskyblue
87e5d80209 openid: remove useless code 2016-02-03 15:42:56 +09:00
codeskyblue
f942c86aaf format auth-openid options 2016-02-03 15:42:56 +09:00
codeskyblue
4c2da1056d add openid to options 2016-02-03 15:42:56 +09:00
codeskyblue
e8a2a6637f fix conflict of merge openid 2016-02-03 15:42:55 +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
d61e31706e Add Slack notifier. 2016-01-26 20:10:49 +09:00
Gunther Brunner
6d46132b63 Fix refactoring bug. 2016-01-20 21:43:50 +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
059213546e Enhancement: Add auth-saml2 support. 2016-01-05 16:39:02 +09:00
Vishal Banthia
6d99bace91 improve token-id format to make it more secure 2015-12-03 21:37:19 +09:00
Vishal Banthia
8a342daef9 remove default expiry in jwt token 2015-12-03 02:08:26 +09:00