Commit Graph
1634 Commits
Author SHA1 Message Date
Ryan McKinley c6f04b2033 merge main 2025-03-06 12:55:42 +03:00
Matheus Macabu caabb06cd8 Chore: Bump dependencies to address security issues (#101620)
* Chore: Bump golang.org/x/net to v0.36.0

* Chore: Use github.com/moby/moby version 27.5.1 instead of 26.0.0

* Chore: Bump github.com/ua-parser/uap-go to v0.0.0-20250213224047-9c035f085b90

* Chore: Bump github.com/grpc-ecosystem/go-grpc-middleware/v2 to fix 32-bit overflow issue
2025-03-06 10:12:05 +01:00
Jack Westbrook ac9615ec7d Grafana/schema: Expose dist directory in package.json exports (#101626)
build(schema): expose dist directory in package.json exports so scenes can consume them
2025-03-06 07:09:42 +01:00
Ryan McKinley 59188569f0 merge main 2025-03-05 20:15:43 +03:00
Matheus Macabu 61eb837dd6 Chore: Bump Go to 1.23.7 (#101576) 2025-03-05 14:55:36 +01:00
Ryan McKinley e51c5796df Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync 2025-03-05 09:54:51 +03:00
Jack WestbrookandKristian Bremberg bbfeb8d220 Feature: Introduce subresource integrity checks (SRI) for frontend assets (#100983)
* feat(featuremgmt): introduce feature toggle for enabling sri checks

* feat(frontend): use assetSriChecks feature toggle to inject integrity hash into script tags

* chore(webpack): align sri algorithms across dev and prod builds

* docs(featuremgmt): update assetSriChecks to pass CI

* docs(featuremgmt): fix more spelling complaints with assetSriChecks

* Add crossorigin attribute

* chore(webpack): add subresource-integrity plugin

* build(webpack): wrap webpack jsonp loader integrity checks in feature flag checks

* revert(index.html): remove crossorigin attribute if assertSriChecks is disabled

---------

Co-authored-by: Kristian Bremberg <kristian.bremberg@grafana.com>
2025-03-04 11:56:35 +01:00
Jack Westbrook 859c12bbb4 Grafana UI: Expose unstable entrypoint (#97080)
* feat(grafana-ui): build unstable entrypoint for experimental components

* feat(plugins): expose grafana/ui/unstable

* build(grafana-ui): add rollup plugin to create alias package.json for unstable entrypoint

* build(packages): rewrite prepare npm script to generate alias packagejson files

* chore(packages): use relative paths in publishConfig for exports generation

* chore(frontend): move npmcli/package-json package to root package.json

* revert(grafana-ui): remove rollup plugin for generating alias package.json files

* chore(grafana-ui): clean up unstable directory postpack to prevent yarn lock issues

* build(packages): fix scope for pkgName usage

* feat(packages): create separate cjs and esm builds that validate with arethetypeswrong cli

* chore(yarn): refresh lock file

* fix(packages): make sure alias package.jsons point to existing files
2025-03-04 09:55:41 +01:00
Ryan McKinley 2b882229ec merge main 2025-02-26 08:44:56 +03:00
Jev Forsberg a7ecb19c31 Chore: Update base alpine docker image (#101320)
* baldm0mma/ update base image arg

* baldm0mma/ update alpine image

* baldm0mma/ skip failing test

* baldm0mma/ specifiy patch

* baldm0mma/ flaky test?
2025-02-25 16:23:28 -07:00
Ryan McKinley 926eb3f82f merge main 2025-02-24 21:36:59 +03:00
Ryan McKinley 4e67e48c1e Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync 2025-02-24 21:36:37 +03:00
Ryan McKinley e482c037bf Chore: Update drone promote support (#101241) 2025-02-24 20:36:13 +02:00
Kevin Minehart 738a3ba61a fix promotion pipeline 2025-02-24 09:02:51 -06:00
Kevin Minehart 5d82de736f In the promotion pipeline, publish should depend on build 2025-02-24 08:57:59 -06:00
Kevin Minehart 3464798f32 fix promotion step 2025-02-24 08:45:46 -06:00
Ryan McKinleyandClarity-89 6a0bc60413 Provisioning: Onboarding landing page (#101112)
* add landing page before wizard

* Update onboarding page

* Update URL

* Remove unused

* Add deleteAll button

* Improved text

* betterer

---------

Co-authored-by: Clarity-89 <homes89@ukr.net>
2025-02-21 09:52:16 +02:00
Ryan McKinley 2c8a761213 merge main 2025-02-20 23:35:18 +03:00
Kevin Minehart 49e5f77dd1 CI: Remove unused release_publisher scripts (#101019)
* Remove the unused `release_publisher` script.
* Remove the "whats new check" in Drone.
* Automatically set the What's New URL in releases based on the tagged version.
2025-02-20 12:00:15 -06:00
Mariell Hoversholm 43df78669d Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync 2025-02-19 13:25:58 +01:00
Jack Westbrook 08000eeece Chore: refresh betterer results file (#100863)
* chore(betterer): refresh results file

* ci(betterer): add betterer:ci script to catch out of sync results file
2025-02-18 18:23:32 +02:00
Mariell Hoversholm 77a11efe0c Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync 2025-02-18 14:09:31 +01:00
Robert GoltzandMatheus Macabu 27837ee937 Chore: Update alpine docker image (minor) - 3.20.5 to 3.20.6 [security] (#100791)
* Chore: Update alpine docker image (minor) - 3.20.5 to 3.20.6 [sec-fixes]

* Chore: Regenerate .drone.yml

---------

Co-authored-by: Matheus Macabu <macabu.matheus@gmail.com>
2025-02-17 16:41:38 +01:00
Andrej Ocenas eff847e31f Query Library: Move backend to enterprise (#100371) 2025-02-17 08:56:55 +02:00
Alex Khomenko 1419639b0b POC/Provisioning: Remove S3 references (#100734)
* Remove unused script

* Remove s3 references
2025-02-14 16:45:42 +02:00
Andrej Ocenas d092998927 Query Library: Move backend to enterprise (#100371)
* Move files to enterprise

* Remove last parts of QL api

* Fix CODEOWNERS
2025-02-14 11:05:03 +00:00
Ryan McKinley f2911bdebb Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync 2025-02-13 09:45:28 +03:00
Sergej-Vlasov d1dee968c3 Schema V2: Adjust quick_ranges in time settings and remove time_options (#100135)
* adjut quickRanges type in v2

* clean up unused time_options property

* remove deprecated time_options property on time picker

* add schema migration for time_options

* adjust test
2025-02-12 19:23:09 +00:00
Tom Ratcliffe 1f6142dd8f Chore: Remove betterer:merge and revert previous changes to betterer:stats (#98609) 2025-02-12 17:14:43 +02:00
Clarity-89 0f382ea04f Merge branch 'main' into grafana-git-ui-sync 2025-02-12 17:00:53 +02:00
Josh Hunt a9b4b1e5be Chore: pin tonistiigi/binfmt version (#100510)
* Chore: pin tonistiigi/binfmt version

* change version to qemu-v7.0.0-28

* uninstall first, log version

* uninstall first, log version

* uninstall first, log version
2025-02-12 08:37:04 -06:00
Ryan McKinley 24cfb93ef6 Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync 2025-02-07 23:28:21 +03:00
Agnès Toulet 0beb7e668b E2E: Add PDF/CSV/Image comparison tasks (#99104)
* E2E: Add tasks for new reporting tests

* try to switch to pdf-parse

* fix pdf comparison

* add log

* increase threshold

* clean up

* apply review feedback

* improve logs + fix local setup for reporting

* format
2025-02-07 15:46:32 +01:00
Clarity-89 42d7ca0c53 Merge branch 'main' into grafana-git-ui-sync
# Conflicts:
#	go.work.sum
2025-02-07 07:56:40 +02:00
Jev Forsberg 8e3327a446 Chore: Update grabpl version to v3.1.2 (#100157)
baldm0mma/ update grabpl version
2025-02-06 15:23:51 -07:00
Andres Martinez Gotor 05ea450dd2 Drone: Add apps directory for backend tests (#100204) 2025-02-06 17:01:50 +02:00
Ryan McKinley e1f075bdde Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync 2025-02-04 12:42:22 +03:00
Ashley Harrison c94b8b78ae API client generation: Add verify-api-clients step to drone (#99987)
* add verify-api-clients step to drone

* change to check the verify step fails

* ignore conf dir

* rerun make drone

* undo change to make step fail
2025-02-04 09:13:44 +00:00
Alex Khomenko 443cb092b4 RTK APIs: Support multiple source files (#100029) 2025-02-04 10:32:29 +02:00
Ryan McKinleyandClarity-89 ca3db84d99 POC/Provisioning: Use RepositoryViewList for /settings endpoing (#99978)
* frontend settings as list

* frontend settings as list

* remove weird comment

* remove metadata

* lint

* Add hooks back

---------

Co-authored-by: Clarity-89 <homes89@ukr.net>
2025-02-04 07:53:11 +02:00
Jev Forsberg 46af49f907 Chore: Update alpine build docker image (#99998)
baldm0mma/ update alpine build image
2025-02-03 15:06:29 -07:00
Clarity-89 e995715bb9 Merge branch 'main' into grafana-git-ui-sync
# Conflicts:
#	public/app/core/reducers/root.ts
#	scripts/generate-rtk-apis.ts
2025-02-03 17:48:23 +02:00
Ashley Harrison f728b2df12 API client generation: Dedupe scripts and centralise them (#99970)
dedupe scripts and centralise them
2025-02-03 15:26:23 +00:00
Mariell Hoversholm 8109fd0226 Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync 2025-02-03 13:18:25 +01:00
Alex Khomenko a0901456ae RTK Clients: Fix namespace filter (#99949)
* Fix namespace filter

* Update comment

* Update filter
2025-02-03 13:50:15 +02:00
Alex Khomenko 33a5a62868 POC/Provisioning: Update RTK APIs (#99790)
* Switch to .gen file

* Fix type errors

* Remove watch param

* add comment

* Remove type assertion

* Fix comments
2025-01-30 10:36:30 +02:00
Ryan McKinley eccd8e5638 merge main 2025-01-29 23:49:57 +03:00
Alex KhomenkoandRyan McKinley 9f4e8ee206 Query Library: Update API client (#99382)
* Add process script

* Working version

* Use new types

* Use new types

* Update client

* Tweaks

* Process multiple specs

* Remove 'any' types

* Use BASE_URL

* Update CODEOWNERS

* Fix filename

* add openapi

* update CODEOWNDER

* use JSONeq

* Use existing specs

* Filter ForAllNamespaces

* Add instructions

* Switch to tsx

* Use openapi-types

* Update src path

* Expand docs

* Update docs

* Rename script

* codeowners

* More docs

* Move openapi-types to dev deps

* Update error message

* Update doc

* Fix typo

---------

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2025-01-29 18:05:40 +02:00
Ryan McKinley 0fece88980 Provisioning: Support finalizers in our controller (#99532) 2025-01-29 18:22:10 +03:00
Ryan McKinley beaebcf606 Provisioning: Move openapi setup to core (#99701) 2025-01-29 08:47:04 +03:00