Torkel Ödegaard
bac8b967be
PieChart: Refactoring & adding unsubscribe ( #33432 )
...
* Tweaks to piechart and theme
* Adds unsubscribe to events and move out to separate hook
* reverted constrast change
* Minor refactor after review feedback
* chain the subs
2021-04-28 14:02:41 +02:00
Hugo Häggmark
df8d301d1e
LibraryPanels: Adds descriptions to cards ( #33452 )
...
* LibraryPanels: Adds descriptions to cards
* Chore: updates after PR comments
2021-04-28 13:47:12 +02:00
ying-jeanne
748778fff0
new endpoint to post/get trimmed dashboard json ( #33465 )
...
* new endpoint to post/get trimed dashboard json
* add isdisabled check in dashboard.go
2021-04-28 19:38:33 +08:00
Christian Haudum
076e2ce06a
Return 404 when deleting non-existing API key ( #33346 )
...
The server needs to return a HTTP 404 (Not Found) when an API key that does not exist is deleted.
2021-04-28 13:30:09 +02:00
Alex Khomenko
1336a57e99
Grafana-UI: Export Card container styles ( #33386 )
...
* Export Card container styles
* Export CardContainer as a separate component
* Update story
* Remove tooltip
2021-04-28 13:41:20 +03:00
Uchechukwu Obasi
0d1cdbe227
DataLinksSuggestion: updates component with the new theme model ( #33390 )
...
* updates component with the new theme model
* uses correct new theme property
* removes constant variables and inlined their usage
2021-04-28 11:17:10 +01:00
Joan López de la Franca Beltran
c41b08bd59
Settings: Encapsulate settings within an extensible provider ( #32219 )
...
* Encapsulate settings with a provider with support for runtime reloads
* SettingsProvider: reload is controlled by the services
* naive impl of reload handlers for settings
* working naive detection on new changes
* Trigger settings reload from API endpoint
* validation step added
* validation of settings
* Fix linting errors
* Replace DB_Varchar by DB_NVarchar
* Reduce settings columns (section, key) lenghts
* wip db update logic
* Db Settings: separate updates and removals
* Fix: removes incorrectly added code
* Minor code improvements
* Runtime settings: moved oss -> ee
* Remove no longer used setting.Cfg SAML-related fields
* Rename file setting/settings.go => setting/provider.go
* Apply suggestions from code review
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* Minor code improvements on OSS settings provider
* Fix some login API tests
* Correct some GoDoc comments
* Apply suggestions from code review
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
Co-authored-by: Leonard Gram <leo@xlson.com>
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
2021-04-28 11:26:58 +02:00
Domas
df4181c43a
Alerting: edit receivers (grafana) ( #33327 )
2021-04-28 12:22:48 +03:00
Sofia Papagiannaki
7ccb022c03
Alerting: validate condition before updating rulegroup ( #33367 )
...
* Alerting: validate condition before updating rulegroup
* Apply suggestions from code review
2021-04-28 11:31:51 +03:00
Uchechukwu Obasi
643e7af3e0
Collapse: updates component to use the new theme model ( #33326 )
...
* updates component to use the new theme model
* updates ssome old style to use new theme
* uses correct theme color property
* updates new theme style with correct naming
2021-04-28 10:07:01 +02:00
kay delaney
780b776387
BasicAuthSettings: Update styles to use emotion and new theming ( #33164 )
...
* BasicAuthSettings: Update styles to use emotion and new theming
* Use InlineField
2021-04-28 10:04:26 +02:00
Uchechukwu Obasi
faa80003b9
DataLinksInlineEditor: updates component with the new theme model ( #33391 )
2021-04-28 10:01:18 +02:00
Oscar Kilhed
6c7290164e
Fix datalink suggestions ( #33411 )
2021-04-28 09:58:53 +02:00
Conor Evans
18db387387
Add total data sources to admin stats ( #33051 )
...
Signed-off-by: Conor Evans <coevans@tcd.ie>
2021-04-28 09:56:26 +02:00
Ryan McKinley
fac335ee7f
JSON: make the dashboard JSON editor as big as possible ( #33453 )
...
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
2021-04-28 09:52:26 +02:00
Zoltán Bedi
70bafc2725
GraphNG: Fix exemplars window position ( #33427 )
2021-04-28 09:37:35 +02:00
Torkel Ödegaard
3a93313f75
Frontend: Auto reload page when chunk is not found ( #33445 )
2021-04-28 09:31:52 +02:00
Hugo Häggmark
20ee0e9601
LibraryPanels: Adds panel type filter and sorting ( #33425 )
...
* Wip: inital commit
* Chore: updating api
* Refactor: adds description search and sorting
* Refactor: adds panel filtering
* Refactor: limits the height of select
* Tests: updates snapshot
* Refactor: small UI improvements
2021-04-28 09:18:13 +02:00
dependabot[bot]
eaf7decf5a
Chore(deps): Bump google.golang.org/api from 0.44.0 to 0.45.0 ( #33366 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.44.0 to 0.45.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/master/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.44.0...v0.45.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-28 08:56:40 +02:00
Nathan Rodman
1913d304a3
Alerting: Add silences table ( #33138 )
...
* Create table for silences
* Style table to figma designs
* Add rules table to silences
* Rebase with new rules table
* Remove redundant reducer
* fetch alertmanager alerts (#33142 )
* fetch alertmanager alerts
* show the alerts json
* Use matching alerts from alertmanager api
* Add handle to expire silence
* Get silenced alerts closer to figma designs
* fix expire silence endpoint typo
* Style affected alerts table
* Add default empty string for alertmanager source
Co-authored-by: Domas <domasx2@gmail.com>
2021-04-27 13:46:34 -07:00
Kyle Brandt
968935b8b7
TestData: Change predictable csv scenario to multi-series ( #33442 )
...
Allow multiple series in Predictable CSV Wave testdata scenario
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2021-04-27 16:35:43 -04:00
Kyle Brandt
b590e95682
AlertingAPI: Change list response query prop ( #33419 )
...
* Alerting: change to full []AlertQuery as json in a string and not just model.
2021-04-27 22:15:00 +02:00
Josh Hunt
a13c5380a7
Grafana-UI: Switch CodeEditor to UMD @monao-editor/react ( #33204 )
...
* Grafana-UI: Switch CodeEditor to @monao-editor/react
* update copy script and paths
* hide context menu
* use __grafana_public_path__
* Fix value and language not updating
* update jaeger tsconfig
* update tsconfig
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2021-04-27 17:34:56 +01:00
Giordano Ricci
ea3d3a2218
Grafana-UI: Fix options margin when spanning on multiple lines ( #33436 )
2021-04-27 17:24:40 +01:00
Vardan Torosyan
5bf6d7dad8
Access control: Update evaluator to authorize when at least one of the scopes is a match ( #33393 )
2021-04-27 18:22:18 +02:00
Kevin Minehart
43bfa2801c
Documentation: Update Grafana Enterprise caching documentation ( #33398 )
...
* update caching documentation
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
2021-04-27 11:06:25 -05:00
Ganesh Vernekar
467ab124dd
NGAlert: Fix GET for Alertmanager config ( #33379 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2021-04-27 20:48:19 +05:30
Alexander Emelin
50795bc760
live: better comment, code style, show disconnect reason ( #33430 )
2021-04-27 17:01:12 +02:00
Uchechukwu Obasi
3725654b38
CallToActionCard: updates component to use the new theme model ( #33309 )
...
* updates component to use the new theme model
* fixes frontend test
2021-04-27 15:52:47 +01:00
Uchechukwu Obasi
fce40fff63
updates component with the new theme model ( #33387 )
2021-04-27 15:51:57 +01:00
Kyle Brandt
adcba36d39
AlertingAPI: update swagger json files match datasourceUid change ( #33332 )
...
* update swagger json files match datasourceUid change
underlying change made in https://github.com/grafana/grafana/pull/33282
* Document DatasourceUID field in AlertQuery model
* Run spec generation from inside a docker container
* Generate latest spec
Co-authored-by: Sofia Papagiannaki <sofia@grafana.com>
2021-04-27 16:50:30 +02:00
dependabot[bot]
2466565862
Chore(deps): Bump actions/cache from v2.1.4 to v2.1.5 ( #32925 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from v2.1.4 to v2.1.5.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2.1.4...1a9e2138d905efd099035b49d8b7a3888c653ca8 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-27 16:43:41 +02:00
Will Browne
6958340b24
Plugins: Support installing to folders with whitespace and fix pluginUrl trailing and leading whitespace failures ( #32506 )
...
* Plugins: Support installing to folders with whitespace and fix pluginUrl trailing and leading whitespace failures
* update docs
* update docs
2021-04-27 16:30:59 +02:00
Alexander Emelin
e6f9f65fdf
Live: use ReqSignedIn middleware for ws routes ( #33381 )
2021-04-27 16:19:36 +02:00
Ivana Huckova
084066c712
Prometheus: Support POST in template variables ( #33321 )
...
* If POST, pass params as data not in url string
* Fix metricNameAndLabelsQuery
* Improve test for new functionality
* Add multiple parameters in test scenarios
* Change urlParams to object
2021-04-27 16:16:48 +02:00
kay delaney
ed3b87f165
Library Panels: Change wording of ChangeLibraryPanelModal ( #33424 )
...
"Changing library panel" -> "Replace with library panel"
2021-04-27 15:14:31 +01:00
kay delaney
2a8c36c976
Library Panels: Reset config rev after saving changes ( #33422 )
2021-04-27 15:14:21 +01:00
Torkel Ödegaard
d5465e5c6a
Cards: Fix margins in old card styles ( #33421 )
2021-04-27 15:54:33 +02:00
Torkel Ödegaard
eef4e18b62
Theme: Use outline buttons for Cancel & Back actions ( #33418 )
...
* Buttons: Use new outline button for cancel & back buttons
* More buttons
* More tweaks
* Updated row snapshot
2021-04-27 15:36:48 +02:00
Domas
e8faec5c19
Alerting: create/edit notification templates ( #33225 )
2021-04-27 16:28:53 +03:00
Torkel Ödegaard
5d855dbf33
Theme: Fixes to time picker calendar & variable dropdowns & more ( #33407 )
...
* More theme fixes
* more updates
* Fixed alerts in explore
2021-04-27 15:13:08 +02:00
Owen Diehl
86c8eed386
Instrument/ruler api ( #33290 )
...
* ruler api histogram instrumentation
* register ruler metrics
2021-04-27 08:25:32 -04:00
Ganesh Vernekar
be1affe0a4
NGAlert: Fix flaky test ( #33415 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2021-04-27 17:03:22 +05:30
Kyle Brandt
f5efe97763
SSE: limit allowed input/output to/from classic conditions ( #33337 )
...
* add tests for graph and specific cases in this pr
2021-04-27 07:22:11 -04:00
Oscar Kilhed
83d24b5aee
Cleans up piechart options ( #33375 )
...
Cuts thresholds
Cuts display all values
2021-04-27 12:20:45 +02:00
Jack Westbrook
45fa5fdf48
Buttons: introduce buttonStyle prop ( #33384 )
...
* Wip
* Updates to colors to make secondary outline work
* refactor: prefer buttonStyle="text" over variant="link" for text buttons
* revert(button): put back mdx story page
* fix(button): variant link disabled as text disabled
* docs(button): remove link variant from stories
* feat(grafana-ui): introduce basic deprecation notice for button and linkbutton components
* docs(button): update usage of href with button and buttonlink
* feat(button): add grafana/ui to deprecation warning
* refactor(buttons): use a more descriptive name for prop warning function
* test(buttonrow): update snapshots
* refactor(buttons): change prop name from buttonStyle to fill
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2021-04-27 12:03:06 +02:00
Carl Bergquist
58a325a4e4
Instrumentation: Add success rate metrics for email notifications ( #33359 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2021-04-27 11:15:07 +02:00
Torkel Ödegaard
759a501564
Singlstat: Fixes all the singlestat migration issues by moving it to DashboardMigration ( #33349 )
...
* Singlstat: Fixes all the singlestat migration issues by doing during DashboardMigration
* fixes
* Updated snapshot
2021-04-27 10:09:37 +02:00
Hugo Häggmark
ca85012865
Annotations: Adds loading indicators and cancellation ( #33404 )
2021-04-27 10:03:52 +02:00
Piotr Jamróz
3ee925610a
Use either moment objects (for absolute times in the datepicker) or string (for relative time) ( #33315 )
2021-04-27 09:55:22 +02:00