Girish Ramakrishnan
31cf9909d7
Enable and disable collectd appropriately
2014-09-17 10:05:13 -07:00
Girish Ramakrishnan
55ce1046df
Make script barf one error
2014-09-17 10:03:01 -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
bbfe07ab91
Setup -> Install
2014-09-17 09:37:43 -07:00
Girish Ramakrishnan
8f7c4fa534
Attempt disk usage images
2014-09-17 00:16:54 -07:00
Girish Ramakrishnan
50668fd9c5
disable disk plugin which is measuring iops
2014-09-16 23:44:12 -07:00
Girish Ramakrishnan
567306f3b4
hardcode Hostname for predictable graphite targets
2014-09-16 23:21:51 -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
d5ac037ffc
bump the graphite docker version
2014-09-16 19:06:43 -07:00
Girish Ramakrishnan
92cf82af15
Monitor nginx logs using the tail plugin
...
I guess real analysis must be done using elasticsearch
2014-09-16 17:18:52 -07:00
Girish Ramakrishnan
0fd494f592
Remove dead configs in nginx config
2014-09-16 16:57:41 -07:00
Girish Ramakrishnan
85df77409b
Cleanup collectd.conf
2014-09-16 16:25:55 -07:00
Girish Ramakrishnan
77daac69c3
Update to latest graphite image
2014-09-16 16:23:38 -07:00
Girish Ramakrishnan
770acdf395
Make graphite data part of backup
2014-09-16 16:09:21 -07:00
Girish Ramakrishnan
86e7061819
collectd: configure df and disk
2014-09-16 12:04:44 -07:00
Girish Ramakrishnan
9bf5b1104e
collectd: Enable vmem plugin
2014-09-16 11:54:12 -07:00
Girish Ramakrishnan
20add2bee4
collectd: disable rrdtool
...
afaict, we don't need it since we use graphite as backend
2014-09-16 11:49:17 -07:00
Girish Ramakrishnan
e1ded03f1f
collectd: Enable collection of box process stats
2014-09-16 11:40:41 -07:00
Girish Ramakrishnan
f4c9c42859
collectd: enable swap space monitoring
2014-09-16 11:33:37 -07:00
Girish Ramakrishnan
52ff80f9bc
Enable collectd ping plugin
2014-09-16 11:29:05 -07:00
Girish Ramakrishnan
e4c891fff8
Enable nginx status in collectd
2014-09-16 11:25:52 -07:00
Girish Ramakrishnan
62cb58b5b1
Run docker in background
2014-09-16 08:05:25 -07:00
Girish Ramakrishnan
fc8a47774b
Remove girish/base:0.4
2014-09-15 22:16:04 -07:00
Girish Ramakrishnan
4e1ae532de
Move graphite to separate container
...
Only collectd needs to run in the host
2014-09-15 20:14:57 -07:00
Girish Ramakrishnan
7bb96f3523
Add collectd and graphite support to base image
2014-09-15 02:04:23 -07:00
Girish Ramakrishnan
c39d307bcc
Fix deps
2014-09-15 02:04:23 -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
Girish Ramakrishnan
69c6d3a3fb
Bump test image version
2014-09-12 17:19:53 -07:00
Girish Ramakrishnan
779c6013d0
Add config.iconsRoot
2014-09-12 17:17:32 -07:00
Johannes Zellner
450530c95c
Add session logout for OAuth test suite
2014-09-12 12:06:14 -07:00
Johannes Zellner
9596671a64
Remove stray backslash
2014-09-12 12:02:23 -07:00
Johannes Zellner
a7ab2ddfe9
Remove unused OAuth token grant
2014-09-12 12:00:11 -07:00
Johannes Zellner
aa03287cc7
Add OAuth test suite to allow manual OAuth testing
2014-09-12 10:23:53 -07:00
Johannes Zellner
294059ff08
Only give out wildcard oauth scope to the webadmin
...
This will break our current other clients (quassel app and ngircd)
They now have to explicitly request the 'profile' scope and only that
2014-09-12 10:20:15 -07:00
Johannes Zellner
2a779fda6d
Do not crash if apps.uninitialize() is called twice
2014-09-12 08:59:14 -07:00
Johannes Zellner
01b87f80ef
Do not print the password in plaintext when DEBUG is set
2014-09-12 08:54:34 -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
Girish Ramakrishnan
4d2c5c14e7
Update node packages
...
From the output of npm outdated.
npm install underscore@* nodejs-disks@* js-yaml@* passport@* passport-oauth2-client-password@* --save
2014-09-12 04:32:56 -07:00
Girish Ramakrishnan
33c6516172
Update dockerode
2014-09-12 04:32:56 -07:00
Girish Ramakrishnan
3439dcf28c
Navigate to admin-localhost
2014-09-12 04:32:56 -07:00
Johannes Zellner
6a48b9ed10
The sudoers entry for scripts cannot contain spaces for ALL=(ALL)
2014-09-11 14:29:30 -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
a184e1fb01
Make bearer token verification implicit for scoped routes
2014-09-11 08:34:18 -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
2c03aa275d
Allow to specify a redirect URL on session logout
2014-09-10 18:00:03 -07:00
Girish Ramakrishnan
a94b6956bb
Better error messages
2014-09-10 15:13:33 -07:00
Johannes Zellner
fc9a3b3511
Add OAuth scope testing middleware
2014-09-10 14:52:03 -07:00
Johannes Zellner
fbd658bf66
Use OAuth scope attached to the token to proceed
...
passport attaches the scope to req.authInfo, where we can pick it
up in other middlewares for verification
2014-09-10 13:14:50 -07:00