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
Dominik Prokop
4036a44a80
Panel inspect: Interpolate variables in panel inspect title ( #28779 )
...
* Interpolate variables in panel inspect title
* Update public/app/features/dashboard/components/Inspector/InspectContent.tsx
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
* fix typo
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2020-11-04 09:27:59 +01:00
Dominik Prokop
a9e201332a
grafana/toolkit: Drop console and debugger statements by default when building plugin with toolkit ( #28776 )
2020-11-04 09:06:13 +01:00
Hugo Häggmark
50b3409474
Variables: Fixes URL values for dependent variables ( #28798 )
2020-11-04 08:56:02 +01:00
Torkel Ödegaard
df3a67428f
Graph: Fixes event emit function error ( #28795 )
2020-11-03 21:43:32 +01:00
Dominik Prokop
1f36e377e2
Adds storybook integrity check to drone config ( #28785 )
...
* Adds storybook integrity check to dron config
* Update starlark files
* Review comments
* Bump grabpl version
* Drone: Fix dangling dependency
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-03 18:34:45 +01:00
Ryan McKinley
b7a8416e02
Live: improve broadcast semantics and avoid double posting ( #28765 )
2020-11-03 09:11:23 -08:00
Torkel Ödegaard
5a11abe954
Events: Remove unused or unnecessary events ( #28783 )
...
* Events: Removing unused or unnessary events
* More cleanup
* Updated
2020-11-03 15:29:43 +01:00
Marcus Andersson
212bf7a4f6
Docs: added code comments to frontend packages. ( #28784 )
...
* fixed docs linting errors.
* decreased the limit.
2020-11-03 14:54:14 +01:00
Arve Knudsen
8954130f1a
Plugin Dockerfiles: Upgrade Go, golangci-lint, gcloud SDK ( #28767 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-03 14:07:19 +01:00
Torkel Ödegaard
b35d4e1e8e
Dependencies: Update angularjs to 1.8.2 ( #28736 )
...
* Angular: Update to angukar v1.8 with backward compatability monkey patches
* Update fix
* Updated
* Updated
* Fixes
* Update wording
* Update
2020-11-03 13:18:10 +01:00
Torkel Ödegaard
74c65eca26
EventBus: Introduces new event bus with emitter backward compatible interface ( #27564 )
...
* updated
* Experimenting with event bus with legacy support
* Before switch to emitter
* EventBus & Emitter unification
* Everything using new EventBus
* Making progress
* Fixing merge issues
* Final merge issues
* Updated
* Updates
* Fix
* Updated
* Update
* Update
* Rename methods to publish and subscribe
* Ts fixes
* Updated
* updated
* fixing doc warnigns
* removed unused file
2020-11-03 13:08:54 +01:00
Peter Holmberg
d84d8a134f
ColorSchemes: Add new color scheme ( #28719 )
2020-11-03 12:55:24 +01:00
Tomasz Napierala
d378240c4b
Docs: Add NGINX example for using websockets to Loki ( #27998 )
...
* feat: added NGINX example for using websockets to Loki
* chore: corrections after review
* chore: more correrctions from review
* chore: creview corrections
* chore: addressed review comment by @achatterjee-grafana
2020-11-03 12:35:21 +01:00
ndeevy
97262fb8fc
Docs: Made usage of config/configuration consistent #19270 ( #28167 )
...
Rebased ndeevy:docs-config/configuration-consistency-update from grafana/master to resolve conflicts
Co-authored-by: ndeevy <ndeevy@redhat.com>
2020-11-03 12:09:49 +01:00
Torkel Ödegaard
fa567de9b8
Cloudwatch: Fix issue with field calculation transform not working properly with Cloudwatch data ( #28761 )
...
* Cloudwatch: Fix issue with reducer transform not working properly with Cloudwatch data
* Updated go sdk and updated code
* CloudWatch: Improve test
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-03 11:24:26 +01:00
Dominik Prokop
651ab5677c
grafana/toolkit: Extract CHANGELOG when building plugin ( #28773 )
2020-11-03 11:13:10 +01:00
Arve Knudsen
0490b32790
Drone: Upgrade build pipeline tool ( #28769 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-03 10:34:48 +01:00
Arve Knudsen
45f311874d
devenv: Upgrade MSSQL Docker image ( #28749 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-03 09:45:21 +01:00
Peter Holmberg
cfbbab9bd8
Docs: Add docs for InfoBox component ( #28705 )
...
* add mdx
* fixes after pr feedback
2020-11-03 09:07:12 +01:00
achatterjee-grafana
cb1449e4fe
Reoeragnization. ( #28760 )
2020-11-02 14:11:27 -05:00
Arve Knudsen
494c20db5f
gtime: Add ParseDuration function ( #28525 )
...
* gtime: Make calculations independent of current time
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Introduce gtime.ParseDuration function
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* gtime: Fix ParseDuration
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-02 19:26:19 +01:00
Ivana Huckova
f71f03bf94
Explore: Remove redundant decodeURI and fix urls ( #28697 )
...
* Remove redundant path URIdecoding
* Remove redundant comments
2020-11-02 18:14:57 +01:00
Jack Westbrook
87ba1b67b7
Dashboard: fix view panel mode for Safari / iOS ( #28702 )
...
* fix(dashboard): flex-basis so child height percentages are respected
* fix(dashboard): reset scrollTop when entering view panel mode
2020-11-02 16:52:41 +01:00
Torkel Ödegaard
5fcff1a4c7
Provisioning: Fixed problem with getting started panel being added to custom home dashboard ( #28750 )
...
* Provisioning: Fixed problem with getting started panel being added to custom home dashboard
* Fixed comment
* Update pkg/api/dashboard.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-02 16:12:22 +01:00
tabarra
6a97c456ba
LoginPage: Removed auto-capitalization from the login form ( #28716 )
...
* Removed auto-capitalization from the login form
On mobile browsers, by default most keyboards will auto capitalize the first letter of the email/username, which is case sensitive.
This PR fixes that.
* Fixed autoCapitalize react keyword
2020-11-02 15:28:09 +01:00
Dominik Prokop
e93cb06604
Plugin page: Fix dom validation warning ( #28737 )
2020-11-02 13:04:40 +01:00
Jack Westbrook
f519f89103
Migration: Remove LegacyForms from dashboard folder permissions ( #28564 )
...
* refactor(permissionlist): replace legacyform components with next-gen equivalents
* refactor(permissionlist): replace legacyform components
* refactor(permissionlist): clean up PermissionsInfo
* feat(grafana-ui): define line-height for Select option descriptions
* refactor(permissionlist): remove debug code
* refactor(permissionlist): simplify component tree with horizontalgroup. Add label
* refactor(permissionlist): remove redundant classname from Select
2020-11-02 12:55:34 +01:00