maicon
2e734549b5
Revert "Revert "Unistore: Add validation for resource names"" ( #111648 )
...
* Revert "Revert "Unistore: Add validation for resource names" (#111408 )"
This reverts commit b3ed600bca .
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-09-28 20:53:07 +03:00
Daniele Stefano Ferru
e34475041a
Provisioning: move job operator to enterprise and enable PR worker ( #111663 )
2025-09-27 20:14:08 -05:00
Stephanie Hingtgen
e083c05532
Folders: Create default permissions on root level folder in API Service and cleanup after delete ( #111690 )
2025-09-26 17:16:07 -05:00
Ryan McKinley
82bcfba64b
Preferences: refactor experimental apiserver and improve tests ( #111596 )
2025-09-26 19:44:02 +00:00
Todd Treece
a333e8a8da
Background Services: Remove dskitBackgroundServices toggle ( #111255 )
2025-09-26 15:16:06 -04:00
Eric Leijonmarck
052b6e3dfd
LBAC rules: Change to query all teams before looping for better performance ( #111689 )
...
performance nit for querying all teams existance before looping through lbac rules
2025-09-26 18:08:56 +00:00
Eric Leijonmarck
e7ca0fdf7b
LBAC for datasources: Adds cleanup of lbac rules added for teams that have been deleted ( #111405 )
...
add cleanup of lbac rules for teams that have been deleted
2025-09-26 17:55:00 +01:00
Will Browne
8fe2925c47
Plugins: Add toggle for prioritizing loading plugins from CDN ( #111671 )
...
add toggle for loading cdn plugins first
2025-09-26 17:12:44 +01:00
Taras and Zoltán Bedi
e7f57446c1
PostgreSQL: Support PGPASSFILE by making password optional ( #108856 )
...
* datasource(postgresql): add support of pgpass file
* remove `required` label for password field
* set `runPostgresTests` back to false
* fix after merge conflict
* add pgx_test
* set `runPostgresTests` back to `false`
* Add `no password` test case to the `pgx_test.go` as well
* fix `postgres_pgx_test.go`
* Update datasource docs
* docs wording
* docs: `datasource` -> `data source`
* Update docs/sources/datasources/postgres/configure/_index.md
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com >
* run prettier - docs
---------
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com >
2025-09-26 16:23:40 +02:00
Cory Forseth
248b323967
Authz: add folder delete hook ( #111649 )
...
* add delete hook
* logging cleanup
2025-09-26 08:50:05 -05:00
Jean-Philippe Quéméner
c66209bca8
feat(unified-storage): no SQL fallback for dashboards/folders in Mode 5 ( #111672 )
2025-09-26 15:47:03 +02:00
Yuri Tseretyan
b8f23eacd4
Alerting: Migrate to integration schema ( #111643 )
...
* update tests to assert against snapshot
* remove channel_config package replaced by schemas from alerting module
* update references to use new schema
2025-09-26 09:31:50 -04:00
Galen Kistler
a8bff45256
Loki: resource frontend browser cache ( #110488 )
...
feat: allow frontend to set browser cache for config endpoint
2025-09-26 07:18:20 -05:00
Ieva
2b86de8b7f
Resource Permissions: Move validator higher up ( #111557 )
...
* move resource permission create and update validator higher up the chain
* undo unwanted change
2025-09-26 11:30:28 +00:00
Jo
f2eab5c3ea
AccessControl: Increase limit of LBAC for Datasources rules ( #111560 )
...
increase json_data in mysql from TEXT to MEDIUMTEXT (16MB)
2025-09-26 12:12:26 +01:00
Tobias Skarhed and Matheus Macabu
eb16fa1642
Scopes: Generate new field for default parent node ( #108666 )
...
* Generate new field for default parent node
* Update ScopeSpec with defaultPath and fix list types. Remove unused field
* Update frontend types
* Fix some errors
* ScopesSelector: Update zod types for spec schema
* Promlib: Update Scopes schema
---------
Co-authored-by: Matheus Macabu <macabu.matheus@gmail.com >
2025-09-26 12:02:45 +02:00
Ezequiel Victorero and nmarrs
6c4be6d1ea
Saved Queries: Remove unused feature toggle ( #111321 )
...
Co-authored-by: nmarrs <nathanielmarrs@gmail.com >
2025-09-25 21:48:29 +00:00
Yuri Tseretyan
24c10b4fb9
Alerting: Remove usages of ReceiverType ( #111508 )
...
* remove usages of ReceiverType
2025-09-25 16:09:54 -04:00
mohammad-hamid
b85aa5f681
Introduce kubernetesAuthZHandlerRedirect toggle ( #111582 )
...
* introduce kubernetesAuthzEndpoints toggle
* rename to kubernetesAuthZHandlerRedirect
2025-09-25 13:42:52 -04:00
Santiago
dab39c873f
Remote Alertmanager: Use the correct OrgID when creating the store ( #111634 )
...
* Remote Alertmanager: Use the correct OrgID when creating the store
* fix test
2025-09-25 16:53:07 +00:00
Matej Kubinec
6629021f36
Navigation: Add missing subpaths for navtree items ( #111202 )
...
Navigation: Add missing subpaths
2025-09-25 19:26:05 +03:00
Ryan McKinley
bdefea9acf
Storage: Fast path when list with metadata.name=XYZ ( #111630 )
2025-09-25 15:54:38 +00:00
Costa Alexoglou and Clarity-89
31ae013e8d
chore: add validations to test endpoint ( #111622 )
...
* chore: add validations to test endpoint
* Validate path
---------
Co-authored-by: Clarity-89 <homes89@ukr.net >
2025-09-25 15:10:13 +00:00
Ryan McKinley
054e12b1ac
FeatureToggles: Remove deprecated experimental apiserver ( #111617 )
2025-09-25 17:39:25 +03:00
Mihai Doarna
1e4358163b
IAM: Implement delete in team API ( #111367 )
...
* implement delete in team API
* add unit tests for legacy sql
* add integration tests
* remove comment
* remove org_id from delete team sql command
* fetch team ID before deleting it
2025-09-25 14:55:54 +03:00
Ryan McKinley and Clarity-89
7b1413ec54
Dashboards/search: improve openapi spec ( #111575 )
...
Co-authored-by: Clarity-89 <homes89@ukr.net >
2025-09-25 11:08:47 +00:00
maicon
991ac5b72e
Fix folder parents getter max depth validation ( #111568 )
...
* Fix folder parents getter max depth validation
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* Move max depth validation out of newParentsGetter
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* Add tests
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-09-25 10:02:21 +03:00
Stephanie Hingtgen
9172daa3dd
Provisioning: Allow viewers to view /status subresource and wait on the frontend before sync ( #111576 )
2025-09-24 22:37:55 +00:00
Ryan McKinley
a51d1b76b4
Dashboards: dependency cleanup ( #111572 )
2025-09-25 00:38:27 +03:00
Costa Alexoglou and Stephanie Hingtgen
0c0554da5e
fix: avoid child paths in repositories ( #111573 )
...
* fix: avoid child paths in repositories
* add another unit test; fix linter
* Update pkg/registry/apis/provisioning/register.go
* skip itself
* fix: failing tests
---------
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com >
2025-09-24 21:35:06 +00:00
Stephanie Hingtgen
8c5ca9ca12
Folders: fix panic on move ( #111551 )
2025-09-24 10:21:34 -05:00
Peter Štibraný
357aa7d314
Improve search index eviction ( #111542 )
...
* Modify index eviction mechanism such that unowned indexes are also evicted.
* Propagate OwnsIndex function to bleve backend
Fix tests.
Stop eviction goroutine when stopping backend.
Make linter happy.
Make sure we stop backend created by tests.
Review suggestion.
Removed newline.
2025-09-24 16:54:35 +02:00
Ryan McKinley
a4dabc31ed
Folders: let unified storage handle authorization ( #110825 )
2025-09-24 16:26:47 +03:00
Ryan McKinley
305dab3a54
Annotations: Exclude internal dashboard id when saved via UID ( #111535 )
2025-09-24 12:51:20 +00:00
Matheus Macabu
6c8ca56651
Plugins: Identify plugin ID when provisioning fails for any reason ( #111543 )
2025-09-24 14:05:43 +02:00
Gabriel MABILLE
a98870f8f9
Extsvcacc: Split permission scope ( #111491 )
...
* Extsvcacc: Split permission scope
* Fix integration test
* Trigger CI/CD pipeline
* Change extsvc permission comparing
* Recreate unsplit permissions
2025-09-24 13:25:44 +02:00
Gabriel MABILLE
b63ba0269f
AuthZ: Recover from missing split scope ( #111492 )
...
* AuthZ: Recover from missing split scope
* Follow up changes
* Add test
* better log
* Add a comment to getScopeMap
* Punctuation
2025-09-24 13:24:21 +02:00
a72e02f88a
Fix dashboard migration discrepancies between backend and frontend implementations (use toEqual) ( #110268 )
...
**Highlights**
* **Single-version migrations**: add `targetVersion` to migrator & model, separate outputs, enforce exact version.
* **Datasource fixes**: include `apiVersion` in tests, empty-string → `{}`, preserve `{}` refs, drop unwanted defaults.
* **Panel defaults & nesting**: only top-level panels get defaults; preserve empty `transformations` context-aware; filter repeated panels.
* **Migration parity**
* V16: collapsed rows, grid height parsing (`px`).
* V17: omit `maxPerRow` when `minSpan=1`.
* V19–V20: cleanup defaults (`targetBlank`, style).
* V23–V24: template vars + table panel consistency.
* V28: full singlestat/stat parity, mappings & color.
* V30–V36: threshold logic, empty refs, nested targets.
* **Save-model cleanup**: replicate frontend defaults/filtering, drop null IDs, metadata, unused props.
* **Testing**: unified suites, dev dashboards (v42), full unit coverage for major migrations.
Co-authored-by: Ivan Ortega [ivanortegaalba@gmail.com ](mailto:ivanortegaalba@gmail.com )
Co-authored-by: Dominik Prokop [dominik.prokop@grafana.com ](mailto:dominik.prokop@grafana.com )
2025-09-24 12:20:25 +02:00
owensmallwood
98fd3e8fe9
Unified Storage - Fix bug when cleaning up legacy on create ( #111511 )
...
fix bug - we should be calling s.store.Get() instead of s.Get(). Adds regression test.
2025-09-24 11:09:20 +01:00
Misi and Gabriel MABILLE
54a347463e
IAM: Use the new authorizer for the User resource ( #111479 )
...
* Use the new authorizer for the User resource
* Use accessClient
* Update pkg/services/authz/rbac/mapper.go
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
---------
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
2025-09-24 11:32:29 +02:00
Will Assis
33ff6dbb9e
unified-storage: add feature flag to use ngram for indexing ( #111265 )
...
* unified-storage: add feature flag to use ngram instead of edge-ngram for indexing
2025-09-24 10:36:50 +02:00
Andres Torres
108697bb27
chore(deps): Backend - Adding puzpuzpuz/xsync/v4 ( #111507 )
2025-09-23 19:09:46 -04:00
Stephanie Hingtgen
c2b513a2b3
Dashboards: Cleanup folder client ( #111510 )
2025-09-23 16:54:52 -05:00
Stephanie Hingtgen
8caaf87584
Dashboards: Use folder client provider if folder client is nil ( #111506 )
2025-09-23 20:59:27 +00:00
Santiago
345b72227f
Alert State History: Remove redundant JSON serialization when merging Loki streams ( #111443 )
2025-09-23 20:56:37 +02:00
Costa Alexoglou
8f77a3e0e8
chore: swap access check to folder client ( #111490 )
2025-09-23 11:40:10 -05:00
Ryan McKinley
a9de52c3e9
Folders: Build the same apiserver regardless of ST or MT ( #111481 )
2025-09-23 11:27:02 -05:00
Peter Štibraný and Stephanie Hingtgen
f062e5a85f
Stop background tasks and when stopping bleve backend. ( #111249 )
...
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com >
2025-09-23 18:04:49 +02:00
Ryan McKinley
9494175984
Folders: Use access checker for /access endpoint ( #110745 )
2025-09-23 15:35:26 +00:00
Austin Pond
bc0f746eed
apiserver: Allow AppInstaller to Handle Custom Resource Routes ( #111381 )
...
[apiserver] Fix appinstaller.serverWrapper.RegisteredWebServices() to return the RegisteredWebServices from the underlying apiserver's Handler's GoRestfulContainer, matching the logic in grafana-app-sdk's apiserver.KubernetesGenericAPIServer
2025-09-23 10:32:03 -04:00