utkarshcmu
9c8d508247
Made API handling better, removed unused components
2016-03-06 12:32:22 -08:00
utkarshcmu
8f42bec270
Implemented GetUserPreferences API
2016-03-06 11:42:15 -08:00
utkarshcmu
660d3fa1e9
Implemented savePreferences API
2016-03-06 03:47:39 -08:00
utkarshcmu
cf926134ef
Added savePreferencesAPI
2016-03-05 13:15:49 -08:00
bergquist
dd7e215e78
feat(dashslist): make sure dashbords exists in recently viewd dashboards
...
closes #4249
2016-03-05 12:27:37 +01:00
utkarshcmu
ac499b3aff
Minor Pre-PR fixes
2016-03-04 01:29:46 -08:00
utkarshcmu
662579e9a9
Added preferences migrations
2016-03-03 02:08:51 -08:00
Torkel Ödegaard
56c080417a
fix(logging): only log to xorm.log when in dev mode, fixes #4182
2016-02-29 13:42:07 +01:00
Torkel Ödegaard
8db7cf49a6
feat(plugins): began refactoring AppSettings -> PluginSettings, and have the plugins list view and plugin edit view be common for all plugins
2016-02-25 14:55:31 +01:00
Torkel Ödegaard
b5dc1727d2
fix(postgres): If password or user is empty use empty quotes for connection string, #3985
2016-02-12 10:10:07 +01:00
Torkel Ödegaard
37c6a1ddf0
feat(app routes): worked on app routes, added unit test, changed Grafana-Context header to start with X to be standard compliant, got cloud saas queries to work via app route feature and header template
2016-02-10 16:43:35 +01:00
Torkel Ödegaard
fcc960e9a2
Merge pull request #3792 from utkarshcmu/snapshot-view
...
UI Review: Snapshot view
2016-02-05 08:49:23 +01:00
utkarshcmu
338afc80d5
Merge branch 'master' of https://github.com/grafana/grafana into metadata
2016-02-01 10:32:36 -08:00
Torkel Ödegaard
12460af0ec
Merge pull request #3830 from raintank/apiPlugin
...
Add secureJsonData field to appSettings model
2016-01-29 17:17:37 -05:00
Daniel Lee
21632d22ab
Merge pull request #3882 from bergquist/playlist_tags
...
Add support for playlist based on tags
2016-01-29 21:32:58 +01:00
bergquist
d405176367
chore(playlist): remove commented code
2016-01-29 20:33:01 +01:00
bergquist
15087251fb
test(playlist): add test for playlist sqlstoretest(playlist): add test for playlist sqlstoretest(playlist): add test for playlist sqlstoretest(playlist): add test for playlist sqlstoretest(playlist): add test for playlist sqlstoretest(playlist): add test for playlist sqlstoretest(playlist): add test for playlist sqlstoretest(playlist): add test for playlist sqlstoretest(playlist): add test for playlist sqlstore
2016-01-29 20:24:19 +01:00
Anthony Woods
2e9272c778
Merge remote-tracking branch 'upstream/master' into apiPlugin
2016-01-30 01:38:01 +08:00
Anthony Woods
79e7ae4424
fix sql query in GetAdminStats. fixes #3883
2016-01-29 09:38:51 +08:00
bergquist
d27bb4d3fb
style(playlist): move dashboard access to dashboard.go
2016-01-29 01:41:23 +01:00
utkarshcmu
58121d89fc
Updated http_api docs
2016-01-27 22:02:33 -08:00
utkarshcmu
8bd07287f8
Fixed dashboard_tag query
2016-01-27 17:41:23 -08:00
utkarshcmu
753fd164d7
Added createdBy in metadata ui and dashboard table
2016-01-27 17:11:21 -08:00
Carl Bergquist
251bf7a2b4
Merge pull request #3840 from utkarshcmu/stats
...
Grafana stats view as mentioned in #3812
2016-01-27 19:41:10 +01:00
utkarshcmu
442db7fee1
Changed sql query for grafana_admin_count
2016-01-25 14:30:36 -08:00
bergquist
92cba94031
tech(fmt): remove unused code
2016-01-25 22:11:24 +01:00
bergquist
52403ca17e
feat(playlist): add usage statisics
2016-01-25 21:39:45 +01:00
Anthony Woods
05868bc1df
fix typo
2016-01-26 04:24:44 +08:00
Anthony Woods
40d946a6e3
add drop table to ensure existing installs get new schema
2016-01-26 04:18:18 +08:00
utkarshcmu
2190392e05
Added grafana_admins count
2016-01-25 00:39:31 -08:00
utkarshcmu
da67afa51e
Fixed api bugs, stats endpoint working
2016-01-24 21:18:17 -08:00
utkarshcmu
c7fae5386d
Added backend API for stats
2016-01-24 11:01:33 -08:00
Anthony Woods
32f78d465b
add secureJsonData to appSettings model.
...
- adds the new column to the DB table.
- data stored in the DB is encrypted
- update appRouteHeaders templates to use the jsonData and
decrypted secureJsonData
2016-01-23 06:17:22 +08:00
Anthony Woods
423eca6e7d
add support for fetching appSettings by appId
2016-01-21 11:41:02 +08:00
utkarshcmu
ca55d1f315
Minor bug fixes
2016-01-19 05:05:24 -08:00
utkarshcmu
41fd0ed467
Merge branch 'master' of https://github.com/grafana/grafana into snapshot-view
2016-01-19 05:05:03 -08:00
utkarshcmu
bcb44b7b31
UI and backend connectivity implemented
2016-01-19 05:02:22 -08:00
utkarshcmu
1ab1154010
Optimized backend queries
2016-01-19 04:09:57 -08:00
utkarshcmu
8f067a5ed2
Added backend functionality for searching snapshots
2016-01-19 01:37:36 -08:00
utkarshcmu
1952ebf7c4
Fixed failing gofmt tests
2016-01-19 00:33:30 -08:00
utkarshcmu
70481953fd
Snapshot name is saved in DB now
2016-01-19 00:26:20 -08:00
Torkel Ödegaard
66eebd1ac3
refactor(playlist): refactor of playlist feature, and PR #3776
2016-01-18 16:01:14 +01:00
Torkel Ödegaard
e5b3f27a30
Merge branch 'apps'
2016-01-12 15:41:15 +01:00
Carl Bergquist
f7fecdc6de
Merge pull request #3655 from grafana/playlist
...
Persistable playlists
closes #515
closes #1137
2016-01-12 15:20:43 +01:00
bergquist
e8786b0747
feat(playlist): renames timespan to interval
2016-01-12 13:56:47 +01:00
bergquist
98dccb8641
feat(playlist): refactor FE to support playlistitems
2016-01-12 08:17:44 +01:00
bergquist
8a38991270
feat(playlist): changes to relation table
...
Also introduces an abstraction between playlist and dashboard.
This will make it possible to att search, and tag filtering to
playlists without any major refactoring
2016-01-12 08:17:44 +01:00
Torkel Ödegaard
c1e94e61d0
feat(apps): lots of more work on apps, changed app_plugin to app_settings in order to to confuse the app plugin model (definition) and app org settings
2016-01-10 21:37:11 +01:00
bergquist
0918063c55
fix(playlist): move dashboard uri cration to Backend
2016-01-08 16:13:49 +01:00
Torkel Ödegaard
69d0e82453
Merge branch 'master' into apps
...
Conflicts:
pkg/services/sqlstore/migrations/migrations.go
2016-01-08 10:20:46 +01:00
bergquist
6c8d084664
Merge branch 'ssl-for-mysql' of https://github.com/improbable-io/grafana into improbable-io-ssl-for-mysql
2016-01-07 17:08:31 +01:00
nikita-graf
ee400df930
remove dashboard from playlist when its destroyed
2016-01-05 04:14:39 +03:00
Carl Bergquist
311624beaa
Merge pull request #3598 from eddawley/ISSUE-2818
...
Fixes #2818 . Adds support for mysql backends via unix sockets
2015-12-28 10:33:49 +01:00
utkarshcmu
ca5099f53b
Fixed gofmt tests
2015-12-24 02:25:49 -08:00
utkarshcmu
5877e5e11a
Merged with master, resolved conflicts
2015-12-24 02:24:59 -08:00
Torkel Ödegaard
69eb62c09f
Merge pull request #3597 from eddawley/ISSUE-3461
...
Issue 3461: Session table is now created automatically
2015-12-24 09:59:34 +01:00
Ed Dawley
4da56b65ab
Fixes #2818 . Adds support for mysql backends via unix sockets
2015-12-23 15:06:28 -06:00
Ed Dawley
cd23ab9955
Issue 3461: Session table is now created automatically
2015-12-23 01:33:46 -06:00
Daniel Low
3f9f0679ec
gofmt
2015-12-22 13:10:34 +00:00
Daniel Low
ea566fff24
Add TLS for mysql
...
Use ssl_mode for mysql and add docs
add docs for the new parameters in config
Tolerate ssl_mode without client authentication
Client cert is not necessary for a SSL connection. So we tolerate
failure if client cert is not provided.
Improve error message if missing server_cert_name and mode is not
skip-verify.
2015-12-22 12:42:52 +00:00
Torkel Ödegaard
ad94f99d57
refactor(apps): more WIP work on apps
2015-12-22 11:37:44 +01:00
utkarshcmu
bcaaedf2ff
Resurrected nikita-graf's work and added playlistType for future use
2015-12-22 02:07:15 -08:00
Torkel Ödegaard
eacc46da6d
feat(plugins): WIP on new apps concept
2015-12-21 23:09:27 +01:00
woodsaj
0903d5541b
Merge branch 'master' of github.com:grafana/grafana into externalPlugin
...
Conflicts:
pkg/api/api.go
pkg/api/api_plugin.go
pkg/api/datasources.go
pkg/api/frontendsettings.go
pkg/api/index.go
pkg/plugins/models.go
pkg/plugins/plugins.go
2015-12-22 00:23:24 +08:00
utkarshcmu
af371249f9
Successfully displayed userdId in UI
2015-12-18 01:52:05 -08:00
utkarshcmu
22fd2aed02
Removed columns from snapshot table
2015-12-18 00:30:44 -08:00
utkarshcmu
c433167950
Merged with master, resolved conflicts
2015-12-18 00:23:08 -08:00
utkarshcmu
e0ffcda32e
Added UI , DB settings
2015-12-18 00:20:23 -08:00
woodsaj
3d15ee6d74
allow app menu items to be selectivly pinned to the left nav menu
2015-12-18 15:10:52 +08:00
woodsaj
c35b51a268
refactor.
...
Rename externalPlugin to apiPlugin
Rename bundle to app
Move js, css, menuItem and staticRoot to be properties os App
Add "app" field to panel, datasource and api plugin models. If populated
then the plugin is only enabled if the specific app is enabled for the Org.
If app is "", then the plugin is enabled for all orgs and can't be disabled.
2015-12-17 23:53:58 +08:00
utkarshcmu
78fe588330
Removed NewAddColumnMigration via 3473
2015-12-16 02:46:20 -08:00
Torkel Ödegaard
201f50b121
Merge branch 'master' into external-plugins
...
Conflicts:
pkg/api/login.go
public/app/core/routes/all.js
public/app/core/table_model.ts
public/app/panels/table/table_model.ts
public/app/plugins/panels/table/editor.ts
public/app/plugins/panels/table/table_model.ts
2015-12-14 17:28:57 +01:00
Torkel Ödegaard
c7e3ed096f
fix(postgres): fixes db migration issue with_credentials column for postgres, fixes #3505
2015-12-14 10:19:53 +01:00
Mitsuhiro Tanda
6edd6c8f03
add with_credentials to datasource model
2015-12-09 14:44:28 +09:00
utkarshcmu
79d0f47ee7
Added columns in dashboard_snapshot
2015-12-07 04:24:29 -08:00
utkarshcmu
42d1205260
Fixed gofmt checks
2015-12-06 23:59:58 -08:00
utkarshcmu
3d90340446
Added new columns to dashboard table
2015-12-06 23:51:43 -08:00
woodsaj
c4a0fe0234
add pluginBundle backend api methods and SQL storage
2015-12-03 23:43:55 +08:00
utkarshcmu
fe2d8f1ea0
Used dialect for postgres
2015-11-07 05:21:22 -08:00
utkarshcmu
2676f24e0a
Fixed user deletion in Postgres SQL
2015-11-06 20:17:27 -08:00
Torkel Ödegaard
c816ed2527
feat(usage stats): added data source count stats
2015-09-29 13:47:56 +02:00
woodsaj
86ed85aa6e
move toMap function to be a method on the quota structs
2015-09-15 17:18:26 +08:00
woodsaj
b7de847236
add unittests for quota sqltore methods.
2015-09-15 17:10:46 +08:00
woodsaj
3cf2cd4684
be sure to pass result obj by reference to xorm.
2015-09-15 17:10:16 +08:00
woodsaj
6488324cf1
enhance quota support.
...
now includes:
- perOrg (users, dashboards, datasources, api_keys)
- perUser (orgs)
- global (users, orgs, dashboards, datasources, api_keys, sessions)
2015-09-11 23:17:10 +08:00
woodsaj
852f9bd277
refactor quota settings
2015-09-11 01:47:33 +08:00
woodsaj
3d4d822528
implement updateQuota function
2015-09-11 01:04:29 +08:00
woodsaj
c238130842
quote table names passed by arguments
2015-09-11 01:04:22 +08:00
woodsaj
9023171940
inital backend suport for quotas. issue #321
...
Conflicts:
conf/defaults.ini
main.go
pkg/services/sqlstore/migrations/migrations.go
2015-09-11 01:01:36 +08:00
Torkel Ödegaard
e2cb66f8d7
fix(logging): removed temp dev logging code
2015-09-08 14:32:25 +02:00
Torkel Ödegaard
fad1d4cf98
feat(organization): added update org address to http api and to org details settings view, closes #2672
2015-09-08 14:22:44 +02:00
Torkel Ödegaard
daf64421f2
fix(api): Added error handling to create and update org http apis and sql update handlers, now checks for org name taken scenarios and returns correct http error code and message, fixes #2686
2015-09-08 13:06:18 +02:00
Torkel Ödegaard
fa3329271d
fix(email notifications): added error handling to email template parsing, fixes #2690
2015-09-08 10:57:47 +02:00
Torkel Ödegaard
aa89416bca
fix(invite): fixes to org invite stuff, #2630
2015-09-01 12:35:06 +02:00
Torkel Ödegaard
99bb9d4fcf
feat(signup): added back the welcome on signup completed email
2015-08-31 11:42:12 +02:00
Torkel Ödegaard
d19e101e6b
feat(signup): almost done with new sign up flow, #2353
2015-08-31 11:35:07 +02:00
Torkel Ödegaard
14884d5a2b
feat(signup): progress on new signup flow, #2353
2015-08-30 18:56:53 +02:00
Torkel Ödegaard
de0f04ec3c
feat(signup): progress on new sign up and email verification flow, #2353
2015-08-28 15:14:24 +02:00
Torkel Ödegaard
c61b22cefb
feat(signup): progress on new sign up and email verification flow, #2353
2015-08-28 13:45:16 +02:00
Torkel Ödegaard
24dfa55465
feat(signup): progress on new sign up and email verification flow, #2353
2015-08-28 09:24:30 +02:00
Torkel Ödegaard
d25624a8ad
feat(signup): began work on new / alternate signup flow that includes email verification, #2353
2015-08-27 13:59:58 +02:00
Torkel Ödegaard
01d9849e44
fix(user create): fixed for creating multiple users with empty email when auto assign org is set to false, fixes #2011
2015-08-18 20:15:24 +02:00
Torkel Ödegaard
16fa5c4df3
fix(mysql): fix for migration in newly added temp_user table, fixes #2509
2015-08-14 09:41:07 +02:00
Torkel Ödegaard
e6d09b3266
fix(db): remove stars and tags when removing user or dashboard, fixes #2016
2015-08-12 09:23:46 +02:00
Torkel Ödegaard
8fcaa4997d
feat(admin): Deleting org from orgs list now works, will permanently delete dashboards, data sources, etc, closes #2457
2015-08-12 08:59:39 +02:00
Torkel Ödegaard
e01c68dcea
fix(logging): removed db connection string from being printed in logs at app startup, fixes #2488
2015-08-11 11:26:28 +02:00
Torkel Ödegaard
234d1291f9
Merge branch 'invite'
...
Conflicts:
public/css/less/gfbox.less
public/emails/reset_password.html
public/emails/welcome_on_signup.html
2015-08-11 11:22:43 +02:00
Torkel Ödegaard
1ea0b5371a
feat(invite): new user invites are now also added to correct org after sign up is completed, #2353
2015-08-11 10:45:03 +02:00
Torkel Ödegaard
835fd383ad
fix(postgres): Dashboard search is now case insensitive when using Postgres, fixes #1896
2015-08-10 20:25:01 +02:00
Torkel Ödegaard
775e044e69
feat(invite): progress on invite feature, #2353
2015-08-10 13:47:06 +02:00
Torkel Ödegaard
90400bf5ad
fix(ldap): fix for ldap users with empty email address, fixes #2461
2015-08-07 10:14:36 +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
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
444807c35b
feat(invite): worked on db & domain model for temp users, #2353
2015-07-16 17:59:11 +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
Torkel Ödegaard
d0e7d53c69
Fixed case insensitive search for file based dashboards, Fixes #2258
2015-06-30 08:17:28 +02:00
Torkel Ödegaard
0d856cc135
Error message for missing dashboards.json config section, Closes #2256
2015-06-30 08:05:05 +02:00
Torkel Ödegaard
311946900e
Fixed email subject test
2015-06-14 06:08:18 +02:00
Torkel Ödegaard
9b12350855
Added support for templated email subjects
2015-06-14 06:07:36 +02:00
Torkel Ödegaard
bb2d810709
Final work password reset email, Closes #1456
2015-06-08 18:25:04 +02:00
Torkel Ödegaard
db0c442eaf
Added configuration options for smtp
2015-06-08 17:56:56 +02:00
Torkel Ödegaard
42fc68baa5
Simplified emailing system and combined mailer and notifications packages
2015-06-08 16:51:25 +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
3706d0dedd
More work on email and notification infra #1456
2015-06-04 17:23:46 +02:00
Torkel Ödegaard
3f5ab189cd
Began work on emailing service #1456
2015-06-04 14:29:39 +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
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
bf9e51928d
Fix to signed in user when user <-> org link is gone
2015-05-19 09:02:37 +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
Dieter Plaetinck
e9f38b9fc0
no unbound recursion in publish()
...
unbound recursion approach can blow up call stack,
and - I think - allocate memory unboundedly as well.
We can simply loop until err != nil
I didn't actually test this live, though tests succeed
2015-05-18 10:04:01 -04: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
c8146e759f
Fixed json index unit test
2015-05-13 10:57:18 +02:00
Torkel Ödegaard
bb7d79e6d2
Refactoring search to support more than just db dashboards
2015-05-13 10:45:53 +02:00
Torkel Ödegaard
fb35f7210c
Fixed failing golang test
2015-05-13 10:06:06 +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
38d851eb98
Another HTTP API fix
2015-05-04 08:19:29 +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
38fc85d619
Final tweaks to auth proxy feature
2015-05-02 12:30:53 +02:00
Torkel Ödegaard
be589d81c7
Auth: Support for user authentication via reverse proxy header (like X-Authenticated-User, or X-WEBAUTH-USER), Closes #1921
2015-05-02 12:06:58 +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
e410fbb558
Corrected SQL migration for snapshot table column type change, #1880
2015-04-25 20:28:50 +02:00
Anthony Woods
f227002a80
fixes #1880 dashboard_snapshot table does not have a data column
2015-04-25 18:51:25 +08:00
Anthony Woods
d84d92f73c
fixes #1880 correct mysql statement for modifying column data type
2015-04-25 18:46:30 +08:00
Torkel Ödegaard
b99ee2562e
Restored sql integration tests to use in mem sqlite3
2015-04-23 16:21:49 +02:00
Torkel Ödegaard
8526025792
MySQL: Dashboard.data column type changed to mediumtext (sql migration added), Fixes #1863
2015-04-23 16:18:46 +02:00
Torkel Ödegaard
d1767144a8
Reworking configuration loading and overriding
2015-04-09 12:16:59 +02:00
Torkel Ödegaard
96ee1c17a3
Worked on new deb & rpm packaging and init.d scripts
2015-04-08 14:10:04 +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
a96e4a343c
Only create admin user specified in config file when there are no users in the database, Fixes #1680
2015-04-01 16:05:42 +02:00
Torkel Ödegaard
5422d13607
Postgres fix update
2015-04-01 08:26:02 +02:00
Torkel Ödegaard
d8f614ed98
Merge pull request #1665 from mattrobenolt/bool
...
Let xorm convert `False` into the right type
2015-04-01 08:25:20 +02:00
Torkel Ödegaard
3c2bfbfc1c
Search: Dashboard results should be sorted alphabetically, Fixes #1685
2015-03-31 22:06:19 +02:00
Matt Robenolt
cedb11ebab
Let xorm convert False
into the right type
2015-03-30 18:11:39 -07:00
Torkel Ödegaard
7be7aeb70a
Fixed sql migration issue with dashboard snapshots
2015-03-26 21:20:44 +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
10618637e2
Fixed bug in sql migration, closes #1643
2015-03-25 13:53:58 +01: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
Torkel Ödegaard
eb8b9c4ac3
Increase api_key.key varchar to 255 length
2015-03-18 13:20:15 -04:00
Anthony Woods
fc5839d8f1
gofmt. remove extra whitespace
2015-03-17 23:42:16 +08:00
Anthony Woods
bce62c49d0
fixes #1606
2015-03-17 23:10:49 +08:00
Anthony Woods
6a09a7c398
fixes #1606 emit OrgCreated event when new org created.
2015-03-17 23:09:43 +08:00
Torkel Ödegaard
17063df3cc
Changed default org name form 'main' to 'Main Org.'
2015-03-12 19:43:52 +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
ebad9cb502
Fixed gofmt formating, updated precommit hook
2015-03-07 16:37:19 +01:00
Torkel Ödegaard
d8005af8ee
updated circle with fmt formating test
2015-03-07 16:23:22 +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
011fdf7ab6
fixed bug in datasource schema migration
2015-02-26 19:36:11 +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
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
3f96afba73
Merge branch 'fixDashboardDelete' of https://github.com/raintank/grafana into raintank-fixDashboardDelete
...
Conflicts:
pkg/services/sqlstore/dashboard.go
2015-02-25 14:31:44 +01:00
Torkel Ödegaard
563d5e3ad8
All migrations work in sqlite3, mysql and postgres
2015-02-25 07:57:51 +01:00
Torkel Ödegaard
16fd256225
Added missing common.go
2015-02-24 19:10:41 +01:00
Torkel Ödegaard
f3f79792ab
account -> org table migration is starting to work, need to test mysql and postgres
2015-02-24 18:32:29 +01:00
Torkel Ödegaard
ed68a4bb9a
More work on SQL migrations
2015-02-24 17:59:21 +01:00
Torkel Ödegaard
02a89c752b
Progress on database schema migration for account -> org refactor
2015-02-24 11:46:34 +01:00
Anthony Woods
b9b63f695d
fixes #1518 fix table name used in dashboard delete.
2015-02-24 08:56:10 +00: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
47c6c6e1b7
Added change password feature, Closes #1455
2015-02-19 16:09:49 +01:00
Torkel Ödegaard
17004ce3ae
Fixed issue with login by username and uppercase letters in username, #1484
2015-02-18 13:00:39 +01:00
Torkel Ödegaard
56d8fe4a22
Small changes to CLI commands PR
2015-02-16 07:40:21 +01:00
Jason Wilder
f443b7087c
CLI: Add datasource:info command
...
Describes the full datasource details given an account and
datasource name.
2015-02-15 13:36:10 -07:00
Jason Wilder
90cd10e034
CLI: Add account:delete command
2015-02-15 13:36:10 -07:00
Jason Wilder
ca37b24455
CLI: Add account list command
2015-02-15 13:36:10 -07:00
Torkel Ödegaard
a88187023d
Added a sql integration test for api keys
2015-02-13 15:55:32 +01:00
woodsaj
7d69885e06
fixes #1481 . correctly escape api_key.key column name
...
'key' is a reserved word in mysql. So when building a query,
the api-key.key column name needs to be escaped
2015-02-13 22:00:03 +08:00
Torkel Ödegaard
79f798f67b
Configuration file options can now be overriden using environment variables using GF_<SectionName>_<KeyName> syntax, if Section name contains dots in config they are replaced with underscores, and the section name and keyname needs to be all upper case, #1473
2015-02-12 13:31:41 +01:00
Torkel Ödegaard
2c16b0f0f3
added unit test for loading configuration file
2015-02-12 11:55:55 +01:00
Torkel Ödegaard
0140a00884
Added two columns to user table, email_verified and theme, no used right now but will probably shortly
2015-02-12 10:32:22 +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
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
23bbc5160e
Fixed validation for adding api keys, added unique index for api key name + account_id
2015-02-07 13:11:39 +01:00
Torkel Ödegaard
f8a10fa7af
Updated account and profile pages, very temporary solution, do not like it at all
2015-02-06 08:21:00 +01:00
Torkel Ödegaard
e3764ad951
Fixed failing dashboard sql test
2015-02-05 15:53:15 +01:00
Torkel Ödegaard
8e1b753664
Added limit to dashboard list panel and search
2015-02-05 11:10:56 +01:00
Torkel Ödegaard
0f63c04beb
Fixed bug in user creation and admin role
2015-02-05 10:50:18 +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
896e6d4662
Merge branch 'notifications'
2015-02-04 17:15:16 +01:00
Torkel Ödegaard
d8db5189c1
More work on events, still have to convert pascal case event type name to rabbitmq dot notation, but after that should be done
2015-02-04 17:15:05 +01:00
Torkel Ödegaard
525179eb85
Added on wire event format
2015-02-04 16:57:20 +01:00
Torkel Ödegaard
dace35d31d
Missed setting account name
2015-02-04 15:41:40 +01:00
Torkel Ödegaard
3752379106
Worked on event system, needs a little more work
2015-02-04 15:37:26 +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
woodsaj
a712f1a231
Add inital implementation of Notification events.
...
If notifications are enabled in the config, Adds a eventHandler
accepting Notification{} payloads to the internal Bus. The
eventHandler then marshals the payload into json and sends it
to a rabbitmq topic exchange using the
Notification.Priority+Noticiation.EventType as the routing key.
eg. INFO.account.created
Currently, notifications are only being emitted for
INFO.account.created
INFO.account.updated
INFO.user.created
INFO.user.updated
2015-02-03 23:57:42 +08: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
1d6413bfae
More work on backend for user favorites
2015-01-29 12:10:34 +01:00
Torkel Ödegaard
e02e60171e
Began work on user favorites backend support & storage
2015-01-28 15:29:36 +01:00
Torkel Ödegaard
a5e450a0dd
Worked on anonymous access
2015-01-27 15:45:27 +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
5ba2423626
Worked on account update view
2015-01-26 15:42:22 +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
0a695ba17a
Final work on migration, now there is no usage of xorm table sync
2015-01-20 14:44:37 +01:00
Torkel Ödegaard
afb847acc8
a lot of work on database schema and migration setup, postgres now works, every integration test passes for all database types, only token table left to do
2015-01-20 14:15:48 +01:00
Torkel Ödegaard
8bb9126b77
added postgres support for db migrations
2015-01-20 09:20:44 +01:00
Torkel Ödegaard
2379c5b770
Added loglevel to migrator, added dashboard table & index migrations
2015-01-20 08:50:08 +01:00
Torkel Ödegaard
e750508d76
Fixes for update user and add token
2015-01-19 18:57:51 +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
f1996a9f1f
Initial work on seperation between user and account
2015-01-19 16:28:45 +01:00
Torkel Ödegaard
d8e5be5782
Worked on database agnostic table creation for db migrations
2015-01-19 10:44:16 +01:00
Torkel Ödegaard
7d70ffe201
adding more columns for account table migration
2015-01-18 20:09:30 +01:00
Torkel Ödegaard
a64a38d7dd
Added migration log and migration id, do not execute already executed migrations
2015-01-18 18:41:03 +01:00
Torkel Ödegaard
8bfed7508c
More work on sql schema and migrations, starting to get somewhere
2015-01-18 14:51:51 +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
1f987c1903
Began work on real sql schema definitions, and migration engine
2015-01-17 21:40:22 +01:00
Torkel Ödegaard
ed879df1f4
Corrected spelling of SignedInUser (was SignInUser)
2015-01-16 16:17:35 +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
f858f6b621
Add collaborator now handles role, added macaron-contrib/binding for binding and validation
2015-01-16 11:54:19 +01:00
Torkel Ödegaard
cd5843e977
Fixed unit tests
2015-01-16 07:45:37 +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
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