Michael Mandrus
86b0581021
add public dashboard token to metric panel issued queries ( #57293 )
2022-10-19 13:29:19 -04:00
Selene
8a35cb57fa
Fix null pointer ( #57292 )
2022-10-19 13:20:03 -04:00
Gabriel MABILLE
717bd4a6c0
RBAC: Add a feature toggle for primitives we provide to OnCall ( #57289 )
2022-10-19 18:10:09 +02:00
Zoltán Bedi
09ab156480
MSSQL: Support tables from all schemas ( #53099 )
2022-10-19 17:27:29 +02:00
Ivana Huckova
7928f170ce
Loki: Fix adding of adhoc filters to stream selector when query with empty stream selector ( #57280 )
...
* disable double stringify
* Refactor test for addLabelToQuery
* Add tests (TDD for expected behaviour)
* Fix adding ad hoc filters to correct place when no stream selector
* Update
* Update comment
* Fix getAllPositionsInNodeByType
Co-authored-by: Sven Grossmann <svennergr@gmail.com>
2022-10-19 17:24:00 +02:00
Garrett Guillotte
e14ef50d02
Docs: Fix broken InfluxDB starting guide links ( #57235 )
...
* Docs: Fix broken InfluxDB starting guide links
* Docs: Fix another link to panel adding docs
2022-10-19 07:52:15 -07:00
Garrett Guillotte
9680249066
Docs: Fix links in old What's New docs ( #57231 )
...
* Docs: Fix placeholder URL in release notes link
* Docs: Fix link to refactored docs and add missing alias
* Docs: Fix malformed links
* Docs: Fix alias with correct path
2022-10-19 07:51:49 -07:00
Ryan McKinley
15517f8329
SQLX: Expose sqlxdb query functions ( #57227 )
2022-10-19 07:33:40 -07:00
Ryan McKinley
de3737b5de
Store: Add resolver service ( #57112 )
2022-10-19 07:33:26 -07:00
Matias Chomicki
93f39b5178
Loki Monaco Editor: add missing documentation and new autocompletion type ( #57186 )
...
* feat(loki-monaco-editor): add documentation and pipe operators
- Added documentation for line filters
- Added documentation for parsers
- Improved parser suggestions
- Introduced new PIPE_OPERATION category
- Added missing label_format pipe operation
* feat(loki-monaco-editor): update tests
* Chore: remove unused completion type
* Chore: remove line format
2022-10-19 10:30:44 -04:00
Ashley Harrison
2987734832
only get organizations if user is signed in ( #57279 )
2022-10-19 14:24:52 +01:00
Galen Kistler
0b66abba18
add case for empty influxdb 1 versions, so the health check doesn't fail ( #56426 )
2022-10-19 08:15:32 -05:00
Kristin Laemmert
05709ce411
chore: remove sqlstore & mockstore dependencies from (most) packages ( #57087 )
...
* chore: add alias for InitTestDB and Session
Adds an alias for the sqlstore InitTestDB and Session, and updates tests using these to reduce dependencies on the sqlstore.Store.
* next pass of removing sqlstore imports
* last little bit
* remove mockstore where possible
2022-10-19 09:02:15 -04:00
AJ Tomko
5285d34cc0
Dashboard: Alerts user to incorrect tag format for JSON import ( #54657 )
...
* Dashboard: Alerts user to incorrect tag format for JSON import
Fixes #54285 : Malformed tags cause hidden title and settings page crash
* Update public/app/features/manage-dashboards/utils/validation.ts
Co-authored-by: Polina Boneva <13227501+polibb@users.noreply.github.com>
* Included Suggestions
- Removed Comments
- Updated Code Block accordingly
- Updated Tests to camelCase over snake_case
* Updates per comments
- Re-wrapped function in try{}, catch{} as I appear to have overlooked including it in the initial refactor
- Re-worded errors to align with initial error
- Added a test case for invalid json
* Update validation.ts
Updated errors to read correctly to the root cause.
Updated dashboard variable as const.
* Update actions.test.ts
Fix tests according to error output rewording
* Update validation.ts
- Included test for an empty string of non-array
* Update actions.test.ts
-- Commented incorrect commit for validation.ts, update:
- Refactored code to better align and separate from generic JSON package tests followed by our manual checks of (1) Is array, and (2) if array, is of strings
- Test cases now include a check for non-array empty string in the tag property
Co-authored-by: Polina Boneva <13227501+polibb@users.noreply.github.com>
2022-10-19 08:59:24 -04:00
Garrett Guillotte
e52c98ba99
Docs: Fix links in panels and vis docs ( #57233 )
2022-10-19 07:41:34 -05:00
Hamas Shafiq
f50ab457bd
Tempo: Fix Node Graph visualization type in dashboard ( #56931 )
...
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
2022-10-19 13:11:33 +01:00
Grafana I18n Bot
de24a444b5
I18n: Crowdin sync ( #57260 )
...
* New translations grafana.json (French)
* New translations grafana.json (Spanish)
* New translations grafana.json (German)
* New translations grafana.json (Chinese Simplified)
2022-10-19 12:14:55 +01:00
Dimitris Sotirakis
e829b50149
CI: Add CreateTempDir
func and use it in publish packages logic ( #57171 )
...
* Add CreateTempDir func and use it in publish packages logic
* Fill err return in defer func
2022-10-19 12:58:22 +02:00
Ivana Huckova
b4a03d0cff
Loki: Fix explain section about $__interval variable ( #57188 )
...
* Loki: Update explain section
* Update
* Update public/app/plugins/datasource/loki/querybuilder/operationUtils.ts
Co-authored-by: Matias Chomicki <matyax@gmail.com>
Co-authored-by: Matias Chomicki <matyax@gmail.com>
2022-10-19 12:01:29 +02:00
Sven Grossmann
598da14d88
disable double stringify ( #57243 )
2022-10-19 11:58:16 +02:00
Karl Persson
9adaf1565c
RBAC: Allow to list users for dashboard / folder admins ( #57080 )
...
* RBAC: Use query struct in tests
* RBAC: If access control enforcement is disabled don't filter out users
when fetching permissions
2022-10-19 11:53:59 +02:00
Dimitris Sotirakis
0b72c36527
Replace json decoder with io.ReadAll ( #57178 )
2022-10-19 12:51:24 +03:00
Ivana Huckova
b997bc4200
Loki: Remove already selected options from next label filter options in builder ( #57187 )
...
* Loki: Filter out duplicated options in loki query builder label name options
* Update test
2022-10-19 11:32:01 +02:00
Gareth Dawson
c0f5183330
Logs: Add feature tracking to the load more button in log row context ( #57079 )
...
* add feature tracking for the load more button in log row context
* fix test by mocking reportInteraction
* track the new log row limit
2022-10-19 10:02:26 +01:00
Gareth Dawson
20616eef8c
Logs: Add feature to tracking show context button click ( #57074 )
...
* report interaction on context open
* report interaction on context close_esc
* replace deprecated feature (KeyboardEvent.keyCode)
* update to report interaction on toggle context
* remove redundant if statement
2022-10-19 10:01:45 +01:00
Ashley Harrison
96660992f4
Navigation: Ignore null children in ToolbarButtonRow
( #57201 )
...
* filter out any null buttons to prevent padding being added for them
* ignore null children in toolbarbuttonrow
2022-10-19 10:00:57 +01:00
Gábor Farkas
0491c19712
elastic: backend-mode: fix trimEdges functionality ( #56985 )
2022-10-19 10:40:42 +02:00
Dimitris Sotirakis
f0b882ebad
Add token to init-enterprise ( #57246 )
2022-10-19 04:23:12 -04:00
Erik Sundell
8949e574e6
cache api calls when args are the same ( #57082 )
2022-10-19 08:40:03 +02:00
Erik Sundell
a30885c523
CloudWatch: Make sure adoption tracking is done on valid, migrated queries ( #56872 )
...
* make sure adoption tracking is done on valid, migrated queries
* ignore hidden queries
* fix test
* remove obsolete test
2022-10-19 08:39:18 +02:00
aimuz
c0cc85b5f1
Alerting: Add support for wecom apiapp ( #55991 )
...
This change adds new functionality to the wecom alerting contact point. In addition to a webhook address, you can now send alerts to the wecom apiapp endpoint.
Based on https://github.com/grafana/grafana/discussions/55883
Signed-off-by: aimuz <mr.imuz@gmail.com>
2022-10-19 12:17:37 +08:00
owensmallwood
b2408dd7c5
Publicdasboards: Add annotations support ( #56413 )
...
adds annotations support for public dashboards
2022-10-18 19:48:20 -06:00
Sobuno
cc6245df8e
Fix typo ( #57223 )
2022-10-18 22:52:56 +00:00
Ezequiel Victorero
22b5e574b1
PublicDashboards: hide topnav ( #56873 )
2022-10-18 19:51:09 -03:00
Christopher Moyer
cafdbc1644
restructures directories, corrects relrefs ( #57130 )
2022-10-18 15:07:15 -05:00
Christopher Moyer
e5fc1b85e0
restructures directories, correct relrefs ( #57131 )
2022-10-18 15:06:58 -05:00
Michael Mandrus
2a8a82e2af
PublicDashboards: Don't filter datasources from FrontendSettings in a public dashboard ( #57208 )
...
* add filter skip to avoid issues with RBAC
* update comment
2022-10-18 15:44:33 -04:00
Torkel Ödegaard
69bfd923be
RefreshPicker: Fix issue clearing auto refresh ( #57215 )
2022-10-18 21:41:37 +02:00
Kristina
3cb1ec58f0
Add information about tempo in devenv ( #57204 )
2022-10-18 14:29:28 -05:00
Sarah Zinger
b2e2879b07
Cloudwatch: Fix issue where selected log groups clear from dashboards if there are more than 50 results ( #57196 )
2022-10-18 14:34:27 -04:00
Misi
9c954d06ab
Auth: Refresh OAuth access_token automatically using the refresh_token ( #56076 )
...
* Verify OAuth token expiration for oauth users in the ctx handler middleware
* Use refresh token to get a new access token
* Refactor oauth_token.go
* Add tests for the middleware changes
* Align other tests
* Add tests, wip
* Add more tests
* Add InvalidateOAuthTokens method
* Fix ExpiryDate update to default
* Invalidate OAuth tokens during logout
* Improve logout
* Add more comments
* Cleanup
* Fix import order
* Add error to HasOAuthEntry return values
* add dev debug logs
* Fix tests
Co-authored-by: jguer <joao.guerreiro@grafana.com>
2022-10-18 18:17:28 +02:00
Artur Wierzbicki
984ec00aac
Search: load dashboards optimization ( #56933 )
...
* search: load dashboards optimization
* search: load dashboards optimization
* search: close dashboard channel, return error when context is done
* search: refactor
* search: return err on ctx done
* search: remove sleep
2022-10-18 23:53:15 +08:00
Torkel Ödegaard
ca98dba053
Page: Refine responsive paddings and margins ( #57132 )
2022-10-18 17:43:09 +02:00
Victor Marin
e91135cf19
Fix NumberInput empty values ( #57142 )
...
* Fix NumberInput empty values
* tests
* tests
2022-10-18 16:59:34 +03:00
juanicabanas
71f79b9de0
PublicDashboards: Fix hidden queries execution ( #57004 )
...
PublicDashboards: Fix hidden queries execution
2022-10-18 10:47:24 -03:00
ying-jeanne
ed98d7bc27
Chore: remove busmock ( #57170 )
2022-10-18 13:31:56 +00:00
Sven Grossmann
4b1b0344e4
Chore: update latest.json to 9.2.1 ( #57185 )
2022-10-18 15:26:17 +02:00
Victor Marin
9c514748f7
Revert data links code for sorted vector case ( #57175 )
2022-10-18 08:59:53 -04:00
Grot (@grafanabot)
4cee910971
Changelog: Updated changelog for 9.2.1 ( #57176 )
2022-10-18 14:45:30 +02:00
Gilles De Mey
423643aaa6
Alerting: use virtualized list of namespaces / groups for cloud rules ( #56415 )
2022-10-18 13:38:59 +02:00