kay delaney
10cc2fd6bc
Chore: Add types for OAuth settings in config ( #45247 )
2022-02-11 13:54:24 +00:00
Torkel Ödegaard
aa6cee1072
Prometheus: Specific code mode view that has no options, instead sharing options with builder ( #45260 )
...
* Prometheus: Adding a slimmed down code mode for new prometheus query ux
* Show Both option in Explore
* Prometheus: Adding query defaults handling
* More tweaks
* Fixing defaults and logic for when to show exemplars toggle
* Fixing tooltip text
* Set exemplars to false when setting query type instant
* Updated test
2022-02-11 14:43:52 +01:00
Gábor Farkas
59c5f14a59
loki: handle parsing infinity in loki response ( #45097 )
2022-02-11 14:28:11 +01:00
idafurjes
d8a56d08ba
Remove bus from usage stats ( #45275 )
2022-02-11 14:04:15 +01:00
Marcus Efraimsson
0e8a5407d1
Postgres/MySQL/MSSQL: Remove usage of legacy timeSrv ( #45241 )
2022-02-11 13:36:11 +01:00
Torkel Ödegaard
fed112ef3b
Angular: Add AngularJS plugin support deprecation plan to docs site ( #45149 )
...
* Angular: Add AngularJS plugin support deprecation plan to docs site
* Updated wording
* Update
* Update docs/sources/developers/angular_deprecation.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/developers/angular_deprecation.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/developers/angular_deprecation.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/developers/angular_deprecation.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/developers/angular_deprecation.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/developers/angular_deprecation.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2022-02-11 12:35:04 +01:00
Torkel Ödegaard
089d6d7f7a
Alerting: Fixing minor styling issues ( #45236 )
2022-02-11 12:34:32 +01:00
Gábor Farkas
29d48a503c
loki: add logs-volume documentation ( #45283 )
2022-02-11 12:06:02 +01:00
matt abrams
8c47373d74
LibraryPanels: Prevent long descriptions and names from obscuring the delete button ( #45190 )
...
* fix library panel description wrapping
* make panel name wrap
2022-02-11 10:57:22 +00:00
Gábor Farkas
4a7cc3e0f0
loki: enable-by-default the full-range-logs-volume feature (try2) ( #45246 )
...
* loki: enable-by-default the full-range-logs-volume feature
* add explanation comment
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
* fixed invalid code
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-02-11 11:28:27 +01:00
Hugo Häggmark
5f043e6106
Chore: Fix test import ( #45271 )
2022-02-11 11:24:27 +01:00
Ieva
6fb3aac2e1
Access control: team UI improvements with FGAC ( #45255 )
...
* show teams page for user who can't list teams but can create teams
* Fixing buttons and routes
* Small refactor
Co-authored-by: gamab <gabi.mabs@gmail.com>
2022-02-11 09:58:37 +00:00
Victor Marin
a12f2e1d19
TablePanel: Do not prefix columns with frame name if multiple frames and override active ( #45174 )
...
* Fix bug where table panel shows column names prefixed with frame name
* simplify && fix tests
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2022-02-11 11:47:48 +02:00
Torkel Ödegaard
cc49537965
Alerting: Refactor ActionIcon to use our normal Button and LinkButton components ( #45227 )
...
* Alerting: Refactor ActionIcon to use our normal Button and LinkButton components
* Fixed test
* Fixed test
2022-02-11 10:12:26 +01:00
renovate[bot]
c6b3698922
Update dependency stylelint to v14.5.0 ( #45252 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-11 09:37:57 +01:00
Levente Balogh
5e9faec428
Chore: guideline for dealing with breaking changes ( #45128 )
...
* Wip
* docs: add the first version of the breaking-changes guidelines
* chore: add a graphic about the CI workflow
* docs: add information about the CI workflow
* docs: add TOC to the breaking changes guideline
* chore: add a link in the comment to the guideline
* docs: fine-tune the style of the last paragraph
* docs: fix the way we reference `deprecationWarning()`
* fix: Prettier issues
* fix: fix Prettier issues
* docs: update the wording in the guide
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
* docs: update the wording in the guide
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
* docs: update the wording in the guide
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
* docs: update the wording in the guide
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
* docs: update the wording in the guide
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
* docs: fix typo in the guideline
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
* docs: fix typo in the guideline
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
* docs: fix typo in the guideline
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
* docs: update the wording in the guide
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
* docs: update the wording in the guide
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
* docs: update the wording in the guide
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
* fix: fix prettier issues
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2022-02-11 09:29:57 +01:00
Alexander Kubyshkin
4d0a37baed
Fix issue with undo history in query field when suggestion inserted ( #28656 ) ( #39114 )
2022-02-11 09:26:35 +01:00
Roberto Acevedo
1239911b5b
Update access_controls.md: Add global to documented query parameter for deleting custom roles. ( #40167 )
...
* Update access_controls.md
Update the parameter table for deleting custom roles to make it explicit that the `global` query parameter is handled by this endpoint/should be specified when deleting a globally-scoped role.
* Update docs/sources/http_api/access_control.md
Co-authored-by: Karl Persson <kalle.persson92@gmail.com>
Co-authored-by: achatterjee-grafana <aparajita.chatterjee@grafana.com>
2022-02-10 18:27:39 -05:00
JJgitGit
d97e74d80f
Update geomap.md ( #43527 )
2022-02-10 17:39:05 -05:00
Zoltán Bedi
bf3a8d74cf
Chore: Add dependabot to the ignore list ( #45233 )
...
for external label so @daniellee doesn't have to manually remove that label 😄
2022-02-10 22:18:08 +01:00
Yuriy Tseretyan
d4ac1f0ce1
Update quota service to accept context ( #45186 )
2022-02-10 22:17:50 +01:00
Yuriy Tseretyan
c59567a236
Alerting: support ok state in alert migration ( #45264 )
2022-02-10 21:57:43 +01:00
Artur Wierzbicki
0276b029fc
Previews: crawler as a background service ( #44891 )
...
* add SQL migrations
* dashboard previews from sql: poc
* added todos
* refactor: use the same enums where possible
* use useEffect, always return json
* added todo
* refactor + delete files after use
* refactor + fix manual thumbnail upload
* refactor: move all interactions with sqlStore to thumbnail repo
* refactor: remove file operations in thumb crawler/service
* refactor: fix dashboard_thumbs sql store
* refactor: extracted thumbnail fetching/updating to a hook
* refactor: store thumbnails in redux store
* refactor: store thumbnails in redux store
* refactor: private'd repo methods
* removed redux storage, saving images as blobs
* allow for configurable rendering timeouts
* added 1) query for dashboards with stale thumbnails, 2) command for marking thumbnails as stale
* use sql-based queue in crawler
* ui for marking thumbnails as stale
* replaced `stale` boolean prop with `state` enum
* introduce rendering session
* compilation errors
* fix crawler stop button
* rename thumbnail state frozen to locked
* #44449 : fix merge conflicts
* #44449 : remove thumb methods from `Store` interface
* #44449 : clean filepath, defer file closing
* #44449 : fix rendering.Theme cyclic import
* #44449 : linting
* #44449 : linting
* #44449 : mutex'd crawlerStatus access
* #44449 : added integration tests for `sqlstore.dashboard_thumbs`
* #44449 : added comments to explain the `ThumbnailState` enum
* #44449 : use os.ReadFile rather then os.Open
* #44449 : always enable dashboardPreviews feature during integration tests
* #44449 : remove sleep time, adjust number of threads
* #44449 : review fix: add `orgId` to `DashboardThumbnailMeta`
* #44449 : review fix: automatic parsing of thumbnailState
* #44449 : lint fixes
* #44449 : crawler as a background service v0.1
* #44449 : use ServerLockService
* #44449 : use ServerLockService
* #44449 : review fix: prefer `WithDbSession` over `WithTransactionalDbSession`
* #44449 : review fix: add a comment explaining source of the filepath
* #44449 : review fix: added filepath validation
* #44449 : fix FindDashboardsWithStaleThumbnails to include `theme` and `kind` in search params
* #44449 : fix FindDashboardsWithStaleThumbnails to include `theme` and `kind` in search params
* #44449 : create function for crawler on demand
* #44449 : improve crawler logging
* #44449 : fix wire
* #44449 : uncomment dummy thumb service, fix ticker interval
* #44449 : prevent race condition
* #44449 : improve logging
* #44449 : fix theme
* #44449 : review fixes https://github.com/grafana/grafana/pull/45063/files @fzambia
* #44449 : add missing unlock
* #44449 : merge
* #44449 : review fix - logger @fzambia https://github.com/grafana/grafana/pull/45063/files
* #44449 : formatting
* #44449 : merge conflict fix
* #44449 : merge conflict fix
* #44449 : merge conflict fix
* #44449 : naming fix
* #44449 : update authOpts
* #44449 : change authOpts.role back to admin
* #44449 : fix `walk` signature, move ctx to a first argument
* #44449 : add `dashboardPreviewsScheduler` feature flag
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: Alexander Emelin <frvzmb@gmail.com>
2022-02-10 22:45:00 +04:00
Leon Sorokin
586b89f776
Thresholds: fix crash when trying to render zero-height base thresholds ( #45256 )
2022-02-10 18:49:30 +01:00
Leon Sorokin
9af6202a7f
Fetch: parse JSON off-main-thread (async) based on response Content-Type ( #45188 )
2022-02-10 11:45:41 -06:00
J Guerreiro
cb461d931f
ServiceAccounts: allow deleting from service account list ( #45239 )
...
* ServiceAccounts: allow deleting from service account list
* Make delete confirmation more explicit
2022-02-10 18:21:04 +01:00
Karl Persson
d2b9da9dde
Access control: Support uids for resource permissions ( #45226 )
...
* add middleware to solve uid -> id for requests
2022-02-10 17:47:48 +01:00
Shirley
89a0c0fc37
Cloudwatch: Remove unused parameters ( #45237 )
...
* Remove unused parameters
* Remove unused context
* Make plugin context first parameter
2022-02-10 17:15:11 +01:00
Andrej Ocenas
642f0a250d
Prometheus: Use single string expr as a state for the visual editor ( #45232 )
...
* Use just expr string as a state for whole editor
* Fix patterns
* Fix tests
2022-02-10 16:55:44 +01:00
Ieva
9fafbfc87e
add the permission to read org users to team creator ( #45224 )
2022-02-10 14:51:05 +00:00
Ashley Harrison
ec48b81388
Unescape regex string ( #45137 )
2022-02-10 14:45:39 +00:00
Will Browne
fd5e968bc1
test ( #45240 )
2022-02-10 15:23:08 +01:00
Jack Westbrook
979907e9dd
Chore: Set tsconfig target to ES6 ( #44842 )
...
* chore(tsconfig): update grafana/tsconfig to 1.2.0 for outputting es6
* rewrote the unsubscription part to use first().
* test: update failing tests to work with es6 output
* removed bug where we dispatch a promise instead of an array of ritch history.
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2022-02-10 14:37:39 +01:00
Erik Sundell
57ecabf319
order subscriptions by name ( #45228 )
2022-02-10 14:27:12 +01:00
J Guerreiro
7b397184a0
ServiceAccounts: add role picker to service accounts list ( #45127 )
2022-02-10 14:04:07 +01:00
Timur Olzhabayev
a771cbd871
fix(github_actions): workflow execution concurrency is now limited to 1 ( #45125 )
2022-02-10 14:01:18 +01:00
Piotr Jamróz
e7605ad974
Query History: Split data and view models ( #44922 )
...
* Remove unused properties
* Fix unit tests
* Fix unit tests
* Split data models
* Simplify updating items in rich history
* Update tests
* Fix starring an item and add a unit test
* Move the converter to a separate file and add unit tests
* Convert a private function to an inline function
* Add more docs and clean up the code
* Update public/app/core/history/localStorageConverter.ts
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
* Update public/app/core/utils/richHistory.test.ts
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
* Use template literals over explicit casting
* Split updateRichHistory to three separate functions
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2022-02-10 13:59:43 +01:00
Torkel Ödegaard
374681b546
Popovers: Improve contrast by darkening shadow and changing border to medium ( #45136 )
...
* Popovers: Improve contrast by darkening shadow and changing border to medium
* Updated sass theme
* Revert back to weak border
2022-02-10 13:52:23 +01:00
Ivana Huckova
6bc527a211
Add prometheus operation ids ( #45216 )
2022-02-10 13:40:02 +01:00
Shahar Mor
3eac34f5f3
Kiosk: Reuse kiosk module ( #44625 )
...
* Reuse kiosk module, centralize kiosk query handling
* update kiosk tests to set correct kiosk value
* fix DashboardPage kiosk test
* remove unused UrlQueryValue, revert import change
2022-02-10 11:54:50 +00:00
Gábor Farkas
96ae44ee2c
loki: alerting: do not round timestamps to seconds ( #45057 )
2022-02-10 12:53:46 +01:00
Marcus Efraimsson
ca311bf94f
Logging: Fix server hangs when using log.WithSuffix ( #45213 )
...
Fixes a problem where server hangs if setting
GF_DATABASE_LOG_QUERIES=true.
Ref #44925
2022-02-10 12:51:51 +01:00
Ashley Harrison
e48baefd32
Adjust menu positioning ( #45217 )
2022-02-10 11:48:05 +00:00
Ashley Harrison
947b8b8d3b
Chore: Remove menuShouldPortal
deprecation warning ( #45211 )
...
* Chore: Remove Select deprecation
* remove unused import
* Update lockfile
2022-02-10 11:46:35 +00:00
idafurjes
923b62ecab
Chore: Remove bus from quota ( #45143 )
...
* Remove bus from quota
* workaround
* Change ExpectedOrg ot *models.Org
2022-02-10 12:42:06 +01:00
Torkel Ödegaard
f2795981c6
Prometheus: Fix test warnings ( #45206 )
2022-02-10 12:23:56 +01:00
Jack Westbrook
8610b95e07
Chore: update yarn.lock ( #45212 )
2022-02-10 12:06:25 +01:00
Torkel Ödegaard
68eb18c758
Prometheus: Support with aggregations without labels ( #45160 )
2022-02-10 11:48:48 +01:00
renovate[bot]
14c639fdb5
Update dependency css-loader to v6.6.0 ( #44764 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-10 10:26:31 +00:00
Hugo Häggmark
192572174e
Chore: Removes console output LogDetails.test.tsx and refactors to RTL ( #45193 )
2022-02-10 11:06:29 +01:00