Commit Graph
739 Commits
Author SHA1 Message Date
Ryan McKinley aecf06dff3 merge main 2025-03-07 00:52:53 +03:00
Sarah Zinger ab56ac515d DS-Querier: Hopefully fix and debug cases where query data response is nil (#101729) 2025-03-06 15:30:06 -05:00
Ryan McKinley 768295f926 Provisioning: Return upsert resource when writing (#101574) 2025-03-06 15:04:27 +03:00
Ryan McKinley c6f04b2033 merge main 2025-03-06 12:55:42 +03:00
Ryan McKinley de9febcab7 Provisioning: Include URLs in ResourceWrapper response (#101511) 2025-03-06 12:34:14 +03:00
Karl Persson 6389b801b9 Authz: Pass correct property (#101674) 2025-03-06 10:02:04 +01:00
Ryan McKinleyandRoberto Jiménez Sánchez e4f704e363 Provisioning: Migrate when using unified storage (#101572)
* migrate when not unified

* Update pkg/registry/apis/provisioning/register.go

Co-authored-by: Roberto Jiménez Sánchez <roberto.jimenez@grafana.com>

* variables

* merge main

---------

Co-authored-by: Roberto Jiménez Sánchez <roberto.jimenez@grafana.com>
2025-03-05 13:13:21 +01:00
Ryan McKinley 6e950f38b1 backend building... frontend still broken 2025-03-05 10:35:45 +03:00
Ryan McKinley e51c5796df Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync 2025-03-05 09:54:51 +03:00
Ryan McKinleyandStephanie Hingtgen dc2defd84f K8s/Annotations: Use manager/source annotations rather than repo (#101313)
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com>
2025-03-05 08:54:20 +02:00
Stephanie Hingtgen 67221fb328 K8s: Folders: Fix not found errors (#101585) 2025-03-05 00:31:41 +02:00
Stephanie Hingtgen 7c35d741ba Folders: Add validation that folder is not a parent of itself (#101569) 2025-03-04 13:56:21 -06:00
Ryan McKinley 30387bdc0f fix build 2025-03-04 08:03:26 +03:00
Ryan McKinley 301e727f82 merge dashboard changes 2025-03-04 07:50:04 +03:00
Ryan McKinley c1b48cc488 Dashboards: Add apiVersion to dashboard table (#100845) 2025-03-04 07:47:45 +03:00
Ryan McKinley 0bd4053924 Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync 2025-03-04 07:28:26 +03:00
Sarah Zinger ed3f96ce28 Fix misleading log line (#101532) 2025-03-03 15:52:47 -05:00
Ryan McKinley c48047e759 Provisioning: better error support (#101490) 2025-03-03 16:31:58 +03:00
Ryan McKinley f082f01d43 Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync 2025-03-01 16:15:01 +03:00
Karl Persson d6b6a9da7b FolderAPI: Use different authorizer for multi-tenant api (#101372)
Use different authorizers depening on if we are running multi-tenant or single-tenant
2025-02-28 10:10:32 +01:00
Roberto Jiménez Sánchez 52d32c7ff8 [Provisioning] Add more explicit setup warnings if webhook integration and image rendering are disabled (#101304)
* Setup warnings if renders or webhooks are not possible

* Improve display

* Use a single Alert

* Make design more compact

* Only display local config is missing critical feature toggles

* Improve styling of required flags

* Add file name to the custom ini itself

* Add copy button

* Add FeatureSection Component

* Commit betterer

* Use an interactive table

* Use a modal for instructions

* Use the same modal for example config

* Improve setup steps

* Improve stepper

* Copy code ctrl + c

* Make it more compact

* Select feature to enable

* Improve the height of alerts

* Separate components

* Better warnings

* Improve the page

* Improve the cards

* Improve cards even more

* Improve cards

* Improve cards

* Optional copy in code block

* Add side bar with steps

* Improve styling

* Style modal

* Clean up Code

* Remove index file

* Simplify Step Component

* Commit betterer

* Simplify components

* Use CodeEditor and Clipboard components

* Do not show scrollback on minimum size

* Fix positioning of footer

* Separate Component for Feature

* Use different styling

* Commit betterer

* Use more Grafana components in the FeatureCard

* Separate sidebar into own components

* Simplify sidebar code

* Commit betterer

* Remove connector

* Simplify styling further

* Use cards

* Improve code

* Use more grafana component in InstructionsModal

* Further simplify

* Simplify the code

* Simplify style

* Clean up

* Simplify the Wizard

* Use little icons

* Improve feature cards

* Improve cards

* Commit betterer

* Add description to feature setup

* Improve instructions for snapshot preview

* Move all files into Setup folder

* Commit betterer

* Clean up the warnings code

* Improve coding

* Move sidebar item to separate fiel

* Rename components

* Fix issues

* Use stack instead

* Improve style

* Don't show setup button if configured already

* Simplify again CSS

* Use secondary actions

* Style a bit more

* Improve wording

* Update warning

* Refer to docs in Image Renderer

* More clean up

* Revert changes in generated client
2025-02-28 10:04:57 +01:00
Ryan McKinley 5652e0b835 K8s/Dashboard/SQL: Support ascending order query (#101363) 2025-02-28 11:34:09 +03:00
Ryan McKinley b94e192c0a merge main 2025-02-28 09:18:17 +03:00
Ryan McKinley 806c043e45 UnifiedStorage: Rename Batch processing to Bulk (#101413) 2025-02-28 08:41:08 +03:00
Leonor Oliveira 5e61ec1258 Prevent wrong type conversion (#101349) 2025-02-27 15:17:50 +01:00
Ryan McKinley 58457d41d3 K8s/DualWriter: Remove legacy interface (#101395) 2025-02-27 13:27:28 +03:00
Ryan McKinley c35ac53ded Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync 2025-02-26 11:40:24 +03:00
Ryan McKinley 6e3c95abc8 Provisioning: Use blob storage rather than local file system to save images (#101298) 2025-02-26 11:29:00 +03:00
Karl Persson fa74d1c36d Authn: Sync authlib and update how we construct authn client interceptor (#101124)
* Sync authlib and update how we construct authn client interceptor

* Remove namespace from checker
2025-02-26 09:22:09 +01:00
Ryan McKinley 2b882229ec merge main 2025-02-26 08:44:56 +03:00
Alex KhomenkoandRyan McKinley ff87355aba POC/Provisioning: Unify tags (#101218)
* Unify tags

* add both tags

* add tag types

* Check for the redirect only once

* Add fetch settings with delay hook

* Refetch settings

* Split hooks into separate files

* Cleanup

* Prettier

* Prettier

* Remove lint code

* Betterer

---------

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2025-02-25 19:06:47 +02:00
Roberto Jiménez Sánchez caf4b3d346 [Provisioning] Remove linting from MVP (#101286)
* Remove Linting backend

* Re-generate client
2025-02-25 12:47:10 +01:00
Roberto Jiménez Sánchez 6a07c2546d [Provisioning] Refactor Pull Request & Lint worker (#101273)
* Refactor the code

* Refactor into separate files

* Consolidate linter flag in one spot

* Use global feature flags

* Commit betterer

* Remove from JSON the intermidiate flag

* Use again spec

* Clean up

* Revert changes in test
2025-02-25 12:13:53 +01:00
Ieva bfabe2ce82 Ks8/Folders: Fix status codes returned on GET (#101237)
return the correct status code for folder fetching failures
2025-02-25 11:07:27 +00:00
Andres Martinez Gotor 120b277664 Advisor: Cloud fixes (#101136) 2025-02-25 11:41:44 +01:00
Ryan McKinley 64632af3f7 Provisioning: Avoid localhost error loop (#101253) 2025-02-24 22:42:15 +03:00
Roberto Jiménez Sánchez 4ef2ba6293 [Provisioning] Use smaller methods to process repository events (#101240) 2025-02-24 21:12:03 +03:00
af61516986 POC/Provisioning: Handle connect step errors (#101192)
* Provisioning: Unify status handling in repository and migrate steps

* Refactor: Move WorkflowsField outside RepositoryStep and use proper type

* Refactor: Improve repository verification error handling and UI

* Refactor: Simplify repository verification error handling

* Refactor: Simplify RepositoryStep component structure

* Refactor: Improve error handling in RepositoryStep

* Refactor: Remove redundant repository creation logic from ProvisioningWizard

* Refactor: Simplify RequestErrorAlert component

* show github error

* now will verify

* test .git

* recover from bad config

* Update error handling

* Remove unused prop

* merge upstream

* Show migration summary

* Update text

* Improve text

* Betterer

* [Provisioning] Review controller changes (#101216)

* Review health check conditions

* Move down the logic to set up the sync status

* Skip if it's only a health check rerun

* Fix health check conditions

* Preserve last ref

* Format code

* Rename to shouldSkipSync

---------

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: Roberto Jiménez Sánchez <roberto.jimenez@grafana.com>
2025-02-24 16:44:33 +02:00
Ryan McKinley 275b43665d more lint 2025-02-24 14:57:35 +03:00
Ryan McKinley 9ebb5cb477 fix misspell 2025-02-24 14:35:50 +03:00
Mariell Hoversholm e137385a81 Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync 2025-02-24 10:17:08 +01:00
Ryan McKinley 6c8d24184a Provisioning: Export oldest items first (#101189) 2025-02-24 11:17:02 +03:00
279b641469 Provisioning: Define large parts of our infrastructure (#101029)
* Provisioning: Define secrets service

* Provisioning: Create and store secrets service

* Provisioning: Define safepath

* Provisioning: Define the repository

* Identity: Support a provisioning service

* Provisioning: Define a job queue

* Chore: Regen code

* Provisioning: Show progress more often

Co-Authored-By: Ryan McKinley <ryantxu@gmail.com>

* Provisioning: Rename hash field to lastRef

Co-Authored-By: =?UTF-8?q?Roberto=20Jim=C3=A9nez=20S=C3=A1nchez?= <roberto.jimenez@grafana.com>

* Provisioning: Workflows as write access

Co-Authored-By: Ryan McKinley <ryantxu@gmail.com>

* Provisioning: Regen OpenAPI snapshot

* Provisioning: Update tests to match new fields

---------

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: =?UTF-8?q?Roberto=20Jim=C3=A9nez=20S=C3=A1nchez?= <roberto.jimenez@grafana.com>
2025-02-24 09:08:58 +01:00
Ryan McKinley 428966325f actualy remove and don't crash without provisioning flag 2025-02-24 08:53:12 +03:00
Ryan McKinley 122cfb568b update preview banner 2025-02-23 22:36:51 +03:00
Ryan McKinley 9d250f8a85 Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync 2025-02-22 08:39:36 +03:00
Todd Treece 9e80b0f913 K8s: Add error to GetRestConfig (#101147)
K8s: Add error to RestConfigProvider return values
2025-02-21 18:07:13 +02:00
Ryan McKinley 33621faf0a Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync 2025-02-21 15:53:08 +03:00
Ryan McKinley 6e7fb03c3a Provisioning: Show progress more often (#101128)
* show progress bar earlier

* show progress bar earlier

* update wording to be less specific
2025-02-21 13:04:43 +01:00
Todd Treece 3992ac2ac1 Dashboard: Multi-version builder (#100305) 2025-02-21 06:50:29 -05:00