bergquist
f83306bb5b
removes unused return object
2018-06-26 09:22:31 +02:00
bergquist
4a46dd886b
routing: raise panic if duplicate routes are added
2018-06-25 16:58:49 +02:00
bergquist
dbfafa1cb5
routing: allows routes to be added to existing groups
...
this enables services to add routing to ex /api
without causing conflicts.
2018-06-25 16:50:27 +02:00
bergquist
e0ac31a28a
changelog: adds note about closing #12313
2018-06-25 08:02:51 +02:00
bergquist
eaf5b1c1cf
devenv: adds dashboard with multiple rows
2018-06-21 16:31:10 +02:00
bergquist
4b8b4e171a
changelog: adds note about closing #10971
2018-06-21 14:31:55 +02:00
bergquist
503c8cd8ef
tech: adds comments about route register code
2018-06-20 16:55:42 +02:00
bergquist
3479cf4b39
expose functions to use sessions
2018-06-18 14:50:36 +02:00
bergquist
2b849086a1
changelog: adds note about closing #11607
...
[skip ci]
2018-06-18 13:51:20 +02:00
bergquist
dd7a185a91
test commit for checking github permissions
...
[skip ci]
2018-06-18 11:41:28 +02:00
bergquist
6782be80fd
changelog: adds note about closing #12199
2018-06-16 16:59:15 +02:00
bergquist
4c5fe68e7e
adds inTransactionCtx that calls inTransactionWithRetryCtx
2018-06-15 21:57:13 +02:00
bergquist
1181e96799
merge create user handlers
2018-06-15 21:23:57 +02:00
bergquist
da91b91b4b
transactions: start sessions and transactions at the same place
...
this make it possible for handler to use `withSession` when
transactions is not nedded and `inTransactionCtx` if its needed
without knowing who owns the session/transaction
2018-06-15 20:52:57 +02:00
bergquist
4be6ef4ab3
changelog: adds note about closing #12286
2018-06-15 12:47:53 +02:00
bergquist
09e71e00a3
sql: adds tests for InTransaction
2018-06-15 12:46:20 +02:00
bergquist
03dae10e79
bus: noop should still execute fn
2018-06-15 12:46:20 +02:00
bergquist
a3ee778ddb
removes unused code
2018-06-15 12:46:20 +02:00
bergquist
9c1758b593
bus: Dispatch now passes empty ctx if handler require it
2018-06-15 12:46:20 +02:00
bergquist
9ca9a7c302
bus: dont start transaction when creating session
2018-06-15 12:46:20 +02:00
bergquist
629eab0b1e
bus: dont mix ctx/classic handlers
2018-06-15 12:46:20 +02:00
bergquist
e2275701d8
bus: DispatchCtx can now invoke any handler
2018-06-15 12:46:20 +02:00
bergquist
6775a82c82
fixes typo in code
2018-06-15 12:46:20 +02:00
bergquist
1bd31aa313
check if admin exists or create one in one transaction
2018-06-15 12:46:20 +02:00
bergquist
263572813a
replace begin/end with wrapper function
2018-06-15 12:46:20 +02:00
bergquist
8143610024
bus: support multiple dispatch in one transaction
...
this makes it possible to run multiple DispatchCtx
in one transaction. The TransactionManager will
start/end the transaction and pass the dbsession
in the context.Context variable
2018-06-15 12:46:20 +02:00
bergquist
10d840b1cc
docs: adds info about grafana-dev container
2018-06-15 11:07:23 +02:00
bergquist
c63533f004
tests: rewrite into table tests
2018-06-14 20:33:36 +02:00
bergquist
bf4ee9bcc6
influxdb: adds mode func to backend
...
closes #12286
2018-06-14 20:33:22 +02:00
bergquist
dbaa45e51e
update latest.json to 5.1.3
2018-06-09 21:26:07 +02:00
bergquist
484d9e3f9d
triggers grafana-docker master build
2018-06-08 12:44:01 +02:00
bergquist
f93d83befe
adds missing return statement
2018-06-06 22:17:19 +02:00
bergquist
574e92e1d8
changelog: adds note about closing #11958
...
[skip ci]
2018-06-04 16:00:44 +02:00
bergquist
cd4026da6b
Revert "provisioning: turn relative symlinked path into absolut paths"
...
This reverts commit d089b5e05d .
2018-06-04 15:38:37 +02:00
bergquist
d089b5e05d
provisioning: turn relative symlinked path into absolut paths
2018-06-04 15:20:26 +02:00
bergquist
c138ff2c90
changelog: adds note about closing #11670
2018-06-04 15:16:34 +02:00
bergquist
f606654c50
provisioning: adds fallback if evalsymlink/abs fails
2018-06-04 09:04:33 +02:00
bergquist
3f5078339c
tests: uses different paths depending on os
2018-06-04 08:27:03 +02:00
bergquist
75ee1e9208
renames intervalSeconds to updateIntervalSeconds
2018-06-04 08:13:20 +02:00
bergquist
333af6fd9b
provisioning: makes the interval for polling for changes configurable
2018-05-31 21:07:34 +02:00
bergquist
c817aecd66
provisioning: only update dashboard if hash of json changed
2018-05-31 21:05:52 +02:00
bergquist
44f5b92fbc
provisioning: only provision if json file is newer then db
2018-05-31 11:38:29 +02:00
bergquist
2bd4c14e5f
make path absolute before following symlink
2018-05-31 09:53:15 +02:00
bergquist
47d3884377
provisioning: follow symlinked folders
...
fixes #11958
2018-05-31 09:38:09 +02:00
bergquist
d5aeae3a90
test: fixes broken test on windows
2018-05-31 08:27:29 +02:00
bergquist
c7acbcdaf5
provisioning: enable relative path's
...
this commit enable relatives path for provisioning dashboards.
this enables easier dev setups
2018-05-30 08:46:44 +02:00
bergquist
f32e3a2960
changelog: note about closing #11858
2018-05-29 17:22:52 +02:00
bergquist
b253284acc
devenv: improve readme
2018-05-29 16:52:02 +02:00
bergquist
1411709db1
provisioning: place testfiles within testdata folder
2018-05-29 16:30:12 +02:00
bergquist
a1e6c31ec1
devenv: script for setting up default datasources
2018-05-29 14:00:46 +02:00
bergquist
6a82098ddf
devenv: scripts for generating many unique dashboards
2018-05-29 11:52:00 +02:00
bergquist
83b7bbd60b
changelog: adds note about closing #9703
2018-05-28 20:55:11 +02:00
bergquist
add791b2cc
Merge branch '9703-auth-proxy'
...
* 9703-auth-proxy:
go fmt fixes
configure proxy environments for Transport property
2018-05-28 20:49:40 +02:00
bergquist
d7b5fb4604
go fmt fixes
2018-05-28 20:48:01 +02:00
bergquist
e708e9ac3c
graphite: avoid dtracing headers in direct mode
...
closes #11494
2018-05-28 20:35:19 +02:00
bergquist
8d400b8f7b
changelog: adds note about closing #9847
2018-05-28 17:50:36 +02:00
bergquist
a2ed0b15da
build: fixes broken path for bra run
...
removes os and arch from binary path
when building in dev mode
2018-05-28 10:39:42 +02:00
bergquist
238139fad6
alerting: refactor tests
2018-05-25 16:12:34 +02:00
bergquist
21ade3f64f
changelog: fix broken link to contributor
2018-05-25 10:14:13 +02:00
bergquist
94ee9c63a8
changelog: adds note about closing #11788
2018-05-25 07:41:15 +02:00
bergquist
c40b0ea1df
test: moves test files to testdata folder
2018-05-18 23:23:13 +02:00
bergquist
f565800a51
build: script for tagging and pushing a release
2018-05-18 13:07:26 +02:00
bergquist
78e837cf39
test: increase expire time to avoid tz issues in tests
2018-05-17 14:59:50 +02:00
bergquist
ca25a25386
docs: removes notes about beeing introduced in 5.0
2018-05-14 09:51:23 +02:00
bergquist
65352dccc0
only error log when err is not nil
2018-05-08 11:59:27 +02:00
bergquist
b649358734
rename alerting engine to service
2018-05-08 11:56:30 +02:00
bergquist
7e9a10a5fb
renames alerting engine to match other services
2018-05-08 10:53:42 +02:00
bergquist
c902ec1808
Merge branch 'notification-service-refactor2'
...
* notification-service-refactor2:
fix: removed log calls used while troubleshooting
refactor: refactoring notification service to use new service registry hooks
2018-04-27 16:59:32 +02:00
bergquist
0cbeb56af1
disable ent build to avoid slowing down build speed
2018-04-27 16:41:07 +02:00
bergquist
afce0feb05
Merge branch 'mjtrangoni-fix-deadcode-issues'
...
* mjtrangoni-fix-deadcode-issues:
tech: removes unused code
add deadcode linter to circleci
pkg: fix deadcode issues
build.go: fix deadcode issues
2018-04-27 10:41:56 +02:00
bergquist
8e9b3507c5
tech: removes unused code
2018-04-27 10:39:06 +02:00
bergquist
034f5921cc
Merge branch 'fix-deadcode-issues' of https://github.com/mjtrangoni/grafana into mjtrangoni-fix-deadcode-issues
...
* 'fix-deadcode-issues' of https://github.com/mjtrangoni/grafana :
add deadcode linter to circleci
pkg: fix deadcode issues
build.go: fix deadcode issues
2018-04-27 10:31:44 +02:00
bergquist
3cca45dd88
bump version
2018-04-23 13:59:52 +02:00
bergquist
e168bfe03e
docs: release 5.1.0-beta1
2018-04-20 13:23:45 +02:00
bergquist
177220e2fe
build: fixes release deploy
2018-04-20 12:59:44 +02:00
bergquist
d7f58d74d3
changelog: adds releaste date for 5.1.0-beta1
2018-04-20 11:16:24 +02:00
bergquist
98bbb01898
build: removes gometalinter
...
for some reason the linter lints files in /vendor
which it should not. So we have to remove it until
it works as expected
ref #10381
2018-04-20 10:35:29 +02:00
bergquist
03a9650c57
cli: adds os and arch headers
...
this makes it possible for the plugin repo
to provide the correct package if arch and os matters
2018-04-20 09:52:25 +02:00
bergquist
b5820d930c
Merge branch 'master' into 11392_whats_new_v51
...
* master:
build: only lint the pkg folder
changelog: adds note about closing #11476
singlestat: Fix optimization in setTableColumnToSensibleDefault
influxdb: Check before assuming first column to be 'time'
2018-04-19 14:27:13 +02:00
bergquist
ffb1db833c
docs: what's new
...
add's info about new template variable interpolation
2018-04-19 14:23:47 +02:00
bergquist
b4a77d49b4
docs: whats new
...
reduce content a little bit and highlight mssql and prom heatmap
2018-04-19 13:39:02 +02:00
bergquist
601a1d9b92
docs: more info prometheus heapmap to whats new
2018-04-19 13:33:50 +02:00
bergquist
7a62231816
build: only lint the pkg folder
2018-04-19 11:29:02 +02:00
bergquist
f50bcb6aae
changelog: adds note about closing #11476
2018-04-19 11:20:29 +02:00
bergquist
dbf61355b3
style: code simplifications
2018-04-18 12:16:25 +02:00
bergquist
c22495b6f8
Merge branch 'master' into external-auth
...
* master:
changelog: adds note about closing #11613 and #11602
fix: sign in link should have target self to trigger full page reload, fixes #11626
codespell: exclude by words instead of files
Use sort.Strings() (gosimple)
Remove unused return value assignment (gosimple)
Remove unnecessary fmt.Sprintf() calls (gosimple)
Merge variable declaration with assignment (gosimple)
Use fmt.Errorf() (gosimple)
Simplify make() (gosimple)
Use raw strings to avoid double escapes (gosimple)
Simplify if expression (gosimple)
Simplify comparison to bool constant (gosimple)
Simplify error returns (gosimple)
Remove redundant break statements (gosimple)
2018-04-18 09:34:45 +02:00
bergquist
d9b3ff1952
changelog: adds note about closing #11613 and #11602
2018-04-18 09:21:51 +02:00
bergquist
fa49332915
docs: typos
2018-04-17 19:09:39 +02:00
bergquist
059719104f
dev: only build server with bra run
2018-04-17 15:02:22 +02:00
bergquist
6c6b74fc39
removes codecov from front-end tests
2018-04-16 11:39:09 +02:00
bergquist
738fb29134
changelog: adds note about closing #11228
2018-04-16 09:38:18 +02:00
bergquist
b220162b91
build: remove code cov
2018-04-12 11:26:05 +02:00
bergquist
93e1546f73
alerting: handle invalid json format
...
closes #11003
2018-04-10 22:22:12 +02:00
bergquist
f424d13b53
provisioning: dont override permissions
2018-04-10 12:35:06 +02:00
bergquist
949484b949
provisioning: simplify db query
...
the GetProvisionedDashboardQuery wasent used for anything
else than check if a dashboard is provisioned or not. So
we simplified this query to make it more maintainable.
2018-04-10 12:30:37 +02:00
bergquist
0f9b592428
provisioning: fixes broken tests
2018-04-10 10:48:10 +02:00
bergquist
77e7887e5e
provisioning: check provisiong before saveCmd
2018-04-10 09:35:54 +02:00
bergquist
7845eab502
provisioning: fixes typo
2018-04-10 09:32:05 +02:00
bergquist
bcbe7a1c55
provisioning: adds error handling
2018-04-10 09:31:35 +02:00
bergquist
2889a405a7
docs: improves provisoning example text
2018-04-09 14:56:42 +02:00