Commit Graph

49488 Commits

Author SHA1 Message Date
Gilles De Mey
388e0c27f2
Alerting: Allow inserting before or after existing policy (#83704) 2024-03-12 13:28:37 +01:00
renovate[bot]
78478dc235
Update dependency @grafana/faro-core to v1.4.2 (#84267)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-12 14:09:47 +02:00
renovate[bot]
2fe9376d12 Update dependency ol-ext to v4.0.17 2024-03-12 11:50:49 +00:00
Josh Hunt
4fc4a1c4a8
Playlists: Fix kiosk mode not activating when starting a playlist (#84262)
* Playlists: Fix Kiosk mode not activating when starting a playlist

* oops remove debugger
2024-03-12 11:48:18 +00:00
renovate[bot]
a883df633e Update dependency @types/react to v18.2.65 2024-03-12 11:30:56 +00:00
Victor Gorchilov
fa6e4bbcd0
Users: Resurrect org picker's search functionality (#78886)
[up] return search for org picker
2024-03-12 13:29:02 +02:00
Eric Leijonmarck
fbfaf8e003
OrgUsers: Refactor change LastSeenAtAge from '10 years' to 'Never' (#84247)
* refactor: change lastseenatage to Never

* removed unncessecary fragments
2024-03-12 12:18:33 +01:00
ismail simsek
c45f96e9de
Chore: Fix feature toggle docs (#84256)
update docs
2024-03-12 12:07:07 +01:00
Alex Khomenko
59fed9278b
Switch: Remove "transparent" prop (#83705)
* Switch: Remove transparent prop

* Cleanup

* Remove redundant prop
2024-03-12 12:51:58 +02:00
Sofia Papagiannaki
22d8258e48
Postgres: Allow disabling SNI on SSL-enabled connections (#83892)
* Postgres: Allow disabling SNI on SSL-enabled connections

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

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>

---------

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2024-03-12 12:03:24 +02:00
Adam Yeats
c2b94429e4
Google Cloud Monitor: Fix res being accessed after it becomes nil in promql_query.go (#84223)
Fix res being accessed after it becomes nil in promql_query.go
2024-03-12 10:38:16 +01:00
renovate[bot]
3085d53802 Update dependency @types/node to v20.11.26 2024-03-12 09:32:25 +00:00
renovate[bot]
6e661fa770
Update babel monorepo to v7.24.0 (#84206)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-12 08:46:11 +00:00
Misi
63f1c30313
Auth: Set the default org after User login (#83918)
* poc

* add logger, skip hook when user is not assigned to default org

* Add tests, move to hook folder

* docs

* Skip for OrgId < 1

* Address feedback

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

* lint

* Move the hook to org_sync.go

* Update pkg/services/authn/authnimpl/sync/org_sync.go

* Handle the case when GetUserOrgList returns error

---------

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: Karl Persson <kalle.persson@grafana.com>
2024-03-12 09:35:13 +01:00
Erik Sundell
8c06c0dea7
Panel edit: Add e2e selectors to input fields (#83246)
add selectors for input fields
2024-03-12 09:17:41 +01:00
Karl Persson
6ea9f0c447
AuthN: Use fetch user sync hook for render keys connected to a user (#84080)
* Use fetch user sync hook for render keys connected to a user
2024-03-12 09:15:14 +01:00
Victor Marin
f50624d257
Scenes: Duplicate library panels (#84159)
duplicate library panels
2024-03-12 10:11:15 +02:00
linoman
298384cea9
Disable skip button when strong password feature is enabled (#84211) 2024-03-12 08:31:52 +01:00
Armand Grillet
e33e219a9a
Remove legacy alerting docs (#84190) 2024-03-12 05:37:41 +01:00
Charandas
da327ce807
K8s: enable insecure to skip server cert validation for now (#84038) 2024-03-12 01:13:14 +02:00
Alexander Weaver
6c5e94095d
Alerting: Scheduler and registry handle rules by an interface (#84044)
* export Evaluation

* Export Evaluation

* Export RuleVersionAndPauseStatus

* export Eval, create interface

* Export update and add to interface

* Export Stop and Run and add to interface

* Registry and scheduler use rule by interface and not concrete type

* Update factory to use interface, update tests to work over public API rather than writing to channels directly

* Rename map in registry

* Rename getOrCreateInfo to not reference a specific implementation

* Genericize alertRuleInfoRegistry into ruleRegistry

* Rename alertRuleInfo to alertRule

* Comments on interface

* Update pkg/services/ngalert/schedule/schedule.go

Co-authored-by: Jean-Philippe Quéméner <JohnnyQQQQ@users.noreply.github.com>

---------

Co-authored-by: Jean-Philippe Quéméner <JohnnyQQQQ@users.noreply.github.com>
2024-03-11 22:57:38 +02:00
Oscar Kilhed
0b2640e9ff
Dashboard scenes: Editing library panels. (#83223)
* wip

* Refactor find panel by key

* clean up lint, make isLoading optional

* change library panel so that the dashboard key is attached to the panel instead of the library panel

* do not reload everything when the library panel is already loaded

* Progress on library panel options in options pane

* We can skip building the edit scene until we have the library panel loaded

* undo changes to findLibraryPanelbyKey, changes not necessary when the panel has the findable id instead of the library panel

* fix undo

* make sure the save model gets the id from the panel and not the library panel

* remove non necessary links and data providers from dummy loading panel

* change library panel so that the dashboard key is attached to the panel instead of the library panel

* make sure the save model gets the id from the panel and not the library panel

* do not reload everything when the library panel is already loaded

* Fix merge issue

* Clean up

* lint cleanup

* wip saving

* working save

* use title from panel model

* move library panel api functions

* fix issue from merge

* Add confirm save modal. Update library panel to response from save request. Add library panel information box to panel options

* Better naming

* Remove library panel from viz panel state, use sourcePanel.parent instead. Fix edited by time formatting

* Add tests for editing library panels

* implement changed from review feedback

* minor refactor from feedback
2024-03-11 20:48:27 +01:00
David Harris
efbcd53119
docs: update angular deprecation notice (#84227)
update docs
2024-03-11 19:17:20 +00:00
Dan Cech
1ffd1cc8f4
Storage: Support listing deleted entities (#84043)
* support listing deleted entities

* fold listDeleted into List
2024-03-11 13:59:54 -04:00
Isabel Matwawana
ffd0bdafe4
Docs: fix broken link (#84103)
* Fixed broken link

* Removed trailing slash

* Ran prettier
2024-03-11 12:57:51 -04:00
Isabel Matwawana
e2cc5e57e5
Docs: add missing alt text (#84102)
Added missing alt text
2024-03-11 12:57:02 -04:00
Tobias Skarhed
5ae9cd561c
Accessibility: Improve HelpModal markup (#83171)
* HelpModal: Make more accessible

* Remove console.log

* Handle custom keys for screen reader

* Rewrite using tables

* Increase gap

* Change order of help categories

* HelpModal: Add tabIndex and imrpove sr-only display
2024-03-11 16:43:55 +00:00
renovate[bot]
3449a43ff2 Update react monorepo 2024-03-11 16:24:00 +00:00
ismail simsek
3fb6319d1b
Prometheus: Introduce prometheus backend library (#83952)
* Move files to prometheus-library

* refactor core prometheus to use prometheus-library

* modify client transport options

* mock

* have a type

* import aliases

* rename

* call the right method

* remove unrelated test from the library

* update codeowners

* go work sync

* update go.work.sum

* make swagger-clean && make openapi3-gen

* add promlib to makefile

* remove clilogger

* Export the function

* update unit test

* add prometheus_test.go

* fix mock type

* use mapUtil from grafana-plugin-sdk-go
2024-03-11 17:22:33 +01:00
Usman Ahmad
cfc7ea92da
corrected the minor details (#84046)
* corrected the minor details

Making minor changes after the PR merged on Data sources and Data source administration.

https://github.com/grafana/grafana/pull/83712

* Apply suggestions from code review

Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>

* Update docs/sources/panels-visualizations/_index.md

Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>

* Ran prettier

---------

Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com>
2024-03-11 16:21:37 +00:00
renovate[bot]
b6c550c524 Update dependency xss to v1.0.15 2024-03-11 15:51:26 +00:00
ismail simsek
3bb38d82ab
Chore: Bump grafana-plugin-sdk-go version to v0.214.0 (#84162)
* bump grafana-plugin-sdk-go version to v0.214.0

* make swagger-clean && make openapi3-gen
2024-03-11 16:49:53 +01:00
renovate[bot]
7d1ea1c655 Update dependency rudder-sdk-js to v2.48.3 2024-03-11 15:30:46 +00:00
Will Browne
225ac8003c
Plugins: Tidy config struct (#84168)
* tidy plugins config usage

* fix tests
2024-03-11 16:28:46 +01:00
Giordano Ricci
0c6b0188c8
Explore: Remove deprecated query option from splitOpen (#83973)
* Chore: remove deplrecated queries option from splitOpen

* make queries option required

* use left pane queries when splitting an existing pane
2024-03-11 15:17:07 +00:00
Karl Persson
9c292d2c3f
AuthN: Use sync hook to fetch service account (#84078)
* Use sync hook to fetch service account
2024-03-11 15:56:53 +01:00
kay delaney
d8b8a2c2b0
Dashboard: Fix issue where out-of-view shared query panels caused blank dependent panels (#83966) 2024-03-11 14:53:59 +00:00
renovate[bot]
dd01743de7 Update dependency react-virtualized-auto-sizer to v1.0.24 2024-03-11 16:50:20 +02:00
Ashley Harrison
b0848c9726
Empty state: Add animation for Grot (#83770)
* add animation for grot not found

* extract default interval out into constant

* improve relative path

* extract magic numbers out into constants + throttle properly

* better width/height definitions

* use consistent background + apply to PageNotFound as well

* increase gap in command palette empty state
2024-03-11 14:46:53 +00:00
Jack Westbrook
d4b43640f3
Revert "Update dependency @swc/core to v1.4.6" (#84186)
* Revert "Update dependency @swc/core to v1.4.6"

This reverts commit 4d7220dbdf.

* chore(renovate): ignore swc/core for time being due to bugs in versions ~1.4.5
2024-03-11 16:33:37 +02:00
renovate[bot]
ad280db89e Update dependency postcss-loader to v8.1.1 2024-03-11 16:28:12 +02:00
Jo
108202f96c
UsageStats: Separate context and threads for usage stats (#83963)
* separate context and threads for usage stats

* use constants

* ignore original context

* fix runMetricsFunc

* fix collector registration

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>

* change background ctx

* fix test randomness

* Add traces to support bundle collector

* Remove unecessay span

* Add trace to usagestats api

* Close spans

* Mv trace to bundle

* Change span name

* use parent context

* fix runtime declare of stats

* Fix pointer dereference problem on usage stat func

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

* fix broken support bundle tests by tracer

---------

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
Co-authored-by: gamab <gabriel.mabille@grafana.com>
Co-authored-by: Karl Persson <kalle.persson@grafana.com>
2024-03-11 15:18:42 +01:00
renovate[bot]
5653518e1a Update dependency ol-ext to v4.0.16 2024-03-11 14:10:54 +00:00
Karl Persson
0b55d72fb5
FeatureToggles: Add feature toggle for sso email verification (#84184)
* FeatureToggles: Add feature toggle for sso email verification

* Rename toggle

* Fix json
2024-03-11 15:09:44 +01:00
renovate[bot]
876030f7a6 Update dependency msw to v2.2.3 2024-03-11 13:50:05 +00:00
github-actions[bot]
c21278397b
I18n: Download translations from Crowdin (#84051)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-11 15:17:13 +02:00
Karl Persson
4272483c54
Auth: Only call rotate token if we have a session expiry cookie (#84169)
Only call rotate token if we have a session expiry cookie
2024-03-11 14:10:03 +01:00
carrychair
0913324668
Chore: Remove repetitive words (#84132)
remove repetitive words

Signed-off-by: carrychair <linghuchong404@gmail.com>
2024-03-11 08:55:18 -04:00
renovate[bot]
2d0fc3ef33 Update dependency mini-css-extract-plugin to v2.8.1 2024-03-11 12:53:41 +00:00
Torkel Ödegaard
8048e1360d
Dashboards: Update scenes lib to 3.10 (#84075)
* Dashboards: Update scenes lib to 3.10

* Update
2024-03-11 13:33:48 +01:00