Georges Chaudy
e270412dbf
unistore: wire the authz client ( #96632 )
...
* unistore: wire the authz client
* rename dashboards.grafana.app into dashboard.grafana.app
* wire the authz client
* wire the authz client
* resuse the Standalone constructor
* configure default migration for resource folder
* add tests
* cleanup
* add logging
2024-11-19 15:13:30 +02:00
Karl Persson
7e442efa9c
Zanzana: sync roles and bindings ( #96661 )
...
* Sync fix and custom roles and team bindings.
* Add collector for user role bindings
2024-11-19 13:18:44 +01:00
linoman
8b7100a9aa
Auth: Add None role to Viewer case ( #96624 )
...
Add None role to Viewer case
2024-11-19 11:29:58 +01:00
Matthew Jacobson
2364299a8c
Alerting: Fix annotation state migration to retain nullability on MySQL ( #96640 )
2024-11-18 15:51:45 -05:00
Alexander Zobnin
1366197522
Zanzana: Search with check server side ( #96268 )
...
* pass zclient into dashboard service
* Search then check implementation
* Use GetNamespace() for user
* remove unused orgID
* simple batch check
* refactor
* add tests
* fix batchCheckItem
* client implements batch check
* use batch check in search
* remove unused
* remove All field from response
* refactor: extract checkNamespace
* fix search result uniqueness
* comment fix
* Apply suggestions from code review
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
* refactor
* cleanup
* remove unnecessary check
* fix tests
* fix protobuf def
* Fix query page
* fix type
---------
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
2024-11-18 14:01:28 +01:00
Sonia Aguilar
76444c7913
Alerting: Add alertingOptimizeReducerInUI feature toggle ( #96608 )
...
add alertingOptimizeReducerInUI feature toggle
2024-11-18 12:59:00 +02:00
Ieva
0a85f15214
RBAC: Remove folder name scope resolver ( #96484 )
...
* remove folder name scope resolver
* update test
2024-11-18 12:47:10 +02:00
Matthew Jacobson
65097d4b54
Alerting: Fix k8s api route fingerprint to include ObjectMatchers and Provenance ( #96591 )
...
Fix route fingerprint to include ObjectMatchers and Provenance
2024-11-16 08:38:30 -05:00
Charandas
9223cd8f59
Cloud Aggregation: make it work for users with no name ( #96509 )
2024-11-16 01:28:54 +02:00
Todd Treece
66d5c051aa
Dashboards: Add v1alpha1 and v2alpha1 conversion ( #96415 )
...
---------
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com >
2024-11-15 15:49:45 -05:00
Yuri Tseretyan
420db99d16
Alerting: Update state manager to have immutable state in cache ( #95985 )
...
* create a new state and set at the end
* propagate labels datasource_uid and ref_id from current state if it's error
* copy the state when apply to all
2024-11-15 15:01:02 -05:00
Stephanie Hingtgen
b12c731d59
Stars: Add dashboard_uid and org_id to table ( #96408 )
2024-11-15 09:51:31 -06:00
Matthew Jacobson
c6a90ed3cd
Alerting: Fix long KeepLast annotations failing to save ( #96503 )
...
Certain combinations of KeepLast state transition annotations exceed the current
limit of 25 characters. This increases the column size limit to be able to
handle the longest combination (27) with some extra space for comfort.
2024-11-15 10:43:56 -05:00
Gareth Dawson
cc1d76fc0a
Jaeger: Add feature toggle for backend migration ( #96494 )
...
* add feature toggle for jaeger backend migration
* add codeowners
2024-11-15 14:40:20 +00:00
Karl Persson
1f34096fdf
Zanzana: reconcile basic roles and bindings ( #96473 )
...
* Add reconciler for basic roles
* Add reconciler for basic role bindings
2024-11-15 12:10:22 +01:00
Karl Persson
7e38fd733b
Zanzana: Lazy load cached store info ( #96452 )
...
* Lazy load cached store infos
2024-11-15 11:44:34 +01:00
Ashley Harrison
eededdd4c1
SingleTopNav: Update singleTopNav feature toggle to public preview ( #96527 )
...
update singleTopNav to public preview
2024-11-15 12:06:27 +02:00
Juan Cabanas
ec1a722504
Reporting: useReportRawTimeRange FF ( #95683 )
2024-11-14 17:08:03 -03:00
Kristina
3a921d898c
Codeowners: reflect changed ownership for explore squad ( #96492 )
2024-11-14 13:51:06 -06:00
Matthew Jacobson
64c93217ff
Alerting: Fix incorrect 500 code on missing alert rule dashboardUID / panelID ( #96491 )
2024-11-14 21:24:48 +02:00
Leon Sorokin
39fe0b29ff
XYChart: Remove old implementation ( #96416 )
2024-11-14 10:36:18 -06:00
colin-stuart
6abe99efd6
Auth: Passwordless Login Option Using Magic Links ( #95436 )
...
* initial passwordless client
* passwordless login page
* Working basic e2e flow
* Add todo comments
* Improve the passwordless login flow
* improved passwordless login, backend for passwordless signup
* add expiration to emails
* update email templates & render username & name fields on signup
* improve email templates
* change login page text while awaiting passwordless code
* fix merge conflicts
* use claims.TypeUser
* add initial passwordless tests
* better error messages
* simplified error name
* remove completed TODOs
* linting & minor test improvements & rename passwordless routes
* more linting fixes
* move code generation to its own func, use locationService to get query params
* fix ampersand in email templates & use passwordless api routes in LoginCtrl
* txt emails more closely match html email copy
* move passwordless auth behind experimental feature toggle
* fix PasswordlessLogin property failing typecheck
* make update-workspace
* user correct placeholder
* Update emails/templates/passwordless_verify_existing_user.txt
Co-authored-by: Dan Cech <dcech@grafana.com >
* Update emails/templates/passwordless_verify_existing_user.mjml
Co-authored-by: Dan Cech <dcech@grafana.com >
* Update emails/templates/passwordless_verify_new_user.txt
Co-authored-by: Dan Cech <dcech@grafana.com >
* Update emails/templates/passwordless_verify_new_user.txt
Co-authored-by: Dan Cech <dcech@grafana.com >
* Update emails/templates/passwordless_verify_new_user.mjml
Co-authored-by: Dan Cech <dcech@grafana.com >
* use & in email templates
* Update emails/templates/passwordless_verify_existing_user.txt
Co-authored-by: Dan Cech <dcech@grafana.com >
* remove IP address validation
* struct for passwordless settings
* revert go.work.sum changes
* mock locationService.getSearch in failing test
---------
Co-authored-by: Mihaly Gyongyosi <mgyongyosi@users.noreply.github.com >
Co-authored-by: Dan Cech <dcech@grafana.com >
2024-11-14 08:50:55 -05:00
Andres Martinez Gotor
e886079d4c
Enable preinstallAutoUpdate by default ( #96446 )
2024-11-14 13:37:21 +01:00
Alexander Akhmetov
324503ee8b
Alerting: Add simplified_notifications_section field to the alert rule metadata ( #95988 )
2024-11-14 12:55:54 +01:00
Tom Ratcliffe
7a414a04a0
Alerting: Fix permissions for timeintervals UI and improve display of contact points in notification policies ( #96129 )
...
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2024-11-14 09:55:15 +00:00
Karl Persson
5115247818
Zanana: Fix list test ( #96401 )
...
Fix: List operation are not guaranteed to respond in a certain order
2024-11-14 10:13:59 +01:00
Tom Ratcliffe
bfecce320a
Alerting: Fix some templates RBAC UI action control/checks ( #94898 )
2024-11-13 17:14:15 +00:00
Santiago
9e408f842c
Alerting: Skip sanitizing labels when sending alerts to the remote Alertmanager ( #96251 )
...
* Alerting: Skip sanitizing labels when sending alerts to the remote Alertmanager
* fix drone image name
2024-11-13 11:21:44 -03:00
Roberto Jiménez Sánchez
7bfaf2a7bf
[Cloud Migrations] Fix panic in unit tests ( #96389 )
...
* Fix panic in unit test
* Reset mock to new one between tests
2024-11-13 16:06:32 +02:00
Matheus Macabu
29ee90bc26
CloudMigrations: add parent folder name to alert rule resource ( #96366 )
2024-11-13 12:20:56 +01:00
Dana Axinte
924b0d0863
CloudMigration: Add user uid to on prem event collection ( #94804 )
...
* add useruid to report events
* test
2024-11-13 11:07:00 +00:00
Misi
275ee55e8f
Auth: Extend the SAMLStrategy with entity_id ( #96234 )
...
Add the ability to specify EntityID
2024-11-13 10:36:46 +01:00
lean.dev
750a0bed71
MigrationAssistant: Restrict dashboards, folders and datasources by the org id of the signed in user ( #96339 )
...
apply security patch: main/206-202410241510.patch
2024-11-12 13:03:16 -06:00
Alexander Akhmetov
580d073b96
Alerting: Add context to the logger in state manager Warm ( #96228 )
2024-11-12 19:41:05 +01:00
Roberto Jiménez Sánchez
7f99e943a6
Do not use the span recorder in test ( #96324 )
2024-11-12 17:55:53 +01:00
Piotr Jamróz
3a6858cf26
Frontend o11y: Report browser crashes to Faro ( #95772 )
...
* Report browser crashes to Faro
* Fix linting
* Change context log context prefix
* Update types
* Update crash detection library to report stale tabs
* Post merge fixes
2024-11-12 16:07:27 +01:00
Karl Persson
ae95a6158f
Zanana: Remove opefga from client and implement compile ( #96275 )
...
Zanana: Remove opefga from client and implement Compile
2024-11-12 15:30:34 +01:00
Ieva
69a38c634c
RBAC: Enable action sets by default ( #96286 )
...
enable action sets by default
2024-11-12 12:39:51 +00:00
Andres Martinez Gotor
c3494614e3
PoC: Define userstorage API ( #95557 )
2024-11-12 12:56:41 +01:00
Karl Persson
db6422c8a3
Zanzana: Use correct namespace when evaluating permission ( #96258 )
...
Use correct namespace
2024-11-12 11:52:29 +01:00
Roberto Jiménez Sánchez
fde9ddfc8c
[Cloud Migration] Skip flaky cloud migration unit test ( #96256 )
...
Skip Flaky Cloud Migration test
2024-11-12 11:08:35 +01:00
Gabriel MABILLE
cc9cdbe82d
Authz: Move extension proto up a layer ( #96254 )
...
* Authz: Move extension proto up a layer
* Lint
2024-11-12 10:19:12 +01:00
Karl Persson
8d74296b6c
Authn: Always set namespace ( #96230 )
...
* Rename from AllowedKubernetesNamespace to Namespace
* Use a sync hook to always set namespace for Identity.
* format
* Don't set uid when authenticating as user
2024-11-12 10:12:47 +01:00
Agnès Toulet
d2aca99d38
Public Dashboard: Support relative time range in panels when time picker is disabled ( #96076 )
...
Public Dashboard: Support relative time range in panels
2024-11-12 09:21:13 +01:00
Roberto Jiménez Sánchez
477326b9c3
[CloudMigrations] Fetch cloud migration status asynchronously ( #96084 )
...
* Single go-routine without touching too many lines.
* Fix unit tests
* Use require for Eventually
* Use a 10 second internal to poll for new results.
2024-11-11 19:26:30 +01:00
Ieva
c8f3173f2c
GAS: Set group attribute sync to private preview ( #96146 )
...
set GAS to private preview
2024-11-11 16:25:17 +00:00
Alexander Zobnin
b1fb581ab1
Zanzana: Evaluate access with Check request (server-side) ( #96213 )
...
* Zanzana: Evaluate access with Check request (server-side)
* Pass parent folder for checking access
* Review suggestions
* remove fixme comment
2024-11-11 16:39:21 +01:00
Karl Persson
9f66843915
Zanzana: use namespace when performing reconciliation ( #96205 )
...
* Special handling for zanzana reconciliation if stack id is configured
* remove sync call
2024-11-11 13:48:49 +01:00
Carl Bergquist
c7b6822a5e
Loki: Apply scopes to expression if feature toggle is enabled. ( #95917 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
Co-authored-by: Kyle Brandt <kyle@grafana.com >
2024-11-11 12:53:24 +01:00
Ryan McKinley
c0de407fee
K8s/Dashboards: Delegate large objects to blob store ( #94943 )
2024-11-09 08:09:46 +03:00