linoman
bf293c8ab6
Backport 105046 to 12.0.1 ( #105337 )
2025-05-13 12:29:35 -04:00
linoman
2e6b7bf74a
SCIM: Backport 104613 to 12.0.1 ( #105332 )
...
Backport 104613 to 12.0.1
2025-05-13 17:15:01 +02:00
Matheus Macabu
b1a4e09102
[release-12.0.1] Dependencies: Unpin and bump github.com/getkin/kin-openapi from v0.126.0 to v0.132.0 ( #105249 )
...
* Dependencies: Unpin and bump github.com/getkin/kin-openapi from v0.126.0 to v0.132.0
* Chore: Update schemas and remove examples
* Chore: Update schemas and remove examples2
2025-05-13 12:23:12 +03:00
Matheus Macabu
25f48a36bd
[release-12.0.1] Chore: Bump Go version to 1.24.3 ( #105101 )
...
Chore: Bump Go version to 1.24.3
2025-05-08 15:28:22 +02:00
Artur Wierzbicki
f17e42fb40
[release-12.0.1] Live: logging fix ( #105076 )
...
Live: logging fix (#105054 )
logg fix
(cherry picked from commit c781b0922e )
2025-05-07 21:51:20 +03:00
Will Browne
5b795ae2e3
[release-12.0.1] Plugins: Fix issue with propagating ID token downstream for RunStream requests ( #105002 )
...
Plugins: Fix issue with propagating ID token downstream for RunStream requests (#104833 )
fix issue
(cherry picked from commit a5649b6e1d )
2025-05-06 13:33:47 +01:00
Stephanie Hingtgen
3b2165d787
[release-12.0.1] Dashboards: Fix cleanup job ( #104824 )
2025-05-01 16:51:44 +03:00
Stephanie Hingtgen
6b7bba2b5a
[release-12.0.1] Dashboard and Folders: fix version mismatch ( #104717 )
...
Folders: Fix version mismatch errors
2025-04-30 03:01:45 +03:00
Stephanie Hingtgen
249bf8ac64
[release-12.0.1] Dashboards and Folders: cleanup timestamps and error codes ( #104720 )
...
K8s: Fix timestamps and error codes
2025-04-29 22:44:44 +03:00
Stephanie Hingtgen
18a9cd3636
[release-12.0.1] Dashboards: Fix moving to general folder ( #104719 )
...
Dashboards: Fix moving to general folder
2025-04-29 22:14:00 +03:00
Stephanie Hingtgen
7287b4958f
[release-12.0.1] Dashboards: add missing folder info to /search ( #104718 )
...
Dashboards: add missing folder info to /search
2025-04-29 22:08:52 +03:00
Kevin Minehart
8bb4c806fb
[release-12.0.1] Backport workflow fixes ( #104692 )
...
* Copy workflows and actions from main
* add zizmor.yml
2025-04-29 19:12:47 +03:00
Stephanie Hingtgen
4620dc0b4e
[release-12.0.1] App Plugins: Fix dashboard updater ( #104583 ) ( #104585 )
2025-04-26 01:22:28 +02:00
Stephanie Hingtgen
7dfb628cb4
[release-12.0.1] Provisioning: Remove warning logs for valid usage ( #104555 ) ( #104558 )
...
Provisioning: Remove warnings for valid usage (#104555 )
2025-04-25 11:18:17 -05:00
Stephanie Hingtgen
549833e40d
[release-12.0.1] K8s: Dashboards: Fix transformation between v1 and v2 ( #104502 ) ( #104527 )
...
K8s: Dashboards: Fix transformation between v1 and v2 (#104502 )
2025-04-25 17:02:35 +01:00
Stephanie Hingtgen
745015e74f
[release-12.0.1] K8s: Dashboards: Fix provisioned dashboard cleanup ( #104504 ) ( #104525 )
...
K8s: Dashboards: Fix provisioned dashboard cleanup (#104504 )
2025-04-25 13:41:29 +01:00
Stephanie Hingtgen and Ieva
123351e3ac
[release-12.0.1] Access control: Make sure that user permission cache is cleared after new dashboard and folder creation ( #104495 )
...
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2025-04-24 15:48:04 -05:00
grafana-delivery-bot[bot] and Yuri Tseretyan
26b81feb85
[release-12.0.1] Apply security patch 357-202503311017.patch ( #104493 )
...
Apply security patch 357-202503311017.patch (#104490 )
* Sanitize paths before evaluating access to route
* use util.CleanRelativePath
---------
Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com >
(cherry picked from commit 1f707d16ed )
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2025-04-24 20:40:18 +01:00
Stephanie Hingtgen and Ryan McKinley
ed408985fa
[release-12.0.1] K8s: Dashboards: Mark as v1beta1 ( #104422 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2025-04-23 19:21:59 +01:00
b0d42f432a
[release-12.0.1] K8s: Dashboards: Add fine grained access control checks to /apis ( #104419 )
...
K8s: Dashboards: Add fine grained access control checks to /apis (#104347 )
---------
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
Co-authored-by: Gabriel MABILLE <gabriel.mabille@grafana.com >
Co-authored-by: Marco de Abreu <marco.deabreu@grafana.com >
Co-authored-by: Georges Chaudy <chaudyg@gmail.com >
2025-04-23 18:28:10 +01:00
Stephanie Hingtgen and Jo
cde4a9dabe
[release-12.0.1] TeamMember: Treat null permission as member ( #104195 ) ( #104250 )
...
TeamMember: Treat null permission as member (#104195 )
Co-authored-by: Jo <joao.guerreiro@grafana.com >
2025-04-22 09:46:13 +02:00
Stephanie Hingtgen and Artur Wierzbicki
2e878c4fdc
[release 12.0.1] Dashboards: Preserve schema version in /api ( #104213 ) ( #104249 )
...
Dashboards: Preserve schema version in /api (#104213 )
---------
Co-authored-by: Artur Wierzbicki <artur.wierzbicki@grafana.com >
2025-04-21 18:40:34 -05:00
Stephanie Hingtgen
4d6d46a181
[release 12.0.1] Klog: Prevent response bodies from being logged ( #104247 )
2025-04-21 23:07:53 +01:00
grafana-delivery-bot[bot] and William Wernert
b9ee6bae38
[release-12.0.1] Alerting: Ensure field validators return the proper type ( #104243 )
...
Alerting: Ensure field validators return the proper type (#104050 )
* Ensure field validators return the proper type
This ensures correct error propagation through services up to
the API layer.
* Move error wrapping up to call site
(cherry picked from commit 820c338414 )
Co-authored-by: William Wernert <william.wernert@grafana.com >
2025-04-21 21:17:40 +01:00
colin-stuart
7b8b88adad
SCIM: Add group sync config option to test infra ( #104007 )
...
SCIM: Add group sync flag to test infra
2025-04-14 17:22:36 -04:00
Sam Jewell
4aa7d67edd
Server-side expressions: Improve error message ( #103968 )
...
This error message is more correct
2025-04-14 21:14:03 +00:00
Ryan McKinley
0283c98e30
K8s/Folders: Use v1beta1 and app-sdk based spec ( #103975 )
2025-04-14 23:20:10 +03:00
Alexander Akhmetov
acfd998fa6
Alerting: Send resolved notifications immediately for state deleted states ( #103996 )
...
What is this feature?
Send resolved notifications not only when an alert state becomes stale (series is missing) and transitions from Alerting to Normal, but also from Error, NoData and Recovering.
Why do we need this feature?
Previously, when an alert state became stale or was deleted, it would transition to Normal but wouldn't trigger resolved notifications to the Alertmanager. This meant we relied on the Alertmanager to send resolved notifications when the alert expires. However, if the Alertmanager state is lost, these resolved notifications would never be sent, leaving users with firing alerts in their notification channels. This PR ensures that any transition from a firing state (Alerting, Error, NoData, Recovering) to Normal triggers a resolved notification.
2025-04-14 21:40:44 +02:00
Georges Chaudy
e69052a417
unistore: add check when update the folder of a resource ( #102699 )
...
* Add check for move folder
* make the server test generic
* address comment
2025-04-14 16:57:40 +02:00
Ida Štambuk
27795ff7bf
ElasticSearch: Improve index pattern error messaging and docs ( #103899 )
2025-04-14 15:55:33 +02:00
beejeebus
b0ecc90329
InfluxDB: capture more downstream errors ( #103978 )
...
This adds more checks on the type of errors returned from InfluxDB
fsql datasource queries. The Grpc error code `Unavailable` is mapped
to a downstream error source.
2025-04-14 09:21:09 -04:00
Ryan McKinley
1d4d7cec41
Chore: update feature toggle stats from git ( #103960 )
2025-04-14 15:57:41 +03:00
Esteban Beltran
20d8223b6e
Chore: Clean up code from pluginsAPIMetrics feature toggle ( #103965 )
2025-04-14 13:15:06 +01:00
Cory Forseth
2b279efe15
Use team uid for team group actions ( #103415 )
...
* use team uid for team group actions
* add constructor for tests; rename vars for clarity
* github told me to do this
2025-04-14 06:40:55 -05:00
Ryan McKinley
f4dbbbac0c
Chore: update golang.org/x/sys+net+text+tools+crypto ( #103963 )
2025-04-14 10:01:19 +01:00
Ivana Huckova
242ac6bfa7
Jaeger: Run dependency graph queries through backend behind the feature toggle ( #103768 )
...
* Start with dependency graph
* Update and add tests
* Fix lint and ordering in test
2025-04-14 10:54:40 +02:00
Carl Bergquist
ed65c99e54
Scopes: Adds feature toggle used by grafana-enterprise ( #103870 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2025-04-14 09:42:16 +02:00
Dave Henderson
1125f36f4f
fix(test): Attempt to make TestPollingNotifier/notify_returns_channel_and_starts_polling less flaky ( #103947 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2025-04-14 09:41:09 +02:00
Gábor Farkas
9aca2606c7
upgrade plugin-sdk-go from v0.274.0 to v0.275.0 ( #103863 )
...
* upgrade plugin-sdk-go from v0.274.0 to v0.275.0
* ignore deprecated warning
2025-04-14 08:29:58 +02:00
ismail simsek
3013332e41
Prometheus: Remove prometheusRunQueriesInParallel feature toggle ( #103824 )
...
* remove prometheusRunQueriesInParallel feature toggle
* fix the unit test
2025-04-11 23:11:19 +01:00
William Wernert and Tom Ratcliffe
a5288db624
Alerting: Remove the POST endpoint for the internal Grafana Alertmanager config ( #103819 )
...
* Remove POST config for Grafana Alertmanager
* Delete auth + test for removed path
* Alerting: Remove check for `alertingApiServer` toggle in UI (#103805 )
* Remove check for alertingApiServer in UI
* Update tests to no longer care about alertingApiServer
* Add contact points handlers now that we use alertingApiServer all the time
* Fix test broken from removing camelCase for UIDs
---------
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
2025-04-11 17:38:53 -04:00
c47ab101d1
Dashboards: Add Dashboard Schema validation (2) ( #103844 )
...
* Activate schema validation and align underlying systems
* update to save as v0 if not the right schema version
* Resolve merge conflicts
* Move RequireApiErrorStatus to tests package
* Add mutation tests
* Fix lint
* Only do min version check if dashboard is v1
* Fix lint and disable provisioning test
* Revert provisioning changes
* Revert more tests and add schema test
* Reran gen
* SQL Dashboard save
* Adjust APIVERSION
* Fixed mutation test
* Add logging on downgrade
---------
Co-authored-by: Marco de Abreu <18629099+marcoabreu@users.noreply.github.com >
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com >
2025-04-11 23:05:41 +02:00
Nick Richmond
07a225649d
MetricsDrilldown: Remove legacy Metrics Drilldown code paths ( #103845 )
...
* chore: remove feature toggles
* chore: update labels
* chore: remove `public/app/features/trails` code
* fix: typo
* chore: update betterer results
* chore: update i18n
2025-04-11 16:45:14 -04:00
Dave Henderson
a58837f6db
Feature Toggles: Stop documenting experimental toggles ( #103841 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2025-04-11 16:42:35 -04:00
Ryan McKinley
b39eaac69e
Unistore: Keep apiVersion from the legacy SQL table ( #103939 )
...
keep apiversion
2025-04-11 22:49:45 +03:00
Stephanie Hingtgen
bba85c1128
K8s: Dashboards: Fix error handling ( #103929 )
2025-04-11 13:31:41 -06:00
Michael Mandrus
652c374c4c
CloudMigrations: Make table sort case insensitive ( #103898 )
...
* case insensitive sort
* fix for all db types
* add comment
* add unit test
* add a TODO to fix later
2025-04-11 20:29:07 +01:00
Jean-Philippe Quéméner
6c45cc9e2d
fix(util): don't use wall clock time for testing ( #103924 )
2025-04-11 20:01:26 +02:00
Alexander Akhmetov
a913c5426d
Alerting: Fix flaky TestIntegrationPrometheusRules test ( #103886 )
2025-04-11 19:50:46 +02:00
Marco de Abreu
95f04c79cd
Dashboards: Add Dashboard Schema validation (1) ( #103662 )
2025-04-11 16:52:46 +00:00