Commit Graph

51537 Commits

Author SHA1 Message Date
Mihai Doarna
d83288b8c5
Docs: Improve the SSO settings API docs (#87599)
* improve SSO settings API docs

* address feedback
2024-05-31 11:22:54 +03:00
Sofia Papagiannaki
17ca61d7f8
Alerting: Export and provisioning rules into subfolders (#77450)
* Folders: Optionally include fullpath in service responses
* Alerting: Export folder fullpath instead of title
* Escape separator in folder title
* Add support for provisiong alret rules into subfolders
* Use FolderService for creating folders during provisioning
* Export WithFullpath() folder service function

---------

Co-authored-by: Tania B <yalyna.ts@gmail.com>
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com>
2024-05-31 11:09:20 +03:00
Mihai Doarna
e1aedb65b3
SSO: Add oldSettings param to the Validate function from SSO settings (#88245)
* add oldSettings param to the Validate function from SSO settings

* update unit tests adding the missing param to Validate
2024-05-31 11:08:52 +03:00
Joseph Perez
9d8052830f
Docs: Edit of "ISSUE_TRIAGE" and other topics (part 3 of doc quality project) (#88106)
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2024-05-31 08:31:53 +01:00
Jon Cole
ba4c1fcf76
AzureMonitor: Retrieve Azure clouds from SDK (#87944)
* AzureMonitor: get the list of azure clouds from the SDK instead of from a hard coded list

* add azure-sdk to yarn.lock

* merge legacy with custom options

* Normalize legacy cloud names

* Workaround: send new credential format to backend while we wait to migrate to the new format

* Lint fix

* resolveLegacyCloudName should not return undefined

* re-add undefined handling in resolveLegacyCloudName so that we fallback to getDefaultAzureCloud when not defined

---------

Co-authored-by: Jeremy Angel <jeremyangel@microsoft.com>
Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
2024-05-30 23:40:05 +01:00
Drew Slobodnjak
1c339db7ad
Geomap: Improve Pan and Zoom Performance (#88202)
* Geomap: Improve pan and zoom performance

* Remove unused code
2024-05-30 14:41:59 -07:00
Nick Richmond
7ec93edec1
ExploreMetrics: Adjust wording to improve clarity (#88319)
refactor: change wording add clarity
2024-05-30 16:00:57 -04:00
Joseph Perez
2c8e869799
Docs: Edit of README and other topics in Contribute (part 1 of doc quality project) (#85832)
* Docs: Technical edit of 4 files in Contributing

* Fix admonitions

* Fix admonition

* Fix from code review

* Fix from code review

* Update contribute/create-pull-request.md

* Update contribute/merge-pull-request.md

Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com>

* Minor fix

* Update contribute/merge-pull-request.md

Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com>

* Update contribute/merge-pull-request.md

Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com>

* Update contribute/merge-pull-request.md

Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com>

* Update contribute/merge-pull-request.md

Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com>

* Update contribute/merge-pull-request.md

Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com>

* Fix from code review

* Update contribute/triage-issues.md

Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com>

* Run prettier

---------

Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2024-05-30 10:41:02 -07:00
Nick Richmond
fddf77ee35
CodeEditor: Fix broken styles (#88495)
* fix: remove erroneous container

* fix: update selector

* fix: pass data attrs via `wrapperProps`

* fix: ensure `toBeInTheDocument` checks have unique markup
2024-05-30 20:34:00 +03:00
Matthew Jacobson
09cb3a6048
Alerting: Add optional metadata via query param to silence GET requests (#88000)
* Alerting: Add optional metadata to GET silence responses

- ruleMetadata: to request rule metadata.
- accesscontrol: to request access control metadata.
2024-05-30 12:04:47 -04:00
Ashley Harrison
413013a000 update results file 2024-05-30 17:10:10 +03:00
renovate[bot]
9a0482e7f2 Update dependency eslint-plugin-no-barrel-files to v1.1.1 2024-05-30 17:10:10 +03:00
Misi
ed6b3e9e7c
Auth: Introduce pre-logout hooks + add GCOM LogoutHook (#88475)
* Introduce preLogoutHooks in authn service

* Add gcom_logout_hook

* Config the api token from the Grafana config file

* Simplify

* Add tests for logout hook

* Clean up

* Update

* Address PR comment

* Fix
2024-05-30 15:52:16 +02:00
renovate[bot]
de201c5cdd Update dependency eslint-plugin-jsdoc to v48.2.7 2024-05-30 13:34:49 +00:00
Edvard Falkskär
24d65fa32f
Docs: How to access Grafana in fundamentals tutorial (#88488)
* Docs: How to access Grafana in fundamentals tutorial

* All pretty, no pity

* note on login

---------

Co-authored-by: tonypowa <tonypowa@gmail.com>
2024-05-30 15:04:17 +02:00
renovate[bot]
e3fac9bf72 Update dependency dompurify to v3.1.4 2024-05-30 13:02:45 +00:00
Ivan Ortega Alba
c5ae0bbba2
Scenes: Update to latest 4.23.1 -> 4.24.4 (#88485)
# v4.24.4 (Thu May 30 2024)

#### 🐛 Bug Fix

- `@grafana/scenes`
  - VizPanelRenderer: Emit SetPanelAttention event [#716](https://github.com/grafana/scenes/pull/716) ([@tskarhed](https://github.com/tskarhed))

#### Authors: 1

- Tobias Skarhed ([@tskarhed](https://github.com/tskarhed))

---

# v4.24.3 (Thu May 30 2024)

#### 🐛 Bug Fix

- `@grafana/scenes`
  - Macros: Resolve browser timezone for `$__timezone` [#759](https://github.com/grafana/scenes/pull/759) ([@ivanortegaalba](https://github.com/ivanortegaalba))
  - Variables: Prioritize showing adhoc variable key and operator [#750](https://github.com/grafana/scenes/pull/750) ([@oscarkilhed](https://github.com/oscarkilhed))

#### Authors: 2

- Ivan Ortega Alba ([@ivanortegaalba](https://github.com/ivanortegaalba))
- Oscar Kilhed ([@oscarkilhed](https://github.com/oscarkilhed))

---

# v4.24.2 (Wed May 29 2024)

#### 🐛 Bug Fix

- `@grafana/scenes`
  - MultiValueVariable: Fixes issue when value is all value but all value is not enabled [#757](https://github.com/grafana/scenes/pull/757) ([@torkelo](https://github.com/torkelo) [@ivanortegaalba](https://github.com/ivanortegaalba))

#### Authors: 2

- Ivan Ortega Alba ([@ivanortegaalba](https://github.com/ivanortegaalba))
- Torkel Ödegaard ([@torkelo](https://github.com/torkelo))

---

# v4.24.1 (Tue May 28 2024)

#### 🐛 Bug Fix

- Plugin.json: update schema reference URL in scenes-app [#754](https://github.com/grafana/scenes/pull/754) ([@leventebalogh](https://github.com/leventebalogh))
- `@grafana/scenes`
  - Allow drag and dropping rows in valid states [#756](https://github.com/grafana/scenes/pull/756) ([@mdvictor](https://github.com/mdvictor))
  - fix: undefined check on RefreshPicker.autoOption [#751](https://github.com/grafana/scenes/pull/751) ([@darrenjaneczek](https://github.com/darrenjaneczek))

#### Authors: 3

- Darren Janeczek ([@darrenjaneczek](https://github.com/darrenjaneczek))
- Levente Balogh ([@leventebalogh](https://github.com/leventebalogh))
- Victor Marin ([@mdvictor](https://github.com/mdvictor))

---

# v4.24.0 (Mon May 27 2024)

#### 🚀 Enhancement

- `@grafana/scenes`
  - SceneFlexLayout: Min width/height option was ignored [#749](https://github.com/grafana/scenes/pull/749) ([@edvard-falkskar](https://github.com/edvard-falkskar))

#### Authors: 1

- Edvard Falkskär ([@edvard-falkskar](https://github.com/edvard-falkskar))

---
2024-05-30 15:02:31 +02:00
renovate[bot]
fabed77d1f Update dependency css-loader to v7.1.2 2024-05-30 12:44:55 +00:00
Misi
8a98e29fba
Docs: Update Okta docs (#88352)
* Update Okta docs

* Fixes

* Improvements
2024-05-30 14:42:24 +02:00
Carl Bergquist
6c79f63c04
Auth: Pass ctx when updating last seen (#88496)
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2024-05-30 14:25:54 +02:00
renovate[bot]
4b62be37f5 Update dependency core-js to v3.37.1 2024-05-30 12:11:46 +00:00
Kristin Laemmert
876ed9bf0b
chore: decrease frequency of updating last_seen (#88461) 2024-05-30 08:09:22 -04:00
kay delaney
8f45003192
LibraryPanels/RBAC: Ignore old folder permission check when deleting/patching lib panel (#88422)
* LibraryPanels/RBAC: Ignore old folder permission check when deleting lib panel

* Same for patching
2024-05-30 12:23:20 +01:00
Sofia Papagiannaki
4f999f2b6c
Dashboards: Fix regression when deleting folder (#88311)
* Fix regression when deleting folder

* Apply suggestion from code review
2024-05-30 14:21:34 +03:00
Gilles De Mey
f6a1ed3581
Alerting: Replace Strong component (#88186) 2024-05-30 13:05:37 +02:00
Konrad Lalik
93870c1cd8
Alerting: Use new endpoints to fetch single GMA rule on view and edit pages (#87625) 2024-05-30 12:55:06 +02:00
brendamuir
b07b6771e8
Alerting docs: adds pause and resume evaluation (#88489) 2024-05-30 12:47:38 +02:00
renovate[bot]
0c572e8db7 Update dependency @types/node to v20.12.13 2024-05-30 10:45:34 +00:00
Laura Fernández
98dcb3818c
Chore: Add no-untranslated-strings rule to betterer (#88479) 2024-05-30 12:45:22 +02:00
Gilles De Mey
b7db268798
Alerting: Correctly handle duplicating notification templates (#88487)
Co-authored-by: Alex Petrov <alex.petrov.vt@gmail.com>
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com>
Co-authored-by: Alex Petrov <apetrov@fastly.com>
2024-05-30 12:43:03 +02:00
renovate[bot]
c5c38b57c4 Update dependency @types/lodash to v4.17.4 2024-05-30 09:52:46 +00:00
Josh Hunt
5190e68ab1
Chore: Refactor betterer eslint to use overrides (#88442)
* Chore: Refactor betterer eslint to use overrides

* more comments
2024-05-30 10:09:30 +01:00
Sonia Aguilar
650f291054
Gops: Fix incidents url adding plugin twice in it (#88472)
Fix incidents url adding plugin twice in it
2024-05-30 11:05:20 +02:00
Yasir Ekinci
56a544668f
DashboardAI: Reformat prompts to have a single system prompt (#88429) 2024-05-30 02:46:05 -06:00
Agnès Toulet
d12c808279
Docker: Fix renderer plugin in custom Dockerfile (#88223)
* Docker: fix renderer plugin in custom Dockerfile

* Update Dockerfile
2024-05-30 10:27:26 +02:00
Tom Ratcliffe
5bb7d4da4c
Alerting: Remove regex reference in silences filter tooltip (#88455) 2024-05-30 09:05:34 +01:00
Ieva
1c2ae2c72d
Dashboards: Correctly display Admin access to dashboards in the UI (#88439)
* include folder wildcard scope in dash permission inheritance

* Update pkg/services/accesscontrol/ossaccesscontrol/permissions_services.go

Co-authored-by: Karl Persson <kalle.persson@grafana.com>

---------

Co-authored-by: Karl Persson <kalle.persson@grafana.com>
2024-05-30 10:06:01 +03:00
Diego Augusto Molina
990ad860df
Chore: Allow using the Go race detector locally (#88380)
* use the Go race detector for local testing only

* add recipe to check if Go race detector is enabled
2024-05-29 20:34:16 -03:00
Nathan Marrs
98152b2f84
Stat: Add docs for stat percent change color options (#88454)
update docs
2024-05-29 14:13:01 -07:00
Bogdan Matei
011becb39e
Scopes: Use Grafana namespace instead of default (#88451) 2024-05-29 23:48:17 +03:00
Kyle Cunningham
f5346e3e2a
Table Panel: Move inspector into drawer component (#88196)
* Move inspector into drawer component

* Fix up naming

* fix betterer lint issue

---------

Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2024-05-30 03:33:05 +07:00
Nick Richmond
7334f71e09
CodeEditor: Improved styles when the code editor is loading (#88102)
* fix: monaco loading state

* chore: betterer

* test: leverage e2e selectors

* refactor: prefer HOC to wrap with testid

* refactor: add clarity

* docs: add clarity

* refactor: loading messaging

* test: rename vars to improve clarity

* test: rename vars to improve clarity
2024-05-29 15:55:18 -04:00
William Wernert
5de7d4d06d
Alerting: Create writer interface for recording rules (#88459)
* Create writer interface for recording rules

Also create fake impl + use it for stub in scheduler
2024-05-29 22:38:33 +03:00
Joseph Perez
4e99cd2860
Docs: Edit of "Developer Guide" and other topics (part 2 of doc quality project) (#86072)
* Edit deprecation-policy

* Edit drone-pipeline

* Docs: Edit of 4 files, part 2 of quality improvement

* Update contribute/developer-guide.md

* Update contribute/developer-guide.md

Co-authored-by: J Stickler <julie.stickler@grafana.com>

* Changes from feedback

* Properly style UNIX

* Update contribute/drone-pipeline.md

* Update contribute/feature-toggles.md

Co-authored-by: J Stickler <julie.stickler@grafana.com>

* Format with prettier

---------

Co-authored-by: J Stickler <julie.stickler@grafana.com>
2024-05-29 11:08:41 -07:00
Ezequiel Victorero
e81f48ef95
Dashboards: Do not expose datasource name and uid on dashboard external export (#88382)
Co-authored-by: Juan Cabanas <juan.cabanas@grafana.com>
2024-05-29 14:36:48 -03:00
Bogdan Matei
55ea077c3e
Scopes: Select scope even without data retrieval (#87988)
* Scopes: Select scope even without data retrieval

* Pass entire scope and not only the spec to Prometheus

* Enrich ScopeSpec that is sent to Prometheus

* add name to BE

---------

Co-authored-by: Kyle Brandt <kyle@grafana.com>
2024-05-29 20:09:27 +03:00
Señor Performo - Leandro Melendez
8b5c9e3e2a
Docs: Add Installation YouTube Videos to documentation pages. (#88443)
* Added Installation video index.md

* Update index.md adding video for Debian and Ubuntu installs

* Update index.md adding install video in macOS

* Update index.md adding video to install RHEL or Fedora

* Update index.md adding install video for SUSE

* Update index.md adding video for Windows installer
2024-05-29 10:56:15 -06:00
Tom Ratcliffe
3adb07cf4d
Alerting: Make regex notification routing preview consistent with notification policies implementation (#88413)
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2024-05-29 17:04:35 +01:00
renovate[bot]
2a65a8a1d1 Update dependency @reduxjs/toolkit to v2.2.5 2024-05-29 15:42:32 +00:00
renovate[bot]
dfae694cff Update dependency @react-types/shared to v3.23.1 2024-05-29 15:22:25 +00:00