Commit Graph

30287 Commits (d31be2a6f540bd64e38ea0ab6341a268a5e09a40)

Author SHA1 Message Date
Iris Scholten d31be2a6f5
chore(ui): remove unused component (#13614) 2019-05-16 11:32:42 -07:00
karel-rehor e9ccde1d78 test(e2e): Bonitoo cypress tokens (#13895)
* added writeData command

* better junit reporting

* adding package-lock.json as per circle-ci hint

* delinting

* removed chainable .only.

* removed commented line

* starting onboarding test

* onboarding assert

* complete onboarding to quick start

* additional onboarding tests

* delinting

* adding field requirements test

* fixing merge conflicts

* WIP - updating to new org ctx - stablizing

* WIP - linting - stablizing

* fixing merge conflicts

* refactor onboarding test to leverage data-testid

* fixing jstests with new data-testid attribs

* resynch promql.go

* refactor add last data-testid replacements onb test

* replacing lost asserts

* improving assert

* passing in additional data-testid values

* removing bin_gen.go from branch

* starting tokens test

* troubleshoot tokens test

* WIP tokens test - clean up after troubleshoot

* WIP - tokens tests

* synching tokens test with clockface changes

* updating testID in tokens test

* re-enable all current tokens tests

* linted tokens.test.ts

* stablize beforeEach in tokens.test
2019-05-16 10:48:20 -07:00
kelwang 7b2d76c77b
Merge pull request #13941 from influxdata/fix_time_master
fix(kv): due to merged conflict
2019-05-16 11:41:37 -04:00
Kelvin Wang 4408d0c82d fix(kv): due to merged conflict 2019-05-16 11:30:36 -04:00
kelwang 4bbfa8c6f4
Merge pull request #13552 from influxdata/kv_log_time
feat(http): add audit log
2019-05-16 11:10:56 -04:00
Kelvin Wang f75f27c0bd feat(http): add audit log 2019-05-16 10:57:28 -04:00
Jonathan A. Sternberg c98a40db14
fix(storage/reads): stop copying the values to an unnecessary buffer in the storage reader (#13933)
The copy was unnecessary since it was just going to be copied
immediately afterwards into an Arrow buffer. In the future, we will want
to have storage directly send the arrow buffer, but right now we are
putting it in an array and copying it anyway.

Even when we send an arrow buffer, the underlying sequence of bytes is
probably going to be different and we will rely on the allocator to
reuse bytes so let's remove the extra copy.
2019-05-15 20:40:29 -05:00
Christopher Henn 35701a1646 Upgrade vis library to 0.7.0 2019-05-15 16:41:53 -07:00
Brandon Farmer 6d83c3f7db
Merge pull request #13914 from influxdata/extract-templates
Extract templates to external module
2019-05-15 14:27:41 -07:00
Brandon Farmer 09600b1094 Extract template to external module 2019-05-15 14:08:07 -07:00
Iris Scholten 2e26f23f9e
feat(authentication): Add cli args for specifying session length and renewal (#13924)
Co-authored-by: Jade McGough <jade@influxdata.com>

* Add session renew option to launcher and use in middlewhere
* pass session options to services
* Update SessionAutoRenew to SessionRenewDisabled
* Add test for service constructor defaults
* Update changelog
2019-05-15 10:16:47 -07:00
Nathaniel Cook eac269db4f
Merge pull request #13931 from influxdata/flux-staging
chore(flux): update to Flux v0.29.0
2019-05-15 10:36:54 -06:00
Iris Scholten 8e76d8f6de
Merge pull request #13925 from influxdata/fix/download-names
feat(ui): Export and download resource with formatted resource name
2019-05-15 09:25:19 -07:00
Nathaniel Cook 8ebd6c8315 chore(query): add missing skip tests from merge 2019-05-15 10:18:08 -06:00
Nathaniel Cook faa5fddf7b Merge branch 'master' into flux-staging 2019-05-15 10:12:14 -06:00
Nathaniel Cook bbf7a771c9 chore(flux): update to Flux v0.29.0 2019-05-15 10:03:48 -06:00
kelwang cafd335877
Merge pull request #13890 from zhulongcheng/scraper-permission
fix(http): check write permission when creating a scraper
2019-05-15 11:30:52 -04:00
zhulongcheng ad5053c7a9 check write bucket permission when creating a scraper 2019-05-15 21:44:23 +08:00
Jade McGough e725e1a2bc
Merge pull request #13918 from eclipseo/use_latest_kin-openapi
chore(dep): update kin-openapi to v0.2.0
2019-05-14 16:54:36 -07:00
Iris Scholten 9cb2b339cf feat(ui): Export and download resource with formatted resource name 2019-05-14 16:34:38 -07:00
Palakp41 2e0f8c6397
Merge pull request #13913 from influxdata/chore/builder-card
Update buckets token overlay to use generic SelectorList component
2019-05-14 16:23:07 -07:00
Palak Bhojani a05f7fec34 Update buckets token overlay to use generic SelectorList component 2019-05-14 15:54:22 -07:00
Robert-André Mauchin 5079314ab5 chore(dep): update kin-openapi to v0.2.0
The API slightly changed: LoadSwaggerFromYAMLData is now replaced
by LoadSwaggerFromData.
See: https://github.com/getkin/kin-openapi/pull/67

Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
2019-05-15 00:23:32 +02:00
Palakp41 4ce04e8cdb
Merge pull request #13915 from influxdata/fix-labels-resource-list
Update Labels list to use ResourceList instead of IndexList
2019-05-14 13:35:32 -07:00
Palak Bhojani 42d818e1d5 Update Labels list to use ResourceList instead of IndexList 2019-05-14 13:18:54 -07:00
Christopher Wolff 52a98aae2b chore(tsdb): skip flaky test
https://github.com/influxdata/influxdb/issues/13755
2019-05-14 12:52:37 -07:00
Christopher Wolff 90a5d88fc5 fix(query): skip failing end to end tests 2019-05-14 12:52:37 -07:00
Deniz Kusefoglu 7b55b10a65
Merge pull request #13900 from influxdata/nav-bar-org-swith
Reload page on switch org
2019-05-13 16:20:03 -07:00
Palakp41 494767e2a4
Merge pull request #13901 from influxdata/fix-variables-resource-list
Update Variables tab to use ResourceList instead of IndexList
2019-05-13 15:33:06 -07:00
Deniz Kusefoglu 9050582c5a Use anchor tag instead of link for org switch 2019-05-13 15:30:54 -07:00
Palak Bhojani bfad4d6581 Update Variables tab to use ResourceList instead of IndexLits 2019-05-13 15:22:50 -07:00
Andrew Watkins d105fe18dc
feat(query-builder): set aggregate window (#13882)
* feat(query-builder): store aggregateWindow

* feat(query-builder): add ability to edit aggregateWidnow selection

* test: update and add aggregate window to tests

* test(querybuilder): add integration test
2019-05-13 15:14:05 -07:00
Jade McGough 29d2387752
chore(http): update error handling example in readme (#13874) 2019-05-13 12:50:25 -07:00
Iris Scholten 184ed7120e
Merge pull request #13888 from influxdata/chore/scrapers-list-component
chore(ui): Use ResourceList component for Scrapers List
2019-05-13 10:51:17 -07:00
Lorenzo Affetti e3f82111e1
Merge pull request #13816 from influxdata/test/consistent-flux-e2e
test(flux/e2e): export skip list
2019-05-13 19:35:41 +02:00
kelwang 8687cb8039
Merge pull request #13448 from influxdata/create_view_issue
fix(http): create view
2019-05-13 13:33:34 -04:00
Iris Scholten 41e578a4c2 chore(ui): Use ResourceList component for Scrapers List 2019-05-13 10:30:56 -07:00
Lorenzo Affetti 44fb090468 test(flux/e2e): export skip list 2019-05-13 19:14:52 +02:00
Jonathan A. Sternberg 01e3317b02
fix(http): do not discard non-json encoded errors when using `CheckError` (#13844)
If the error returned was normal text instead of JSON, the JSON parsing
would fail and the JSON error would be returned instead of the actual
error.

This has been modified so that when it fails to parse the text as JSON,
it will construct an error with the actual text and then wrap it using
the JSON error.
2019-05-13 12:02:05 -05:00
Palakp41 c7e2dab0a5
Merge pull request #13886 from influxdata/fix-buckets-resource-list
Update Buckets list to use ResourceList instead of IndexList
2019-05-10 16:34:33 -07:00
Palak Bhojani 49cfc08d2d Update Buckets list to use ResourceList instead of IndexList 2019-05-10 16:17:20 -07:00
Lyon Hill a049faca19
fix a race condition in the mock task scheduler (#13885) 2019-05-10 16:57:20 -06:00
Palakp41 5d99b0b788
Merge pull request #13875 from influxdata/fix-members-resource-list
Update members to use ResourceList instead of IndexList
2019-05-10 15:10:38 -07:00
Palak Bhojani 4ae929b4fe Update members to use ResourceList instead of IndexList 2019-05-10 14:54:58 -07:00
Chris Goller 1cfdfb4d4e
fix(task): filter tasks by after param (#12103)
fix(task): filter tasks by after param
2019-05-10 16:07:08 -05:00
Deniz Kusefoglu f21d4c9427
Merge pull request #13877 from influxdata/zero-maxAllowed-to-no-limits
Interpret a maxAllowed of zero as no limits on asset.
2019-05-10 12:44:39 -07:00
Jacob Marble 95f28cb571
fix(series file): Sync series segment after truncate (#13836) (#13859) 2019-05-10 11:25:43 -07:00
Christopher Henn adfb6a9b46 fix(ui): improve single stat computation
The method we used to compute a single stat / gauge value previously did
account for missing data. If the latest value in a response was part of
a numeric column but was null/NaN/not defined, the single stat
computation would fail and a user would see an error message "Could not
display single stat because your values are non-numeric".

This commit updates the single stat computation to find the latest
*defined* numeric values.

If no latest valid numeric values are found, we will either:

- Display an error message if using the compuation within a single stat
  visualization
- Display nothing if using the computation within a within a line +
  single stat visualization (i.e. display the line vis only)

If multiple latest values are found, we make an arbitrary selection
(same as previous behavior). The goal is to eventually expose UI
elements to the user so they can make this selection themselves.

This commit also updates the single stat computation to use the
@influxdata/vis `Table` format as an intermediate/parsed representation
of a Flux CSV response. This unlocks the possibility for performance
gains in our CSV parsing. See #13852.

Closes #13824
2019-05-10 07:29:24 -07:00
Deniz Kusefoglu 8ef957fc20 Interpret a maxAllowed of zero as no limits on asset. 2019-05-09 17:48:41 -07:00
Brandon Farmer 6e8a845714
Merge pull request #13869 from influxdata/update-system-dashboard
Extract and update templates
2019-05-09 16:57:30 -07:00