Commit Graph

55481 Commits

Author SHA1 Message Date
Dominik Broj
cfbeea4ce7
Chore: Setup live reloading (#97248)
* setup live reloading

* put live-reloading behind cli flag, remove webpack.hot.js

* use env.liveReload

* fix lint

---------

Co-authored-by: joshhunt <josh@trtr.co>
2024-12-02 12:58:50 +00:00
Ryan McKinley
219411f894
K8s: Upgrade v0.31.1 -> v0.31.3 (#96964) 2024-12-02 12:49:24 +02:00
renovate[bot]
8752322b95
Update dependency @react-types/button to v3.10.1 (#97235)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-02 10:43:56 +00:00
horacimacias
54d183949e
doc: Fix spacing in sample values for enabling persistence (#97220)
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com>
2024-12-02 12:42:04 +02:00
renovate[bot]
3ff4f23f2f
Update dependency @react-awesome-query-builder/ui to v6.6.4 (#97233)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-02 10:21:24 +00:00
Gaurav Soni
6a9e72de51
Update index.md to add a note about provisioned data source (#97221)
Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com>
2024-12-02 09:54:34 +00:00
Jack Westbrook
36d8688e1b
Chore: Rewrite git ignores for yarn related files (#97182)
chore(git): rewrite yarn ignores so dependabot can commit to .yarn/releases
2024-12-02 10:43:06 +01:00
renovate[bot]
21117c85dd
Update dependency @leeoniya/ufuzzy to v1.0.17 (#97226)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-02 09:35:09 +00:00
Karl Persson
7b25804b55
K8s: Register group and kinds to internal version to fix apply (#97184)
* K8s: Register group and kinds to internal version to fix apply
2024-12-02 10:32:34 +01:00
renovate[bot]
14b49a0f61
Update dependency @grafana/plugin-e2e to v1.12.3 (#97183)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-02 09:14:45 +00:00
renovate[bot]
fd510598bb
Update dependency @grafana/faro-web-tracing to v1.12.2 (#97172)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-02 09:13:15 +00:00
Jack Westbrook
8915e03f56
Yarn: Dedupe lock file and fix swc errors (#97202)
* chore(yarn): dedupe lock file and fix swc errors

* chore(renovate): remove swc/core from ignore list
2024-12-02 09:38:45 +01:00
Tom Ratcliffe
6d2828f267
Alerting: Add retry and bump timeout on flakey policies test (#97208)
Add retry and bump timeout on flakey policies test
2024-11-29 19:00:03 +02:00
Sergej-Vlasov
174e9ae193
Update to scenes 5.28.1 (#97204)
update to scenes 5.28.1
2024-11-29 17:56:42 +02:00
Tobias Skarhed
99395b62d4
MultiCombobox: Add basic controlled functionality (#97117)
* Add basic controlled functionality

* Fix controlled component

* Make component completely controlled

* Fix PR feedback

* Add support for number values and values not in options

* Fix TS errors

* Fix test feedback

* Extract function
2024-11-29 16:09:38 +01:00
Andres Martinez Gotor
e0935246a3
Preinstall: Allow to set a download URL (#96535) 2024-11-29 16:02:33 +01:00
Sven Grossmann
b544b8afff
Loki: Fix a bug when reading frames without values but warnings (#97197)
* Loki: Fix a bug when reading frames without values but warnings

* Loki: Better bail if fields are less than 2
2024-11-29 15:34:59 +01:00
grafana-pr-automation[bot]
0def6f2bce
I18n: Download translations from Crowdin (#97195) 2024-11-29 13:53:17 +00:00
Levente Balogh
cce943b3af
Plugin Extensions: Only load app plugins when necessary (#86624)
* feat(plugins): automatically preload plugins

This PR enables auto-preloading for plugins when they are used
by an extension or extension-point. Once this change is merged plugins
that were only using "preload: true" in their plugin.json for using extensions
can remove it.

* fix: remove unused types

* fix: call `setComponentsFromLegacyExports()` after meta is initialised
2024-11-29 14:05:55 +01:00
Tom Ratcliffe
a2c407854f
Alerting: Make alert rule policies preview use k8s API (#97070)
* Add translations for notification preview

* Make notifications endpoints use alertmanager config mock entity

* Fix translations and error handling in preview component

* Update preview hook to use new k8s APIs

* Move receivers k8s mock logic so it always comes from the mock config

* Fix test that wasn't using the correct receiver

* Fix object_matchers

* Remove mockApi method and update tests

* Update translation for error case

* Remove useMemo
2024-11-29 13:05:41 +00:00
Robby Milo
1c60d51905
add deploy preview workflow (#97140)
* add deploy preview workflow

* remove unnecessary file to trigger build

* fix repo

* change ref

* change ref

* update docs

* update codeowners

* Update docs/README.md

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

---------

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2024-11-29 10:19:06 +01:00
renovate[bot]
3d47dc8e5f
Update Yarn to v4.5.3 (#96972)
* Update Yarn to v4.5.3

* updated yarn version.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2024-11-29 10:52:25 +02:00
Victor Marin
61077f387e
Fix default case for allowCustomValue flag in MultiValue variables (#96996)
* Fix default case for allowCustomValue flag in MultiValue variables

* fix test
2024-11-29 10:38:19 +02:00
grafana-pr-automation[bot]
5f385632da
I18n: Download translations from Crowdin (#97180)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-29 07:29:41 +02:00
Stephanie Hingtgen
63a09c27f7
Chore: remove frontend code that retrieves by folder id (#97066) 2024-11-28 22:12:52 -06:00
Alexa V
c7a5f96ce7
Dashboard: Schema V2 - remove code in sharing export (#97164)
Dashboard: Schema V2 - remove code in sharing export related to schema v2 POC
2024-11-28 19:28:40 +01:00
Ieva
2c77b7ae3d
GAS: swagger update (#97155)
swagger update
2024-11-28 17:52:59 +00:00
Misi
fa634e1476
Fix: Do not fetch Orgs if the user is authenticated by apikey/sa or render key (#97162)
* Do not fetch Orgs if the user is authenticated by apikey/sa or render svc

* Lint
2024-11-28 17:44:11 +01:00
Ieva
cc0ec349a4
RBAC: Allow passing in user UID when searching for user's permissions (#97125)
* allow passing in user UID instead of ID when searching for user's permissions

* fix tests
2024-11-28 16:36:26 +00:00
renovate[bot]
2fdac80488
Update dependency @prometheus-io/lezer-promql to v0.300.0 (#96532)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-28 16:38:25 +01:00
Karl Persson
d64c938749
K8s: Make it possible to register several kinds for a GroupVersion (#97161)
* Make it possible to register several kinds for a GroupVersion
2024-11-28 16:31:05 +01:00
Karl Persson
c5d3f8644e
K8s: Set custom config (#97169)
Set custom config
2024-11-28 16:30:43 +01:00
Andres Martinez Gotor
a41902330f
@grafana/runtime: User storage (#95834) 2024-11-28 15:49:34 +01:00
dependabot[bot]
fb0fff6de1
Bump smol-toml from 1.3.0 to 1.3.1 (#96942)
Bumps [smol-toml](https://github.com/squirrelchat/smol-toml) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/squirrelchat/smol-toml/releases)
- [Commits](https://github.com/squirrelchat/smol-toml/commits)

---
updated-dependencies:
- dependency-name: smol-toml
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-28 15:22:36 +01:00
Torkel Ödegaard
335241d93d
ElementSelection: New element selection context to support selecting elements (#97029)
* ElementSelection: New element selction context to support selecting elements like panels

* Update

* Update
2024-11-28 15:06:00 +01:00
dependabot[bot]
6974f77d18
Chore(deps): Bump @eslint/plugin-kit from 0.2.0 to 0.2.3 (#96589)
Bumps [@eslint/plugin-kit](https://github.com/eslint/rewrite) from 0.2.0 to 0.2.3.
- [Release notes](https://github.com/eslint/rewrite/releases)
- [Changelog](https://github.com/eslint/rewrite/blob/main/release-please-config.json)
- [Commits](https://github.com/eslint/rewrite/compare/core-v0.2.0...plugin-kit-v0.2.3)

---
updated-dependencies:
- dependency-name: "@eslint/plugin-kit"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-28 14:02:34 +00:00
dependabot[bot]
33bdfb4d72
Chore(deps): Bump cross-spawn from 7.0.3 to 7.0.6 (#96654)
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-28 15:01:32 +01:00
Jack Westbrook
25da5f0806
Chore: Bump Storybook to 8.4.x (#96128)
* feat(storybook): upgrade to version 8.4

* chore(grafana-ui): replace all usage of preview with canvas

* chore(grafana-ui): add fs-extra as dev dependency

* feat(storybook): copy required assets to temp static directory due to 8.4 not supporting file paths

* chore(yarn): fix up lock file so swc-loader doesnt break for decoupled plugins

* Add ExampleFrame component to render grafana-ui examples

* Prevent Storybook from styling in ExampleFrame

* Use global styles in Storybook docs

* Update mdx docs to use ExampleFrame or correct Canvas usage

* update AutoSizeInput

* Update Index mdx

* remove the gfm mdx package

* silence sass warnings

* fix(storybook): add missing imports to fix failed rendering of stories/docs

* remove empty docs

---------

Co-authored-by: joshhunt <josh@trtr.co>
2024-11-28 14:58:36 +01:00
Jack Westbrook
10eec83478
Grafana UI: Compress grot-cta image (#97052)
* chore(grafana-ui): reduce size of grot-cta

* chore(grafana-ui): apply less aggressive compression on grot-cta
2024-11-28 14:51:20 +01:00
Karl Persson
b2626a2d65
LoginAttempt: Add setting to control max number of attempts before user login gets locked (#97091)
* Add setting to adjust number of login attempts before user login gets locked

* Ensure at least one attempt can be made

* Update documentation with new setting

* Update docs/sources/setup-grafana/configure-grafana/_index.md

Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com>
2024-11-28 14:33:18 +01:00
Matheus Macabu
f2b96593ea
SQL: close rows to release connection (#97147)
* SQL: close rows to release connection

* dont return err from rows.Close()
2024-11-28 14:28:55 +01:00
Victor Marin
0bf9d68070
DashboardScene: Fix layout issues with repeated panels when repeatDirection is missing (#97149)
fix
2024-11-28 14:26:36 +02:00
Georges Chaudy
f6124344ba
authnz: Fix panic in the authenticator and rename metric (#97150)
* Fix: panic

* suggestion
2024-11-28 14:03:54 +02:00
Konrad Lalik
5e5fa86b8b
Alerting: Fix go template parsing (#97145)
Co-authored-by: Sonia Aguilar <sonia.aguilar@grafana.com>
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2024-11-28 13:29:45 +02:00
Pepe Cano
59d4b91e4c
Alerting: Explore button in Insights view (#96496)
* Alerting: Explore button in Insights view

* Fix wrong insights queries

* replace `$rule_group` in the query expression with the actual rule group value

* Add info tooltip in `Insights` title

* Remove unused `RatingModal` component

* fix betterer results

* remove unnecessary `React.Fragment`

* Remove unnecessary text space
2024-11-28 13:18:45 +02:00
Haris Rozajac
4721d5164b
Dashboard Schema v2: Transformation to v2 supports annotations (#96787)
* Annotations

* Default to configured default DS when datasource is undefined

---------

Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
Co-authored-by: alexandra vargas <alexa1866@gmail.com>
2024-11-28 12:36:09 +02:00
Ethan
a4fff11438
Update project URL For Security Labels (#96405)
* Update project URL in .github/commands.json

* update type/build-packaging project

---------

Co-authored-by: tonypowa <tonypowa@gmail.com>
2024-11-28 11:58:52 +02:00
Kévin Gomez
c8d3ea58f8
Support importing local cue modules when generating TS types with cog (#96876)
* Support importing local cue modules when generating TS types with cog

* Generate enums as unions of values instead of an actual `enum` statement

* Update transformers to use the new TS enums

* Update go workspaces

---------

Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
2024-11-28 10:45:31 +01:00
Alexander Zobnin
c8caf787d4
Zanzana: handle service accounts (#97123)
* add service account to the schema

* sync managed permissions for service accounts

* sync SA basic roles

* sync SA roles

* Fix endless loop in reconciler while read openfga
2024-11-28 10:41:30 +01:00
Mihai Doarna
feecd30687
API key: Fix API key migration to service account (#97100)
fix api key migration to service account
2024-11-28 09:42:58 +02:00