Ryan McKinley
de22a2ca71
merge main
2024-12-16 19:09:19 +03:00
Ryan McKinley
e4837d452e
Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync
2024-12-16 19:07:54 +03:00
Misi
6cd3a5458e
Auth: Return error when retries have been exhausted for OAuth token refresh ( #98034 )
...
Return error when retries for DB lock have been exhausted in oauth_token.go
2024-12-16 17:03:39 +01:00
Alexander Akhmetov and brendamuir
1f8f9a45d7
Alerting: Add state_periodic_save_batch_size config option ( #98019 )
...
* Alerting: Add state_periodic_save_batch_size config option
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-12-16 15:30:38 +01:00
Alex Khomenko and Ryan McKinley
dfb7d5110e
POC/Provisioning: update generator ( #98027 )
...
* Add source
* Update filters
* Exclude all namespace endpoints
* Remove watch endpoints
* Exclude collection endpoint
* Update arg names
* Add parser script
* Update spec
* Update @rtk-query/codegen-openapi
* Update params for list endpoints
* Use new hooks and types in hooks
* alternative operation ID
* alternative operation ID
* alt operation
* alt operation
* Move some transformations to BE
* Update endpoints
* Update types after generation
* Remove spec and generated endpoints
* Add tags automatically
* Update pkg/services/apiserver/builder/helper.go
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
* add static openapi
* Use generated spec
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2024-12-16 16:27:31 +02:00
Andres Martinez Gotor
95dea152b6
Plugins Admin: Avoid disabling auto-enabled apps ( #97800 )
2024-12-16 14:51:04 +01:00
Ryan McKinley
16db278a8b
Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync
2024-12-14 12:30:12 +03:00
Stephanie Hingtgen
8f6e9f8ed0
Restores in app platform ( #97582 )
2024-12-13 16:55:43 -06:00
Misi
09123a7bd6
FeatureToggle: Enable useSessionStorageForRedirection by default ( #97966 )
...
Enable useSessionStorageForRedirection by default
2024-12-13 19:36:35 +01:00
Sven Grossmann
5ac7443fce
Loki: Default to /labels API with query param instead of /series API ( #97935 )
...
* feat(loki-labels-api): add feature toggle
* feat(loki-labels-api): default to `/labels` API
2024-12-13 15:31:41 +01:00
Karl Persson
5c0cb09d27
Zanzana: Remove capabilities ( #97918 )
...
Remove capabilities
2024-12-13 12:23:12 +01:00
Dana Axinte
b9d6af34cd
CloudMigrations: Obtain gcom plugins to enable plugins migration ( #97784 )
...
* just api
* preallocate
2024-12-13 10:59:43 +00:00
Laura Fernández
aac62c89da
UnifiedHistory: Create feature toggle ( #97922 )
2024-12-13 12:41:18 +02:00
Jo
40d3b02648
Auth: Separate anonymous settings to its own struct ( #97791 )
...
separate anonymous settings to its own struct
2024-12-13 10:46:27 +01:00
Mariell Hoversholm
0fb8dd8760
Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync
2024-12-13 10:44:31 +01:00
Agnès Toulet
1c4d30f73c
Rendering: Add logs ( #97885 )
...
* Rendering: add logs
* fix tests and lint issues
2024-12-13 09:42:35 +01:00
Isabella Siu
b3a12f486e
Elasticsearch: Use _field_caps instead of _mapping to get fields ( #97607 )
2024-12-12 17:20:04 -05:00
Jean-Philippe Quéméner
1509fadd5b
refactor(unified-storage): make datasyncer configurable ( #97832 )
2024-12-12 21:41:01 +01:00
owensmallwood
0e8702369a
Folders: Create default folder permissions within transaction ( #97812 )
...
create default folder permissions within transaction
2024-12-12 14:08:46 -06:00
Mariell Hoversholm
9b20e3155b
Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync
2024-12-12 12:34:00 +01:00
Ieva
32554c78a8
Direct DB perm checks: check that the namespaces match ( #97828 )
...
check that the namespace of the caller matches the namespace in the request
2024-12-12 12:57:16 +02:00
Santiago
7ad004236e
Alerting: Change the description for the 'Message' field in webhooks ( #96153 )
2024-12-12 10:30:23 +01:00
Ieva and Gabriel MABILLE
ded90fa28d
App platform: Implement perm check with direct db access ( #97579 )
...
* implement perm check with direct db access
* add tests
* more tests
* Update pkg/services/authz/rbac/service.go
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
* Update pkg/services/authz/rbac/service.go
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
* allow fetching permissions for a user who is not a member of the org
* linting
* fix typo
---------
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
2024-12-12 08:52:14 +00:00
Todd Treece
7d9db6269a
Merge branch 'main' of https://github.com/grafana/grafana into grafana-git-ui-sync
2024-12-11 16:59:38 -05:00
Todd Treece
c5e8e71ee3
K8s: Add APIGroupPostStartHookProvider ( #97801 )
2024-12-11 19:13:42 +02:00
Ryan McKinley
2d4c8b1ac1
Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync
2024-12-11 19:35:08 +03:00
Alexander Zobnin
61d71ec5b1
Zanzana: Handle anonymous users ( #97171 )
...
* add anonymous users to schema
* sync anonymous user role
* remove unused
* fix linter
* only add anonymous reconciler if feature is enabled
2024-12-11 12:22:42 +01:00
Mariell Hoversholm
22e0e952c7
Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync
2024-12-11 12:15:47 +01:00
Ivana Huckova
2149c75e22
Zipkin: Run queries through backend ( #97754 )
...
* Zipkin: Run queries through backend
* ;2DUpdate e2e
* Update e2e
2024-12-11 12:31:24 +02:00
Stephanie Hingtgen
f05d016ae7
Chore: Remove mysqlParseTime feature toggle ( #97761 )
2024-12-10 15:13:13 -06:00
Stephanie Hingtgen
b05d60e5b5
k8s: dashboards: remove FT ( #97758 )
2024-12-10 12:35:36 -06:00
Juan Cabanas
c2333e3bc0
ShareDrawer: Enable by default ( #97259 )
2024-12-10 12:52:18 -03:00
Karl Persson
87ba9c60b2
Zanzana: change type name from namespace to group_resource ( #97741 )
...
* Change type name from namespace to group_resource
* update function names and test descriptions
2024-12-10 15:21:54 +01:00
Sergej-Vlasov
663167a16c
FeatureToggles: Make newFiltersUI feature toggle generally available ( #97460 )
...
make newFiltersUIfeature toggle generally available
2024-12-10 10:06:55 +00:00
Matheus Macabu
dd969f8a54
Chore: Attempt to reduce flakiness in integration tests ( #97247 )
...
* sqlstore/sqlutil: set sync=OFF for sqlite in tests if wal=true
* testinfra: set max open/idle conn to 2 to match e2e tests
2024-12-10 10:55:18 +01:00
Karl Persson
718612aabf
Zanzana: Update relation names ( #97638 )
...
* Update relation names to match k8s verbs
* Only check namespace if relation is valid
* Only list for valid relations
2024-12-10 09:38:03 +01:00
Ryan McKinley
06a3297669
merge magin
2024-12-10 08:09:36 +03:00
Alexander Zobnin
cd7772204e
Zanzana: Handle renderer service authorization requests ( #97201 )
...
* Zanzana: Handle renderer service authorization requests
* only add context if render service is authorizing
* use group and resource from API definitions
* check prefix instead of full identity
* fix AddRenderContext
* remove unused type
2024-12-09 11:17:44 +01:00
Ryan McKinley
98584b7864
Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync
2024-12-09 08:32:01 +03:00
Ryan McKinley
5f39d2eeb0
K8s: Make GetAPIRoutes an optional interface ( #97531 )
2024-12-07 03:08:18 +03:00
Santiago
f60caf6932
Alerting: Fix alert rules unpausing after moving rule to different folder ( #97580 )
...
Alerting: Fix alert rules unpaused after moving rule to different folder
2024-12-06 14:33:13 -03:00
Ryan McKinley
a210e1ec99
Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync
2024-12-06 07:34:11 +03:00
Dave Henderson
ced7a84f8b
chore(metrics): Add metrics & traces to DB migration ( #97181 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-12-05 17:22:19 -05:00
Ryan McKinley
6c83756539
Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync
2024-12-04 16:18:55 +03:00
Todd Treece
ec454e04c9
Chore: Remove standalone apiserver options ( #97349 )
2024-12-03 11:42:52 -05:00
Karl Persson
3a17d0c927
IAM: align AuthInfo interface ( #97228 )
...
* Update to use updated interface
2024-12-03 15:11:17 +01:00
Ryan McKinley
e9df325760
merge main
2024-12-02 23:15:49 +03:00
Ryan McKinley
20a27da636
FeatureFlags: Add helper to check against a set of flags ( #97240 )
2024-12-02 21:41:41 +02:00
Michael Mandrus
8a1b89a5eb
Report Button: Add feature toggle for commit button [Hackathon] ( #97282 )
...
add feature toggle for commit button
2024-12-02 19:08:15 +02:00
Karl Persson
e4fbae03a1
RBAC: remove dead code ( #97234 )
...
This code is unused and always have been
2024-12-02 16:23:51 +01:00