Armand Grillet
7f29c2696d
Add nolint to two lines in fs.go ( #49357 )
2022-05-21 12:14:58 +02:00
Karl Persson
0cbe4fe661
Docs: RBAC GA ( #49062 )
2022-05-20 21:48:52 +02:00
Adela Almasan
b3b650be1f
Canvas: Context menu ( #48909 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2022-05-20 12:30:29 -07:00
Jack Baldry
dea6fb4c1b
Add current aliases ( #49346 )
...
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2022-05-20 13:35:28 -05:00
svennergr
2949ebc264
Traces: Fixed missing CopyButton on KeyValueTables and overlapping of panels ( #49271 )
...
* rewrote `CopyIcon` to an functional component
- fixed missing `CopyIcon` on `KeyValuesTable`
* added fixed height of `30px` to `KeyValuesTable` to fix overlapping
* removed unused CopyIcon snapshot
* KeyValuesTable: moved `30px` height from `tr` to `td` to fix vertical alignment
2022-05-20 20:24:33 +02:00
Josh Hunt
426ca2999e
GrafanaUI: Fix color of links in error Tooltips in light theme ( #49327 )
...
* GrafanaUI: Fix color of links in input validation errors in light theme
* Change colors
2022-05-20 18:54:07 +01:00
Torkel Ödegaard
6fe28854bc
DashboardExport: Fixes issues sharing dashboards where query data source was set wrong ( #48410 )
2022-05-20 19:52:46 +02:00
Torkel Ödegaard
c3a5ff1eeb
Transforms: Labels to fields, fix label picker layout ( #49304 )
2022-05-20 19:50:30 +02:00
Christopher Moyer
ee9ea64834
Docs: Moves http api docs to the developer docs ( #49255 )
...
* updates relrefs after move
Co-authored-by: Chris Moyer <chris.moyer@grafana.com>
* applies weights
Co-authored-by: Chris Moyer <chris.moyer@grafana.com>
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* updates developer _index page
* make prettier
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2022-05-20 12:46:27 -05:00
sh0rez
3d5d8c785b
pkg/web: restrict handler types ( #48495 )
...
Makes `pkg/web` only accept handles from the following set:
```go
handlerStd = func(http.ResponseWriter, *http.Request)
handlerStdCtx = func(http.ResponseWriter, *http.Request, *web.Context)
handlerStdReqCtx = func(http.ResponseWriter, *http.Request, *models.ReqContext)
handlerReqCtx = func(*models.ReqContext)
handlerReqCtxRes = func(*models.ReqContext) Response
handlerCtx = func(*web.Context)
```
This is a first step to reducing above set to only `http.Handler`.
---
Due to a cyclic import situation between `pkg/models` and `pkg/web`, parts of this PR were put into `pkg/api/response`, even though they definitely do not belong there. This however is _temporary_ until we untangle `models.ReqContext`.
2022-05-20 12:45:18 -04:00
Gábor Farkas
c980655f08
elastic: config: hide access-mode selector when not needed ( #49246 )
2022-05-20 17:42:12 +02:00
Andreas Christou
34fa7b493c
AzureMonitor: Fixes metric definition for Azure Storage queue/file/blob/table resources. ( #49101 )
...
* Appropriately set metric definition
- Nested storage account resources (queues/blobs/tables/files) require metric definition of Microsoft.Storage/storageAccounts
- Update tests accordingly
* Restructure getResourceNames test
- Add expect on getResource args
* Update to fix issue for new query editor
- Reconstruct resourceUri if the resource is a storage account
- Correctly push storage namespaces as options for metric namespaces
- Filter options appropriately
* Fix duplicate options
* Fix lint issues
* Add comment explaining URI modification
2022-05-20 16:36:42 +01:00
Gábor Farkas
061055fac9
loki: dataframes: do not set field.config.DisplayName ( #49317 )
2022-05-20 17:27:49 +02:00
Joan López de la Franca Beltran
15605b6c80
Encryption: Add support for decrypting ciphertexts with algorithm metadata ( #49312 )
2022-05-20 17:11:51 +02:00
Yuriy Tseretyan
258b3ab18b
Alerting: Fix RBAC actions for notification policies ( #49185 )
...
* squash actions "alert.notifications:update", "alert.notifications:create", "alert.notifications:delete" to "alert.notifications:write"
* add migration
* update UI to use the write action
* update docs
* changelog
2022-05-20 10:55:07 -04:00
Andreas Christou
2780651ea8
AzureMonitor: Fix auto-selection of time-grain for metrics. ( #49278 )
...
* Update query editor to fix auto time-grain selection
* Update new query editor to fix auto time-grain selection
* Remove log and fix lint issues
* Add test for useMetricMetadata
- Add necessary types
* More test updates
- Update old dataHooks test
- Ensure query changes
Co-authored-by: Kevin Yu <kevinwcyu@users.noreply.github.com>
Co-authored-by: Andres Martinez Gotor <andres.mgotor@gmail.com>
Co-authored-by: Erik Sundell <erik.sundell87@gmail.com>
2022-05-20 15:45:54 +01:00
Erik Sundell
bd320ee0b3
Auth: Remove grafana ui dependency to the aws sdk ( #43559 )
...
* remove grafana ui dependency to the aws sdk
* wip
* cleanup
* add tests
* point to real version of aws-sdk
2022-05-20 16:04:20 +02:00
Kristina
be57e73b61
Add command palette to shortcuts document ( #49328 )
2022-05-20 15:19:26 +02:00
renovate[bot]
be7de1041a
Update Monthly patch updates ( #49257 )
...
* Update Monthly patch updates
* remove @types/slate update and run prettier
* fix @types/slate resolution
* lockfile update
* more fixes
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-05-20 13:07:07 +01:00
Alex Khomenko
f1f5f01309
CreateTeam: Refactor test to RTL ( #49306 )
2022-05-20 13:28:59 +03:00
Chrysa Dikonimaki
7623f6ac64
Convert packages/jaeger-ui-components/src/TraceTimelineViewer/SpanDetail/AccordianText.test.js
and packages/jaeger-ui-components/src/TraceTimelineViewer/SpanDetail/TextList.test.js
to RTL ( #49148 )
...
* convert AccordianText and TestList tests to RTL
* convert AccordianText and TestList tests to RTL
* Update packages/jaeger-ui-components/src/TraceTimelineViewer/SpanDetail/AccordianText.test.js
Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>
* Update packages/jaeger-ui-components/src/TraceTimelineViewer/SpanDetail/TextList.test.js
Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>
* Update packages/jaeger-ui-components/src/TraceTimelineViewer/SpanDetail/AccordianText.test.js
Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>
* fix TextList and AccordianText tests
* remove getrow function
* readd TextList props
Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-05-20 11:02:43 +01:00
Karl Persson
f5ec4bcbd2
remove action to manage plugin that is not used or documented ( #49309 )
2022-05-20 11:52:29 +02:00
Ashley Harrison
b864442717
Gauge: convert tests to RTL ( #49251 )
...
* Move logic into utils file, add EXTREMELY basic RTL test
* initialise array with value
2022-05-20 10:51:11 +01:00
Karl Persson
4a61f4111f
Remove unused error from evaluator Evaluate ( #49305 )
2022-05-20 10:26:57 +02:00
Kristina
e5864f76b0
Add command palette to keyboard shortcuts help modal ( #49186 )
2022-05-20 09:11:19 +02:00
Nathan Marrs
646dcfccf9
Canvas: Implement minimum element size + center constraint UX ( #49294 )
2022-05-20 00:04:34 -07:00
Gabriel MABILLE
689f51599a
AccessControl: Use RBACBuiltInRoleAssignmentEnabled
in the frontend instead of FeatureToggle ( #49261 )
...
* AccessControl: Frontend changes to basic role enablement
2022-05-20 06:53:28 +00:00
Maria Alexandra
59c8c0d56b
Search (Playground) - Fix minor css paddings inside table ( #49263 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-05-20 07:03:19 +02:00
Eric Leijonmarck
0f4c3f7805
Docs: SAML refactoring docs ( #49039 )
...
* moved around and made it a bit more clearer
* Update docs/sources/enterprise/saml/troubleshoot-saml.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
* Update docs/sources/enterprise/saml/troubleshoot-saml.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
* removed unnessecary if statement
* updated troubleshooting
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2022-05-20 12:44:06 +10:00
JitaC
6397b34f8b
Docs: Move labels and annotations topic to alerting fundamentals section ( #49283 )
...
* Moved annotation and labels topic to fundamentals and added label matching to the same section
* Cosmetic updates to "How label matching works topic"
* Few more changes to annotations and label section. Also added stem sentence to silences topics.
* Fixed one more broken relref.
* Update docs/sources/alerting/fundamentals/_index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2022-05-19 19:17:57 -04:00
kay delaney
64aedb78ba
Search: Support filtering by tag in folder view ( #49221 )
2022-05-19 14:16:25 -07:00
Alexander Weaver
e8b498fe8b
Parse template when validating it ( #49282 )
2022-05-19 16:05:34 -05:00
Kevin Yu
0a95d493e3
Cloud Monitoring: Use new annotation API ( #49026 )
...
* remove angular code
* format annotation on backend
* format time with time type instead of string
* update annotation query tests
* update get alignment data function
* update annotation query editor
* add annotation query editor test
* update struct
* add tests
* remove extracted function
* remove non-null assertion
* remove stray commented out console.log
* fix jest haste map warning
* add alignment period
* add AnnotationMetricQuery type
2022-05-19 13:52:52 -07:00
Ryan McKinley
26e98a6f1b
Search: add query to extender interface ( #49281 )
2022-05-19 20:30:13 +02:00
JitaC
639e548e32
Docs: Refactored alert groups and silences sections ( #48833 )
...
* Initial breakdown of silences topic
* Re-organized silences
* Refactored alert groups, fixed broken relrefs and adjusted weights.
2022-05-19 13:57:53 -04:00
Leonard Gram
fbc495ee68
update latest ( #49279 )
2022-05-19 19:06:45 +02:00
Grot (@grafanabot)
3bd6b8a5ae
ReleaseNotes: Updated changelog and release notes for 8.5.3 ( #49275 )
...
* ReleaseNotes: Updated changelog and release notes for 8.5.3
* Update CHANGELOG.md
Co-authored-by: Leonard Gram <leo@xlson.com>
2022-05-19 19:00:36 +02:00
Todd Treece
f0f33733a5
Search: Add DashboardIndexExtender interface ( #49045 )
...
Co-authored-by: Alexander Emelin <frvzmb@gmail.com>
2022-05-19 12:46:18 -04:00
Sofia Papagiannaki
6bb843bd0e
API: Introduce health and resources data source endpoints using the data source UID ( #48676 )
...
* API: introduce health and resources datasource endpoints with UID
* Document endpoints
* Update swagger
2022-05-19 19:27:59 +03:00
Vardan Torosyan
36663c093c
Rename built-in roles to basic roles in the role picker ( #49258 )
2022-05-19 17:58:18 +02:00
Alexander Emelin
444c585c99
Search: limit max size of batches during indexing ( #49187 )
2022-05-19 18:57:26 +03:00
Jguer
8919c8b014
OAuth: make oauth case insensitive match for email ( #49252 )
2022-05-19 17:48:29 +02:00
Ryan McKinley
8a87db2743
Search: use ngram filter rather than prefix query ( #49130 )
2022-05-19 08:23:31 -07:00
Leonard Gram
aad2983350
Security: fixes CVE-2022-29170 ( #49240 )
...
* Request interceptor: block redirects
* handle location missing
* Update pkg/infra/httpclient/httpclientprovider/host_redirect_validation_middleware.go
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
* Update pkg/infra/httpclient/httpclientprovider/host_redirect_validation_middleware.go
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
* linter
* fixes tests
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2022-05-19 17:01:09 +02:00
Kristin Laemmert
33359aee6c
backend/sqlstore: move GetDashboards to Dashboard Service ( #49175 )
...
I also did some mild file renaming to try and get the dashboards package closer in line with the sqlstore split design doc.
2022-05-19 10:59:12 -04:00
Isabella Siu
66220758b3
CloudWatch: migrate old variable queries with empty array ( #49197 )
2022-05-19 10:43:26 -04:00
renovate[bot]
e273c9a958
Ignore dependency updates to node-fetch as it's ESM only ( #49235 )
...
* Update dependency node-fetch to v3
* add node-fetch to the renovate ignore list as it's esm only at the moment
* revert back to 2.6.7
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-05-19 15:18:28 +01:00
Kristin Laemmert
2b8909a9c6
move GetDashboardUIDById out of sqlstore and into dashboard service ( #49170 )
...
* sqlstore: move GetDashboardUIDById to dashboard service
* winding change through the rest of the codebase
2022-05-19 10:13:02 -04:00
renovate[bot]
0bad187a60
Update dependency sass-loader to v13 ( #49238 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-19 15:05:48 +01:00
renovate[bot]
f35be58252
Update dependency postcss-loader to v7 ( #49237 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-19 15:00:25 +01:00