dependabot[bot]
dae5e452a9
Chore(deps): Bump github.com/golang/mock from 1.4.4 to 1.5.0 ( #31379 )
...
Bumps [github.com/golang/mock](https://github.com/golang/mock ) from 1.4.4 to 1.5.0.
- [Release notes](https://github.com/golang/mock/releases )
- [Changelog](https://github.com/golang/mock/blob/master/.goreleaser.yml )
- [Commits](https://github.com/golang/mock/compare/v1.4.4...v1.5.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-22 10:28:01 +01:00
Torkel Ödegaard
372ae7fdd3
Chore: Fix strict errors, down to 416 ( #31365 )
2021-02-22 10:06:07 +01:00
dependabot[bot]
ad5514eca5
Chore(deps): Bump github.com/getsentry/sentry-go from 0.9.0 to 0.10.0 ( #31378 )
...
Bumps [github.com/getsentry/sentry-go](https://github.com/getsentry/sentry-go ) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/getsentry/sentry-go/releases )
- [Changelog](https://github.com/getsentry/sentry-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-go/compare/v0.9.0...v0.10.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-22 09:55:15 +01:00
Hugo Häggmark
c5797cc274
StoryBook: Introduces Grafana Controls ( #31351 )
2021-02-22 09:53:06 +01:00
Grot (@grafanabot)
7c797f737c
ReleaseNotes: Updated changelog and release notes for 7.4.2 ( #31313 )
2021-02-21 08:06:25 +01:00
Torkel Ödegaard
3e55c967ee
Theming: Support for runtime theme switching and hooks for custom themes ( #31301 )
...
* WIP Custom themes
* Load custom themes from URL and via event
* Dynamic page background
* Header color change
* Fixing tests and emotion warnings
* Fixed test
* moving cx to getStyles
* Review fixes
* minor change
2021-02-20 09:02:06 +01:00
Ivana Huckova
58968e1ceb
Devenv: Remove old-versioned loki blocks and update prometheus2 block ( #31282 )
...
* Remove very old-versioned loki blocks
* Update prometheus block from 2.7.2 to latest
* Remove data sources in Grafana
* Fix e2e test not to intercept the whole url
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2021-02-19 18:06:09 +01:00
Zoltán Bedi
114c426f34
Zipkin: Show success on test data source ( #30829 )
...
* Zipkin: Show success on test data source
Add zipkin example app to devenv
Migrate to fetch api in data source
* Add back return types for functions
2021-02-19 15:38:16 +01:00
Dominik Prokop
1380fe72bd
Update grot template (needs more info) ( #31350 )
2021-02-19 13:18:05 +01:00
Dominik Prokop
0d6e5298b7
DatasourceSrv: Fix instance retrieval when datasource variable value set to "default" ( #31347 )
...
* Failing tests
* Fixed
2021-02-19 12:31:28 +01:00
Torkel Ödegaard
ce63df425d
TimeSeriesPanel: Fixes overlapping time axis ticks ( #31332 )
...
* GraphNG: Fixes overlapping time axis ticks
* Review tweaks
2021-02-19 12:10:48 +01:00
Oscar Kilhed
aeb4bcb3ed
Grafana/UI: Add basic legend to the PieChart ( #31278 )
...
* Add basic legend to the PieChart
* Remove console log
* Remove PieChartWithLegend and refactor PieChart a bit
* Use FALLBACK_COLOR
* Refactor PieChart
* Change back to [function]
2021-02-19 11:49:40 +01:00
Leonard Gram
fe74c51d68
SAML: single logout only enabled in enterprise ( #31325 )
2021-02-19 10:00:30 +01:00
Gábor Farkas
7ccba047c6
QueryEditor: handle query.hide changes in angular based query-editors ( #31336 )
...
* handle query.hide changes in angular query-editors
* better comment
2021-02-19 09:49:59 +01:00
Torkel Ödegaard
2b7628c69e
DashboardLinks: Fixes another issue where dashboard links cause full page reload ( #31334 )
2021-02-19 08:26:22 +01:00
Hugo Häggmark
0a4c3b8779
LibraryPanels: Syncs panel title with name ( #31311 )
2021-02-19 06:05:21 +01:00
Arve Knudsen
a20119db9f
Chore: Upgrade golangci-lint ( #31330 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-02-18 19:24:04 +01:00
Matthew Helmke
a34bc0f2d5
Add info to docs about concurrent session limits ( #31333 )
...
* Add info to docs about concurrent session limits
This parallels a [change in the Grafana Cloud docs](https://github.com/grafana/website/pull/3504 ) which was based on a kind and appreciated message from support. The limit does not apply to Grafana OSS, just to Enterprise and Cloud, as far as any of us know.
* Update docs/sources/enterprise/license-restrictions.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-02-18 12:05:09 -06:00
Torkel Ödegaard
e9576853c1
Table: Fixes issue with fixed min and auto max with bar gauge cell ( #31316 )
2021-02-18 16:56:47 +01:00
Uchechukwu Obasi
debb82e124
BarGuage: updates story from knobs to controls ( #31223 )
...
* BarGuage: updated story from knobs to controls
* fixes type errors and disables unused controls
* update controls to support some BarGauge props
* changed addBarGaugeStory to component and removed closure
* cleaned up to be more readable
* more refactoring to be readable
* final touches...
* fixed disabled controls issue
* moved NOOP_CONTROL declaration to a seperate PR
* made some tweaks to the story names
2021-02-18 16:03:56 +01:00
Hugo Häggmark
82933353d6
Docs: Clarifies how to add Key/Value pairs ( #31303 )
2021-02-18 09:46:29 -05:00
Carl Bergquist
95c8766f86
Usagestats: Exclude folders from total dashboard count ( #31320 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2021-02-18 15:32:47 +01:00
Uchechukwu Obasi
0e63dfafbe
ButtonCascader: updates story from knobs to controls ( #31288 )
...
* ButtonCascader: updates story from knobs to controls
* some nit fixes
2021-02-18 13:52:09 +01:00
Vicky Lee
7f8fb2b55f
test: allow check for Table as well as Graph for Explore e2e flow ( #31290 )
...
* use table for explore flow screenshot
* reverse logic
* update matchExploreTable type
2021-02-18 09:11:30 +00:00
Alex Khomenko
e932d5bb09
Grafana-UI: Update tooltip type ( #31310 )
2021-02-18 11:10:11 +02:00
ying-jeanne
04cd96342e
fix 7.4.2 release note ( #31299 )
2021-02-18 09:41:00 +01:00
Dimitris Sotirakis
d1cee1ad02
Add --tries 3
arg when triggering e2e-tests upon releasing ( #31285 )
...
* Add ``--tries 3` arg when triggering e2e-tests
* Make e2e-tests retry 3 times only for release pipelines
2021-02-18 10:16:49 +02:00
Hugo Häggmark
3c1f27b0e6
Chore: reduce strict errors for variables ( #31241 )
...
* Chore: reduces a lot of variable errors
* Chore: reduces variable Editor errors
* Chore: reduces variable Picker errors
* Chore: reduce error count
* Chore: reduces errors for ChangeEvent instead of FormEvent
* Chore: reduces errors with CombinedState
* Chore: reduces ComponentType errors
* Chore: reduce errors in reducers
* Chore: reduces misc errors
* Chore: reduce AdhocPicker errors
* Chore: reduce error limit
* Update public/app/features/variables/adhoc/picker/AdHocFilterValue.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Chore: updates after PR comments
* Chore: small refactor
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2021-02-18 06:21:35 +01:00
ying-jeanne
6c4be29655
update latest release version ( #31296 )
2021-02-17 19:20:04 +01:00
Grot (@grafanabot)
a3b40bdc48
ReleaseNotes: Updated changelog and release notes for 7.4.2 ( #31291 )
2021-02-17 18:37:47 +01:00
Levi Harrison
e0a6854c36
Correct name of Discord notifier tests ( #31277 )
2021-02-17 17:24:07 +01:00
Hugo Häggmark
6c2cf42a05
Docs: Clarifies custom date formats for variables ( #31271 )
2021-02-17 09:33:56 -05:00
Uchechukwu Obasi
14afa167f4
BigValue: updates story from knobs to controls ( #31240 )
...
* BigValue: updates story from knobs to controls
* some refactoring to make code more readable
* made some changes
2021-02-17 15:05:40 +01:00
Torkel Ödegaard
ea6a8eacbf
Docs: Annotations update ( #31194 )
...
Fixes #31188
2021-02-17 08:51:27 -05:00
kay delaney
bbf12088d6
Introduce functions for interacting with library panels API ( #30993 )
2021-02-17 13:40:10 +00:00
Alex Khomenko
c21e45e428
Search: display sort metadata ( #31167 )
...
* Search: display metadata
* Search: update SortPicker icon
* Search: display folder meta data
* Search: reset sort picker on layout change
* Search: align tags in Card component
* Search: replace hyphen with dash
* Search: preserve sort state on layout change
* Search: update tests
* Search: fix tests
* Update pkg/services/search/hits.go
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* Update public/app/features/search/components/SearchItem.tsx
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* Update public/app/features/search/components/SearchItem.tsx
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* Update public/app/features/search/types.ts
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* Search: fix type error
* Search: add General folder name and adjust icon margin
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
2021-02-17 14:06:19 +02:00
Torkel Ödegaard
c0015034a3
Folders: Editors should be able to edit name and delete folders ( #31242 )
...
* Folders: Editors should be able to edit name and delete folders
* Fixed so that we only build nav model in one place
2021-02-17 12:40:28 +01:00
Dominik Prokop
0253685304
Make Datetime local (No date if today) working ( #31274 )
2021-02-17 12:17:29 +01:00
Emil Tullstedt
a87dd17501
UsageStats: Purpose named variables ( #31264 )
2021-02-17 10:19:27 +01:00
Marcus Efraimsson
8f20b13f1c
Snapshots: Disallow anonymous user to create snapshots ( #31263 )
2021-02-17 09:51:50 +01:00
Carl Bergquist
b5cbbc3db1
only update usagestats every 30min ( #31131 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2021-02-17 09:10:36 +01:00
Jack Westbrook
4b25310941
Chore: grafana-toolkit uses grafana-ui and grafana-data workspaces ( #30701 )
...
* chore(grafana-toolkit): use workspace versions of grafana/ui and grafana/data
* chore: replace references to popperjs 1 typings with popperjs 2 typings
2021-02-16 19:33:50 +01:00
Josh Hunt
85e186cf10
Grafana-UI: Add id to Select to make it easier to test ( #31230 )
...
* Prettier formatting
* Grafana-UI: Add support for id and inputId props to Select
* Grafana-UI: Add aria-label to Select
* Grafana-UI: InlineField and Field get ID from inputId prop
For Select
* Fix tests using TagFilter
* Update Select prop documentation
* Update Field tests to use screen instead
* Fix the last few tests
2021-02-16 16:19:55 +00:00
Ivana Huckova
4f61edd28d
Prometheus: Fix enabling of disabled queries when editing in dashboard ( #31055 )
...
* Fix disable bug by passing hide prop
* Make more universal fix
* Revert to original fix
* Update public/app/plugins/datasource/prometheus/components/PromQueryEditor.tsx
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2021-02-16 16:23:26 +01:00
kay delaney
38daf0cba6
UI/Card: Fix handling of 'onClick' callback ( #31225 )
2021-02-16 13:11:37 +00:00
Ivana Huckova
350dcb999a
Loki: Add line limit for annotations ( #31183 )
...
* Add line limit to Annotation query editor
* Refactor to keep type consistent
2021-02-16 13:27:17 +01:00
Ivana Huckova
c269f18500
Remove deprecated and breaking loki config field ( #31227 )
2021-02-16 13:11:18 +01:00
Torkel Ödegaard
e4672906f0
SqlDataSources: Fixes the Show Generated SQL button in query editors ( #31236 )
...
* SqlDataSources: Fixes the Show Generated SQL button in query editors
* No need to protect against duplicate events now that the event emitter is isolated for each editor
2021-02-16 13:10:40 +01:00
Hugo Häggmark
06e6bcf091
LibraryPanels: Disconnect before connect during dashboard save ( #31235 )
...
* LibraryPanels: Disconnect before connect during dashboard save
* Tests: fixed test
* Chore: updates after PR comments
* Chore: changes from context.Background() to c.Context.Req.Context()
* Chore: fixes lint issue
2021-02-16 13:00:56 +01:00
dupondje
884a99e375
Disable Change Password for OAuth users ( #27886 )
2021-02-16 10:20:41 +01:00