Josh Hunt
e55b438f14
E2C: Reduce UI poll interval and make configurable ( #91386 )
...
* E2C: Reduce UI poll interval and make configurable
* fix default
2024-08-02 10:46:41 +01:00
Claudiu Dragalina-Paraipan
e2435f92f1
[authn]: add GetIDClaims() to Requester ( #91387 )
...
* authn: add GetIDClaims() to Requester
Co-Authored-By: Gabriel MABILLE <gamab@users.noreply.github.com >
* authn: update StaticRequester
Co-Authored-By: Gabriel MABILLE <gamab@users.noreply.github.com >
* update auth/idtest/mock
Co-Authored-By: Gabriel MABILLE <gamab@users.noreply.github.com >
* Fix test
Co-authored-by: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
---------
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
Co-authored-by: gamab <gabriel.mabille@grafana.com >
2024-08-02 12:36:02 +03:00
Gabriel MABILLE
8988e04044
RBAC: Add permission registry ( #91247 )
...
* RBAC: Permission registry
* Populate permission registry
* Wire
* conflic_user_cmd
* Update pkg/services/accesscontrol/permreg/permreg_test.go
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
* PR feedback
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
* Remove ToDo, tackle in subsequent PR
---------
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2024-08-02 09:32:06 +02:00
Ryan McKinley
391284bb33
Storage: Improve (some) error handling ( #91373 )
2024-08-02 10:27:10 +03:00
Nathan Marrs
b63694d75f
XYChart: Promote to generally available ( #91417 )
2024-08-01 16:54:36 -07:00
Alexander Akhmetov
3952f627eb
Alerting: Parse secret fields case-insensitively when creating or updating a contact point ( #90968 )
...
* Alerting: Handle case-insensitive secret fields in contact point settings
2024-08-01 19:03:47 +02:00
William Wernert
a1ee84f757
Alerting: Remove duplicate tracing middleware from prom writer ( #91353 )
...
Remove duplicate tracing middleware from prom writer
2024-08-01 11:57:14 -04:00
Ieva
2e2ddc5c42
Folders: Allow folder editors and admins to create subfolders without any additional permissions ( #91215 )
...
* separate permissions for root level folder creation and subfolder creation
* fix tests
* fix tests
* fix tests
* frontend fix
* Update pkg/api/accesscontrol.go
Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com >
* fix frontend when action sets are disabled
---------
Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com >
2024-08-01 18:20:38 +03:00
Gabriel MABILLE
c76d1e04e8
Authz: Fix on-prem grpc authentication ( #91341 )
...
* Authz: Fix on-prem grpc authentication
Co-authored-by: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
* Remove noAuth override
---------
Co-authored-by: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
2024-08-01 16:30:13 +03:00
Leonor Oliveira
fb9903ed7c
Allow to watch from the dual writer ( #91375 )
...
* Allow to watch from the dual writer
* Remove comments
* Lint
2024-08-01 15:09:51 +02:00
Alexander Akhmetov
a32854549c
Alerting: Support median in reduce expressions ( #91119 )
...
* Alerting: support median in reduce expressions
2024-08-01 15:04:17 +02:00
jackyin
d11f8c7bc3
Plugins: Ensure grafana cli can install multiple plugin dependencies ( #91230 )
...
* fix cli can only install one dep
* handle error
2024-08-01 11:47:11 +01:00
Georges Chaudy
36c2e0cfae
unifiedStorage: sort by namespace/name ASC ( #91314 )
...
* unified: sort by key asc
* sort by key
* keep tests commented
2024-08-01 08:27:01 +00:00
Todd Treece
e890279dcf
Chore: Add go work sync to workspace update ( #91360 )
2024-08-01 00:06:05 +03:00
Charandas
a3d3f9a1e4
Revert "Identity: Remove id token from extra info ( #91169 )" ( #91350 )
...
This reverts commit 10170cb839 .
2024-07-31 21:27:46 +03:00
Haris Rozajac
e81fa0e4c5
Explore: Check for RBAC permissions when hitting query history endpoints ( #91156 )
...
* Check for RBAC permissions when hitting query history endpoints; extract checking logic into a middleware
* Fix lint errors
* Fix test
* Use permissions for patch path; rename callback handler
2024-07-31 12:10:52 -06:00
lean.dev
235f223aef
CloudMigrations: Fix typo in trace name ( #91261 )
2024-07-31 10:24:40 -03:00
Tobias Skarhed
e8c30c86f0
Frontend: Support tracing with Faro ( #91237 )
...
Move code from previous PR
2024-07-31 15:13:05 +02:00
colin-stuart
057c04ed9d
IDToken: Add current user's DisplayName to the ID token ( #90992 )
...
Set claims.Rest.DisplayName from the IDService
2024-07-31 09:11:37 -04:00
Joao Silva
85d0e17dc4
Bookmarks: Store URLs instead of ids ( #91121 )
2024-07-31 13:56:39 +01:00
Ryan McKinley
f804b0baa3
Storage: Return an iterator from backend List ( #91185 )
2024-07-31 12:05:59 +03:00
Ieva
702fc3477d
RBAC: Fix folder move check when action sets are disabled ( #91200 )
...
fox folder move check when action sets are disabled
2024-07-31 09:49:09 +01:00
Giuseppe Guerra
95f340738c
Angular deprecation: Disable dynamic angular inspector if CheckForPluginUpdates is false ( #91194 )
...
* Angular deprecation: Disable dynamic angular inspector if CheckForPluginUpdates is false
* Add tests
* add type checks for dynamic service
2024-07-31 10:10:12 +02:00
Ryan McKinley
160fe2a3a4
Storage: Remove entity store ( #91233 )
2024-07-31 09:25:39 +03:00
Ryan McKinley
10170cb839
Identity: Remove id token from extra info ( #91169 )
2024-07-31 09:14:13 +03:00
Ryan McKinley
68f1a0619d
Snapshots: Remove deprecated option snapshot_remove_expired ( #91231 )
2024-07-31 08:47:15 +03:00
Nathan Marrs
fc1139e51a
Transformations: Promote format string as generally available ( #91161 )
2024-07-31 05:10:07 +03:00
Diego Augusto Molina
30d4a4249c
Storage: Disable Resource Server integration tests to unblock pipelines ( #91216 )
...
disable integration tests to unblock pipelines until we find the issue
2024-07-30 21:39:33 -03:00
Nathan Marrs
0423c67495
Transformations: Promote add field from calc stat function cumulative and window calcs as generally available ( #91160 )
2024-07-31 03:30:24 +03:00
Yuri Tseretyan
537f1fb857
Alerting: Fix persisting result fingerprint that is used by recovery threshold ( #91224 )
...
* fix persister to save result fingerprint
* revert change
* fmt
2024-07-30 18:07:13 -04:00
owensmallwood
2362e79e4e
Unified Storage: Configure client to use tls=preferred ( #91162 )
...
* optionally set tls=preferred in the mysql connection string from env var
2024-07-30 11:24:28 -06:00
Nihal
9ad9b4989b
Alerting: Include a list of ref_Id and aggregated datasource UIDs to alerts when state reason is NoData ( #88819 )
...
* include a list of ref_Id and datasource UID to alerts when state reason is NoData.
---------
Signed-off-by: Syed Nihal <syed.nihal@nokia.com >
2024-07-30 12:55:59 -04:00
Kristin Laemmert
ac0b4bb34d
refactor replCfg to look more like plugins/plugin config ( #91142 )
...
* refactor replCfg to look more like plugins/plugin config
* validateReplicaConfigs must handle inconsistencies in type names due to the WithHooks suffix
2024-07-30 12:09:56 -04:00
Alexander Weaver
4c71cadd5f
Alerting: Detach condition validator from condition evaluator ( #91150 )
...
* Detach validator from evaluator
* Drop unnecessary interface and type
2024-07-30 10:55:37 -05:00
Claudiu Dragalina-Paraipan
cf55ac5813
authz: set authzv1.ReadResponse.Found ( #91212 )
...
Co-authored-by: Gabriel MABILLE <gabriel.mabille@grafana.com >
2024-07-30 18:26:54 +03:00
github-actions[bot]
66b1a219f4
Alerting: Update Swagger spec ( #79850 )
...
* chore: update alerting swagger spec
* update public swagger
---------
Co-authored-by: rwwiv <rwwiv@users.noreply.github.com >
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2024-07-30 18:17:23 +03:00
Yuri Tseretyan
2023821100
Alerting: update Loki backend of state history to batch requests by folder ( #89865 )
...
* refactor `selectorString` and remove Selector struct
* move code from selector string to BuildLogQuery
* batch requests by folder UID
* update historian annotation store to handle multiple queries
* sort folder uids to make consistent queries
* add logs to loki http
* log batch size but not content. content is logged by the client
2024-07-30 11:07:10 -04:00
Claudiu Dragalina-Paraipan
05ab4cdd1f
[authz]: use authlib client ( #91205 )
...
authz: use authlib client
Co-authored-by: Gabriel MABILLE <gabriel.mabille@grafana.com >
2024-07-30 17:49:46 +03:00
Georges Chaudy
68dd311337
ResourceStore: remove the entity bridge ( #90995 )
2024-07-30 16:29:25 +02:00
Georges Chaudy
901f7f1529
unifiedStorage: fix flaky integration test ( #91199 )
...
unified: fix flaky integration test
2024-07-30 16:55:51 +03:00
Isabella Siu
c68feecb6e
CloudWatch: Add errorsource for QueryData ( #91085 )
2024-07-30 09:55:01 -04:00
Michael Mandrus
3e138449bb
CloudMigrations: Fix bugs found during local testing ( #91163 )
...
* send dashboard commands instead of dashboards
* move status updates before goroutine to ensure frontend polls
* fix syncing issues between snapshot state and resources
* make sessionUid a requirement for modifying snapshots
* move the function I meant to move earlier
* remove accidental commit
* another accidental commit
* verify UpdateSnapshot is called with sessionUid
* revert
* pass in session uid everywhere
* forgot to save
* fix unit test
* fix typo
* tiny tweak
2024-07-30 09:02:41 -04:00
Will Browne
fa49fe3331
Plugins: Use bundle instead of individual plugin during construct step ( #91140 )
...
* work off bundle instead of individual plugin
* Remove children
Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com >
* Remove children ref
Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com >
* fix assign
* end early
* unset children
---------
Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com >
2024-07-30 11:24:37 +01:00
Ryan McKinley
da65825c5f
Storage: Consolidate error handling ( #91167 )
2024-07-30 10:16:16 +00:00
Vardan Torosyan
e20f8c566d
RBAC sync: Fix removal of roles which need to be added ( #91152 )
...
* RBAC sync: Fix removal of roles which need to be added
* Optimize code
* cleanup: appease the linter
---------
Co-authored-by: Victor Cinaglia <victor@grafana.com >
2024-07-30 09:00:47 +02:00
Ryan McKinley
728150bdbd
Identity: extend k8s user.Info ( #90937 )
2024-07-30 08:27:23 +03:00
Yuri Tseretyan
8323b688c6
Alerting: Improve logging in scheduler and states ( #91003 )
...
* handle metadata map nil
* remove double context
* clean up logging in scheduler
* do not reuse loggers from previous ticks
* log the dropped tick
* log tick instead of ticknum
* replace with processing tick logs
* log sending notifications
* update logging in persister to fetch context
* logs to historian
moved them upstream to be able to log when store is overridden
2024-07-29 16:01:48 -04:00
Yuri Tseretyan
1b4b1af9b7
Alerting: Receiver API to use same logic for calculating UID as backend serivce ( #91153 )
...
use same logic for calculating uID as backend serivce
2024-07-29 15:55:49 -04:00
Georges Chaudy
7ad37ff4e4
UnifiedStorage: ensure list from history works across all 3 database backends ( #91134 )
...
* Ensure List is sorted by resource version DESC
* Ensure List is sorted by resource version DESC
* fix list in the past for postgres
2024-07-29 13:49:54 -06:00
Matthew Jacobson
62f67e38b8
Alerting: Implement receiver auth service ( #90857 )
2024-07-29 15:49:10 -04:00