Torkel Ödegaard
8499d1408d
TestData: Fix issue with numeric inputs in TestData query editor ( #28936 )
2020-11-09 14:48:08 +01:00
Arve Knudsen
ef2de2d357
setting: Fix tests on Mac ( #28886 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-09 14:39:56 +01:00
Dominik Prokop
2ddda8f452
Plugins signing: Fix docs urls ( #28930 )
2020-11-09 13:32:48 +01:00
Dominik Prokop
2ea4a36bf7
Field color: handling color changes when switching panel types ( #28875 )
...
* FieldColor: Per panel settings to filter out supported modes
* Updates
* Updated solution
* Update panel plugin API for standard options support
* Update FieldColorConfigSettings interface
* Change color mode correctly when changing plugin type
* Render only applicable color modes in field color config editor
* Apply field config API changes
* TS fixes
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2020-11-09 13:11:09 +01:00
Marcus Andersson
2887f3f68b
Variables: make sure that we support both old and new syntax for custom variables. ( #28896 )
2020-11-09 10:37:59 +01:00
ae3e
aa8d07f567
CodeEditor: added support for javascript language ( #28818 )
2020-11-09 10:37:06 +01:00
Zoltán Bedi
62510a3f42
Update CHANGELOG.md ( #28928 )
...
This is not released yet.
2020-11-09 10:18:05 +01:00
Leonard Gram
8fb06da34e
Plugins: allow override when allowing unsigned plugins ( #28901 )
...
* Plugins: allow override when allowing unsigned plugins
* Update pkg/plugins/plugins.go
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
* Plugins: removed java-style setter
* Plugins: cleanup
* Update pkg/plugins/plugins.go
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
2020-11-09 09:50:23 +01:00
Sofia Papagiannaki
5b00b500a7
Chore: Fix spelling issue ( #28904 )
2020-11-09 09:39:15 +02:00
Alex Khomenko
1d7fda4db6
Grafana-UI: LoadingPlaceholder docs ( #28874 )
...
* Refactor props
* Add docs
2020-11-09 09:25:07 +02:00
Marcus Andersson
3697b628a7
Gauge: making sure threshold panel json is correct before render ( #28898 )
...
* making sure we work with a proper data structure.
* added test to verify functionality.
* removed unused variables.
2020-11-09 08:23:07 +01:00
Emil Hessman
a717e856c5
Chore: Rewrite test in GoConvey to stdlib and testify ( #28918 )
2020-11-09 08:13:06 +01:00
Diana Payton
d2ac7dc007
Update documentation-style-guide.md ( #28908 )
2020-11-06 12:39:12 -08:00
Matthew Helmke
50239f11e5
Adding terms to glossary ( #28884 )
...
* Adding terms to glossary
* requested edits and addition to style guide
* Update contribute/style-guides/documentation-style-guide.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Update docs/sources/getting-started/glossary.md
Co-authored-by: Marcus Olsson <marcus.olsson@hey.com>
* Update docs/sources/getting-started/glossary.md
Co-authored-by: Marcus Olsson <marcus.olsson@hey.com>
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
Co-authored-by: Marcus Olsson <marcus.olsson@hey.com>
2020-11-06 16:33:32 +01:00
Arve Knudsen
3e60b41883
Devenv: Fix Prometheus basic auth proxy ( #28889 )
...
* prometheus basic auth proxy: Pin base image version
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* prometheus basic auth proxy: Don't use host network mode
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* prometheus basic auth proxy: Enable logging
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* prometheus basic auth proxy: Fix Dockerfile location
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-06 14:56:02 +01:00
Agnès Toulet
2c246276fd
API: replace SendLoginLogCommand with LoginHook ( #28777 )
...
* API: replace SendLoginLogCommand with LoginHook
* LoginInfo: Query -> LoginUsername
2020-11-06 10:01:13 +01:00
Agnès Toulet
f0421ed08e
Dashboards / Folders: delete related data (permissions, stars, tags, versions, annotations) when deleting a dashboard or a folder ( #28826 )
...
* Dashboard: delete related data when deleting a dashboard or a folder
* fix migrations order
* apply PR feedback
2020-11-06 09:02:31 +01:00
Paul Dee
0cbf034483
Loki: Correct grammar in DerivedFields.tsx ( #28885 )
...
grammarz 😉
2020-11-06 09:00:28 +01:00
Mitch Seaman
476b1bdb9b
Docs: Update list of Enterprise plugins ( #28882 )
2020-11-05 20:34:25 +01:00
Ryan McKinley
b91e9faccf
Live: update centrifuge and the ChannelHandler api ( #28843 )
2020-11-05 10:37:04 -08:00
achatterjee-grafana
d736fcdd1d
Update share-panel.md ( #28880 )
2020-11-05 12:57:48 -05:00
Arve Knudsen
1d319f6be7
CRLF ( #28822 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-05 17:20:40 +01:00
Ryan McKinley
7308028a90
PanelHeader: show streaming indicator (and allow unsubscribe) ( #28682 )
2020-11-05 08:03:34 -08:00
Marcus Olsson
f39a8d630b
Docs: Plugin signing docs ( #28671 )
...
* WIP
* Update plugin signing docs
* Fix review comments
2020-11-05 16:40:33 +01:00
Arve Knudsen
676d393ec9
Chore: Fix issues reported by staticcheck; enable stylecheck linter ( #28866 )
...
* Chore: Fix issues reported by staticcheck
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Apply suggestions from code review
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
2020-11-05 15:37:11 +01:00
Chris Cowan
135b83e17f
Elasticsearch: Filter pipeline aggregations from order by options ( #28620 )
2020-11-05 14:26:19 +00:00
Marcus Andersson
dbaf213f8a
Variables: added __user.email to global variable ( #28853 )
...
* added email to global variable.
* forgot to increase the count.
2020-11-05 15:26:08 +01:00
Rowayda Khayri
deb8889331
Fix titles case and add missing punctuation marks ( #28713 )
...
* Fix titles case and add missing punctuation marks
* Revert title case
2020-11-05 09:17:08 -05:00
Torkel Ödegaard
0a27929100
VizLayout: Simple viz layout component for legend placement and scaling ( #28820 )
...
* Updates
* Updated
* Rename slot to legend
* Updated
* Adding js doc comments
* hide horizontal track
* Fix docs error
* Added another export
* removing auto mode
* I hate these doc warnings
2020-11-05 13:29:56 +01:00
Arve Knudsen
3d3a7cbba8
Chore: Fix staticcheck issues ( #28860 )
...
* Chore: Fix issues reported by staticcheck
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Undo changes
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Chore: Fix issues reported by staticcheck
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix test
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix test
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-05 13:07:06 +01:00
Arve Knudsen
7897c6b7d5
Chore: Fix staticcheck issues ( #28854 )
...
* Chore: Fix issues reported by staticcheck
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Undo changes
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-05 11:57:20 +01:00
Alex Khomenko
9b90ff2961
Disable selecting enterprise plugins with no license ( #28758 )
...
* Add unlicensed property to plugins
* Disable selecting unlicensed plugin
* Add customizable plugin market place url
* License: workaround enabled only in enterprise
* linter
* Move licensing info to front end
* Update pkg/services/licensing/oss.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update pkg/services/licensing/oss.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update pkg/setting/setting.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update pkg/setting/setting.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update pkg/api/frontendsettings.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update sample.ini
* Update docs
* Update packages/grafana-runtime/src/config.ts
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
* Update public/app/features/datasources/state/buildCategories.ts
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
* Update pkg/api/frontendsettings.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update pkg/setting/setting.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix spelling
Co-authored-by: Leonard Gram <leo@xlson.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2020-11-05 12:55:40 +02:00
Zoltán Bedi
62138e8ad4
Tempo: fix test data source ( #28836 )
2020-11-05 11:38:45 +01:00
Zoltán Bedi
9155f46315
Prometheus: fix missing labels from value ( #28842 )
2020-11-05 11:37:21 +01:00
Arve Knudsen
574553ec7b
Chore: Fix issues found by staticcheck ( #28802 )
...
* Fix linting issues
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-05 11:29:39 +01:00
Arve Knudsen
dff84f6a31
Chore: Remove dead code ( #28664 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-05 11:00:00 +01:00
Marcus Andersson
abe96f4f89
Units: added support to handle negative fractional numbers. ( #28849 )
2020-11-05 10:40:52 +01:00
Hugo Häggmark
e54fc47462
Variables: Adds variables inspection ( #25214 )
...
* Chore: initial commit
* Refactor: adds usages
* Refactor: adds FeatureInfoBox
* Refactor: uses graphs instead
* Refactor: adds id, name, title to prop instead of key
* Refactor: adds usages to VariablesList
* Refactor: Moves unknowns to first page
* Refactor: minor stylings and icons
* Refactor: styling
* Refactor: changed to button with modal
* Refactor: adds VariablesDependenciesButton
* Refactor: changes after UX feedback
* Refactor: renames heading
* Refactor: changes after PR comments
* Refactor: small changes after PR comments
2020-11-05 09:53:27 +01:00
Torkel Ödegaard
c3ed644f66
Marked: Upgrade and always sanitize by default ( #28796 )
...
* Marked: Upgrade and always sanitize by default
* Added test
* corrected text panel logic
2020-11-05 09:40:12 +01:00
Daniel Lizardo
2f77e611cb
Currency: add Philippine peso currency (PHP) ( #28823 )
2020-11-05 09:06:08 +01:00
Torkel Ödegaard
9dd37f1e1b
Alert: Remove z-index on Alert component so that it does not overlay ontop of other content ( #28834 )
2020-11-04 20:27:43 +01:00
Will Browne
65554269ed
increase blob column size for encrypted dashboard data ( #28831 )
2020-11-04 18:41:05 +01:00
Torkel Ödegaard
2b7a570273
Gauge: Improve font size auto sizing ( #28797 )
...
* Gauge: Improved font size calculations
* Added some comments
* update
* Moving to variable
2020-11-04 17:07:37 +01:00
Dominik Prokop
5916ef94d0
grafana/toolkit: allow builds with lint warnings ( #28810 )
...
* grafana/toolkit: allow builds with lint warnings
* Remove redundant code
2020-11-04 13:51:23 +01:00
Dominik Prokop
4eeac69b29
core and grafana/toolkit: Use latest version of grafana-eslint-conifg ( #28816 )
2020-11-04 13:50:50 +01:00
Ivana Huckova
0f7a470138
Icon: Replace font awesome icons where possible ( #28757 )
...
* Replace font awesome icons where possible
* Implement small updates
2020-11-04 13:34:40 +01:00
Dominik Prokop
45a34a30b2
Remove homelinks panel ( #28808 )
2020-11-04 12:06:41 +01:00
jedstar
77f6c241b1
StatPanels: Add new calculation option for percentage difference ( #26369 )
...
* Update fieldReducer.ts
addition of percentage difference to the singlestat panel
* Update time_series2.ts
* Update module.ts
* Update calculations-list.md
* Update docs/sources/panels/calculations-list.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Update public/app/plugins/panel/singlestat/module.ts
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Update module.ts
* Update calculations-list.md
* Update calculations-list.md
* Update module.ts
* Update fieldReducer.ts
* Update fieldReducer.ts
* Update fieldReducer.test.ts
* change name to remove wildcard characters
* Update calculations-list.md
* Update time_series2.ts
Fix spelling
* Update module.ts
* Update fieldReducer.ts
* formatting
* Update fieldReducer.ts
* Update fieldReducer.test.ts
* Update fieldReducer.test.ts
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-11-04 10:19:23 +01:00
Tushar Tripathi
38bd6dd153
Dashboard: Add Datetime local (No date if today) option in panel axes' units ( #28011 )
...
* Add Datetime local (No date if today) option
* Add more tests
* Revert to using function for local dateTime format
This is required as Intl api used to convert date to local format is not present in
node environments
2020-11-04 10:13:45 +01:00
yenalsnavaj
f830d8772a
Variables: Adds named capture groups to variable regex ( #28625 )
...
* Dashboard: Add named capture groups to variable query regex
Variable query regex are able to use 'text' and 'value' named capture
groups to allow for separate display text to be extracted from the
query result. e.g.
Using a regex of /foo="(?<text>[^"]+)|bar="(?<value>[^"]+)/g on a query
result of metric{foo="FOO", bar="BAR"} would result in the variable
value being set to 'BAR' but display text being set to 'FOO'
Resolves #21076
* Improve regex capture group documentation
* Update docs/sources/variables/filter-variables-with-regex.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
* Use text capture if value capture does not match
This is to keep the behaviour consistent with the current behavior. See
discussion https://github.com/grafana/grafana/pull/28625/files#r516490942
* Improve regex field placeholder and tooltip message
To make the feature more discoverable to users the place holder example
now includes the named capture groups. The tool tip message also
includes a reference and link to the documentation.
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
2020-11-04 09:31:38 +01:00