* Switch to simple search before implementing proper fuzzy search
* Just do simple search
* Finalize simple search
* Pass string to highlights
(cherry picked from commit a127e09503)
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
* Add migration from old piechart
* Add piechart migration tests
(cherry picked from commit 49c4211295)
Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
* SSE/InfluxDB: Change InfluxQL to work with server side expressions
updates the request to handle EpochMS as the time range (which is what expressions sends)
and the response to use millisecond timestamps instead of seconds.
fixes#31604
similar to https://github.com/grafana/grafana/pull/31455
(cherry picked from commit 026bf1f9ca)
* use latest version of aws sdk
* use yet a newer version
(cherry picked from commit c1d53bd646)
Co-authored-by: Erik Sundell <erik.sundell@grafana.com>
* Don't suggest template strings using fields when there are mutliple dataframes
* Change to use label instead of state
(cherry picked from commit f48a52e590)
Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
* Make sure dataset and uPlot config are in sync when rendering uPlot
* Tests
* Fix TS
(cherry picked from commit a6cb9fb295)
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
* Explore: Support full inspect drawer (#32005)
* Move InspectSubtitle to grafana/ui
* Move inspect elements to features/inspector
* Move InspectJSON and use it also in Explore
* Move and use QueryInspector
* Move all to features/inspector
* WIP Data tab implementation
* Process dataframes for explores inspector
* Clean up
* Update test
* Clean up
* Fix Explore Inspector button name
(cherry picked from commit 664b13d83e)
* Fix broken import after refactor
* ValueMapping: Updated tests (#31877)
Checks if value 0 or '0' is considered as a numeric value
* ValueMapping: Changed implementation of isNumeric (#31877)
isNumeric now works with the 0 value
* fixed prettier issue
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
(cherry picked from commit c764bca58f)
Co-authored-by: Villena Guillaume <guiguivil@gmail.com>
* LibraryPanels: Improves Get All Api
* Refactor: using useReducer instead of useState
* Refactor: adds Pagination to UI
* Tests: adds reducer tests
* Refactor: using Observable instead to avoid flickering
* Refactor: moves exclusion to backend instead
* Chore: changing back the perPage default value
(cherry picked from commit f508a16a43)
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
* Exemplars: always query exemplars
* Update exemplar button to be an eye
* Add tooltip to eye button
(cherry picked from commit bb8a703428)
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
* Chore: Collect elasticsearch version usage stats
* Fix lint error
* use GetDataSources from sqlstore
* Apply review suggestions
* Return error if datasource type is not specified
* Update pkg/services/sqlstore/datasource.go
* fix undefined var
(cherry picked from commit 0c2045109e)
* Auth: Allow soft token revocation (#31601)
* Add revoked_at field to user auth token to allow soft revokes
* Allow soft token revocations
* Update token revocations and tests
* Return error info on revokedTokenErr
* Override session cookie only when no revokedErr nor API request
* Display modal on revoked token error
* Feedback: Refactor TokenRevokedModal to FC
* Add GetUserRevokedTokens into UserTokenService
* Backendsrv: adds tests and refactors soft token path
* Apply feedback
* Write redirect cookie on token revoked error
* Update TokenRevokedModal style
* Return meaningful error info
* Some UI changes
* Update backend_srv tests
* Minor style fix on backend_srv tests
* Replace deprecated method usage to publish events
* Fix backend_srv tests
* Apply suggestions from code review
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
* Minor style fix after PR suggestion commit
* Apply suggestions from code review
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
* Prettier fixes
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
(cherry picked from commit 610999cfa2)
* Back to the old method to emit app events
Co-authored-by: Joan López de la Franca Beltran <joanjan14@gmail.com>
Fix redirect to login page from snapshot page when not authenticated.
Fixes#28547
(cherry picked from commit a97637a133)
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
* Variables: Fixes filtering in picker with null items
* Chore: some cleanup
(cherry picked from commit bc60ce9cce)
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
* Allow re-editing of labels in Loki queries
* Update public/app/plugins/datasource/loki/language_provider.ts
(cherry picked from commit 240e65f693)
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
* PanelInspect: Variables in CSV file name are interpolated
* Chore: fixes failing test
(cherry picked from commit 66177e9463)
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
* update searchableOptions when this.props.options has been updated
* add tests for using state to update options for cascader component
* update story for cascader
* use memoizeOne
(cherry picked from commit 6fe2baf168)
Co-authored-by: Vicky Lee <36230812+vickyyyyyyy@users.noreply.github.com>