Leonard Gram
af4994ba16
teams: editor added as admin for created teams.
2019-03-19 13:57:22 +01:00
Leonard Gram
da3dcd1918
folder: uses service to make user admin of created folder.
2019-03-19 13:57:21 +01:00
Leonard Gram
c8c004095c
permissions: broken out func for making creator admin.
2019-03-19 13:57:21 +01:00
Leonard Gram
e174f7c20b
folders: admin for created folders
2019-03-19 13:57:20 +01:00
Leonard Gram
e294252e92
dashboards: user automatically becomes admin for created dashboards
2019-03-19 13:57:20 +01:00
Sean Lafferty
3f9a19dcd5
Merge branch 'master' into 12556-oauth-pass-thru
2019-03-14 13:18:00 -04:00
Carl Bergquist
23852b59c9
Merge pull request #15839 from grafana/15836_revoke_auth_tokens
...
Support list and revoke of user auth tokens in HTTP API
2019-03-14 17:12:49 +01:00
Carl Bergquist
291ffcb75b
Merge pull request #15457 from bergquist/distributed_cache
...
Distributed cache
2019-03-14 16:16:39 +01:00
Sean Lafferty
f3c52710df
Make recently used auth_module test more robust by adding another 'log in'
2019-03-14 08:40:19 -04:00
zhulongcheng
755f60358b
Add more info to victorOps alert notifications
2019-03-14 15:47:11 +08:00
Sean Lafferty
8d19ca005f
Merge branch 'master' into 12556-oauth-pass-thru
2019-03-13 14:25:43 -04:00
Sean Lafferty
de338338bf
Remove todo about index on user_id in user_auth because it exists
2019-03-13 13:46:49 -04:00
Sean Lafferty
f17307bb97
Always return most recently used auth_module from GetAuthInfo
2019-03-13 11:29:13 -04:00
Sean Lafferty
d922285ab8
Move oauth token migrations in user_auth_mig
2019-03-11 09:31:03 -04:00
Torkel Ödegaard
5fab1e89d3
Merge pull request #15897 from grafana/revert-15608-fix-datasource-update
...
Revert "Fix Datasource Update to no User/Password"
2019-03-11 10:58:28 +01:00
bergquist
66e71b66dd
renames key to cache_key
...
apparently key is a reserved keyword in mysql.
and the error messages doesnt mention that.
can I please have 6h back?
2019-03-11 10:49:55 +01:00
Carl Bergquist
f3753712e0
Revert "Fix Datasource Update to no User/Password"
2019-03-11 07:22:54 +01:00
genofire
6d578dd372
fix imageurl in notification test
...
skip unnecessary http -> https redirect, which could make problems on some notifiers
2019-03-11 00:23:07 +01:00
Torkel Ödegaard
570187384b
Merge pull request #13825 from athurg/optimize_dingding_alert_message
...
Optimize dingding alert message
2019-03-08 15:33:24 +01:00
Marcus Efraimsson
8029e48588
support get user tokens/revoke all user tokens in UserTokenService
2019-03-08 15:15:17 +01:00
Marcus Efraimsson
e3b3062107
add nil/length check when delete old login attempts
2019-03-08 13:31:46 +01:00
bergquist
d99af23946
add garbage collector for database cache
2019-03-08 09:09:27 +01:00
bergquist
d4f5789660
cache: initial version of db cache
2019-03-08 09:09:27 +01:00
Marcus Efraimsson
f21c976b27
fix discord notifier so it doesn't crash when there are no image generated
2019-03-06 17:03:14 +01:00
Torkel Ödegaard
8ba4eb47e7
Merge pull request #15769 from grafana/15768_xorm_upgrade
...
upgrade xorm packages to latest versions
2019-03-06 15:11:06 +01:00
Marcus Efraimsson
36f3accf0d
log phantomjs output even if it timeout and include orgId when render alert
2019-03-06 13:53:23 +01:00
Marcus Efraimsson
f845a3b841
upgrade xorm packages to latest versions
2019-03-05 21:11:23 +01:00
Carl Bergquist
71bfefa8fb
Merge pull request #15608 from Maddin-619/fix-datasource-update
...
Fix Datasource Update to no User/Password
2019-03-05 14:38:32 +01:00
bergquist
ae9327ff3a
remove UseBool since we use AllCols
2019-03-05 13:41:40 +01:00
Torkel Ödegaard
b4df0e73cd
Merge pull request #15706 from grafana/15656-playlists-with-tags-rebased
...
wip: Fix playlists "by tags"
2019-03-04 09:00:28 +00:00
Marcus Efraimsson
d49f0bedd3
fix: prevent datasource json data stored as nil ( #15508 )
...
prevent datasource json data stored as nil
closes #14239
2019-03-02 21:18:26 +01:00
Johannes Schill
8d5ccc7831
fix: Return url when query dashboards by tag
2019-02-28 10:44:39 +01:00
bergquist
8a3a3cccc3
moves metric package to /infra
...
ref #14679
2019-02-24 21:12:51 +01:00
Maddin-619
09cd173e92
updates all cols except created so user and password
...
of the database can be chaned to no user and password
2019-02-22 14:19:15 +01:00
bergquist
7754c37a1f
reduce loglevel to debug
2019-02-19 08:22:33 +01:00
Torkel Ödegaard
1adc1a6097
Merge pull request #15455 from grafana/fixed-handling-of-alert-urls
...
Fixed handling of alert urls with true flags
2019-02-15 16:27:23 +01:00
Torkel Ödegaard
4c28ec83b3
Merge pull request #15444 from max-neverov/percent_diff_null
...
Fix percent_diff calculation when points are nulls
2019-02-15 13:03:19 +01:00
Torkel Ödegaard
7699706e65
fixed handling of alert urls with true flags, fixes #15454
2019-02-15 11:23:31 +01:00
Maxim Neverov
28eaac3a9c
Extracted common code for diff calculation
2019-02-14 21:52:59 +01:00
Torkel Ödegaard
cd8f5835ec
Merge pull request #15395 from briangann/20190212_adjust_notifier_render_timeout
...
allow 90 percent of alertTimeout for rendering to complete vs 50 percent
2019-02-14 17:21:40 +01:00
Maxim Neverov
3c2f6094b2
Fix percent_diff calculation when points are nulls
2019-02-14 16:31:15 +01:00
Brian Gann
c98b00c302
allow 90 percent of alertTimeout for rendering to complete vs 50 percent
2019-02-13 09:56:37 -06:00
Carl Bergquist
dcec61e1b4
Merge pull request #15378 from grafana/auth_token_quotas
...
use authTokenService for session quotas restrictions
2019-02-12 15:38:57 +01:00
bergquist
e163aadfe4
use authtoken for session quota restrictions
...
closes #15360
2019-02-12 15:10:55 +01:00
bergquist
1310d356fc
removes unused session code
2019-02-12 12:33:54 +01:00
Carl Bergquist
1f7a1f807e
Merge pull request #15299 from grafana/15295_fux
...
Make sure alert notifier provisioning directory are created for deb and rpm packages
2019-02-11 13:31:51 +01:00
bergquist
3ce99bca66
renames usage state name for auth token
...
as noted, sessions might not be a good name for this metrics.
while devices would be a better name for users I think we should
align the name with the code as much as possible. The ui listing
all auth_tokens per user should probarbly say "devices" instead
2019-02-11 11:08:31 +01:00
bergquist
2be60887ca
adds usage stats for sessions
2019-02-07 16:27:40 +01:00
Marcus Efraimsson
b4267eafb8
log root cause error when reading from provisioning directories
2019-02-07 15:46:57 +01:00
bergquist
170783c292
make hourly cleanup the default behavior
2019-02-07 10:51:35 +01:00