Torkel Ödegaard
0ed4744a33
influxdb(auth): fixed issue with using basic auth and influxdb, fixes #2455
2015-08-07 11:02:32 +02:00
Torkel Ödegaard
9d25d2674b
fix(invite): fixed link in email
2015-08-04 20:23:04 +02:00
Torkel Ödegaard
5a160f426e
feat(invite): trying to get username to work as well
2015-07-29 09:30:23 +02:00
Torkel Ödegaard
6d6af09296
feat(invite): handling of existing org user case when inviting, #2353
2015-07-21 12:18:11 +02:00
Torkel Ödegaard
ab54971763
feat(invite): more progress on completing invite form and actually creating a real user, #2353
2015-07-20 17:46:48 +02:00
Torkel Ödegaard
d75f96fdd5
feat(invite): more progress on invited / sigup view, #2353
2015-07-20 15:52:49 +02:00
Torkel Ödegaard
024c112944
feat(invite): redesign for pending invite list, added revoke button and link, copy invite also works now, #2353
2015-07-20 14:26:49 +02:00
Torkel Ödegaard
3242354a4b
feat(invite): worked on pending invitations list, revoke invite now works, #2353
2015-07-20 10:57:39 +02:00
Torkel Ödegaard
4ac652b127
feat(invite): began work on invited signup view, also added backdrop to login view, #2353
2015-07-19 12:34:03 +02:00
Torkel Ödegaard
6088f83408
feat(invite): inital pass on sending new user invite email, #2353
2015-07-18 17:39:12 +02:00
Torkel Ödegaard
e92f2ecea1
feat(invite): existing grafana users now result in new org user directly, no temp user is created, #2353
2015-07-18 11:43:34 +02:00
Torkel Ödegaard
2724cf5db8
feat(invite): small progress
2015-07-17 14:42:49 +02:00
Torkel Ödegaard
0ffcce1b5d
feat(invite): more work on invite, basic creation works, added new tab directive from angular-ui and made new tab style, #2353
2015-07-17 09:51:34 +02:00
Torkel Ödegaard
0b5ba55131
feat(ldap): work on reading ldap config from toml file, #1450
2015-07-15 10:08:23 +02:00
Torkel Ödegaard
bfe7b77313
More work on ldap auth, got memberOf working in the docker ldap test server, playing with config options and structures, #1450
2015-07-13 14:23:59 +02:00
Torkel Ödegaard
0ef7271326
Started work on LDAP again, #1450
2015-07-10 11:10:48 +02:00
Dieter Plaetinck
66ba19b7ba
clearer errors
...
"Not found" should only be for http path/method not found (404)
if it's about specific resources, we should be explicit for clarity
2015-07-08 08:55:31 +02:00
Donn Pebe
df33cbc8c5
Fix wrong metrics counter
2015-06-30 12:52:55 +07:00
Torkel Ödegaard
24bab47f14
fix(create org): Anonymous user can no longer create org, Fixes #2227
2015-06-25 17:06:43 +02:00
Torkel Ödegaard
3f917b0af5
Updated org creation view, after creating new org user is switched to that org and redirect to org details view, Closes #2198
2015-06-22 08:13:21 +02:00
Torkel Ödegaard
fb7b475457
Backend: Load dashboards with capital letters in the dashboard url slug (url id), Fixes #2163
2015-06-19 14:42:55 -04:00
Torkel Ödegaard
3675b3fcaa
Fixed issue with clearing admin permissions, Fixes #2143
2015-06-11 08:29:12 +02:00
Torkel Ödegaard
5962bcbc6c
Do not show create org link when allow_org_create is set to false, Fixes #2135
2015-06-11 08:16:09 +02:00
Torkel Ödegaard
2266ef6809
Minor api refactoring / code clean up
2015-06-10 10:15:42 +02:00
Torkel Ödegaard
db0c442eaf
Added configuration options for smtp
2015-06-08 17:56:56 +02:00
Torkel Ödegaard
c8bc0b3bf8
Lots of work on user password reset, #1456
2015-06-08 13:39:02 +02:00
Torkel Ödegaard
aa4d60c21e
Worked on reset password views, refactored out password strength to a reusable directive
2015-06-08 10:57:01 +02:00
Torkel Ödegaard
89418a155a
More work on email and notification infra #1456
2015-06-05 11:08:19 +02:00
Torkel Ödegaard
c709a28f02
More work on email and notification infra #1456
2015-06-05 08:15:38 +02:00
Torkel Ödegaard
3f5ab189cd
Began work on emailing service #1456
2015-06-04 14:29:39 +02:00
Torkel Ödegaard
eb793f7feb
Initial work on ldap support, #1450
2015-06-04 09:34:42 +02:00
Torkel Ödegaard
2c7d33cdfa
Merge branch 'master' into ldap
2015-06-03 14:54:48 +02:00
Torkel Ödegaard
50a1feb90a
Dashboard list panel: Now supports search by multiple tags, Closes #2096
2015-06-02 11:04:06 +02:00
Torkel Ödegaard
dc607b8e8a
Dashboard search now supports filtering by multiple dashboard tags, Closes #2095
2015-06-02 10:24:20 +02:00
Torkel Ödegaard
ff3843bc7f
Roles: New user role that replaces the old role behavior, Closes #2088
2015-06-01 17:01:04 +02:00
Torkel Ödegaard
85c3a0aa14
Panel menu now hides edit actions for users with role Viewer, Closes #1826
2015-06-01 16:36:15 +02:00
Torkel Ödegaard
e2f6633d57
Began work on data source test / validation, #1997 & #2043
2015-06-01 12:15:49 +02:00
Torkel Ödegaard
fc43ce657c
allow data source proxy to proxy requests over self signed https connections, Closes #2069
2015-06-01 11:00:29 +02:00
Indrek Juhkam
b55d9350e7
Add github organizations support
2015-05-23 17:06:51 +03:00
Torkel Ödegaard
592330b5a7
Expose data source extended properties (jsonData), to the frontend, Closes #2023
2015-05-20 18:29:20 +02:00
Torkel Ödegaard
3354365177
Api handler refactoring using the wrap and response func/type, fixed small issue in influxdb 0.9 response handling
2015-05-20 14:59:38 +02:00
Torkel Ödegaard
51af06edf7
Merge pull request #2022 from dalmatinerdb/proxy-url-fix
...
fixing #2021
2015-05-20 09:03:23 +02:00
Heinz N. Gies
7cf9046dc5
fixing #2021
...
This tiny commit fixes a routing problem for proxy requests. The
router was expecting a url path behind the proxy id, if none was
given (read: the service proxied was at the root of a host) then
the router would return a 404. With this patch it now propperly
uses ProxyDataSourceRequest.
2015-05-19 23:49:30 +02:00
Torkel Ödegaard
a8aab0cb2b
Worked on user administration page, a grafana server admin can now add and edit organization roles for any user, #2014
2015-05-19 11:47:14 +02:00
Torkel Ödegaard
788e7fd36d
Lots of api refactoring for org routes, #2014
2015-05-19 10:16:32 +02:00
Torkel Ödegaard
74bf1f23fb
Small progress on #2014
2015-05-19 09:09:21 +02:00
Torkel Ödegaard
f81bde5643
Refactoring some api handlers to use the new Response return object
2015-05-18 21:23:40 +02:00
Torkel Ödegaard
fbc6bb2112
More refactoring of user http api, trying to reuse handlers for sign in user and admin operations
2015-05-18 19:06:19 +02:00
Torkel Ödegaard
5270c4bc74
refactorin api code for user routes, preparation for admin improvements, #2014
2015-05-18 17:52:23 +02:00
Haneysmith, Nathan
2af28b90c2
whitespace update per gofmt
2015-05-15 13:25:41 -07:00
Haneysmith, Nathan
09b0e6e388
Addresses #1853 , redact session provider secrets
...
In cases where a database is used for session storage, redact the
session_provider config value. I assumed "@" as the marker for a
database vs file/memory.
2015-05-15 11:11:02 -07:00
Torkel Ödegaard
ea993b6404
Some inital ldap work
2015-05-15 09:37:16 +02:00
Torkel Ödegaard
448a8b8d1c
Major refactorings around searching, moved to seperate package, trying to move stuff out of models package, extend search support searching different types of entities and different types of dashboards, #960
2015-05-13 13:36:24 +02:00
Torkel Ödegaard
bb7d79e6d2
Refactoring search to support more than just db dashboards
2015-05-13 10:45:53 +02:00
Torkel Ödegaard
187834b17c
Trying to get dashboard loading and dashboard meta flags like canSave, canStar more managable
2015-05-13 09:58:45 +02:00
Torkel Ödegaard
35cc0a1cc0
Rewriting anb abstracting how dashboards are loaded, unifying db, json files, and script dashboards, #960
2015-05-12 17:39:56 +02:00
Torkel Ödegaard
b3be51f17f
Lots of work on search and dashboard loading, trying to generalize concepts and code, #960
2015-05-12 14:11:30 +02:00
Torkel Ödegaard
a40299b4dc
Progress on json file index and search #960
2015-05-12 12:20:03 +02:00
Torkel Ödegaard
1a9f630710
Began work on adding json files to search, #960
2015-05-11 20:04:03 +02:00
Torkel Ödegaard
e5c1169120
HTTP API: GET /api/dashboards/db/:slug response changed property to to match the POST request nameing, Fixes #1928
2015-05-04 08:36:44 +02:00
Torkel Ödegaard
73ee8a5985
HTTP API: fix for POST /api/dashboards/db returned 200 ok when dashboard was not found, Fixes #1929
2015-05-04 07:46:53 +02:00
Torkel Ödegaard
cb8110cd48
Refactoring, worked on middleware unit tests, and began thinking about api unit tests, #1921
2015-05-01 16:23:36 +02:00
Torkel Ödegaard
e771d8e944
Organization: You can now update the organization user role directly (without removing and readding the organization user). Closes #1899
2015-05-01 09:48:07 +02:00
Torkel Ödegaard
5de9230924
Security: New config option to disable the use of gravatar for profile images, Closes #1891
2015-05-01 08:40:13 +02:00
Torkel Ödegaard
0d3fbb8659
Added message alerts when login failed due to github team membership or email domain requirement, #1731 , #1660
2015-04-29 10:08:01 +02:00
Torkel Ödegaard
d812414621
Merge branch 'github-team-membership-requirement' of https://github.com/dewski/grafana into dewski-github-team-membership-requirement
2015-04-29 09:44:23 +02:00
Torkel Ödegaard
e7c43bf614
expose org id to frontend, Closes #1907
2015-04-29 09:26:12 +02:00
Garrett Bjerkhoel
1d7f945268
Handle special error case if connect.UserInfo returns an error
2015-04-28 20:22:45 -07:00
Torkel Ödegaard
236c4e65f8
Began work on dashboard: editable flag, that actually stops users from changing anything, #1834
2015-04-23 15:26:48 +02:00
Jason Harvey
ddaac50a25
Add allow_sign_up override for auth.google/github.
2015-04-16 13:43:18 -08:00
Torkel Ödegaard
fc47fb8f64
Backend auth: remember cookie is needed for oauth logins as well
2015-04-15 13:38:38 +02:00
Torkel Ödegaard
836e4b4911
Dashboard snapshot: Should not require login to view snapshot, Fixes #1780
2015-04-15 10:39:03 +02:00
Torkel Ödegaard
059db533d5
HTTP API: grafana /render calls nows with api keys, Fixes #1649
2015-04-08 08:59:12 +02:00
Torkel Ödegaard
c07d48d930
A big refactoring for how sessions are handled, Api calls that authenticate with api key will no longer create a new session
2015-04-07 19:21:14 +02:00
Torkel Ödegaard
22adf0d06e
Datasource proxy & session timeout fix (casued 401 Unauthorized error after a while), Fixes #1667
2015-04-07 09:25:00 +02:00
Torkel Ödegaard
eb575685aa
OAuth: Specify allowed email address domains for google or and github oauth logins, Closes #1660
2015-04-06 14:16:22 +02:00
Torkel Ödegaard
e6492f7db9
Share modal: Override UI theme via URL param for Share link, rendered panel, or embedded panel, Closes #1701
2015-04-02 09:21:38 +02:00
Torkel Ödegaard
b46f8bad6d
Added check for allow_user_org_create, updated admin docs
2015-03-30 10:12:24 +02:00
Torkel Ödegaard
8e9a0eddf5
Custom snapshot topnav header, new custom dashboard snapshot icon, #1623
2015-03-28 17:53:52 +01:00
Torkel Ödegaard
80c771c945
Added googla analytics id setting
2015-03-27 17:13:44 +01:00
Torkel Ödegaard
f7b4f331f3
Updating docs
2015-03-27 14:23:23 +01:00
Torkel Ödegaard
d3db49ae3e
Fixed snapshot sharing issue
2015-03-27 06:47:58 +01:00
Torkel Ödegaard
541cd2e430
Dashboard snapshot: more work on snapshot deletion, and saving external reference, #1623
2015-03-26 20:59:41 +01:00
Torkel Ödegaard
4322f29f34
Dashboard snapshot: added delete key which can be used to delete snapshots, #1623
2015-03-26 20:34:58 +01:00
Torkel Ödegaard
b1f85dc8f1
Added expire option to dashboard snapshots, #1623
2015-03-26 12:00:52 +01:00
Torkel Ödegaard
f4280ca517
More refinements of dashboard snapshot dialog, #1623
2015-03-25 20:36:48 +01:00
Torkel Ödegaard
afeb65b3bf
Snapshot sharing fix
2015-03-25 17:18:43 +01:00
Torkel Ödegaard
aa60edd9fe
Fixed issue with external snapshot publish
2015-03-25 16:30:03 +01:00
Torkel Ödegaard
cb3593e472
Lots of small fixes, role viewer hides save icon and some actions in
...
config dropdown. Snapshot dashboard hides save, star, config menu icons.
Can now embedd panel from snapshotted dashboard.
2015-03-25 15:48:56 +01:00
Torkel Ödegaard
9268ecf3e9
Some refinements to dashboard snapshots
2015-03-25 09:04:38 +01:00
Torkel Ödegaard
a5c3855233
Added dashboard snapshot metrics
2015-03-24 16:49:12 +01:00
Torkel Ödegaard
c27db7a347
Small updates to share dashboard snapshot feature
2015-03-24 15:46:17 +01:00
Matt Robenolt
3e9adeefbc
Fix format of Cache-Control header
2015-03-23 21:58:29 -07:00
Torkel Ödegaard
5f0e7cd52a
Added custom cache control headers for static content
2015-03-23 18:28:59 -04:00
Torkel Ödegaard
7614ddb318
Updated design for snapshot sharing dialog, #1596
2015-03-23 13:58:30 -04:00
Torkel Ödegaard
49a0ea53c7
Merge branch 'develop' of github.com:grafana/grafana into dashboard_snapshot_poc
...
Conflicts:
src/app/features/dashboard/partials/shareDashboard.html
2015-03-22 22:04:13 -04:00
Torkel Ödegaard
d987532262
Added server metrics
2015-03-22 15:14:00 -04:00
Torkel Ödegaard
f48f5428e5
Adding snapshot storage and route, #1623
2015-03-21 10:56:26 -04:00
Torkel Ödegaard
964f0861d6
more work on dashboard snapshots
2015-03-21 08:53:16 -04:00
Anthony Woods
7010df0fe8
fixes #1619 Secure PhantomJS Png rendering
...
removes auth hack to allow phantomjs to query pages as a user
without auth. Instead we pass phantomjs the session cookie,
which it then includes in the request.
2015-03-21 07:14:13 +08:00
Torkel Ödegaard
2fec2c2fa0
Templating: Dashboard will now wait to load until all template variables that have refresh on load set or are initialized via url to be fully loaded and so all variables are in valid state before panels start issuing metric requests. Closes #1255
2015-03-14 15:29:41 -04:00
Torkel Ödegaard
477e035f2e
Fixed anonymous access mode, Closes #1586
2015-03-11 17:34:11 +01:00
Torkel Ödegaard
f3d4d2782f
Simplified single org settings, now auto_assign_org, and auto_assign_org_role, new [users] config section, Closes #1585
2015-03-11 16:19:29 +01:00
Torkel Ödegaard
04d25dc58a
Dashboard: When saving a dashboard and another user has made changes inbetween, the user is promted with a warning if he really wants to overwrite the other's changes, Closes #718
2015-03-02 22:24:01 +01:00
Torkel Ödegaard
9710771f16
Added basic auth to data source edit/create, add support for basic auth in data source proxy code, Closes #1510
2015-03-02 09:58:35 +01:00
Torkel Ödegaard
d0d995da09
Inital work on SQL metric/annotation data source, #1542
2015-02-28 17:27:30 +01:00
Torkel Ödegaard
04ca85fe89
Moved dashboard theme option from the dashboard to a persisted user setting, #1458
2015-02-28 14:30:08 +01:00
Torkel Ödegaard
ae3b9617b6
Fixed dataproxy test
2015-02-28 12:34:51 +01:00
Torkel Ödegaard
232f980c72
More work on restoring features after moving to plugin model for datasources, no annotations work again #1276 #1472
2015-02-28 10:52:25 +01:00
Torkel Ödegaard
9e892bddf0
More work on restoring features after moving to plugin model for datasources, #1276 #1472
2015-02-28 09:46:37 +01:00
Torkel Ödegaard
109dd3240a
Work on new datasource plugin model, #1276 #1472
2015-02-28 08:25:13 +01:00
Torkel Ödegaard
c198242292
A lot of work on backend plugin model for frontend components, right now for data sources, will enable dropin plugins for data sources and panels, #1472
2015-02-27 22:29:00 +01:00
Torkel Ödegaard
5bd5713a52
Began work on plugin system
2015-02-27 13:45:00 +01:00
Torkel Ödegaard
c75aa23092
New implementation for API Keys that only stores hashed api keys, and the client key is base64 decoded json web token with the unhashed key, Closes #1440
2015-02-26 17:23:28 +01:00
Torkel Ödegaard
6a2a6afc1d
Merge branch 'develop' into apikey_hashed
...
Conflicts:
pkg/api/apikey.go
pkg/services/sqlstore/migrations.go
2015-02-26 15:48:54 +01:00
Torkel Ödegaard
7c241fd617
Added permissions section to admin > edit user view, an admin can now make another user admin, Closes #1517
2015-02-26 15:43:48 +01:00
Torkel Ödegaard
ae7f18f981
Made a copy of influxdb datasource named influxdb_08 so the main influxdb data source can be modified to support InfluxDB 0.9, made some initial experiments to get queries to work, but a lot more work is needed, #1525
2015-02-25 18:43:44 +01:00
Torkel Ödegaard
9e789e6d82
More work on organization / admin nav, views, #1506
2015-02-25 14:27:34 +01:00
Torkel Ödegaard
da41d99aa7
Fixed sql integration test
2015-02-23 20:48:43 +01:00
Torkel Ödegaard
26e4809e2e
Big Backend Refatoring: Renamed Account -> Org
2015-02-23 20:07:49 +01:00
Torkel Ödegaard
e9e2fa2927
Started Account -> Organization rename
2015-02-23 18:29:01 +01:00
Torkel Ödegaard
5b2715515f
Began work on Account -> Organization rethink, #1506
2015-02-23 16:40:04 +01:00
Torkel Ödegaard
138e720695
Increased max user list to 1000 for user admin page, need to paging, but will have to wait a few days
2015-02-23 11:30:58 +01:00
Torkel Ödegaard
1a106e5c38
Added change password ability to admin > edit user view, #1446
2015-02-23 11:24:22 +01:00
Torkel Ödegaard
47c6c6e1b7
Added change password feature, Closes #1455
2015-02-19 16:09:49 +01:00
Torkel Ödegaard
60ae4afe87
Refresh frontend datasourceSrv after datasource update, no longer need to reload the page to use a newly added or updated datasource, #1493
2015-02-18 14:06:44 +01:00
Torkel Ödegaard
26eb6e559e
Removed use of absolute urls in dashboard search and dashlist, root_url option is now not required, it is required if you use oauth or proxy grafana under suburl, #1483
2015-02-17 18:43:37 +01:00
Torkel Ödegaard
f6c07fdabd
Rewrote and redesign how the data source edit views look and work so they conform better to how account views look, removed tabs and put top nav items to add data source etc, made list, edit and new seperate url routes, #1483
2015-02-14 10:04:34 +01:00
Torkel Ödegaard
8722ee8ad6
Worked on playlist update for Grafana 2.0, added dashboard search to playliststart view, #1460
2015-02-13 08:47:44 +01:00
Torkel Ödegaard
1a44036148
Fixed req.Host in datasource proxy, Fixes #1478
2015-02-13 07:26:33 +01:00
Torkel Ödegaard
e65a6cc063
added an inital admin settings view, very basic right now only displays all config options in grafana.ini
2015-02-12 15:46:14 +01:00
Torkel Ödegaard
71f09ddd94
Added delete user action to user admin api, and made it work in UI, Closes #1466 , #1446
2015-02-11 16:47:22 +01:00
Torkel Ödegaard
add4adeec9
Fixed links to user admin views, and backend html routes for user admin edit/create urls, Closes #1451
2015-02-10 16:26:23 +01:00
Torkel Ödegaard
e165e2af95
Worked on user admin features, can now create and edit users as a grafana admin user, #1446
2015-02-10 15:36:51 +01:00
Torkel Ödegaard
c5afcd8e09
Fixed issue with datasource proxying, it required account admin role when it should not
2015-02-10 10:19:43 +01:00
Torkel Ödegaard
5269422f7c
Began work on hashing api keys
2015-02-09 13:30:04 +01:00
Torkel Ödegaard
727fc9d3a6
Updated search result view, removed delete link, added delete action from dashboard cogs dropdown
2015-02-07 20:25:53 +01:00
Torkel Ödegaard
9818f81c5f
Completed search makover
2015-02-07 16:12:29 +01:00
Torkel Ödegaard
397dfc54cd
Fixed bug in png rendering when having changed public url
2015-02-06 14:17:40 +01:00
Torkel Ödegaard
e5fbbe96fd
fixed error handling, and error logging for panel rendering
2015-02-05 12:23:24 +01:00
Torkel Ödegaard
8e1b753664
Added limit to dashboard list panel and search
2015-02-05 11:10:56 +01:00
Torkel Ödegaard
10820f31c2
Changed go package path
2015-02-05 10:37:13 +01:00
Torkel Ödegaard
076905d14e
Added isStarred to search result hit, very inefficient loading right now but can be cached later on
2015-02-05 09:49:00 +01:00
Torkel Ödegaard
60541a455f
Worked on search filter flag IsStarred, and updated frontend with new dashboard list panel
2015-02-04 11:35:59 +01:00
Torkel Ödegaard
1ac3355b03
updated frontend with style changes
2015-02-03 22:06:07 +01:00
Torkel Ödegaard
42a5aefb23
Worked on home dashboard
2015-02-03 15:04:35 +01:00
Torkel Ödegaard
bd470abcf0
fontend styles updated
2015-02-03 10:46:52 +01:00
Torkel Ödegaard
97758380e0
Worked on stars in search results
2015-02-02 17:17:57 +01:00
Torkel Ödegaard
ad3d15e28d
Worked on dashboard starring and unstarring, renamed favorite model to star
2015-02-02 11:32:32 +01:00
Torkel Ödegaard
04d03f73b3
Added disable user sign up feature
2015-01-29 15:46:54 +01:00
Torkel Ödegaard
1d6413bfae
More work on backend for user favorites
2015-01-29 12:10:34 +01:00
Torkel Ödegaard
1cff564483
Fontend handling of account role to hide user actions and links that the user does not have access to
2015-01-28 11:33:50 +01:00
Torkel Ödegaard
aa261bbe23
Login: only enabled oauth options are shown on login page
2015-01-28 10:26:13 +01:00
Torkel Ödegaard
757b185398
Worked on ease of use for non multi tenant scenarios, Closes #20
2015-01-27 15:14:53 +01:00
Torkel Ödegaard
257519490a
Worked on login remember cookie, and redirect after login
2015-01-27 12:05:23 +01:00
Torkel Ödegaard
95305e7e11
Changed from goconfig to its new counter part go-ini
2015-01-27 10:09:54 +01:00
Torkel Ödegaard
951ce0a102
API token -> API key rename
2015-01-27 08:26:11 +01:00
Torkel Ödegaard
db371d2a5d
API: added admin role requirement for account changes, datasource admin, and api keys admin
2015-01-26 20:26:17 +01:00
Torkel Ödegaard
5ba2423626
Worked on account update view
2015-01-26 15:42:22 +01:00
Torkel Ödegaard
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
Torkel Ödegaard
3744bc3228
fixed server side rendering
2015-01-21 10:51:42 +01:00
Torkel Ödegaard
3c8c53194f
Sign up and login work
2015-01-21 09:52:40 +01:00
Torkel Ödegaard
9e6df378c3
worked on account creation
2015-01-20 16:29:48 +01:00
Torkel Ödegaard
eec178458b
Validation check for not removing the last account admin
2015-01-20 15:48:19 +01:00
Torkel Ödegaard
4ea5d80099
Various fixes to data access
2015-01-20 15:23:14 +01:00
Torkel Ödegaard
581efa857b
Small fixes
2015-01-19 19:10:29 +01:00
Torkel Ödegaard
90925273a0
User / Account model split, User and account now seperate entities, collaborators are now AccountUsers
2015-01-19 18:01:04 +01:00
Torkel Ödegaard
68a77c4051
More progress on db schema setup and migrations, tricky stuff
2015-01-18 13:08:59 +01:00
Torkel Ödegaard
2daffe2a15
Api import route updated
2015-01-18 08:56:19 +01:00
Torkel Ödegaard
9a29b04561
Dashboard import/export now works
2015-01-17 10:39:26 +01:00
Torkel Ödegaard
c970e82758
Small update to update account command
2015-01-17 08:20:25 +01:00
Torkel Ödegaard
1532eb4278
Fixed png rendering
2015-01-16 17:00:31 +01:00
Torkel Ödegaard
2b05dac071
Api Key role is now correcty added do middleware context
2015-01-16 16:15:35 +01:00
Torkel Ödegaard
3912ed5023
Role checking when saving dashboard, making sure that the user has owner or editor role
2015-01-16 15:28:44 +01:00
Torkel Ödegaard
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
Torkel Ödegaard
aa9ca68883
Tokens small fixes
2015-01-16 12:28:35 +01:00
Torkel Ödegaard
9feb8a73fd
Added binding to tokens api and role validation
2015-01-16 12:06:24 +01:00
Torkel Ödegaard
f858f6b621
Add collaborator now handles role, added macaron-contrib/binding for binding and validation
2015-01-16 11:54:19 +01:00
Torkel Ödegaard
04bbdbad12
Worked on account update, moved collaborats to its own api url and files
2015-01-15 19:14:47 +01:00
Torkel Ödegaard
804bff55ec
Accounts admin view/get api
2015-01-15 15:54:22 +01:00
Torkel Ödegaard
fdfcc3ab2a
Admin flagged users, create a default admin user on startup if missing
2015-01-15 14:44:15 +01:00
Torkel Ödegaard
5ec07db143
Refactoring of auth middleware, and starting work on account admin
2015-01-15 12:16:54 +01:00
Torkel Ödegaard
6f63d63ee0
Working on account collaborators
2015-01-14 16:12:37 +01:00
Torkel Ödegaard
5e18afe916
Refactoring of api routes
2015-01-14 14:25:12 +01:00
Torkel Ödegaard
5833867b44
renamed register route to signup
2015-01-14 10:19:53 +01:00
woodsaj
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
Torkel Ödegaard
8e65f36131
Added system admin skeleton
2015-01-11 12:12:29 +01:00
Torkel Ödegaard
68cc3f86dd
Handle default datasource management
2015-01-09 16:36:23 +01:00
Torkel Ödegaard
d562dcd90c
Default datasource and event system test
2015-01-09 11:01:37 +01:00
Torkel Ödegaard
a81a5315e1
Added graphite docker and fig config
2015-01-08 17:34:41 +01:00
Torkel Ödegaard
d573ee22f1
Fixed missing godep dependency for unit tests
2015-01-08 09:23:34 +01:00
Torkel Ödegaard
3226a3a58e
Fixed hashing of passwords, Closes #3
2015-01-08 09:00:00 +01:00
Torkel Ödegaard
1ae52d2472
Dashboard search by tag, and tag cloud now works, god dam I hate SQL
2015-01-07 12:37:24 +01:00
Torkel Ödegaard
bcdbec61d7
Dashboard search works better, tag cloud should be done soon
2015-01-06 18:39:26 +01:00
Torkel Ödegaard
3e07605260
added a /api/metrics/test query that returns random walk series
2015-01-06 09:11:00 +01:00
Torkel Ödegaard
0e3f91508e
Added validation to stop duplicate dashboards with same name from being saved
2015-01-05 17:04:29 +01:00
Torkel Ödegaard
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
Torkel Ödegaard
19c70a126f
fixed oauth login redirect when using app sub url
2015-01-05 08:21:52 +01:00
Torkel Ödegaard
4cc8a9bd18
More work on getting grafana pro to work in sub url
2015-01-05 07:59:18 +01:00
Torkel Ödegaard
f25a415a9e
Work on making grafana work in sub url
2015-01-04 21:03:40 +01:00
Torkel Ödegaard
ee443d91dd
Fixed account creation on first github login
2015-01-01 22:27:19 +01:00
Torkel Ödegaard
e9fcca16bd
updated to new golang/x/oauth2
2014-12-30 10:10:13 +01:00
Torkel Ödegaard
8faa806c90
Refactoring dashboard delete and search
2014-12-29 13:58:06 +01:00
Torkel Ödegaard
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
Torkel Ödegaard
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
Torkel Ödegaard
ec98c201e4
Datasource options are now included in bootData
2014-12-28 19:30:14 +01:00
Torkel Ödegaard
f3132b4513
Trying a different approach to providing frontend settings
2014-12-28 18:37:39 +01:00
Torkel Ödegaard
a55a606a55
Refactoring dashboard data access
2014-12-22 12:25:08 +01:00
Torkel Ödegaard
22bf20a135
Refactoring get account by id and by login to queries
2014-12-19 13:40:02 +01:00
Torkel Ödegaard
5dcf6ff2d3
Refactoring set using account
2014-12-19 13:12:47 +01:00
Torkel Ödegaard
607b0c0c0e
More refactoring and aligning code to the command query model
2014-12-19 11:53:27 +01:00
Torkel Ödegaard
d5a59ac6b7
More migration to command/query and sql tests, looking good
2014-12-19 11:08:49 +01:00
Torkel Ödegaard
ccba95542b
Moved add collaborator to command way of doing it
2014-12-19 10:45:22 +01:00
Torkel Ödegaard
36c46112df
Refactoring data access to command query model, and adding tests for sql code
2014-12-19 09:43:16 +01:00
Torkel Ödegaard
e5811e29b1
Added username, site and password for influxdb datasources
2014-12-19 08:19:12 +01:00
Torkel Ödegaard
525b367a6f
Config.js generation, simple temp solution, first is default datasource
2014-12-19 07:42:20 +01:00
Torkel Ödegaard
a7c816c65e
Datasource proxy, switch to lookup by id
2014-12-19 07:27:25 +01:00
Torkel Ödegaard
a2a0e0394d
Work on data source proxying, #6
2014-12-18 20:26:06 +01:00
Torkel Ödegaard
d69258e28f
Backend can now generate config.js, the very basic stuff, more work needed
2014-12-18 15:41:38 +01:00
Torkel Ödegaard
ce947d4793
Update data sources now work, #8
2014-12-17 17:32:22 +01:00
Torkel Ödegaard
adf4e72cf8
More general backend work, in the middle of the night... Zzzz
2014-12-17 03:09:54 +01:00
Torkel Ödegaard
c7ed348ee8
Lots of progress on command/query bus concept, in memory sql testing, datasource admin
2014-12-16 21:05:49 +01:00
Torkel Ödegaard
27f07e9de2
Progress on data source admin
2014-12-16 16:45:07 +01:00
Torkel Ödegaard
b70a3f0958
started work datasources admin
2014-12-16 12:04:08 +01:00
Torkel Ödegaard
705455d5d6
Set active account now works again
2014-12-15 21:56:16 +01:00
Torkel Ödegaard
973b9cad36
moved all http route handling into single package named api
2014-12-15 21:25:02 +01:00
Torkel Ödegaard
e750080f00
removed old code
2014-11-24 08:20:16 +01:00
Torkel Ödegaard
2c72831be1
before macaron
2014-10-05 15:34:24 +02:00
Torkel Ödegaard
a4204880e8
started work on new arch
2014-10-04 13:33:20 +02:00
Torkel Ödegaard
5d120de70e
Filtered logging and url query helper
2014-10-03 09:03:16 +02:00
Torkel Ödegaard
05f9e5eef1
rendering
2014-10-01 21:07:58 +02:00
Torkel Ödegaard
4a73e2d0e9
Solo panel and phantom rendering work
2014-10-01 13:20:30 +02:00
Torkel Ödegaard
b499bdea3b
working on panel rendering
2014-10-01 11:37:04 +02:00
Torkel Ödegaard
3bba8b2c26
Github oauth login works
2014-09-22 11:39:40 +02:00
Torkel Ödegaard
b0b77d667c
added gravatar
2014-09-22 10:46:56 +02:00
Torkel Ödegaard
cd9306df45
Lots of progress on account management
2014-09-21 15:01:59 +02:00
Torkel Ödegaard
015c929bd7
more account stuff
2014-09-20 13:24:06 +02:00
Torkel Ödegaard
40ff57d8c4
Account stuff
2014-09-20 12:13:46 +02:00
Torkel Ödegaard
a9a06ad51d
Working on collaborators
2014-09-19 17:37:18 +02:00
Torkel Ödegaard
158b708eac
Small progress on adding collaborator
2014-09-18 12:03:46 +02:00
Torkel Ödegaard
4dfe8b6f69
Working on login user name state
2014-09-17 15:25:07 +02:00
Torkel Ödegaard
ecafc7bf8f
Added support for delete dashboard
2014-09-17 13:34:42 +02:00
Torkel Ödegaard
2380a26987
updated
2014-09-17 09:49:28 +02:00
Torkel Ödegaard
31fe471da5
working on account registration and more
2014-08-22 18:05:37 +02:00
Torkel Ödegaard
c684b1ddab
dashboard load/save work and began work on register
2014-08-22 15:32:42 +02:00
Torkel Ödegaard
07d8b542bf
working on rethinkdb stuff
2014-08-21 22:09:48 +02:00
Torkel Ödegaard
d8dca20332
updated
2014-08-17 12:25:37 +02:00
Torkel Ödegaard
efed13b9fe
Work on login and sidemenu
2014-08-16 21:54:26 +02:00
Torkel Ödegaard
9e30599f1f
rename backend to pkg
2014-08-12 20:45:41 +02:00