Georges Chaudy
f6124344ba
authnz: Fix panic in the authenticator and rename metric ( #97150 )
...
* Fix: panic
* suggestion
2024-11-28 14:03:54 +02:00
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
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 and tonypowa
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 and Ivan Ortega
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
Dimitris Sotirakis
3fc6c003e8
chore: Pin send-slack-message action ( #97088 )
...
Pin send-slack-message action
2024-11-28 08:10:02 +01:00
Sarah Zinger
4b234c4795
Add logging to legacy datasource look up path ( #97065 )
2024-11-27 14:32:06 -05:00
dependabot[bot]
54785fb5a8
Bump github.com/matryer/is from 1.4.0 to 1.4.1 ( #97016 )
...
Bumps [github.com/matryer/is](https://github.com/matryer/is ) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/matryer/is/releases )
- [Commits](https://github.com/matryer/is/compare/v1.4.0...v1.4.1 )
---
updated-dependencies:
- dependency-name: github.com/matryer/is
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-27 17:11:17 +00:00
Isabel Matwawana
8b374b227a
Docs: Fix broken link ( #97119 )
2024-11-27 11:54:08 -05:00
Isabel Matwawana
f4e1f52a7a
Docs: Add note to refresh page after saving dashboards ( #97112 )
2024-11-27 11:14:11 -05:00
Isabel Matwawana
17246eb7fc
Docs: Add column lists to panel config pages ( #96940 )
2024-11-27 10:21:33 -05:00
Isabel Matwawana
1083722346
Add column lists to Shared dashboards page ( #96941 )
2024-11-27 10:21:08 -05:00
Sonia Aguilar and Gilles De Mey
2e14c20c71
Alerting: Fix removing reducer when inital value is instant ( #97054 )
...
* Fix removing reducer when inital value is instant
* use ID to allow clicking label to toggle the switch
---------
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2024-11-27 15:59:25 +01:00
Mihai Doarna
33e7005483
API keys: Update text when no API keys were found in DB ( #97102 )
...
* update text when no API keys were found in DB
* text update
2024-11-27 16:24:52 +02:00
Sonia Aguilar
a0de712bca
Alerting: Fix simplified query step ( #97046 )
...
* Fix simplified query step
* remove is advancedMode and use editorSettings.simplifiedQueryEditor
* remove unnecessary Boolean conversion
* fix when feature toggle is disabled
* fix test
* simplify code
* fix when not ff is not enabled
2024-11-27 16:13:27 +02:00
Matias Chomicki
3f83322fa9
Logs: fix canKeepDisplayedFields with possibly undefined queries ( #97103 )
2024-11-27 16:04:40 +02:00
Adam Yeats
b898a4540d
Azure Monitor: Add a feature flag to toggle user auth for Azure Monitor only ( #96858 )
...
* Azure Monitor: Add a feature flag to toggle user auth for Azure Monitor only
* Fix condition for userIdentityEnabled
* Re-add removed test
* Remove unused prop
* Refactor onAuthTypeChange in AzureCredentialsForm
* Add frontend unit tests
* Lint
2024-11-27 14:01:54 +00:00
d18cdae3e2
Schema V2 to DashboardScene: Settings + Panels ( #96074 )
...
* Transform Save mode to Scene: Settings
* Transform Save mode to Scene: Panels
---------
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
Co-authored-by: alexandra vargas <alexa1866@gmail.com >
Co-authored-by: Haris Rozajac <haris.rozajac12@gmail.com >
2024-11-27 14:35:37 +01:00
Sriram
16c78f6a98
Postgres: Datasource health check error message improvements #96906 ( #96990 )
...
* updated postgres health check error messages
* addressed review comments / added tests
2024-11-27 13:14:44 +00:00
brendamuir
6e36dfb74e
Alerting docs: adds docs on new form flow ( #97099 )
2024-11-27 13:58:31 +01:00
jackyin
5b0b9c9ecc
ToolbarButton: Auto width on smaller screen sizes ( #96023 )
...
* fix bug
* optimise
* delete annotation
* optimise
2024-11-27 13:50:44 +01:00
Alexander Zobnin
5a91ab46af
Zanzana: Use StreamedListObjects to fetch full list of resources ( #97025 )
...
* Initial streamed version of list
* instantiate openfga client to use StreamedListObjects
* Add config option for using streamed version
* Use caching
* fix cache init
* Fix hashing
* refactor
2024-11-27 14:05:41 +02:00
linoman
3957b0b26a
SCIM: Update swagger for /scim/Users ( #97030 )
...
update swagger for /scim/Users
2024-11-27 12:14:06 +01:00
grafana-pr-automation[bot] and github-actions[bot]
b97cfb3dc2
I18n: Download translations from Crowdin ( #96975 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-27 12:21:02 +02:00
Misi
84b8296ffb
OAuth: Use the attached external session data in OAuthToken and OAuthTokenSync ( #96655 )
...
* wip
* wip + tests
* wip
* wip opt2
* Use authn.Identity struct's SessionToken
* Merge fixes
* Handle disabling the feature flag correctly
* Fix test
* Cleanup
* Remove HasOAuthEntry from the OAuthTokenService interface
* Remove unused function
2024-11-27 11:06:39 +01:00
Gabriel MABILLE
6e2d3cae5e
AuthN: Register flags for grpc_server_authentication configuration ( #97063 )
...
* AuthZServer: Add authenticator
* Add flags
2024-11-27 10:35:35 +01:00
Carl Bergquist
722af820a5
Scopes: Use new flag + app_mode=prod in integration tests ( #97081 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2024-11-27 09:38:54 +01:00
Karl Persson
be54c69fd4
Zanzana: Remove create relation from generic resources ( #97042 )
...
Remove create relation from generic resources.
We cant have a create relation to a resource because they don't exist yet. So
in oder to check create we either have to have that permissions on a folder or the namespace
2024-11-27 09:02:29 +01:00
Carl Bergquist
21bd47e512
scopes: behind its own feature flag ( #97077 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2024-11-27 08:58:25 +01:00
Ryan McKinley
f6ccf976e5
UnifiedSearch: Use ResourceIndex from dashboards apiserver (v0alpha1 only) ( #96939 )
2024-11-27 07:57:53 +02:00
Stephanie Hingtgen
104f795156
Dashboards: Remove deprecated endpoints from docs ( #97073 )
2024-11-27 08:27:58 +03:00
Stephanie Hingtgen
72ffe9838a
Folders: remove get by id from docs ( #97069 )
2024-11-26 19:12:07 -06:00
Galen Kistler
5fadc35664
Dashboards: add showMenuAlways prop to PanelChrome ( #96868 )
...
* feat: add showMenuOnHover prop to always render menu in viz
2024-11-27 01:28:56 +02:00
Nihal and Matthew Jacobson
e73bb34cc0
Alerting: Fix Conflicting Alert Rule Response Has Wrong 'rule_uid' ( #95013 )
...
* change to return the right conflicting alert rule uid. see https://github.com/grafana/grafana/issues/89755
Signed-off-by: wasim-nihal <sswasim64@gmail.com >
* correcting the code comment
Signed-off-by: wasim-nihal <sswasim64@gmail.com >
* changes to return the conflicting uid for both insert and update operations
Signed-off-by: wasim-nihal <sswasim64@gmail.com >
* changes to return verbose conflicting alert rule response payload
Signed-off-by: wasim-nihal <sswasim64@gmail.com >
* changes to return verbose conflicting alert rule response payload
Signed-off-by: wasim-nihal <sswasim64@gmail.com >
* Update pkg/services/ngalert/store/alert_rule.go
Co-authored-by: Matthew Jacobson <JacobsonMT@gmail.com >
---------
Signed-off-by: wasim-nihal <sswasim64@gmail.com >
Co-authored-by: Matthew Jacobson <JacobsonMT@gmail.com >
2024-11-26 15:13:31 -05:00
52f6f69d4b
Alerting docs: adds new export alert rule definition ( #97028 )
...
* Alerting docs: adds new export alert rule definition
* update
* Update button text for exporting new rule definition
* Update docs/sources/alerting/set-up/provision-alerting-resources/export-alerting-resources/index.md
Co-authored-by: Sonia Aguilar <33540275+soniaAguilarPeiron@users.noreply.github.com >
* Update docs/sources/alerting/set-up/provision-alerting-resources/export-alerting-resources/index.md
Co-authored-by: Sonia Aguilar <33540275+soniaAguilarPeiron@users.noreply.github.com >
* definition
* type
* definition 2
* pepes feedback
* removes will
---------
Co-authored-by: Sonia Aguilar <soniaaguilarpeiron@gmail.com >
Co-authored-by: Sonia Aguilar <33540275+soniaAguilarPeiron@users.noreply.github.com >
2024-11-26 19:20:55 +01:00
Kristina and Leon Sorokin
6e62afa950
StateTimeline: Fix use of hidden fields in data links ( #95095 )
...
* Use hideFrom in GraphNG to hide fields if value is defined. Remove other filtering from timeline chart
* make hidefrom logic more robust
* remove unneeded decoupling, filter fields when there are no links
* add omitHideFromViz prop to GraphNG
* Add more to comment on property
---------
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2024-11-26 10:40:25 -06:00
Eric Leijonmarck
83d050ee1c
LBAC for datasources: Adds UID to LBAC rules ( #96522 )
...
* swagger
* update with deprecation notice
* adding caching for teams
2024-11-26 16:35:04 +00:00
Matias Chomicki
d2b6960593
Feature toggles: remove lokiMetricDataplane ( #97024 )
...
* Feature toggles: remove lokiMetricDataplane
* Framing: remove test cases expecting metricDataplane to be false
* Remove test code
* Chore: rename test cases
2024-11-26 18:32:17 +02:00
Gareth Dawson
217a2bce0a
MSSQL: Make error consistent with psql and mysql ( #97056 )
...
make error consistent with psql and mysql
2024-11-26 17:47:14 +02:00
Matias Chomicki
d69888df2d
Logs Panel: Limit displayed characters to MAX_CHARACTERS ( #96997 )
...
* LogRowMessage: limit displayed characters to MAX_CHARACTERS
* LogRowMessage: update ellipsis text
* Formatting
* Revert test change
* LogRowMessage: fix conditional
* Extract translations
* LogRowMessage: use button for ellipsis
* Revert test change
* Change fill to outline
* Revert test change
2024-11-26 17:45:44 +02:00
Dimitris Sotirakis and Gilles De Mey
d418299780
docs: Fix Pending period description in alerting page ( #96974 )
...
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2024-11-26 17:09:08 +02:00
Isabel Matwawana
2370fbffc2
Docs: Remove unnecessary underscore ( #97048 )
2024-11-26 10:06:27 -05:00
Bogdan Matei
13a4bec96b
Scopes: Move URL values from selector to facade ( #96842 )
2024-11-26 16:43:36 +02:00
Karl Persson
76f052e8de
Requester: Remove duplicated function ( #97038 )
...
* Remove duplicated function
* Remove GetDisplayName from interface
* Use GetName
2024-11-26 15:29:31 +01:00
Arati R.
6d04023aa6
K8s/Folders: Improve k8s client implementation of get ( #96434 )
...
* Enable getting folders with kubernetes client
* Add TestIntegrationFolderGetPermissions
* Set full path as part of legacy get
* Replace implementation for setting fullpath
* Add folder get test
* Escape forward slash in parent titles
* Replace test for access control metadata
* Add test case to TestIntegrationFolderGetPermissions
* Improve fetching of access control
2024-11-26 16:20:00 +02:00
Gilles De Mey and Konrad Lalik
c6d3cf89ad
Alerting: Fix navigating to URLs with "%" ( #96992 )
...
Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com >
2024-11-26 15:07:18 +01:00
Eric Leijonmarck
2bab11e20a
Anonymous Devices: Add Before you begin section in docs ( #97043 )
...
* add before you begin
* Update docs/sources/setup-grafana/configure-security/configure-authentication/anonymous-auth/index.md
2024-11-26 13:56:38 +00:00