Hugo Häggmark
bc843913e4
Chore: Removes HideAngularDeprecation configuration ( #110665 )
...
* Chore: cleans up HideAngularDeprecation
* Trigger build
2025-09-08 12:39:01 +02:00
Kevin Minehart
7c2945bb54
Remove drone & dead code in pkg/build; update go modules ( #109935 )
...
* remove drone & dead code in pkg/build; update go modules
* remove .drone.star
* Remove drone scripts and drone references in Makefile
* make update-workspace
* remove deadcode tool
* Remove daggerbuild/scripts: deadcode
* Remove drone files / folders in CODEOWNERS
* make update-workspace
* remove more dead code
2025-08-20 14:27:58 -05:00
Hugo Häggmark
6fb6cf4f1d
Chore: defaults localizationForPlugins behavior ( #109778 )
...
* Chore: defaults localizationForPlugins behavior
* chore: fixes backend tests
* chore: fix backend tests
* chore: fix some more backend tests
2025-08-18 13:57:28 +02:00
Mariell Hoversholm
28024c74f8
Go: Update to 1.24.6 ( #109313 )
...
Co-authored-by: joshhunt <josh.hunt@grafana.com >
2025-08-07 10:27:01 +02:00
Zoltán Bedi
3ff4c6a2d2
Postgres: Switch the datasource plugin from lib/pq to pgx ( #108443 )
...
* Postgres: Switch the datasource plugin from lib/pq to pgx
* Fix lint
2025-07-30 14:47:25 +02:00
Todd Treece
0c1cd7fa58
Apps: Update grafana-app-sdk to v0.40.1 ( #108786 )
2025-07-28 12:34:09 +00:00
Serge Zaitsev
a95fb3a37c
Chore: Omit integration tests if short test flag is passed ( #108777 )
...
* omit integration tests if short test flag is passed
* Update pkg/services/ngalert/models/receivers_test.go
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
* Update pkg/tests/api/alerting/api_ruler_test.go
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
* Update pkg/tests/api/alerting/api_ruler_test.go
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
* Update pkg/tests/api/alerting/api_ruler_test.go
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
* Update pkg/tests/api/alerting/api_ruler_test.go
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
* Update pkg/tests/api/alerting/api_ruler_test.go
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
* Update pkg/services/ngalert/models/receivers_test.go
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
* Update pkg/cmd/grafana-cli/commands/datamigrations/to_unified_storage_test.go
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
* Update pkg/services/ngalert/models/receivers_test.go
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
* fix the rest
* false positive
---------
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
2025-07-28 13:38:54 +02:00
Matheus Macabu
52f6104230
Dependencies: Bump Go to v1.24.5 ( #108175 )
2025-07-22 17:08:40 +02:00
Will Browne
7f065c94de
Plugins: Remove pluginsCDNSyncLoader feature toggle ( #108389 )
...
* remove pluginsCDNSyncLoader feature toggle
* fix lint issues
* fix other linter issue
2025-07-22 09:33:23 +01:00
Todd Treece
e5d2f92384
K8s: Add App SDK installer ( #107773 )
2025-07-21 13:32:15 -04:00
Will Browne
cd87bbbdea
Plugins: Remove externalCorePlugins feature toggle ( #108386 )
...
remove externalCorePlugins feature toggle
2025-07-21 13:55:30 +01:00
Will Browne
f6ed9e6ff0
Plugins: Introduce plugin asset provider ( #108063 )
...
* introduce plugin asset provider
* simply with PR feedback
* fix linter
2025-07-17 16:20:35 +01:00
Will Browne
54d6140e6d
Plugins: Stub logger method for backend plugin test mock ( #108211 )
...
stub logger method for backend plugin test mock
2025-07-17 10:18:31 +01:00
Piotr Jamróz
68b9a5f57c
Tempo: Add a feature toggle for Alerting ( #106891 )
...
* Add a feature toggle
* Disable alerting when the toggle is switched off
* Update tests
* Update tests
* Update tests
* Simplify ReadPluginJSON as it's used by enterprise
* Update test
* Update test
* Add the toggle check to loader.go
* Move the logic to plugins integration pipeline
2025-07-15 15:36:36 +02:00
Sven Grossmann
ac6f65923d
Extensions: Add missing description field for exposed functions ( #107964 )
2025-07-15 11:23:11 +02:00
Will Browne
1e0fd825eb
Plugins: Simplify assetpath logic ( #107876 )
...
* simplify assetpath logic
* fix tests
2025-07-09 15:48:52 +01:00
Ivan Ortega Alba
075770070e
Future-proofing query and data source model in Dashboard Schema v2 ( #104194 )
...
---------
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
Co-authored-by: alexandra vargas <alexa1866@gmail.com >
Co-authored-by: Haris Rozajac <haris.rozajac12@gmail.com >
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
Co-authored-by: Igor Suleymanov <igor.suleymanov@grafana.com >
Co-authored-by: spinillos <selenepinillos@gmail.com >
2025-07-07 15:31:25 +02:00
beejeebus
73e2ead04b
Add checksums to SHA256 mismatch error message ( #107461 )
...
This should make it easier to debug this issue if we see it again.
2025-07-01 12:02:54 -04:00
Serge Zaitsev
f66a693438
Chore: Rename integration tests to follow the common convention ( #105987 )
...
* automatically rename integration tests to follow the common convention
* name tests differently
* alter column type to bigint
* update another column to bigint
* add another alter
* fix subquery for mysql
2025-06-29 16:56:24 +02:00
Nathan Vērzemnieks
a18ea34688
CloudWatch: Backport aws-sdk-go-v2 update from external plugin ( #107136 )
...
* CloudWatch: Backport aws-sdk-go-v2 update from external plugin
* Review feedback & cleaning up a couple typos
2025-06-26 15:56:50 +02:00
Will Browne
3d37f969e7
Plugins: Move discovery logic to plugin sources ( #106911 )
...
* move finder behaviour to source
* tidy
* undo go.mod changes
* fix comment
* tidy unsafe local source
2025-06-19 10:28:23 +01:00
Ryan McKinley
d02b62e874
Chore: Update app-sdk to v39 ( #106785 )
2025-06-16 19:11:30 +02:00
Matheus Macabu
5c268c1734
Dependencies: Bump Go to v1.24.4 ( #106533 )
2025-06-11 14:25:48 +02:00
beejeebus
6a0cf22b53
Revert "Postgres: Switch the datasource plugin from lib/pq to pgx ( #103961 )" ( #106270 )
...
This reverts commit 1e383b0c1e .
2025-06-03 08:45:07 -04:00
maicon
6fb0ed9886
Bump tempo to 20250529124718-87c2dc380cec ( #106220 )
...
* Bump tempo to 20250529124718-87c2dc380cec
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* Add owners to pkg/build
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* update workspace
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* update pkg/build/go.sum
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* update pkg/build/go.sum
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-05-29 23:43:13 -05:00
Andres Martinez Gotor
e2e8de29ba
Advisor: Check plugin signature ( #106044 )
2025-05-29 11:33:19 +02:00
Ryan McKinley
d4c446f42c
Chore: Update k8s.io to v0.33.1 ( #105307 )
2025-05-28 00:13:18 +03:00
Zoltán Bedi
1e383b0c1e
Postgres: Switch the datasource plugin from lib/pq to pgx ( #103961 )
...
* Create libpqToPGX feature toggle
* Refactor PostgreSQL datasource to support PGX with feature toggle
- Updated `ProvideService` to accept feature toggles for enabling PGX.
- Modified integration tests to use the new PGX connection method.
- Introduced new functions for handling PGX connections and queries.
- Enhanced TLS configuration handling for PostgreSQL connections.
- Updated existing tests to ensure compatibility with PGX and new connection methods.
* Update PostgreSQL datasource to enhance connection pooling and error handling
- Increased `MaxOpenConns` to 10 in integration tests for improved connection management.
- Refactored connection handling in `newPostgresPGX` to return a connection pool instead of a single connection.
- Updated health check error handling to utilize context and feature toggles for better error reporting.
- Adjusted `DisposePGX` method to close the connection pool properly.
- Enhanced query execution to acquire connections from the pool, ensuring efficient resource usage.
* Cleanup
* Revert postgres_test unnecessary changes
* Rename feature toggle from `libpqToPGX` to `postgresDSUsePGX`
* Add null check to dispose method
* Fix lint issues
* Refactor connection string generation
* Address comment in health check file
* Rename p to pool
* Refactor executeQueryPGX and split into multiple functions
* Fix lint issues
* The returning error message from PGX is enough no need to separate the error code.
* Move TLS handling to newPostgresPGX function
* Disable ssl for integration tests
* Use MaxIdleConns option
* Remove old feature toggle
* Rename`generateConnectionConfigPGX` to `generateConnectionStringPGX`
* Add back part of the error messages
* Don't show max idle connections option when PGX enabled
* Address comments from Sriram
* Add back Sriram's changes
* PostgreSQL: Rework tls manager to use temporary files instead (#105330 )
* Rework tls manager to use temporary files instead
* Lint and test fixes
* Update pkg/tsdb/grafana-postgresql-datasource/postgres.go
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
* Update betterer
---------
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
---------
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
2025-05-26 08:54:18 +02:00
Matheus Macabu
d7715c4220
Dependencies: Bump packages in modules with incorrect dependencies or outside of workspace ( #105455 )
...
* Dependencies: Bump github.com/getkin/kin-openapi from v0.131.0 to v0.132.0
* Dependencies: Bump github.com/openfga/openfga from v1.8.6 to v1.8.12
* Dependencies: Bump golang.org/x to latest
2025-05-15 13:09:49 +00:00
Andres Martinez Gotor
76d4953879
Advisor: Include deprecated and filter by plugin slug ( #105383 )
2025-05-15 14:53:49 +02:00
Ryan McKinley
441fa18590
Chore: Update golang.org/x/ and do not omitempty Items ( #105371 )
...
* deps and omitempty Items
* update apis
2025-05-14 14:31:45 +03:00
Matheus Macabu
4b426238bd
Dependencies: Bump github.com/openfga/openfga from v1.8.6 to v1.8.12 ( #105193 )
...
* Dependencies: Bump github.com/openfga/openfga from v1.8.6 to v1.8.12
* Linter: Replace x/exp/rand with math/rand/v2
* NGAlert: Fix test after linter fixes
2025-05-14 11:09:00 +03:00
Matheus Macabu
afc0fd39ac
Dependencies: Unpin and bump github.com/getkin/kin-openapi from v0.126.0 to v0.132.0 ( #105185 )
2025-05-12 14:59:51 +02:00
Andres Martinez Gotor
0d4884cb3b
Advisor: Avoid one GCOM request per plugin ( #105180 )
2025-05-12 09:45:56 +02:00
Andres Martinez Gotor
8ef8185379
Advisor: Ensure User-Agent header is set for checks ( #105122 )
2025-05-09 13:57:17 +02:00
Matheus Macabu
9fb20efea9
Chore: Bump Go version to 1.24.3 ( #105098 )
2025-05-08 15:28:03 +02:00
Giuseppe Guerra
f8f21a08d6
Plugins repo: Ensure normalized versions are used to select compatible plugin versions ( #105065 )
2025-05-08 10:05:44 +02:00
Will Browne
9c2846c4fb
Plugins: Separate pluginv2 interfaces from ProtoClient interface ( #104795 )
...
split interfaces
2025-05-06 17:02:32 +01:00
Ryan McKinley
3310149964
Chore: Update internal go.mod references ( #104262 )
2025-04-22 10:42:39 +01:00
Ryan McKinley
c09ef1189e
K8s/Storage: remove github.com/grafana/grafana from go.mod ( #104212 )
2025-04-21 10:48:44 +03:00
Ryan McKinley
f4dbbbac0c
Chore: update golang.org/x/sys+net+text+tools+crypto ( #103963 )
2025-04-14 10:01:19 +01:00
Gábor Farkas
9aca2606c7
upgrade plugin-sdk-go from v0.274.0 to v0.275.0 ( #103863 )
...
* upgrade plugin-sdk-go from v0.274.0 to v0.275.0
* ignore deprecated warning
2025-04-14 08:29:58 +02:00
Will Browne
a1b792b1f5
Plugins: Remove plugin dependency version ( #103728 )
...
remove plugin dependency version
2025-04-10 15:02:05 +01:00
Mariell Hoversholm
757be6365a
CI: Bump golangci-lint to 2.0.2 ( #103572 )
2025-04-10 14:42:23 +02:00
Mariell Hoversholm
9df94718ab
[main] Go: Bump to 1.24.2 ( #103521 )
...
Go: Bump to 1.24.2
It is not likely we are actually affected by the CVEs, but updating proactively is not a bad idea nonetheless.
Fixes: CVE-2025-22871
Fixes: https://github.com/grafana/grafana-operator-experience-squad/issues/1311
2025-04-08 17:12:30 +02:00
Jack Westbrook
f96e4e9ad2
Frontend: Remove Angular ( #99760 )
...
* chore(angularsupport): delete feature toggle to disable angular
* feat(angular-support): remove config.angularSupportEnabled
* chore(jest): remove angular from setup file
* chore(angular): delete angular deprecation ui components
* refactor(angular): move migration featureflags into migration notice
* chore(dashboard): remove angular deprecation notices
* chore(annotations): remove angular editor loader
* feat(appwrapper): no more angular app loading
* feat(pluginscatalog): clean up angular plugin warnings and logic
* chore(angular): delete angular app and associated files
* feat(plugins): delete old angular graph plugin
* feat(plugins): delete old angular table panel
* feat(frontend): remove unused appEvent type
* feat(dashboards): clean up angular from panel options and menu
* feat(plugins): remove graph and table-old from built in plugins and delete sdk
* feat(frontend): remove angular related imports in routes and explore graph
* feat(theme): remove angular panel styles from global styles
* chore(i18n): run make i18n-extract
* test(api_plugins_test): refresh snapshot due to deleting old graph and table plugins
* chore(angulardeprecation): delete angular migration notice components and usage
* test(frontend): clean up tests that assert rendering angular deprecation notices
* chore(backend): remove autoMigrateOldPanels feature flag
* chore(config): remove angularSupportEnabled from config preventing loading angular plugins
* chore(graphpanel): remove autoMigrateGraphPanel from feature toggles
* chore(tablepanel): delete autoMigrateTablePanel feature flag
* chore(piechart): delete autoMigratePiechartPanel feature flag
* chore(worldmappanel): remove autoMigrateWorldmapPanel feature toggle
* chore(statpanel): remove autoMigrateStatPanel feature flag
* feat(dashboards): remove automigrate feature flags and always auto migrate angular panels
* test(pluginsintegration): fix failing loader test
* test(frontend): wip: fix failures and skip erroring migration tests
* chore(codeowners): remove deleted angular related files and directories
* test(graphite): remove angular mock from test file
* test(dashboards): skip failing exporter test, remove angularSupportEnabled flags
* test(dashbaord): skip another failing panel menu test
* Tests: fixes pkg/services/pluginsintegration/loader/loader_test.go (#100505 )
* Tests: fixes pkg/services/pluginsintegration/plugins_integration_test.go
* Trigger Build
* chore(dashboards): remove angularComponent from getPanelMenu, update test
* feat(dashboards): remove all usage of AngularComponent and getAngularLoader
* chore(betterer): refresh results file
* feat(plugins): remove PluginAngularBadge component and usage
* feat(datasource_srv): remove usage of getLegacyAngularInjector
* feat(queryeditor): delete AngularQueryComponentScope type
* Chore: removes Angular from plugin_loader
* Chore: remove angular from getPlugin
* Chore: fix i18n
* Trigger Build
* Chore: remove more Angular from importPanelPlugin
* Chore: remove search options warning
* Chore: remove and deprecate Angular related
* chore(angular): remove angular dependencies from core and runtime
* chore(runtime): delete angular injector
* chore(data): delete angular scope from event bus
* chore(plugin-catalog): remove code pushing app plugins angular config page
* chore(yarn): refresh lock file
* chore(frontend): remove ng-loader from webpack configs, remove systemjs cjs plugin
* chore(navigation): remove tether-drop cleanup from GrafanaRouter, delete dependency
* chore(runtime): delete AngularLoader
* chore(betterer): refresh results file
* chore(betterer): fix out of sync results file
* feat(query): fix type and import errors in QueryEditorRow
* test(dashboards): delete skipped angular related tests
* Tests: add back tests and fix betterer
* Tests: fix broken test
* Trigger build
* chore(i18n): remove angular deprecation related strings
* test: clean up connections and plugins catalog tests
* chore(betterer): update results file
---------
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com >
2025-04-04 11:31:35 +02:00
Kevin Minehart
88d54892bd
CI: Move e2e test pipeline from Drone to GitHub Actions ( #103134 )
...
* Add e2e dagger pipeline
* various-suite not various suite
* upload videos dir
* produce e2e videos even on failure
* nil ref
* sync doesn't return container
* fix quotes
* try without flags first?
* try without quoting?
* use two dashes in flags
* update CODEOWNERS
* make update-workspace
* go work sync
* make update-workspace
* add newline
2025-04-02 13:31:47 -05:00
Ryan McKinley
1ead18d856
Chore: Update git dependencies ( #103159 )
2025-04-01 13:10:50 +03:00
Ivana Huckova
54a51bd3e3
Data source plugin: Improve error message when plugin has connection issues ( #102625 )
...
* Improve data source error message when stackID
* Update comment
* Revert "Update comment"
This reverts commit 48922bc552 .
* Revert "Improve data source error message when stackID"
This reverts commit 4bf0a2f7b7 .
* Make public messagic configurable based on context
* Update, simplify
* Update
* Update getting stack
* Update pkg/plugins/errors.go
Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com >
* Refactor test to test for when context has stack value
* Remove duplicated test
* Fix error checking logic
---------
Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com >
2025-03-31 12:00:40 +02:00
Hugo Häggmark
18ae5d7f0c
i18n: wires up translations for plugins ( #102853 )
...
* i18n: consolidate i18n types & runtime services
* Chore: updates after PR feedback
* Chore: updates after feedback
* Chore: updates after feedback
* Chore: adds feature toggle
* Chore: adds locale to backend
* Chore: adds locales to i18n instance
* Chore: fix missing path in CODEOWNERS
* Chore: fix go lint issues
* Chore: fix missing path in CODEOWNERS
* Chore: updates after PR feedback
* Trigger build
* Chore: updates after PR feedback
* Chore: use resolved language for lookup
* Chore: updates after PR feedback
* Update pkg/plugins/plugins.go
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
* Chore: updates after PR feedback
* Chore: updates after PR feedback
---------
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
2025-03-31 06:38:38 +02:00