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
Torkel Ödegaard
4dfce12a81
TagsInput: Design update and component refactor ( #31163 )
...
* TagsInput: Design update and component refactor
* Update packages/grafana-ui/src/components/TagsInput/TagsInput.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Update packages/grafana-ui/src/components/TagsInput/TagsInput.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Update packages/grafana-ui/src/components/TagsInput/TagsInput.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Update packages/grafana-ui/src/components/TagsInput/TagsInput.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Updated
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2021-02-16 09:39:11 +01:00
Hugo Häggmark
f993f2c7cc
Variables: Adds back default option for data source variable ( #31208 )
...
* Variables: Adds back default option for data source variable
* Chore: updates after PR comments
2021-02-16 06:51:34 +01:00
Arve Knudsen
d27a72f859
IPv6: Support host address configured with enclosing square brackets ( #31226 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-02-15 17:55:41 +01:00
Ricky Putra
d56c5285e2
Postgres: Fix timeGroup macro converts long intervals to invalid numbers when TimescaleDB is enabled ( #31179 )
...
Fixes #27253
2021-02-15 17:15:57 +01:00
Dominik Prokop
9c08b34e71
GraphNG: refactor core to class component ( #30941 )
...
* First attempt
* Get rid of time range as config invalidation dependency
* GraphNG class refactor
* Get rid of DataFrame dependency from Plot component, get rid of usePlotData context, rely on XYMatchers for data inspection from within plugins
* Bring back legend
* Fix Sparkline
* Fix Sparkline
* Sparkline update
* Explore update
* fix
* BarChart refactor to class
* Tweaks
* TS fix
* Fix tests
* Tests
* Update packages/grafana-ui/src/components/uPlot/utils.ts
* Update public/app/plugins/panel/timeseries/plugins/ContextMenuPlugin.tsx
* GraphNG: unified legend for BarChart, GraphNG & other uPlot based visualizations (#31175 )
* Legend experiment
* Nits
2021-02-15 16:46:29 +01:00
Tania B
f9a293afea
Remove last synchronisation field from LDAP debug view ( #30984 )
...
* Remove last synchronisation field from LDAP debug view
* Apply review comments
2021-02-15 17:11:17 +02:00
Marcus Efraimsson
6aa4db387b
Chore: Upgrade grafana-plugin-sdk-go to v0.88.0 ( #30975 )
...
* Chore: Upgrade grafana-plugin-sdk-go
* update plugin sdk
Co-authored-by: Will Browne <will.browne@grafana.com>
2021-02-15 14:15:27 +01:00
Torkel Ödegaard
205dc0a2f6
Graph: Make axes unit option work even when field option unit is set ( #31205 )
...
* Graph: Make axes unit option work even when field option unit is set
* Updated tests
2021-02-15 13:57:18 +01:00
Peter Holmberg
12dcba5d0b
AlertingNG: Test definition ( #30886 )
...
* break out new and edit
* changed model to match new model in backend
* AlertingNG: API modifications (#30683 )
* Fix API consistency
* Change eval alert definition to POST request
* Fix eval endpoint to accept custom now parameter
* Change JSON input property for create/update endpoints
* model adjustments
* set mixed datasource, fix put url
* update snapshots
* run test response through converters
* remove edit and add landing page
* remove snapshot tests ans snapshots
* wrap linkbutton in array
* different approaches to massage data
* get instead of post
* use function to return instances data
* hook up test button in view
* test endpoint for not saved definitions
* function that return query options
* Chore: fixes strict error
* hide ng alert button
* typings
* fix setAlertDef error
* better message when you have queries but no data
* NGAlert: Refactoring that handles cleaning up state (#31087 )
* Chore: some refactorings of state
* Chore: reduces strict null errors
Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
Co-authored-by: Sofia Papagiannaki <sofia@grafana.com>
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
2021-02-15 13:56:59 +01:00
Andrej Ocenas
b9f6bd7897
Docs: Update Influx config options ( #31146 )
...
* Add config options
* Update docs/sources/datasources/influxdb.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Update docs/sources/datasources/influxdb.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Add config to provisioning docs
* Style fixes
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2021-02-15 13:42:14 +01:00
Dafydd
e17198af83
WIP: Skip this call when we skip migrations ( #31216 )
2021-02-15 12:57:20 +01:00
Will Browne
d33375ade9
use 0.1.0 ( #31215 )
2021-02-15 12:53:20 +01:00
Torkel Ödegaard
50faeb3078
DataSourceSrv: Filter out non queryable data sources by default ( #31144 )
2021-02-15 11:27:16 +01:00
Torkel Ödegaard
0c3c17592e
QueryEditors: Fixes issue that happens after moving queries then editing would update other queries ( #31193 )
2021-02-15 11:24:03 +01:00
Josh Hunt
5218497a3e
Chore: report eslint no-explicit-any errors to metrics ( #31182 )
...
* Chore: report eslint no-explicit-any errors to metrics
* double quote
2021-02-15 10:15:34 +00:00
dependabot[bot]
de338f8e64
Chore(deps): Bump cloud.google.com/go/storage from 1.12.0 to 1.13.0 ( #31211 )
...
Bumps [cloud.google.com/go/storage](https://github.com/googleapis/google-cloud-go ) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases )
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/master/CHANGES.md )
- [Commits](https://github.com/googleapis/google-cloud-go/compare/spanner/v1.12.0...spanner/v1.13.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-15 10:32:15 +01:00
dependabot[bot]
4f918e37f4
Chore(deps): Bump xorm.io/xorm from 0.8.1 to 0.8.2 ( #30773 )
...
* Chore(deps): Bump xorm.io/xorm from 0.8.1 to 0.8.2
Bumps xorm.io/xorm from 0.8.1 to 0.8.2.
Signed-off-by: dependabot[bot] <support@github.com>
* Fix limit for snapshots
* Fix limit for org and users
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2021-02-15 09:59:39 +01:00
Sofia Papagiannaki
dde11215e9
Alerting: Fix modal text for deleting obsolete notifier ( #31171 )
2021-02-15 10:31:08 +02:00
dependabot[bot]
23621357b0
Chore(deps): Bump github.com/linkedin/goavro/v2 from 2.9.7 to 2.10.0 ( #31204 )
...
Bumps [github.com/linkedin/goavro/v2](https://github.com/linkedin/goavro ) from 2.9.7 to 2.10.0.
- [Release notes](https://github.com/linkedin/goavro/releases )
- [Changelog](https://github.com/linkedin/goavro/blob/master/debug_release.go )
- [Commits](https://github.com/linkedin/goavro/compare/v2.9.7...v2.10.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-15 09:12:10 +01:00
Hugo Häggmark
39993a6884
Variables: Fixes missing empty elements from regex filters ( #31156 )
...
* Variables: Fixes missing empty elements from regex filters
* Chore: cleanup comment
* Chore: removes unused import
2021-02-15 06:04:08 +01:00
Torkel Ödegaard
b3c32277dd
StatPanels: Fixes to palette color scheme is not cleared when loading panel ( #31126 )
2021-02-13 11:35:39 +01:00
achatterjee-grafana
2dacc2c366
Fixed the typo. ( #31189 )
2021-02-12 19:03:22 -08:00
Diana Payton
fd5449bab4
Docs: Rewrite preferences docs ( #31154 )
...
* Create _index.md
* Moved file and started to update content
* adding content
* Update change-home-dashboard.md
* Update _index.md
* Update _index.md
* Update _index.md
* content edits and moved file
* Update change-grafana-name.md
* Delete preferences.md
* content changes
* content changes
* content updates
* content updates
* Update docs/sources/administration/preferences/_index.md
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
* Update docs/sources/administration/preferences/_index.md
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
* Update docs/sources/administration/preferences/_index.md
* Update docs/sources/administration/preferences/_index.md
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
* Update docs/sources/administration/preferences/_index.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/administration/preferences/_index.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/administration/preferences/change-grafana-name.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/administration/preferences/change-grafana-name.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/administration/preferences/change-grafana-name.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/administration/preferences/change-grafana-theme.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update _index.md
* Update _index.md
* minor edits
* Update change-grafana-name.md
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-02-12 22:19:03 +01:00
Andrej Ocenas
b0bd242eda
Explore/Refactor: Simplify URL handling ( #29173 )
...
* Inline datasource actions into initialisation
* Simplify url handling
* Add comments
* Remove split property from state and split Explore.tsx to 2 components
* Add comments
* Simplify and fix splitOpen and splitClose actions
* Update public/app/features/explore/ExplorePaneContainer.tsx
Co-authored-by: Giordano Ricci <gio.ricci@grafana.com>
* Update public/app/features/explore/state/explorePane.test.ts
Co-authored-by: Giordano Ricci <gio.ricci@grafana.com>
* Update public/app/features/explore/Wrapper.tsx
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
* Fix test
* Fix lint
Co-authored-by: Giordano Ricci <gio.ricci@grafana.com>
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2021-02-12 21:33:26 +01:00
Torkel Ödegaard
9629dded42
DashboardLinks: Fixes links always cause full page reload ( #31178 )
2021-02-12 18:08:18 +01:00
Dimitris Sotirakis
d1937408bd
Replace PR with Commit truncated hash when build fails ( #31177 )
...
* Replace PR with Commit truncated hash when build fails
* Make commit literal lower case
2021-02-12 18:36:15 +02:00
Uchechukwu Obasi
100e7eb992
Alert: update story to use controls ( #31145 )
...
* Alert: updated story to use Controls
* updated some changes
2021-02-12 16:45:05 +01:00
Agnès Toulet
7f1f559929
Permissions: Fix team and role permissions on folders/dashboards not displayed for non Grafana Admin users ( #31132 )
...
* Cfg: fix hidden users initialization
* add tests
* do not call isHiddenUser function for non-user permission
* do not call isHiddenUser function for non-user permission
2021-02-12 16:08:18 +01:00
Erik Sundell
92ae019f8e
CloudWatch: Ensure empty query row errors are not passed to the panel ( #31172 )
...
* ensure empty errors are not passed to the panel
* make it a oneliner
2021-02-12 15:49:33 +01:00