Johannes Zellner
7df45b535a
Merge branch 'revokation'
2014-09-23 21:04:12 -07:00
Johannes Zellner
abc1c903e3
webadmin: disable token deletion button if there are no tokens
2014-09-23 20:54:48 -07:00
Johannes Zellner
2bca7a95a2
webadmin: rework the security ui to adjust to server changes
2014-09-23 18:05:47 -07:00
Girish Ramakrishnan
1fffd986f0
Add non-minified rickshaw files
...
rickshaw is from a240899625
d3 is from 3.4.11
2014-09-23 00:40:38 -07:00
Johannes Zellner
2c97b89524
Show oauth client credentials in webadmin
2014-09-22 17:08:27 -07:00
Johannes Zellner
24bd8070cd
webadmin: fixup the accordion collapsing
2014-09-22 16:56:08 -07:00
Johannes Zellner
f6a5bfcdcd
webadmin: The oauth client view is now an accordion
2014-09-22 16:33:03 -07:00
Johannes Zellner
66afa93259
webadmin: make security a separate view
2014-09-22 16:04:23 -07:00
Girish Ramakrishnan
265ecbeffc
call transformNull on all metrics
2014-09-22 14:07:22 -07:00
Girish Ramakrishnan
4f2b818786
Fix graphs
2014-09-22 12:58:23 -07:00
Girish Ramakrishnan
c078871188
Implement month and year charts
...
Month charts don't work properly for some reason
2014-09-22 11:43:25 -07:00
Johannes Zellner
313a09bbb0
webadmin: Do list active clients instead of access tokens
2014-09-22 10:16:09 -07:00
Girish Ramakrishnan
0698e5e8b7
Add legend to disk chart
2014-09-22 08:01:52 -07:00
Johannes Zellner
0d1811561c
webadmin: add access token deletion action
2014-09-22 07:55:10 -07:00
Girish Ramakrishnan
c72fc8759e
Various fixes to graphing
2014-09-22 06:18:09 -07:00
Johannes Zellner
d9120146e1
webadmin: initial token list for settings panel
2014-09-21 18:17:31 -07:00
Girish Ramakrishnan
a492ba88cf
update graphs in Client.onReady
2014-09-21 18:06:48 -07:00
Girish Ramakrishnan
0567ba8867
Get started on graphs
2014-09-21 18:03:19 -07:00
Girish Ramakrishnan
1336c324cd
Add rickshaw from a240899625c2d83961b3e682cd77ab8e5199a866
2014-09-21 17:59:31 -07:00
Johannes Zellner
3da1aedc60
webadmin: remove myapps views
2014-09-21 17:10:47 -07:00
Johannes Zellner
132571e359
webadmin: display installationState and installationProgress
2014-09-21 12:19:48 -07:00
Johannes Zellner
eb2d5f6207
webadmin: do not use angular helpers but do it the old way
...
This should fix the appdetails refresh
2014-09-21 11:41:45 -07:00
Girish Ramakrishnan
da357efd9c
$timeout not used anymore
2014-09-19 23:00:30 -07:00
Johannes Zellner
1cd425bcb0
Ensure app install and get routes return similar objects
2014-09-19 17:52:31 -07:00
Girish Ramakrishnan
133f9fe56d
Implement log download
...
Fixes #83
2014-09-18 23:06:35 -07:00
Johannes Zellner
a6bcae1aa0
webadmin: add page offset and make tabs clickable for graphs
2014-09-17 09:39:05 -07:00
Girish Ramakrishnan
8f7c4fa534
Attempt disk usage images
2014-09-17 00:16:54 -07:00
Girish Ramakrishnan
c07f493ca2
Display tab in graphs view
2014-09-16 20:39:00 -07:00
Girish Ramakrishnan
a7b4f816fb
Add graphs view filler
2014-09-16 19:06:44 -07:00
Girish Ramakrishnan
b0e8625cab
Implement logs using ServerSent events
...
The hard lesson is that SSE sucks.
*) The cross-origin policy is not exactly well defined but this doesn't affect us
*) There is no way to set Authorization header and we have to rely on cookies
*) Have to use a polyfill to make work on IE
Also
*) timeout module does not close if headers are sent. So, it never closes SSE
*) nginx buffers responses until completion, so we have to disable that with X-Accel-Buffering header
The auth header basically means we have to move back to long polling or support
special auth just for SSE :-(
2014-09-13 01:51:22 -07:00
Johannes Zellner
9596671a64
Remove stray backslash
2014-09-12 12:02:23 -07:00
Johannes Zellner
957c7a5efd
Introduce oauth scope to authcodes
2014-09-12 08:22:26 -07:00
Girish Ramakrishnan
3b08db3f4c
Display app logs
...
Note done completely. Needs autoscroll and some fixes in longpolling.
angular does not seem to provide chunked progress in ajax
2014-09-12 05:40:04 -07:00
Johannes Zellner
5f758b3d5e
Remove legacy support for auth_token and 'Token <tok>' in auth header
2014-09-11 08:43:32 -07:00
Johannes Zellner
7292a23bab
Add oauth scopes for each scoped route
...
All tokens are still given out with the
wildcard scope. The syncer and file related
routes don't have scopes. As well as the
firsttime use and provisioning routes.
We now have the following scopes so far:
- root /api/v1/..
- profile /api/v1/profile
- users /api/v1/users/..
- apps /api/v1/apps/..
- settings /api/v1/settings/..
Each token can carry a comma separated list
of scopes, the token is good for.
2014-09-10 18:01:21 -07:00
Johannes Zellner
7ce61bcb1c
webadmin: cache also the title from the appstore on app installation
2014-09-09 22:12:39 -07:00
Johannes Zellner
095a3832fc
webadmin: don't rely on polling to get newly installed app
2014-09-09 22:02:25 -07:00
Johannes Zellner
98704f9fb9
Store installed app icons locally in data/icons
2014-09-09 21:36:11 -07:00
Johannes Zellner
9af3e37fd0
Fixing more linter issues
2014-09-09 17:24:02 -07:00
Johannes Zellner
84f1305a96
webadmin: cleanup logout()
2014-09-09 16:45:11 -07:00
Johannes Zellner
ac5167461f
Remove /api/v1/token and adjust webadmin accordingly
2014-09-09 16:30:24 -07:00
Johannes Zellner
e260f55556
webadmin: angular needs special treatment for sending a json body with DELETE
2014-09-09 09:44:32 -07:00
Johannes Zellner
5a82cd7b17
Fixup webadmin's client.js to fit new /api/v1/users
2014-09-09 08:50:25 -07:00
Johannes Zellner
4aaa55acdb
webadmin: append fqdn to app configuration form
2014-09-09 08:09:46 -07:00
Johannes Zellner
734abbd910
webadmin: append fqdn to app installation form
2014-09-09 08:03:33 -07:00
Johannes Zellner
7b038291ce
webadmin: fix refresh on app install view
2014-09-09 00:52:56 -07:00
Johannes Zellner
7298e066ba
Add reboot route and webadmin UI
...
The reboot route will also be called from the reboot action
in the appstore to attmept a soft reboot, rather than a power
cycle.
2014-09-07 19:27:31 -07:00
Johannes Zellner
c1460f419e
webadmin: fix state bug in side panel during
2014-09-07 16:16:40 -07:00
Johannes Zellner
f8837ba284
webadmin: remove useless returns
2014-09-07 16:01:28 -07:00
Johannes Zellner
d02f498c2f
webadmin: ensure app details controller waits for Client to be ready
2014-09-07 15:46:11 -07:00