92 Commits

Author SHA1 Message Date
db371d2a5d API: added admin role requirement for account changes, datasource admin, and api keys admin 2015-01-26 20:26:17 +01:00
5ba2423626 Worked on account update view 2015-01-26 15:42:22 +01:00
9a641ee7c0 Corrected the use of POST vs PUT, POST creates something, PUT updates, got them mixed up 2015-01-26 12:58:03 +01:00
3744bc3228 fixed server side rendering 2015-01-21 10:51:42 +01:00
3c8c53194f Sign up and login work 2015-01-21 09:52:40 +01:00
9e6df378c3 worked on account creation 2015-01-20 16:29:48 +01:00
eec178458b Validation check for not removing the last account admin 2015-01-20 15:48:19 +01:00
4ea5d80099 Various fixes to data access 2015-01-20 15:23:14 +01:00
581efa857b Small fixes 2015-01-19 19:10:29 +01:00
90925273a0 User / Account model split, User and account now seperate entities, collaborators are now AccountUsers 2015-01-19 18:01:04 +01:00
68a77c4051 More progress on db schema setup and migrations, tricky stuff 2015-01-18 13:08:59 +01:00
2daffe2a15 Api import route updated 2015-01-18 08:56:19 +01:00
9a29b04561 Dashboard import/export now works 2015-01-17 10:39:26 +01:00
c970e82758 Small update to update account command 2015-01-17 08:20:25 +01:00
1532eb4278 Fixed png rendering 2015-01-16 17:00:31 +01:00
2b05dac071 Api Key role is now correcty added do middleware context 2015-01-16 16:15:35 +01:00
3912ed5023 Role checking when saving dashboard, making sure that the user has owner or editor role 2015-01-16 15:28:44 +01:00
22156fe309 Big refactoring for context.User, and how current user info is fetching, now included collaborator role 2015-01-16 14:32:18 +01:00
aa9ca68883 Tokens small fixes 2015-01-16 12:28:35 +01:00
9feb8a73fd Added binding to tokens api and role validation 2015-01-16 12:06:24 +01:00
f858f6b621 Add collaborator now handles role, added macaron-contrib/binding for binding and validation 2015-01-16 11:54:19 +01:00
04bbdbad12 Worked on account update, moved collaborats to its own api url and files 2015-01-15 19:14:47 +01:00
804bff55ec Accounts admin view/get api 2015-01-15 15:54:22 +01:00
fdfcc3ab2a Admin flagged users, create a default admin user on startup if missing 2015-01-15 14:44:15 +01:00
5ec07db143 Refactoring of auth middleware, and starting work on account admin 2015-01-15 12:16:54 +01:00
6f63d63ee0 Working on account collaborators 2015-01-14 16:12:37 +01:00
5e18afe916 Refactoring of api routes 2015-01-14 14:25:12 +01:00
5833867b44 renamed register route to signup 2015-01-14 10:19:53 +01:00
7b17e38f5d add Token authentication support
Added CRUD methods for Tokens.
Extend Auth Handler to check for the presence of a Bearer Authorization
header to authenticate against. If there is no header, or the token is not
valid, the Auth Handler falls back to looking for a Session.
2015-01-14 16:33:34 +08:00
8e65f36131 Added system admin skeleton 2015-01-11 12:12:29 +01:00
68cc3f86dd Handle default datasource management 2015-01-09 16:36:23 +01:00
d562dcd90c Default datasource and event system test 2015-01-09 11:01:37 +01:00
a81a5315e1 Added graphite docker and fig config 2015-01-08 17:34:41 +01:00
d573ee22f1 Fixed missing godep dependency for unit tests 2015-01-08 09:23:34 +01:00
3226a3a58e Fixed hashing of passwords, Closes #3 2015-01-08 09:00:00 +01:00
1ae52d2472 Dashboard search by tag, and tag cloud now works, god dam I hate SQL 2015-01-07 12:37:24 +01:00
bcdbec61d7 Dashboard search works better, tag cloud should be done soon 2015-01-06 18:39:26 +01:00
3e07605260 added a /api/metrics/test query that returns random walk series 2015-01-06 09:11:00 +01:00
0e3f91508e Added validation to stop duplicate dashboards with same name from being saved 2015-01-05 17:04:29 +01:00
d06174fb56 Added build script written in go that adds build symbols for version, commit and build date 2015-01-05 10:46:58 +01:00
19c70a126f fixed oauth login redirect when using app sub url 2015-01-05 08:21:52 +01:00
4cc8a9bd18 More work on getting grafana pro to work in sub url 2015-01-05 07:59:18 +01:00
f25a415a9e Work on making grafana work in sub url 2015-01-04 21:03:40 +01:00
ee443d91dd Fixed account creation on first github login 2015-01-01 22:27:19 +01:00
e9fcca16bd updated to new golang/x/oauth2 2014-12-30 10:10:13 +01:00
8faa806c90 Refactoring dashboard delete and search 2014-12-29 13:58:06 +01:00
164d11c816 InfluxDB now works in proxy mode, influxdb username and password is added in the backend and never exposed to frontend, #8 2014-12-29 13:36:08 +01:00
27b11b1d79 InfluxDB now works in proxy mode, influxdb username and password is added in the backend and never exposed to frontend, #8 2014-12-29 13:35:51 +01:00
ec98c201e4 Datasource options are now included in bootData 2014-12-28 19:30:14 +01:00
f3132b4513 Trying a different approach to providing frontend settings 2014-12-28 18:37:39 +01:00