Commit Graph

665 Commits

Author SHA1 Message Date
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
Vishal Banthia
9cb231391a Create seperate database table for AccessTokens to hide jwt token and tokenId from user 2015-11-26 03:09:58 +09:00
Vishal Banthia
62413b3780 allow user to create an access token to access stf api from user settings tab. 2015-11-26 02:40:34 +09:00
Vishal Banthia
466890777d Allow to update device notes column from STF UI. https://github.com/openstf/stf/issues/124 2015-11-13 21:16:59 +09:00
Simo Kinnunen
467ed01903 Make ESLint happy and use the existing style where possible. 2015-11-06 02:31:28 +09:00
tchibana
44f65a2c0c Merge branch 'master' of https://github.com/openstf/stf into s3insteadoftmp 2015-10-22 00:25:12 +09:00
tchibana
e4cb21b1e1 fix review comments 2015-10-22 00:22:35 +09:00
Simo Kinnunen
66fbadbd5d Wait for indexes to be ready before we let migrate finish. Should fix 2015-10-22 00:10:26 +09:00
tchibana
49dcc7126d fixed review comments. 2015-10-21 23:45:20 +09:00
tchibana
d6c0caeb66 fixed cli.js as review comment. 2015-10-21 23:10:09 +09:00
Simo Kinnunen
8e8f2d17b7 Make ZMQ keepalive options optional, since they're breaking things on
some systems. You should now use the ZMQ_TCP_KEEPALIVE=1 and
ZMQ_TCP_KEEPALIVE_IDLE=<value> environment variables to set them.
2015-10-21 20:13:45 +09:00
Simo Kinnunen
396cfbad7f Allocated ports were not being released properly due to fork() now consuming the ports. Additionally fixes port pool grouping. Fixes #138. 2015-10-21 16:58:41 +09:00
tchibana
bbbd8f688c Merge branch 'master' of https://github.com/openstf/stf into s3insteadoftmp 2015-10-20 01:34:05 +09:00
hogehoge-banana
8462290d34 fix file expiration logic and some bugs. 2015-10-20 00:55:33 +09:00
Simo Kinnunen
0942ecea7a Fix stf local not accepting multiple serials. Fixes #91. 2015-10-14 01:56:30 +09:00
Simo Kinnunen
b248e96dc2 Output a warning instead of crashing if ZMQ library is too old to
support TCP keepalive options. Fixes #109.
2015-10-14 01:40:30 +09:00
Gunther Brunner
342890e884 Start fixing npm test warnings. 2015-10-13 21:21:32 +09:00
Simo Kinnunen
3b89196cc3 Fix VNC endianness check. 2015-10-13 19:25:56 +09:00
Simo Kinnunen
638322fd47 Fix VNC auth DB index. 2015-10-13 15:31:26 +09:00
Simo Kinnunen
d55ce41214 No need for VNC "fingerprint" anymore. 2015-10-13 04:05:07 +09:00
Simo Kinnunen
5216eac5ce Remove unused VNC authentication utilities. 2015-10-13 04:05:07 +09:00