Commit Graph

22966 Commits

Author SHA1 Message Date
kay delaney
c60882b497
Dev: Sets preserveSymlinks to false in top-level tsconfig (#19395)
* Dev: Sets `preserveSymlinks` to `false` in top-level tsconfig
Improves dev experience in vscode

* Removed preserveSymlinks from tsconfig since default option is false
2019-09-25 10:50:41 +01:00
Torkel Ödegaard
680a22b898
Build: fixed signing script issue with circle-ci (#19397) 2019-09-25 11:43:10 +02:00
Andrej Ocenas
3bd04d63c4
Docs: Update readme with info about ongoing migration (#19362) 2019-09-25 11:27:20 +02:00
Hugo Häggmark
889f8e3131 PanelData: Adds timeRange prop to PanelData (#19361)
* Refactor: Adds newTimeRange property to PanelData

* Refactor: Handles timeRange prop after requests

* Refactor: Makes timeRange mandatory

* Refactor: Adds DefaultTimeRange
2019-09-25 11:19:17 +02:00
Marcus Efraimsson
e35de167f9 Changelog: 6.4.0-beta2 release (#19380)
* changelog: add 6.4.0-beta2 release

* add back toolkit changes to main changelog
2019-09-25 11:04:41 +02:00
Brenda Harjala
a356b4ed44 Docs: Update Playlist.md (#19382)
* Update playlist.md

Docs: Change gerunds to verbs in Playlist and fix formatting #19341

* Docs: Update Playlist.md #19382
2019-09-25 10:43:55 +02:00
Brenda Harjala
dff5b20c5f Update documentation-style-guide.md (#19389)
Fixed typo: "Documention" becomes "Documentation"
2019-09-25 10:39:03 +02:00
Marcus Efraimsson
c4a03f482c Build: Fix correct sort order of merged pr's in cherrypick task (#19379) 2019-09-25 09:06:44 +02:00
Šimon Podlipský
6be4a67a97 dependencies: Update yarn.lock (#19377) 2019-09-25 09:05:46 +02:00
Ryan McKinley
32b73bb496 ValueFormats: check for inf (#19376) 2019-09-25 09:04:51 +02:00
oddlittlebird
94d7af888c Update UPGRADING_DEPENDENCIES.md (#19386)
Minor grammar edits, mostly bringing headings in line with the style guide.
2019-09-25 07:28:44 +02:00
oddlittlebird
f7a2fe5868 Update ROADMAP.md (#19384) 2019-09-25 07:18:35 +02:00
oddlittlebird
eb80b3249f Update SUPPORT.md (#19383)
Clarified how to get support, added link to official documentation
2019-09-25 07:17:01 +02:00
oddlittlebird
73fdda6f41 Update ISSUE_TRIAGE.md (#19280)
* Update ISSUE_TRIAGE.md

* Update ISSUE_TRIAGE.md

Minor edits

* Update ISSUE_TRIAGE.md

Reverted heading change

* Update ISSUE_TRIAGE.md
2019-09-25 06:39:04 +02:00
oddlittlebird
1fc447eba4 Update datasource_permissions.md (#19336)
Minor grammar and format edits
2019-09-24 23:46:55 +02:00
Marcus Efraimsson
3de693af49
MySQL: Limit datasource error details returned from the backend (#19373)
Only return certain mysql errors from backend.
The following errors is returned as is from backend:
error code 1064 (parse error)
error code 1054 (bad column/field selected)
error code 1146 (table not exists)
Any other errors is logged and returned as a generic
error.
Restrict use of certain functions:
Do not allow usage of the following in query:
system_user()
session_user()
current_user() or current_user
user()
show grants

Fixes #19360
2019-09-24 20:50:49 +02:00
Marcus Efraimsson
7c499ffdd8
MySQL, Postgres: Update raw sql when query builder updates (#19209)
Raw sql now updates when changing query using 
graphical query editor for mysql and postgres.

Fixes #19063
2019-09-24 20:47:21 +02:00
Marcus Efraimsson
96046a7ba6
MySQL, Postgres, MSSQL: Fix validating query with template variables in alert (#19237)
Adds support for validating query in alert for mysql, 
postgres and mssql.

Fixes #13155
2019-09-24 20:46:07 +02:00
Andrej Ocenas
f203e82b40
Explore: Do not send explicit maxDataPoints for logs. (#19235) 2019-09-24 16:20:45 +02:00
Peter Holmberg
bb0a438705
grafana/ui: Add Timezone picker (#19364)
* first things and story

* fixed data structure and fixed picker

* remove console log

* move variables into global scope
2019-09-24 15:34:12 +02:00
Ryan McKinley
2474511d03 Heatmap: use DataFrame rather than LegacyResponseData (#19026)
* merge master

* TimeSeries: datasources with labels should export tags (not labels) (#18977)

* merge master

* export prometheus tags

* Annotations: Add annotations support to Loki (#18949)

* Explore: Unify background color for fresh logs (#18973)

* Singlestat: render lines on the panel when sparklines are enabled (#18984)

* Image rendering: Add deprecation warning when PhantomJS is used for rendering images (#18933)

* Add deprecation warning

* Update pkg/services/rendering/rendering.go

Co-Authored-By: Marcus Efraimsson <marcus.efraimsson@gmail.com>

* Units: Adding T,P,E,Z,and Y bytes (#18706)

* Adding T and P for bytes

Luckily, all the hard work was done before; just added in these prefixes for our production environment.

* Future-proofing with other values (why not?)

* Yottaflops?

* Cutting back down to Peta sizes, except for hashes

* Refactor: move ScopedVars to grafana/data (#18992)

* Refactor: Move sql_engine to sub package of tsdb (#18991)

this way importing the tsdb package does not come with xorm dependencies

* use DataFrame in heatmaps

* actually use the setting :)

* remove unused timeSrv

* merge with master / useDataFrames

* fix test function

* merge master

* fix datasource type on snapshot

* reuse DataFrame calcs from graph panel

* update comments
2019-09-24 14:56:15 +02:00
Andrej Ocenas
6a699af27b
Explore: Refactor mode selection (#19356) 2019-09-24 12:19:48 +02:00
Torkel Ödegaard
ac3fb6452d
Dashboard: Fix export for sharing when panels use default data source (#19315)
* PanelModel: moved datasource: null away from defaults that are removed

* Added unit test
2019-09-24 12:15:35 +02:00
Erik Sundell
4dbedb8405 Azure Monitor: Revert support for cross resource queries (#19115)" (#19346)
This reverts commit 88051258e9.
2019-09-24 12:01:12 +02:00
Dominic Miglar
bb91966180 grafana/ui: Add electrical units mAh and kAh (#19314) 2019-09-24 11:47:56 +02:00
Badri
235a69527e grafana/ui: Add Indian Rupee (INR) to currencies (#19201)
* Adding Indian Rupee (INR) to currencies

This change adds formal support for the Indian Rupee in the list of currencies.

* fix comma
2019-09-24 11:46:15 +02:00
kay delaney
c93325cdd8
Chore: Bump typescript to version 3.6.3 (#19308) 2019-09-24 10:40:16 +01:00
Andrej Ocenas
b0d6ac5f42
Explore: Refactor live tail controls (#19328) 2019-09-24 10:18:34 +02:00
kay delaney
22c6401867 Docs: Documentation for return-to-dashboard feature (#19198) 2019-09-24 10:14:07 +02:00
Peter Holmberg
2c9577fcc5 Select: Set placeholder color (#19309) 2019-09-24 09:06:40 +02:00
Torkel Ödegaard
08cc4f0c8a
Keybindings: Improve esc / exit / blur logic (#19320)
* Keybindings: Improve esc / exit / blur logic

* Slight modifications

* removed use of jquery
2019-09-24 09:03:14 +02:00
Hugo Häggmark
75dcaecc99
Plugins: Skips existence of module.js for renderer plugins (#19318)
* Fix: Skips test for module.js for plugins of renderer type
Fixes #19130

* Refactor: Changes after PR comments

* Chore: Fixes go lint issue
2019-09-23 22:54:28 -07:00
Andrej Ocenas
4c1bc59889
Explore: Fix unsubscribing from Loki websocket (#19263) 2019-09-23 22:48:39 +02:00
Sofia Papagiannaki
9018050eca Release: update latest.json (#19312) 2019-09-23 16:43:22 +02:00
Jérémy Lugand
0516315620 Docs: Uppercase HTTP acronyms (#19317) 2019-09-23 16:07:11 +02:00
gotjosh
279249ef56
Multi-LDAP: Do not fail-fast on invalid credentials (#19261)
* Multi-LDAP: Do not fail-fast on invalid credentials

When configuring LDAP authentication, it is very common to have multiple
servers configured. When using user bind (authenticating with LDAP using
the same credentials as the user authenticating to Grafana) we don't
expect all the users to be on all LDAP servers.

Because of this use-case, we should not fail-fast when authenticating on
multiple LDAP server configurations. Instead, we should continue to try
the credentials with the next LDAP server configured.

Fixes #19066
2019-09-23 13:34:05 +01:00
Dominik Prokop
feb6bc6747
DataLinks: Small UX improvements to DataLinksInput (#19313)
Closes #19257
2019-09-23 14:17:17 +02:00
Hugo Häggmark
9bd6ed887c
Alerting: Prevents creating alerts from unsupported queries (#19250)
* Refactor: Makes PanelEditor use state and shows validation message on AlerTab

* Refactor: Makes validation message nicer looking

* Refactor: Changes imports

* Refactor: Removes conditional props

* Refactor: Changes after feedback from PR review

* Refactor: Removes unused action
2019-09-23 05:17:00 -07:00
kay delaney
68d6da77da
Chore: Update Slate to 0.47.8 (#19197)
* Chore: Update Slate to 0.47.8
Closes #17430
2019-09-23 12:26:05 +01:00
kay delaney
918cb78092
Chore: Upgrades react-redux to version 7.1.1 (#19272) 2019-09-23 12:01:08 +01:00
oddlittlebird
6fcbe60a8e Docs: Update documentation-style-guide.md (#19292)
* Update documentation-style-guide.md

Added heading rules

* Update documentation-style-guide.md

Added ampersand rule
2019-09-23 12:53:15 +02:00
lzd
50b4695cf5 Admin/user: fix textarea postion in 'Pending Invites' to avoid page scrolling (#19288)
* hide textarea element after click 'Copy Invite' button on firefox
2019-09-23 12:50:35 +02:00
Sofia Papagiannaki
2d8635054e Changelog update for 6.3.6 2019-09-23 13:49:49 +03:00
Sofia Papagiannaki
44aa90dc60 Revert "Changelog update for 6.3.6"
This reverts commit 98c2e24c73.
2019-09-23 13:49:49 +03:00
Sofia Papagiannaki
8513e742bc Changelog update for 6.3.6 2019-09-23 13:49:49 +03:00
Marcus Efraimsson
4386604751
Build: Split up task in the CI pipeline to ease running outside circleci (#18861)
* build: make sign rpm packages not depend on checking out private key

* build: move commands from circleci config into verify signed packages script

* build: split update and publish of deb and rpm into two scripts

* use files argument for sign and verify packages

* validate files argument for sign and verify packages

* update test publish of deb/rpm readme
2019-09-23 12:00:18 +02:00
Marcus Efraimsson
8f9c487c44
Build: Scanning grafana master docker image with trivy in ci (#19195)
Adds support for scanning the grafana/grafana:master docker image 
using trivy in circle ci each night.
2019-09-23 11:34:43 +02:00
Hugo Häggmark
f01836c17a
Dashboard: Hides alpha icon for visualization that is not in alpha/beta stage #19300
Fixes #19251
2019-09-23 02:34:00 -07:00
Dominik Prokop
b7752b8c02
Update changelog task to generate toolkit changelog too (#19262) 2019-09-23 11:19:34 +02:00
Torkel Ödegaard
bbf2bd18fd
QueryEditor: Clean-up interface to only have one PanelData (#19249)
* QueryEditor: Clean-up interface to only have one PanelData

* Renamed to prop name to data
2019-09-23 11:13:33 +02:00