Johannes Zellner
|
509083265f
|
fix setup_infra.sh to accomodate ifconfig differences
|
2016-06-08 15:01:28 +02:00 |
|
Johannes Zellner
|
1b9dbd06c8
|
Fix typo
|
2016-06-08 14:55:14 +02:00 |
|
Johannes Zellner
|
d6482414bb
|
Fixup the clientdb tests
|
2016-06-08 14:49:54 +02:00 |
|
Johannes Zellner
|
194b9b35bd
|
We now have 3 built-in api clients
|
2016-06-08 14:48:03 +02:00 |
|
Johannes Zellner
|
6b9acb4722
|
Preserve the built-in clients on db clean
|
2016-06-08 14:47:21 +02:00 |
|
Johannes Zellner
|
08c3cb9376
|
Insert the default auth clients for tests
|
2016-06-08 14:37:41 +02:00 |
|
Johannes Zellner
|
4776a005a5
|
Remove redundant client TYPE_*s
|
2016-06-08 14:09:06 +02:00 |
|
Johannes Zellner
|
e954df2120
|
Issue developer tokens with cid-cli
|
2016-06-08 13:39:31 +02:00 |
|
Johannes Zellner
|
e431bd6040
|
Fix typo
|
2016-06-08 11:36:01 +02:00 |
|
Johannes Zellner
|
a69cd204d6
|
Handle sdk and cli clients just like the webadmin
|
2016-06-08 11:33:08 +02:00 |
|
Johannes Zellner
|
3c3de6205e
|
Add test case for blocking cid-webadmin deletion
|
2016-06-08 11:27:10 +02:00 |
|
Johannes Zellner
|
16444f775d
|
Prevent deletion of the built-in clients
|
2016-06-08 11:24:02 +02:00 |
|
Johannes Zellner
|
2676658b5d
|
Add auth client cid-sdk and cid-cli
|
2016-06-08 11:20:06 +02:00 |
|
Girish Ramakrishnan
|
fbb8a842c1
|
do not require password
|
2016-06-08 00:07:41 -07:00 |
|
Girish Ramakrishnan
|
62b586e8dd
|
fix require path
|
2016-06-07 20:57:39 -07:00 |
|
Girish Ramakrishnan
|
313d98ef70
|
add a route to check for updates quickly
|
2016-06-07 20:24:41 -07:00 |
|
Girish Ramakrishnan
|
06448f146d
|
fix typo
|
2016-06-07 20:09:53 -07:00 |
|
Girish Ramakrishnan
|
064d950f87
|
add new tests for field validation
|
2016-06-07 16:00:02 -07:00 |
|
Girish Ramakrishnan
|
3236ce9cd6
|
check if both are null
|
2016-06-07 15:36:45 -07:00 |
|
Girish Ramakrishnan
|
3231fe7874
|
use user.get which already set admin flag
|
2016-06-07 10:03:08 -07:00 |
|
Girish Ramakrishnan
|
dc8fd2eab3
|
do not use userdb directly
|
2016-06-07 10:01:14 -07:00 |
|
Johannes Zellner
|
02d2a7058e
|
Remove whitespace in scope input
|
2016-06-07 16:15:53 +02:00 |
|
Johannes Zellner
|
4afde79297
|
Fix error message
|
2016-06-07 15:56:22 +02:00 |
|
Johannes Zellner
|
691803f10b
|
Allow optional expiresAt to be set on token creation
|
2016-06-07 15:47:13 +02:00 |
|
Johannes Zellner
|
290ab6cc7d
|
Fix typo
|
2016-06-07 15:38:30 +02:00 |
|
Johannes Zellner
|
8e5af17e5d
|
Add route to delete a single token
|
2016-06-07 15:34:27 +02:00 |
|
Johannes Zellner
|
721fe74f3c
|
The route creates the subobject
|
2016-06-07 14:47:47 +02:00 |
|
Johannes Zellner
|
96eeb247a1
|
Add rest api to create a new token for a client
|
2016-06-07 14:29:37 +02:00 |
|
Johannes Zellner
|
684625fbaf
|
Remove unused clients.getAllWithDetailsByUserId()
|
2016-06-07 12:25:48 +02:00 |
|
Johannes Zellner
|
c8b9ae542c
|
Simply return oauth clients instead of join with tokendb
|
2016-06-07 12:15:25 +02:00 |
|
Johannes Zellner
|
af29c1ba86
|
Handle external api client requests separately
|
2016-06-07 12:00:18 +02:00 |
|
Johannes Zellner
|
207e81345f
|
Log event for external login
|
2016-06-07 11:59:54 +02:00 |
|
Johannes Zellner
|
d880731351
|
Support ?all query param for oauth clients get route
|
2016-06-07 11:18:30 +02:00 |
|
Johannes Zellner
|
e603cfe96e
|
Add clients.getAllWithDetails()
|
2016-06-07 11:17:29 +02:00 |
|
Johannes Zellner
|
5b93a2870f
|
Add clientdb.getAllWithTokenCount()
|
2016-06-07 11:17:14 +02:00 |
|
Johannes Zellner
|
1214300800
|
Consistent code styling
|
2016-06-07 11:08:35 +02:00 |
|
Girish Ramakrishnan
|
1766da9174
|
update code path now takes appStoreId
|
2016-06-04 20:05:29 -07:00 |
|
Girish Ramakrishnan
|
dbdcf1ec27
|
pass data object to update
|
2016-06-04 19:12:36 -07:00 |
|
Girish Ramakrishnan
|
c916ea2589
|
fix style
|
2016-06-04 18:56:53 -07:00 |
|
Girish Ramakrishnan
|
5540b5f545
|
remove unused require
|
2016-06-04 18:55:31 -07:00 |
|
Girish Ramakrishnan
|
1e38190e68
|
setting falsy values for cert/key removes it
|
2016-06-04 18:30:05 -07:00 |
|
Girish Ramakrishnan
|
8f3553090f
|
make args optional in configure
|
2016-06-04 18:07:06 -07:00 |
|
Girish Ramakrishnan
|
cc0f5a1f03
|
fix configure arg insanity
|
2016-06-04 16:32:27 -07:00 |
|
Girish Ramakrishnan
|
a1c531d2a8
|
better type checking in configure and make accessRestriction optional
|
2016-06-04 16:27:50 -07:00 |
|
Girish Ramakrishnan
|
57cb3b04d7
|
generate 2048-bit keys
|
2016-06-04 15:59:53 -07:00 |
|
Girish Ramakrishnan
|
a49cf98a8d
|
do not allow appId to be set
this is some legacy code
|
2016-06-04 13:40:43 -07:00 |
|
Girish Ramakrishnan
|
da6cab8dd6
|
we return 400 now
|
2016-06-04 13:32:41 -07:00 |
|
Girish Ramakrishnan
|
3b7cfdd7db
|
better type checking
|
2016-06-04 13:31:18 -07:00 |
|
Girish Ramakrishnan
|
4068ff5f21
|
add TODO note to validate accessRestriction
|
2016-06-04 13:20:10 -07:00 |
|
Girish Ramakrishnan
|
ee073c91a3
|
return BAD_FIELD if app was not found
|
2016-06-04 13:15:38 -07:00 |
|