Commit Graph

3680 Commits

Author SHA1 Message Date
Girish Ramakrishnan
3ae388602c fix wording 2016-06-07 09:27:42 -07:00
Johannes Zellner
733187f3c4 Also show redirectURI for developers to use 2016-06-07 16:21:33 +02:00
Johannes Zellner
02d2a7058e Remove whitespace in scope input 2016-06-07 16:15:53 +02:00
Johannes Zellner
25003bcf40 Add placeholder text in scope input 2016-06-07 16:12:56 +02:00
Johannes Zellner
234caa60eb Add form validation for scopes 2016-06-07 16:10:33 +02:00
Johannes Zellner
a0227b6043 Remove now unused localhost test client
We can now simply use the regular APIs to do local development against a Cloudron
2016-06-07 16:03:50 +02:00
Johannes Zellner
46ac6c4918 Offset the footer in the console views 2016-06-07 15:58:53 +02:00
Johannes Zellner
4afde79297 Fix error message 2016-06-07 15:56:22 +02:00
Johannes Zellner
17d48f3fce Specify the expiration on the client. Currently this is 100 years.
I am not sure if this is the best approach, or if we should introduce a magic value instead.
2016-06-07 15:54:32 +02:00
Johannes Zellner
facdabcc8d Mention the token expiration in the ui 2016-06-07 15:54:09 +02:00
Johannes Zellner
691803f10b Allow optional expiresAt to be set on token creation 2016-06-07 15:47:13 +02:00
Johannes Zellner
8144c6d086 Patch up the token delete button with the route 2016-06-07 15:38:42 +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
d9d94faf75 Refresh the client on token actions 2016-06-07 15:15:56 +02:00
Johannes Zellner
0201ab19e4 Pass in the client object 2016-06-07 14:47:56 +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
6261231593 add ui for token generation 2016-06-07 14:19:20 +02:00
Johannes Zellner
d62d2b17fe Select tokens and secrets with single click 2016-06-07 14:10:20 +02:00
Johannes Zellner
89cef4f050 Show tokens for admins 2016-06-07 14:07:41 +02:00
Johannes Zellner
8602e033c5 Only show active clients for non-admins 2016-06-07 13:46:45 +02:00
Johannes Zellner
3598d89b12 ?all is gone in clients route 2016-06-07 13:17:02 +02:00
Johannes Zellner
ffd552583c Patch up the client remove ui 2016-06-07 13:12:53 +02:00
Johannes Zellner
9eabc9d266 Fixup the wording 2016-06-07 12:50:52 +02:00
Johannes Zellner
edf8cd736e Add modal for client removal 2016-06-07 12:48:12 +02:00
Johannes Zellner
c5ebe2c2bf Fixup the panel padding 2016-06-07 12:48:00 +02:00
Johannes Zellner
5d0ccc0dd7 Show correct token count 2016-06-07 12:37:18 +02:00
Johannes Zellner
4147455654 Fetch tokens for each client separately 2016-06-07 12:37:04 +02:00
Johannes Zellner
f3436a99a2 Fixup the client list details 2016-06-07 12:28:33 +02:00
Johannes Zellner
70d569e2e8 List all oauth clients in webadmin 2016-06-07 12:26:14 +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
Johannes Zellner
8159334cbf Avoid more inlining 2016-06-07 10:55:36 +02:00
Johannes Zellner
78135c807a Be consistent in client.js add -> create 2016-06-07 10:49:11 +02:00
Johannes Zellner
bfa33e4d8e Fixup a linter issue 2016-06-07 10:48:36 +02:00
Johannes Zellner
8b23174769 add client.addOAuthClient() 2016-06-07 10:45:50 +02:00
Johannes Zellner
a078c94b97 Ensure autofocus is handled 2016-06-07 10:43:33 +02:00
Johannes Zellner
c86392cd60 Add modal dialog to create API clients 2016-06-07 10:42:54 +02:00
Johannes Zellner
f0e9256d46 Avoid style inlining 2016-06-07 10:10:58 +02:00
Girish Ramakrishnan
0cd4e4f03a update now takes appStoreId 2016-06-04 20:51:17 -07: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