grafana/pkg/models
lfroment 72628c8ea0
Dashboard: Adds support for a global minimum dashboard refresh interval (#19416)
This feature would provide a way for administrators to limit the minimum 
dashboard refresh interval globally.
Filters out the refresh intervals available in the time picker that are lower 
than the set minimum refresh interval in the configuration .ini file
Adds the minimum refresh interval as available in the time picker.
If the user tries to enter a refresh interval that is lower than the minimum 
in the URL, defaults to the minimum interval.
When trying to update the JSON via the API, rejects the update if the 
dashboard's refresh interval is lower than the minimum.
When trying to update a dashboard via provisioning having a lower 
refresh interval than the minimum, defaults to the minimum interval 
and logs a warning. 

Fixes #3356

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2020-02-28 14:32:01 +01:00
..
address.go 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
alert_notifications.go Chore: a bit of spring cleaning (#16710) 2019-04-23 11:24:47 +03:00
alert_test.go Alerting: Add tags to alert rules (#10989) 2019-06-06 13:29:30 +02:00
alert.go Alerting: Add tags to alert rules (#10989) 2019-06-06 13:29:30 +02:00
apikey.go API: Optionally list expired keys (#20468) 2019-11-20 13:14:57 +02:00
context.go move log package to /infra (#17023) 2019-05-13 08:45:54 +02:00
dashboard_acl_test.go WIP: Permission Type as string in permission query 2017-06-12 15:49:09 +02:00
dashboard_acl.go Chore: a bit of spring cleaning (#16710) 2019-04-23 11:24:47 +03:00
dashboard_snapshot.go snapshots: Move external snapshot creation to backend 2018-12-10 16:36:32 -05:00
dashboard_version.go build: upgrades to golang 1.12.4 (#16545) 2019-04-15 09:18:28 +02:00
dashboards_test.go alert: fixes broken link back to grafana 2018-03-27 20:26:51 +02:00
dashboards.go Dashboard: Adds support for a global minimum dashboard refresh interval (#19416) 2020-02-28 14:32:01 +01:00
datasource_cache_test.go CloudWatch: Fix high CPU load (#20579) 2019-11-22 14:21:23 +01:00
datasource_cache.go CloudWatch: Fix high CPU load (#20579) 2019-11-22 14:21:23 +01:00
datasource.go CloudWatch: Fix high CPU load (#20579) 2019-11-22 14:21:23 +01:00
folders.go API: Restrict anonymous user information access (#18422) 2019-08-12 20:03:48 +02:00
health.go feat: added api health endpoint that does not require auth and never creates sessions, returns db status as well. #3302 2017-04-25 17:17:45 +02:00
helpflags.go ux(getting started): progress on getting started panel and persited help flag states, #6466 2016-11-09 10:41:39 +01:00
home_dashboard.go Worked on home dashboard 2015-02-03 15:04:35 +01:00
licensing.go Footer: Display Grafana edition (#21717) 2020-01-27 09:24:44 +01:00
login_attempt.go login: uses epochs for login throtting. 2018-02-16 17:25:46 +01:00
models.go Auth: Azure AD OAuth (#20030) 2020-02-13 12:12:25 +03:00
notifications.go Alerting: Adds support for sending a single email to all recipients in notification channel (#21091) 2020-01-10 16:06:33 +01:00
org_user.go UserTableView: Show user name in table view (#18108) 2019-11-21 12:44:46 +02:00
org.go LDAP: Add API endpoint to debug user mapping from LDAP (#18833) 2019-09-03 18:34:44 +01:00
playlist.go HTTP API documentation +fix when updating a playlist (#12612) 2018-07-17 07:45:38 -07:00
plugin_setting_cache_test.go Backend Plugins: Provide proper plugin config to plugins (#21985) 2020-02-19 19:17:05 +01:00
plugin_setting_cache.go Backend Plugins: Provide proper plugin config to plugins (#21985) 2020-02-19 19:17:05 +01:00
plugin_settings.go refactor(securejsondata): extract to class 2016-11-24 13:22:25 +01:00
preferences.go feat: team preferences 2018-11-12 20:01:53 +01:00
quotas.go move toMap function to be a method on the quota structs 2015-09-15 17:18:26 +08:00
saml.go Auth: SAML login button. (#17932) 2019-07-05 15:24:52 +02:00
search.go 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
star.go 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
stats.go metrics: expose stats about roles as metrics (#17469) 2019-06-06 16:39:35 +02:00
streams.go mergefix(): fixed issue with master merge 2017-01-31 09:00:36 +01:00
tags_test.go Create annotations (#8197) 2017-10-07 10:31:39 +02:00
tags.go Create annotations (#8197) 2017-10-07 10:31:39 +02:00
team_member.go UserTableView: Show user name in table view (#18108) 2019-11-21 12:44:46 +02:00
team.go API: Restrict anonymous user information access (#18422) 2019-08-12 20:03:48 +02:00
temp_user.go signup: fix email sent logic for tempuser 2017-06-30 20:21:08 +02:00
test_data.go mysql: minor progress on response processing 2017-03-31 11:45:25 +02:00
user_auth.go LDAP: Fetch teams in debug view (#18951) 2019-09-08 11:48:47 +01:00
user_token.go Auth: Enable retries and transaction for some db calls for auth tokens (#16785) 2019-04-30 14:42:01 +02:00
user.go Admin: New Admin User page (#20498) 2020-01-13 17:10:19 +01:00