Alexander Weaver
f6649d7a97
Revert "Alerting: Remove vendored models in migration service" ( #76387 )
...
Revert "Alerting: Remove vendored models in migration service (#74503 )"
This reverts commit 6a8649d544
.
2023-10-11 14:21:21 -05:00
Giordano Ricci
54050be9f6
Explore: Use short units in graphs ( #76358 )
2023-10-11 19:52:19 +01:00
Matthew Jacobson
6a8649d544
Alerting: Remove vendored models in migration service ( #74503 )
...
This PR replaces the vendored models in the migration with their equivalent ngalert models. It also replaces the raw SQL selects and inserts with service calls.
It also fills in some gaps in the testing suite around:
- Migration of alert rules: verifying that the actual data model (queries, conditions) are correct 9a7cfa9
- Secure settings migration: verifying that secure fields remain encrypted for all available notifiers and certain fields migrate from plain text to encrypted secure settings correctly e7d3993
Replacing the checks for custom dashboard ACLs will be replaced in a separate targeted PR as it will be complex enough alone.
2023-10-11 17:22:09 +01:00
Drew Slobodnjak
046e9b7672
Canvas: Button API - Block Calls to Grafana ( #76309 )
...
* Canvas: Button API - Block Calls to Grafana
* Move origin check inside of api logic
* Change grafana url source from href to origin
---------
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-10-11 09:21:02 -07:00
Ryan McKinley
6983af3a70
Playlist: Add an api wrapper for playlist requests ( #76308 )
2023-10-11 19:19:13 +03:00
Torkel Ödegaard
bf7fae4bd3
Tempo: Fix type errors that appeared when removing the "any" type from DataQueryResponseData ( #75600 )
...
* Tempo: Improving typing of data types
* last fix
* Fix
2023-10-11 18:04:54 +02:00
Andrej Ocenas
7329e2dc62
Flamegraph: Fix inefficient regex generating error on some function names ( #76377 )
2023-10-11 17:57:01 +02:00
Dominik Prokop
46dc898a87
Fix container width not being set after latest scenes update ( #76372 )
...
* Fix container width after latest scenes update
* typecheck
2023-10-11 17:56:50 +03:00
Aaron Godin
c2cbb0a924
noBasicRole feature: Change RolePickerInput to not show the "None" role ( #76300 )
...
Change RolePickerInput to only show the basic role when it's not the None role (no basic role feature)
2023-10-11 09:42:09 -05:00
Kyle Cunningham
2049ffc718
Chore: Add grafana-data transformations to BI squad in CODEOWNERS ( #76314 )
...
Add transformations directory to bi-squad
2023-10-11 09:34:19 -05:00
Jo
79b2974215
Teams: Allow Services to register deletes ( #76325 )
...
* add team RegisterDelete
* fix-docs
2023-10-11 15:57:03 +02:00
Torkel Ödegaard
72a1de855c
Schema: Clean up / correct panel schema ( #76346 )
...
* Schema: Clean up / correct panel schema
* fixes
2023-10-11 15:56:42 +02:00
Torkel Ödegaard
bcf850f8bf
DashboardScene: Set maxDataPointsFromWidth to true ( #76319 )
...
* DashboardScene: Set maxDataPointsFromWidth to true
* fix
2023-10-11 15:56:10 +02:00
George Robinson
05e12e787b
Alerting: Add provenance field to /api/v1/provisioning/alert-rules ( #76252 )
...
This commit adds the missing Provenance field to responses for
/api/v1/provisioning/alert-rules.
2023-10-11 14:51:20 +01:00
Horst Gutmann
6b52bb9c27
Chore: Upgrade Go to 1.20.10 ( #76359 )
2023-10-11 16:49:24 +03:00
renovate[bot]
755805597b
Update dependency core-js to v3.33.0 ( #76341 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 14:40:04 +01:00
Ashley Harrison
effd2a1189
Navigation: Split admin into subsections behind navAdminSubsections
feature toggle ( #76280 )
...
* split admin into subsections behind feature toggle
* make authentication a section header
* add translations for subsections
* rename translation keys
* add subtitles
2023-10-11 14:37:36 +01:00
ismail simsek
14d01e2b6e
Prometheus: Remove prometheusResourceBrowserCache feature toggle ( #76172 )
...
* Remove prometheusResourceBrowserCache feature toggle
* Remove prometheusResourceBrowserCache feature toggle from prometheus datasource
* Update tests
2023-10-11 15:18:56 +02:00
Piotr Jamróz
ddb9b64128
Explore: Remove redundant TODO ( #76262 )
...
Remove redundant todo
2023-10-11 15:18:43 +02:00
ismail simsek
bd23757a42
Chore: Reorder InfluxDB languages in combobox ( #76352 )
...
Reorder the languages in combobox
2023-10-11 15:16:21 +02:00
Giuseppe Guerra
123f34c73d
Chore: Bump grafana-plugin-sdk-go to v0.180.0 ( #76349 )
...
Bump grafana-plugin-sdk-go to v0.180.0
2023-10-11 14:43:31 +02:00
Karl Persson
1528d6f5c4
Authn: Prevent empty username and email during sync ( #76330 )
...
* Move errors to error file
* Move check for both empty username and email to user service
* Move check for empty email and username to user service Update
* Wrap inner error
* Set username in test
2023-10-11 14:27:43 +02:00
Torkel Ödegaard
e46e66313d
DashboardScene: Support for Angular panels ( #76072 )
...
* Could work
* it's working
* remove comment
* Update comment
* Make options work
* Progress
* Update panel class name
* Update public/app/angular/panel/AngularPanelReactWrapper.tsx
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
* Fixes
---------
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2023-10-11 14:27:20 +02:00
Erik Sundell
d17f25d8c4
Chore: Remove reference to storybook 6 ( #75815 )
...
remove reference to storybook 6
2023-10-11 14:09:10 +02:00
Khushi Jain
42fb42a90d
PublicDashboards: Add validation deletion ( #75336 )
2023-10-11 11:59:13 +00:00
Karl Persson
3fc925364f
Siningkeys: Fix test setup ( #76333 )
...
* Don't use integration tests for service and init store only once for integration tests
* Set one key as expired in test
2023-10-11 13:50:38 +02:00
Dominik Prokop
6968f4d6ff
DashboardScene: Share snapshot ( #76132 )
...
* Dashboard snapshot creation logic and tests
* Add variable type to serialized json, add refresh prop to datasource var
* WIP Snapshots tab UI
* Use Grafana snapshot query for a generated snapshot
* Make anno snapshots backwards compatible
* Share snapshot tab UI
* Single panel snapshot
* Remove unused param
* Snap update
* Ts fix
* One more snap fix
* Basic rows support
* Add tests for basic rows
* Bettererupdate
2023-10-11 04:24:18 -07:00
Torkel Ödegaard
555acdf180
Drawer: Add 1 grid unit padding between title and tabs ( #76249 )
2023-10-11 13:18:24 +02:00
renovate[bot]
0ec15de905
Update dependency @types/node to v18.18.4 ( #76336 )
...
* Update dependency @types/node to v18.18.4
* fix types
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-10-11 11:08:41 +00:00
renovate[bot]
ae84ec38d5
Update dependency chrome-remote-interface to v0.33.0 ( #76337 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 14:03:14 +03:00
Joao Silva
5f6fea33f2
Chore: Improve typings in OptionsUI and Explore ( #76245 )
2023-10-11 11:43:25 +01:00
Giuseppe Guerra
50504ba008
Plugins: Chore: Renamed instrumentation middleware to metrics middleware ( #76186 )
...
* Plugins: Chore: Renamed instrumentation middleware to metrics middleware
* Removed repeated logger attributes in middleware and contextual logger
* renamed loggerParams to logParams
* PR review suggestion
* Add contextual logger middleware
* Removed unused params from logRequest
* Removed unwanted changes
* Safer FromContext method
* Removed traceID from logParams
2023-10-11 12:42:32 +02:00
Ashley Harrison
abd2c9c287
Navigation: Hide docked menu and dock button on mobile ( #76334 )
...
* hide docked menu and dock button on mobile
* add logic to handle hamburger menu button on mobile
2023-10-11 11:33:15 +01:00
renovate[bot]
58ba11ecbd
Update dependency @testing-library/user-event to v14.5.1 ( #76329 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 11:18:30 +01:00
ismail simsek
9035a498ca
Chore: Export closestIdx function from @grafana/data ( #76176 )
...
* export calculateFieldDisplayName function
* export closestIdx function
* Use getFieldDisplayName
2023-10-11 11:44:36 +02:00
Josh Hunt
8d9ef716fe
I18N: Collect stats on number of untranslated strings in message catalogues ( #76272 )
...
* I18N: Collect stats on number of untranslated strings in message catalogues
* eachLeaf -> eachMessage
* use __dirname
2023-10-11 12:26:39 +03:00
renovate[bot]
a0ab1e4fd7
Update dependency @rollup/plugin-node-resolve to v15.2.3 ( #76261 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 10:18:54 +01:00
renovate[bot]
9d2e8f650b
Update dependency @rushstack/ts-command-line to v4.16.1 ( #76282 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 10:17:05 +01:00
Joey
07b08fc09f
Tempo: Disable show matches only button when no matches ( #76124 )
...
* Disable show matches only button when there are no matches
* Update tests
2023-10-11 09:51:48 +01:00
Oscar Kilhed
608f066ca5
PanelConfig: Add option to calculate min/max per field instead of using the global min/max in the data frame. ( #75952 )
...
* Add option to calculate min max per field
* Fix eslint warnings
* Add back hideFromDefaults that went missing
* whitespace
* Add tests
* Refactor range calculation
* Rename localMinMax -> fieldMinMax
* Remove the lint exceptions
Removing these as to not hide these once we get around to fixing the
underlying typing issue.
* Update docs
2023-10-11 10:50:11 +02:00
Andres Martinez Gotor
1f8b08202e
Chore: Avoid showing plugin version if it's %VERSION% ( #75974 )
2023-10-11 10:49:30 +02:00
João Calisto
d5691e6dd1
Live: Allow setting the engine password ( #76289 )
2023-10-11 09:45:24 +01:00
Joey
9101eb219c
Tempo: Improve UX of service graph related warnings ( #76134 )
...
Improve UX of service graph related warnings
2023-10-11 09:43:05 +01:00
Gábor Farkas
dc8b07d46f
postgres/mysql: improved imports in unit tests ( #75980 )
...
* postgres/mysql: improved imports in unit tests
* simpler mock approach
2023-10-11 10:38:38 +02:00
Nathan Marrs
6184bf21e2
Canvas: Add standard text config options to button element ( #76160 )
...
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2023-10-11 01:53:56 +03:00
Ryan McKinley
c26e3d80e3
Playlist: Add create+update timestamps to the database ( #76295 )
2023-10-10 12:46:12 -07:00
deresolution20
3d84956215
Docs: update raw format for data source variable ( #75488 )
...
* Update index.md
Please see this PR for the breaking change to raw. https://github.com/grafana/grafana/pull/69259
* Update docs/sources/dashboards/variables/variable-syntax/index.md
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Fixed linting error
---------
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-10-10 12:12:58 -07:00
Drew Slobodnjak
5604305271
BarChart: Gradient Mode for Auto Max ( #74122 )
...
* BarChart: Gradient Mode for Auto Max
* add gdev panel
* clean
---------
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2023-10-10 11:14:56 -07:00
Andrej Ocenas
2a6c16d969
Pyroscope: Change phlare/api module to pyroscope/api module ( #76271 )
2023-10-10 18:13:14 +02:00
Jo
cada1f040a
Auth: Add support for role mapping and allowed groups in Google OIDC ( #76266 )
...
* support google oauth allowed_groups. unify allowed groups logic
* add role mapping for google oauth
* add documentation
* add addendums
* remove extra isGroupMember
* add to sample ini
* Apply suggestions from code review
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
---------
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2023-10-10 18:07:23 +02:00