Torkel Ödegaard
6a9bfa19be
Themes: Fix issue generating themes due to code in @grafana/data accessing window object during module load ( #27441 )
2020-09-08 12:16:26 +02:00
Marcus Andersson
f22f0a89a6
Transformations: merge will properly handle empty frames and frames with multiple rows where values are overlapping. ( #27362 )
...
* wip.
* Fixed issue with merge not behaving exactly as the old table panel did.
* Fixed so empty data frames will be exluded prior to trying to merge the result.
* Changed so if passing only empty frames first will only be returned.
* de-duplication of configuration in tests.
2020-09-08 11:52:45 +02:00
Torkel Ödegaard
5c31f07904
Settings: Remove unnessary error handling code ( #27420 )
...
* Settings: Remove unnecessary error handling code
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-08 11:33:04 +02:00
Alex Khomenko
6fabfee097
Search: replace cog icon ( #27440 )
2020-09-08 12:04:40 +03:00
Zoltán Bedi
09c9571462
Explore: table result should not override display property ( #27411 )
2020-09-08 11:04:25 +02:00
Emil Tullstedt
10141c5e6c
Stats: Use more efficient SQL and add timeouts ( #27390 )
2020-09-08 09:52:08 +02:00
Alex Khomenko
2a2992b04d
Grafana-UI: Add docs for ClickOutsideWrapper ( #27429 )
...
* Grafana-UI: Add docs and story for ClickOutsideWrapper
* Grafana-UI: Update comments
* Grafana-UI: expand usage
* Grafana-UI: Tweak docs
2020-09-08 10:34:27 +03:00
Pratik Raj
cfc618ef44
Use git clone --depth ( #26976 )
...
Signed-off-by: Pratik Raj <rajpratik71@gmail.com>
2020-09-08 09:27:10 +02:00
robert lestak
d0e980c2fa
Alerting: Change Panel Edit link to Panel View link ( #27378 )
...
Enables alerts to be sent to users who do not have edit permissions.
Addresses Issue: https://github.com/grafana/grafana/issues/26014
2020-09-08 07:01:48 +02:00
Arve Knudsen
4b1eb6e5c7
Chore: Enable gocyclo linter ( #26395 )
...
* Chore: Enable gocyclo linter
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* API: Fix linting issue
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* API: Refactor to reduce complexity
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix type assertion
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-07 22:10:06 +02:00
Arve Knudsen
fb1f2746aa
Chore: Upgrade build pipeline tool in scripts ( #27433 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-07 22:09:24 +02:00
Marcos Mendez
4e94c0959a
Image Store: Add support for using signed URLs when uploading images to GCS ( #26840 )
...
Enables creating signed URLs when uploading images to Google Cloud Storage.
By using signed urls, not only is the public URL expiration configurable but the
images in the bucket are not publicly accessible.
Fixes #26773
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-09-07 19:10:14 +02:00
Andrei Lavrov
8253b9ddb3
Alerting: override PagerDuty 'dedup_key' via tags ( #27356 )
...
* Alerting: override PagerDuty 'dedup_key' via tags
Added ability to override PagerDuty 'dedup_key' via Alert tags
Updated unit tests
* Updated documentation
* add comma
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* add space
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-09-07 18:42:06 +02:00
Arve Knudsen
e71eb13386
scripts/ci-frontend-metrics.sh: Fix execution ( #27434 )
...
* scripts/ci-frontend-metrics.sh: Fix execution
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-07 18:39:47 +02:00
Domas
9acb99904a
Elasticsearch: Fixes localized dates in index pattern ( #27351 )
...
Fixes #8403
2020-09-07 18:27:56 +02:00
Arve Knudsen
5402157cb7
CI: Upgrade grabpl ( #27431 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-07 17:48:56 +02:00
Kamal Galrani
f6c31c2e10
Fixes signup workflow and UI ( #26263 )
...
* fixes signup flow
* Apply suggestions from code review
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
* Update ForgottenPassword.tsx
* fixes build failure
* fixes build failure
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
2020-09-07 18:24:46 +03:00
Agnès Toulet
6dd109b927
API: return resource ID for auth key creation, folder permissions update and user invite complete endpoints ( #27419 )
...
* API: add ID to auth key and folder endpoints
* API: add test for folder permissions update
* API: add created user id for /invite/complete endpoint
2020-09-07 17:06:11 +02:00
Torkel Ödegaard
61bd33c241
System: Date formating options ( #27216 )
...
* Add support for local time formats in graph panel
* Enfore 24h format for backward compatibility
* Use existing Intl.DateTimeFormatOptions
* Pre-generate time scale, add tests
* Move localTimeFormat, add local format to units
* updated default fallback
* #25602 , use navigator.languages to enforce locale in formatting
* Making options
* Worked new system settings
* things are working
* Local browser time formats working
* Support parsing dates in different formats
* settings updated
* Settings starting to work
* Fixed graph issue
* Logs fix
* refactored settings a bit
* Updated and name change
* Progress
* Changed config names
* Updated
* Updated
* Updated test
* Synced description
* fixed ts issue
* Added version notice
* Ts fix
* Updated heatmap and test
* Updated snapshot
* Updated
* fixed ts issue
* Fixes
Co-authored-by: Alex Shpak <alex-shpak@users.noreply.github.com>
2020-09-07 16:19:33 +02:00
kay delaney
783391a861
CloudWatch Logs: Adjusts CloudWatch Logs timeout logic ( #26621 )
...
* CloudWatch Logs: Adjusts CloudWatch Logs timeout logic
Previously CloudWatch Logs queries would time out if,
after a number of attempts, a response was received with no additional data.
This commit changes the behavior so that a consecutive number of requests
yielding no additional data must be made before we cancel the query
2020-09-07 14:41:36 +01:00
Arve Knudsen
58af541321
Drone: Report front-end test metrics ( #27395 )
...
* Drone: Report front-end test metrics
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* ci-frontend-metrics.sh: Fix collection bugs; print JSON
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add Yarn script ci:test-frontend
2020-09-07 13:17:03 +02:00
Bill Oley
b70fefe642
OAuth2: Handle DEFLATE compressed JWT payloads for generic OAuth ( #26969 )
2020-09-07 11:42:11 +02:00
Sofia Papagiannaki
b3b28e9f25
Failed to load application files message improvement ( #26214 )
...
* Failed to load application files message improvement
* Apply suggestions from code review
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2020-09-07 10:53:13 +03:00
Ryan McKinley
f7be1ba030
Chore: update pappparse for security fix ( #27412 )
2020-09-06 21:22:54 -07:00
Hugo Häggmark
72c3257d19
BackendSrv: Uses credentials and defaults to same-origin ( #27385 )
...
Co-authored-by: Liu Yang yangliuyu@163.com
2020-09-04 22:11:34 +02:00
Torkel Ödegaard
b6d76cdba7
PanelEdit: Vertically align padding for panel edit option group body ( #27310 )
...
* PanelEdit: Center padding for panel edit group body
* fixed padding
2020-09-04 22:03:26 +02:00
Kenny
d16a1f2215
Time format: 0 seconds is a number ( #27376 )
2020-09-04 11:12:54 -07:00
kay delaney
444f2d5896
Dependencies: Adds @testing-library/user-event for best practices ( #27397 )
...
Adds @testing-library/user-event so that best practices can be followed
when writing tests
2020-09-04 16:38:27 +01:00
Peter Holmberg
8e063ea82c
Docs: Add props documentation to FileUpload component ( #27393 )
2020-09-04 16:28:51 +02:00
Agnès Toulet
a9daaadd50
API: send Login actions ( #27249 )
...
* API: first version to send events about login actions
* API: improve login actions events
* Login: update auth test with new behavior
* Login: update auth test for auth module
* Login OAuth: improve functions structure
* API: make struct public to use for saml
* API: add send login log tests for grafana and ldap login
* API: remove log from tests
* Login API: fix test linting
* Update pkg/api/login_oauth.go
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
* Login API: refactor using defer
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
2020-09-04 14:54:59 +02:00
Pranit Bauva
a54df0c3cd
Login: Honour root_url
for Forget Password related links ( #27368 )
...
Closes #27226
2020-09-04 13:58:22 +02:00
Hugo Häggmark
bba4770509
PanelInspector: Adds a Raw display mode but defaults to Formatted display mode ( #27306 )
...
* PanelInspector: Fields with overrides are formatted correct in CSV
* Refactor: adds raw format
* Refactor: changes switch to Formatted values
* Tests: adds tests for applyRawFieldOverrides and getRawDisplayProcessor
* Test: change to utc timeZone
* Refactor: changes after PR comments
2020-09-04 11:21:24 +02:00
Ryan McKinley
ae385983f4
InfluxDB: support flux editor for template queries ( #27370 )
2020-09-03 14:11:39 -07:00
Ryan McKinley
b867050cfb
Annotations: improve datasource annotation types and add basic query properties ( #27342 )
2020-09-03 10:41:25 -07:00
Marcus Andersson
cac0e6ecd0
Build: fixing failing build by adding missing dependency to rollup config. ( #27358 )
2020-09-03 15:34:18 +02:00
Arve Knudsen
ddb4b77f04
CI: Upgrade the build Docker image ( #27337 )
...
* CI: Upgrade the build Docker image
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* CI: Upgrade osxcross and Apple SDK
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-03 13:20:28 +02:00
Alexander Zobnin
7aa38f0961
Docs: note about enabling permissions for the default data source ( #27259 )
...
* Add note about enabling permissions for the default ds
* Docs: refine default ds caution message
* Update docs/sources/enterprise/datasource_permissions.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Docs: DS permissions minor fix
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-09-03 13:23:35 +03:00
Jess
92e4948658
Storybook: Create Label.mdx and add docs ( #27350 )
2020-09-03 11:47:00 +02:00
Jess
0b6ea4c0ef
Storybook: Add docs to Cascader ( #27336 )
...
* Storybook: Add docs to Cascader
Added description for cascader component
* Update packages/grafana-ui/src/components/Cascader/Cascader.mdx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2020-09-03 10:08:09 +03:00
Hugo Häggmark
d633cc3c09
Tests: removes unused stuff and replaces monaco transpile with mock ( #27324 )
2020-09-03 08:54:46 +02:00
Ryan McKinley
febbc60e8b
RangeUtils: migrate logic from kbn to grafana/data ( #27347 )
2020-09-02 23:54:06 -07:00
Steven Vachon
6c5a0421fe
@grafana/e2e: improve types ( #27348 )
2020-09-02 20:37:23 -04:00
Szymon Szypulski
a8db544e85
Cloudwatch: Update list of AmazonMQ metrics and dimensions ( #27332 )
...
Update list of AmazonMQ metrics and Dimensions based on the current list
from the official AWS documentation.
Also, change InflightCount to InFlightCount.
2020-09-02 21:32:43 +02:00
Diana Payton
76a167365d
Update cloudmonitoring.md ( #27341 )
2020-09-02 15:07:12 -04:00
Diana Payton
67467c0eaa
Docs: Update index.md ( #27312 )
...
* Update index.md
* Update index.md
Removed an extra "then" from line 34.
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2020-09-02 11:15:32 -07:00
Diana Payton
e66e31a78d
Docs: Update postgres.md ( #27315 )
2020-09-02 09:19:46 -07:00
Nitesh Koushik S
3fd6452377
Docs: Documentation Update ( #27338 )
...
Updating Query Syntax, Query had an additional bracket, which was removed.
2020-09-02 07:46:51 -07:00
Diana Payton
15c72c2739
Docs: Updated data links content ( #27110 )
...
* updated content
* updated content
* Update data-link-variables.md
* Update global-variables.md
* updated content
* Update best-practices-for-managing-dashboards.md
* Update docs/sources/linking/data-link-variables.md
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
* Update docs/sources/linking/data-link-variables.md
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
* Update docs/sources/linking/data-link-variables.md
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
* Update docs/sources/linking/data-link-variables.md
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
* Update docs/sources/linking/data-links.md
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
* Update docs/sources/linking/dashboard-links.md
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
* Update dashboard-links.md
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2020-09-02 07:07:31 -07:00
Arve Knudsen
19c8097595
Chore: Upgrade to Go 1.15.1 ( #27326 )
...
* Chore: Upgrade to Go 1.15.1
2020-09-02 15:51:19 +02:00
Torkel Ödegaard
636dd96c28
DateFormats: Default ISO & US formats should be consistent and not change if current date is today ( #27300 )
...
* DateFormats: Default iso / US formats should be consistent and not change if current date is today
* rename and updated tests
* Updated changelog
2020-09-02 14:43:43 +02:00