renovate[bot]
355dc66bd9
Update dependency react-highlight-words to v0.20.0 ( #62351 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2023-01-30 11:03:39 +00:00
Eric Leijonmarck
a232e7ceca
Auth: Add skip_org_role_sync for Okta ( #62106 )
...
* WIP
* Update pkg/services/login/authinfo.go
* fix: merge
* change order to internal last
* adds: docs
* add: configuration for defaults and sample
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Jo <joao.guerreiro@grafana.com >
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
---------
Co-authored-by: Jo <joao.guerreiro@grafana.com >
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
2023-01-30 10:54:14 +00:00
Kyle Cunningham
38d7168921
Time Series Panel: Fix legend text selection in Firefox ( #60809 )
...
Add user-select property to legend items.
2023-01-30 11:18:07 +01:00
Sven Grossmann
7eb01b1813
MultiSelect: Fix actionMeta not available in onChange callback ( #62339 )
...
add `ActionMeta` to `onChange` callback
2023-01-30 11:17:02 +01:00
Ida Štambuk
a9d44aa795
Datasources: Add support for getDetDefaultQuery in variable editor ( #62026 )
...
+Cloudwatch implementation
2023-01-30 10:58:43 +01:00
Josh Hunt
d51e7ec7ef
Preferences: Add theme preference to match system theme ( #61986 )
...
* user essentials mob! 🔱
lastFile:pkg/api/preferences.go
* user essentials mob! 🔱
* user essentials mob! 🔱
lastFile:packages/grafana-data/src/types/config.ts
* user essentials mob! 🔱
lastFile:public/app/core/services/echo/utils.test.ts
* user essentials mob! 🔱
* user essentials mob! 🔱
lastFile:public/views/index-template.html
* user essentials mob! 🔱
* Restore currentUser.lightTheme for backwards compat
* fix types
* Apply suggestions from code review
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
* cleanup
* cleanup
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
Co-authored-by: Joao Silva <joao.silva@grafana.com >
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
2023-01-30 10:51:51 +01:00
Torkel Ödegaard
dae9808602
AppPlugins: Remove unused rootNav parameter ( #62440 )
2023-01-30 10:30:01 +01:00
Ryan McKinley
0d2a786816
Schema: Add schema for library panels ( #62169 )
2023-01-30 04:14:12 +00:00
Ivana Huckova
d5294eb8fa
Explore: Implement feature toggle for logs sample ( #62291 )
...
* Explore: Implement feature toggle for logs sample
* Run pkg/services/featuremgmt/toggles_gen_test.go
* Remove boolean
* Update copy
2023-01-27 17:30:25 +01:00
renovate[bot]
7f5ed9f59d
Update dependency rc-tooltip to v5.3.1 ( #62341 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-27 15:48:06 +00:00
Dominik Prokop
d4015602ca
Dashboard schema: Update default value for timezone ( #62340 )
2023-01-27 15:43:13 +00:00
Levente Balogh
9453bec819
FileDropzone: Revert introducing a new prop ( #62324 )
2023-01-27 16:40:54 +01:00
Dominik Prokop
83199c4bf5
Dashboard schema: Review and mature timezone property ( #62090 )
...
* Review and mature timezone property of Dashboard kind
* Update timezone type
2023-01-27 07:13:33 -08:00
Sriram
89ef62f163
Chore: Removed unused grafana-plugin-ci images ( #62219 )
...
removed unused grafana-plugin-ci images
2023-01-27 14:19:42 +00:00
Andre Pereira
afd39c18ba
Explore: Refactor trace view and move to core ( #61938 )
...
* Move TraceView to core grafana
* Remove unused code
* yarn install
* Remove jaeger-ui-components from CODEOWNERS and other tools
* Type fixes
* yarn install
* Remove mock that we no longer need
* Fix merge conflicts
* Re-add Apache license for trace view components
* Use an exclamation-circle instead of triangle to denote errors
* Remove eslint disables and update betterer results instead
2023-01-27 14:13:17 +00:00
Sven Grossmann
7c02d9bb8a
Logs: Add experimental support to display a datasource custom UI in LogContext ( #62189 )
...
* add loki contextfilter component
* add `getLogRowContextUi` support to DataSourceAPI
* add `runContextQuery` to LogRowContextProvider
* pass `getRowContextUi` to `LogRowContext`
* adapt LogRowContext to show datasource ui
* implement LogRowContextUi in Loki
* add `logsContextDatasourceUi` feature flag
* change state to `Alpha`
* disable the feature if `logsContextDatasourceUi` is not set
* don't fetch labels in the constructor
* adjust to right height
* remove unnecessary eslint disable
* add test for LokiContextUi
* move code down in datasource.ts
* rename `refresh` to `runContextQuery`
* update datasource tests
* don't update if `updateFilter` fn changes
* organized imports in datasource.test.ts
* don't trigger on intialization changes
* change tag to `experimental`
* move `getLogRowContextUi` to props
2023-01-27 15:12:01 +01:00
Giuseppe Guerra
af1e2d68da
Plugins: Allow loading panel plugins from a CDN ( #59096 )
...
* POC: Plugins CDN reverse proxy
* CDN proxy POC: changed env var names
* Add authorization: false for /public path in frontend plugin loader
* Moved CDN settings to Cfg, add some comments
* Fix error 500 in asset fetch if plugin is not using CDN
* Fix EnterpriseLicensePath declared twice
* Fix linter complaining about whitespaces
* Plugins CDN: Skip signature verification for CDN plugins
* Plugins CDN: Skip manifest and signature check for cdn plugins
* Plugins: use IsValid() and IsInternal() rather than equality checks
* Plugins CDN: remove comment
* Plugins CDN: Fix seeker can't seek when serving plugins from local fs
* Plugins CDN: add back error codes in getLocalPluginAssets
* Plugins CDN: call asset.Close() rather than asset.readSeekCloser.Close()
* Plugins CDN: Fix panic in JsonApiErr when errorMessageCoder wraps a nil error
* Plugins CDN: Add error handling to proxyCDNPluginAsset
* Plugins CDN: replace errorMessageCoder with errutil
* Plugins CDN POC: expose cdn plugin paths to frontend for system.js
* Plugins CDN: Fix cdn plugins showing as unsigned in frontend
* WIP: Add support for formatted URL
* Fix missing cdnPluginsBaseURLs in GrafanaConfig
* Plugins CDN: Remove reverse proxy mode and reverse proxy references
* Plugins CDN: Simplify asset serving logic
* Plugins CDN: sanitize redirect path
* Plugins CDN: Removed unused pluginAsset type
* Plugins CDN: Removed system.js changes
* Plugins CDN: Return different system.js baseURL and module for cdn plugins
* Plugins CDN: Ensure CDN is disabled for non-external plugins
* lint
* Plugins CDN: serve images and screenshots from CDN, refactoring
* Lint
* Plugins CDN: Fix URLs for system.js (baseUrl and module)
* Plugins CDN: Add more tests for RelativeURLForSystemJS
* Plugins CDN: Iterate only on apps when preloading
* Plugins CDN: Refactoring
* Plugins CDN: Add comments to url_constructor.go
* Plugins CDN: Update defaultHGPluginsCDNBaseURL
* Plugins CDN: undo extract meta from system js config
* refactor(plugins): migrate systemjs css plugin to typescript
* feat(plugins): introduce systemjs cdn loader plugin
* feat(plugins): add systemjs load type
* Plugins CDN: Removed RelativeURLForSystemJS
* Plugins CDN: Log backend redirect hits along with plugin info
* Plugins CDN: Add pluginsCDNBasePath to getFrontendSettingsMap
* feat(plugins): introduce cdn loading for angular plugins
* refactor(plugins): move systemjs cache buster into systemjsplugins directory
* Plugins CDN: Rename pluginsCDNBasePath to pluginsCDNBaseURL
* refactor(plugins): introduce pluginsCDNBaseURL to the frontend
* Plugins CDN: Renamed "cdn base path" to "cdn url template" in backend
* Plugins CDN: lint
* merge with main
* Instrumentation: Add prometheus counter for backend hits, log from Info to Warn
* Config: Changed key from plugins_cdn.url to plugins.plugins_cdn_base_url
* CDN: Add backend tests
* Lint: goimports
* Default CDN URL to empty string,
* Do not use CDN in setImages and module if the url template is empty
* CDN: Backend: Add test for frontend settings
* CDN: Do not log missing module.js warn if plugin is being loaded from CDN
* CDN: Add backend test for CDN plugin loader
* Removed 'cdn' signature level, switch to 'valid'
* Fix pfs.TestParseTreeTestdata for cdn plugin testdata dir
* Fix TestLoader_Load
* Fix gocyclo complexity of loadPlugins
* Plugins CDN: Moved prometheus metric to api package, removed asset_path label
* Fix missing in config
* Changes after review
* Add pluginscdn.Service
* Fix tests
* Refactoring
* Moved all remaining CDN checks inside pluginscdn.Service
* CDN url constructor: Renamed stringURLFor to stringPath
* CDN: Moved asset URL functionality to assetpath service
* CDN: Renamed HasCDN() to IsEnabled()
* CDN: Replace assert with require
* CDN: Changes after review
* Assetpath: Handle url.Parse error
* Fix plugin_resource_test
* CDN: Change fallback redirect from 302 to 307
* goimports
* Fix tests
* Switch to contextmodel.ReqContext in plugins.go
Co-authored-by: Will Browne <will.browne@grafana.com >
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
2023-01-27 15:08:17 +01:00
Joey Tawadrous
591501ef3f
Traces: Upgraded feature tracking ( #62181 )
...
Upgraded feature tracking
2023-01-27 13:33:27 +00:00
renovate[bot]
847a5ab195
Update dependency rc-slider to v10.1.0 ( #62302 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-27 13:23:31 +00:00
Leon Sorokin
52955d88a7
TimeSeries: Fix log y scale when min/max settings don't land on divisors ( #60768 )
2023-01-27 05:52:01 -07:00
Oscar Kilhed
6bfd21ef0a
FileDropzone: make a nicer looking error message when file size is exceeded ( #62290 )
...
* FileDropzone: make a nicer looking error message when file size is exceeded
2023-01-27 12:42:47 +00:00
renovate[bot]
1a28650aab
Update dependency @testing-library/dom to v8.20.0 ( #61677 )
...
* Update dependency @testing-library/dom to v8.20.0
* do some lockfile surgery
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2023-01-27 12:28:09 +00:00
Oscar Kilhed
dab3fac01b
Grafana DS: Fix dropzone showing upload file even if there is a file ( #62200 )
...
* Grafana DS: Fix dropzone showing upload file even if there is a file
2023-01-27 11:51:10 +00:00
Torkel Ödegaard
4deb10888e
Revert "Transforms: Add join by fields" ( #62278 )
2023-01-27 11:58:18 +01:00
renovate[bot]
3d4cf06246
Update dependency rc-drawer to v6.1.2 ( #62294 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-27 10:54:45 +00:00
renovate[bot]
14185ba819
Update d3 to v3 ( #58315 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-27 11:19:35 +01:00
Leon Sorokin
4c45dea71d
Chore: uPlot 1.6.24 ( #62279 )
2023-01-27 02:12:19 -06:00
renovate[bot]
caaf7be2f2
Update dependency immutable to v4.2.2 ( #62202 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-26 16:57:10 +00:00
Ashley Harrison
a344c88a01
Chore: don't create the npm-artifacts dir since yarn packages:pack does this… ( #62246 )
...
* don't create the npm-artifacts dir since yarn packages:pack does this already
* fix an any to trigger a canary build
2023-01-26 16:41:08 +00:00
Jack Westbrook
5050822b9a
Fix: NPM Package publishing ( #62243 )
...
* move packed packages to npm-artifacts dir
* remove unnecessary any to trigger canary build
* update canary script to create dir only if it does not exist
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2023-01-26 16:18:05 +00:00
Andrej Ocenas
a414b07991
Tempo: Trace to logs custom query with interpolation ( #61702 )
2023-01-26 16:37:16 +01:00
Will Browne
42732539ed
TestData: Introduce schema types ( #62130 )
...
* schematize data query
* add the stuff you dingus
* feat(testdatasource): add scenario to generated types
* use generated testdata query in frontend
* update code owners
* Add path exception for testdata datasource
* use specific numeric data types
* fix test
* fix e2e smoketest
* add test data query type
* use test data query type
* fix betterer
* Fix typo
* move to experimental
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
Co-authored-by: sam boyer <sdboyer@grafana.com >
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
2023-01-26 15:31:34 +00:00
Ivana Huckova
ea1fcbb866
Explore: Add feature to open log sample in split view ( #62097 )
...
* Add tests
* Implement split open to see logs functionality
* Fix imports in test
* Update packages/grafana-data/src/types/logs.ts
Co-authored-by: Matias Chomicki <matyax@gmail.com >
* Update packages/grafana-data/src/types/logs.ts
Co-authored-by: Matias Chomicki <matyax@gmail.com >
* Update default scneario to throw error
* Exit early in getSupplementaryQuery
* Update public/app/features/explore/LogsSamplePanel.tsx
Co-authored-by: Matias Chomicki <matyax@gmail.com >
2023-01-26 16:06:10 +01:00
Ezequiel Victorero
354f6d9e23
Schema: Create PublicDashboard core kind ( #62155 )
2023-01-26 10:51:00 -03:00
lean.dev
7d8ec6199d
Snapshots: Add snapshot enable config ( #61587 )
...
* Add config to remove Snapshot functionality (frontend is hidden and validation in the backend)
* Add test cases
* Remove unused mock on the test
* Moving Snapshot config from globar variables to settings.Cfg
* Removing warnings on code
2023-01-26 10:28:11 -03:00
Ludovic Viaud
bfbc8c3c4f
Transforms: Add join by fields ( #61322 )
2023-01-26 13:10:05 +01:00
Jack Westbrook
8f06784449
Chore: Bump d3-color to 3.1.0 ( #61609 )
...
* chore(d3-color): resolve all copies to 3.1.0 to fix vulnerability
* chore(yarn): fix resolution version
* chore(jest): compile d3-color from esm to cjs
* chore(d3): bump d3 to latest, set jest config to transpile es modules
* chore: bump visx packages to resolve d3-color to latest
* chore(jest): add missing es modules to config
* chore(storybook): prevent storybook config failure due to nested esm imports
* chore(storybook): use a direct path to avoid es modules breaking config build
* build(sass): use esbuild to generate sass theme vars for esm deps
* chore: clean up swc dependencies
* revert: remove debug console.log breaking tests
2023-01-26 13:02:22 +01:00
Ludovic Viaud
a3d93febd7
Transforms: Keep refId for labelsTopFields ( #61916 )
2023-01-26 12:55:13 +01:00
Ashley Harrison
64352e8d08
Chore: Move to node 18 again ( #62079 )
...
move to node 18 again
2023-01-26 10:19:39 +00:00
Dominik Prokop
b9a1d8e5f9
Dashboard schema: Review and mature refresh property ( #62104 )
...
* Review and mature refresh property
* Update type
* Update report
2023-01-26 01:45:12 -08:00
Ashley Harrison
e6e560e3ed
Dropdown: Make escape close a dropdown ( #62098 )
...
* make escape close a dropdown
* make tab close the dropdown
2023-01-26 09:23:53 +00:00
Torkel Ödegaard
8e3d22ca7a
Chore: Fixes cleanNeedle regex to be more specific ( #61967 )
...
* Chore: Fixes code sec warning for frontend regex
* Update text.ts
* Update text.ts
2023-01-26 09:08:15 +01:00
Victor Marin
6a93c77082
Refactor state timeline/status history to cue model and refactor TimelineChart component ( #61631 )
...
* Adapt state timeline to scuemata
* Refactor status history to cue model
* Refactor
* Refactor TimelineChart as a core component
* wip
* Change as per CR
Co-authored-by: sam boyer <sdboyer@grafana.com >
2023-01-26 07:03:59 +00:00
Oscar Kilhed
f3aa058886
XY Panel: Add and use schema for XY Panel configuration ( #62148 )
...
* Add schema for XYChart
* Minor cleanup
* remove unessecary fields from ScatterFieldConfigVeneer, and cleaning up more
* Fix counts
Co-authored-by: sam boyer <sdboyer@grafana.com >
2023-01-25 22:29:07 +00:00
sam boyer
4a1d418157
Kindsys: Simpler PascalCase name handling ( #62150 )
2023-01-25 20:29:10 +00:00
Ryan McKinley
4965cf2eda
k8s: add feature toggle and stub to save dashboards k8s ( #62053 )
2023-01-25 11:10:16 -08:00
Ryan McKinley
a0405912a8
Preferences: Add preferences kind and remove unused navbar settings ( #59621 )
2023-01-25 11:00:32 -08:00
Nathan Marrs
8b574e22b5
SVG: Add dompurify preprocessor step ( #62143 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2023-01-25 10:37:29 -08:00
Gabriel MABILLE
f99523048a
Schema: Covering service accounts Core Kind ( #62091 )
...
* Adding service accounts schema
Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com >
* Change metadata field
Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com >
* Merging the two DTOs into one schema
Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com >
* Eric dedup things
Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com >
* Add optional to teams/created/updated
Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com >
* Lower case the OrgId
Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com >
Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com >
2023-01-25 18:07:00 +01:00
Taewoo K
069dc2d357
add export customHeadersSettings component ( #62131 )
2023-01-25 11:32:35 -05:00