Commit Graph

13277 Commits (b0f13f28579ae54e4626b184157b12c8193b44da)

Author SHA1 Message Date
Michael Desa b0f13f2857
Merge pull request #2073 from influxdata/fix/issue#1904
remove multiple calls to w.WriteHeader in http handlers
2018-12-20 14:53:04 -05:00
Nathaniel Cook b99ede0b76 chore(Makefile): fix issue with go run not having modules enabled 2018-12-20 12:47:00 -07:00
Christopher Henn 7928eb762d Fix issue forcing sign in on page refresh 2018-12-20 10:47:17 -08:00
kelwang 694f28e35f
Merge pull request #2042 from influxdata/fix_telegraf_config_update
fix(platform): fix the pointer alloc for telegraf config
2018-12-20 13:33:32 -05:00
Michael Desa 885b65e55c feat(http): add error logger for http server errors 2018-12-20 13:21:28 -05:00
ABond 0f8f169558
Merge pull request #2074 from influxdata/chore/true-nightlies
chore(CircleCI): turn off deploy on commits to master
2018-12-20 13:11:23 -05:00
Kelvin Wang 726cf3cdd6 fix(platform): fix the pointer alloc for telegraf config 2018-12-20 12:45:45 -05:00
kelwang 5797324cfc
Merge pull request #2054 from influxdata/convert_view_errors
Convert view errors
2018-12-20 12:41:22 -05:00
AJ Bond da67b392da chore(ci): Update make to build for each PR 2018-12-20 12:13:41 -05:00
Nathaniel Cook bd2105c923 chore(CircleCI): turn off deploy on commits to master 2018-12-20 09:34:26 -07:00
Michael Desa 32bd37de9a fix(http): remove second potention call to w.WriteHeader
Multiple calls to w.WriteHeader were possible if there was an error that
was encountered while encoding the response. To resolve this, we simply
log any error that is encountered instead.
2018-12-20 11:11:09 -05:00
Michael Desa a941e881c6 fix(http): use platform.Error instead of old style error 2018-12-20 11:11:09 -05:00
ABond 3b5d669c18
Merge pull request #2023 from influxdata/chore/ci-nightly-location
chore(goreleaser.yml): Update nightly build prefix
2018-12-20 11:04:15 -05:00
Mark Rushakoff c2d88d4e70 ci: ensure go.sum matches original file from checkout
In go1.11, go mod vendor can modify go.sum when go.mod contains replace
directives. This behavior has been fixed in go1.12, so just work around
it for now.

Fixes #2056.
2018-12-20 10:04:55 -05:00
Michael Desa 9521817109
Merge pull request #2051 from influxdata/fix/issue#2016
Rename "msg" field to "message" for Error json
2018-12-20 09:06:49 -05:00
Nathaniel Cook f8af55c9c0 chore(Makefile): fix build order of node_modules and subdirs 2018-12-19 17:41:33 -07:00
Nathaniel Cook 89f4525841 build(Makefile): fix various bug with makefiles
Fixes subdir ordering.
Works around issue with stringer not working with Go modules.
Fixes issues with generated code being ignored.

Fixes #2044
2018-12-19 17:02:19 -07:00
Alirie Gray bb2efcc641
Merge pull request #2058 from influxdata/dataloaders/red-x-for-invalid-plugins-in-sidebar
Display red x in sidebar when plugin config is invalid
2018-12-19 15:21:05 -08:00
Alirie Gray 9dd5ee0d27 Display red x in sidebar when plugin config is invalid 2018-12-19 15:12:45 -08:00
AJ Bond eeea507e32 chore(goreleaser.yml): Update nightly build prefix
Update the nightly build publish location to platform
2018-12-19 17:21:43 -05:00
Kelvin Wang f1c562f848 fix(http): view errors endpoint conversion 2018-12-19 16:54:48 -05:00
Kelvin Wang 1f983f7896 fix(http): convert view errors 2018-12-19 16:54:48 -05:00
Daniel Campbell 07edc3108b
update config title styles (#2055) 2018-12-19 13:28:35 -08:00
Daniel Campbell 60cbd661e8
remove CSV option (#2052) 2018-12-19 13:17:26 -08:00
Nathaniel Cook 5d31665ae8 chore(Makefile): fix broken nightly builds after Makefile updates
There were two issues.First the `chronograf` subdir was not listed.
Second the tmpl generate dependency was not listed in the tools.go list
of dependencies.

Fixes #2044
2018-12-19 13:52:33 -07:00
Alirie Gray 34b9e90434
URI array validation (#2034) 2018-12-19 11:50:31 -08:00
alexpaxton 0f79e4ea32
Refactor Clockface Form and Grid (#2033)
* Introduce clockface components for grid layout

Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>

* Remove child type enforcement on grid row

Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>

* Improve naming of grid column props

Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>

* Implement Grid components in view options

Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>

* Add default prop to grid column

Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>

* Remove concept of grid layout from form elements

Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>

* Introduce validated form element

Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>

* Optionally render components into a form label

Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>

* Make linter happy via massive cleanup

* Update snapshots and fix failing test

* Add optional "required" to form elements

* Clean up grid usage in line graph options

* Update snapshot
2018-12-19 11:34:17 -08:00
Nathaniel Cook 0b7ab965d7
Merge pull request #2002 from influxdata/flux-staging
build(flux): update to Flux v0.11.0
2018-12-19 12:24:51 -07:00
Nathaniel Cook 92a3ac7788 Merge remote-tracking branch 'origin/master' into flux-staging 2018-12-19 12:10:22 -07:00
Mark Rushakoff f7c1785c23 build: adjust module checksums for go1.11.4
Steps taken:

- go test -short ./... repeatedly, and on each checksum failure:
  - remove line for that repository from go.sum, and re-run go test
- go mod tidy repeatedly, and on each checksum failure:
  - remove line for that repository from go.sum, and re-run go mod tidy

I think this fixes local development, but it is unlikely to succeed on
CI until other images also migrate to go1.11.4. Unfortunately, the
docker image for go1.11.4 has not yet been published.
2018-12-19 13:52:52 -05:00
Nathaniel Cook d6c0a393b0 Merge branch 'master' into flux-staging 2018-12-19 11:30:55 -07:00
Michael Desa 9d1ed7a8d6 fix(platform): rename "msg" field to "message" for Error json 2018-12-19 13:13:15 -05:00
Christopher Henn 33d2b133bd Rewrite hover legend 2018-12-19 10:02:08 -08:00
Daniel Campbell ef6321a708
Data loader button bar (#2039)
* Add Skip to Verify on streaming data steps, style wizard button bar

* Add tests, update snapshots
2018-12-18 18:24:09 -08:00
Jade McGough 53f27c5566 fix swagger indentation 2018-12-18 16:15:35 -08:00
Iris Scholten 59d2d1c186
Merge pull request #2030 from influxdata/dataLoaders/listening-error-state
fix(ui/dataLoaders): Separate the error state from the data not found
2018-12-18 16:12:31 -08:00
Iris Scholten d817ff4507 fix(ui/dataLoaders): Separate the error state from the data not found state when listening for data 2018-12-18 15:18:35 -08:00
Palakp41 1e7cadc9b9
Merge pull request #2029 from influxdata/fix/input-id-unnecessary
Remove id prop from input component
2018-12-18 14:59:00 -08:00
Jade McGough afed119d77
Merge pull request #2032 from influxdata/labels-swagger
chore(http): add missing labels documentation
2018-12-18 14:56:04 -08:00
Jade McGough 121588bf8a chore(http): add missing labels documentation 2018-12-18 14:49:22 -08:00
Alirie Gray 8b6eefb389
Merge pull request #2026 from influxdata/dataloaders/telegrafs-put-mocks
Create mock for telegraf update function
2018-12-18 14:32:12 -08:00
Palak Bhojani aeb279228d Remove id prop from input component 2018-12-18 14:30:03 -08:00
Palakp41 659b423785
Merge pull request #2028 from influxdata/chore/telegraf-plugin-alphabetized
Telegraf plugins alphabetized in the sidebar
2018-12-18 13:53:27 -08:00
Christopher M. Wolff 86b10a75c9
fix(http): make query service look for platform.Error in response (#2027) 2018-12-18 13:37:25 -08:00
Michael Desa f9af1e6631
Merge pull request #1628 from influxdata/spike/kv-store
WIP: Spike for generic key value store
2018-12-18 16:35:25 -05:00
Palak Bhojani f4a291d1ff Telegraf plugins alphabetized in the sidebar 2018-12-18 13:27:40 -08:00
Michael Desa 28cea4d957 feat(platform): add generic kv store
Co-authored-by: Leonardo Di Donato <leodidonato@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>

feat(kv): add kv store interface for services

feat(bolt): add boltdb implementation of kv.Store

spike(platform): add kv backed user service

feat(kv): add static cursor

Note here that this operation cannot be transactionally done. This poses
a bit of issues that will need to be worked out.

fix(bolt): use error explicit error message

squash: play with interface a bit

fix(kv): remove commit and rollback from kv interface

feat(inmem): add inmem kv store

chore: add note for inmem transactions

fix(bolt): remove call to tx in kv store tests

feat(kv): add tests for static cursor

doc(kv): add comments to store and associated interfaces

doc(bolt): add comments to key value store

feat(testing): add kv store tests

test(testing): add conformance test for kv.Store

test(inmem): add kv.Store conformance tests

doc(inmem): add comments to key value store

feat(inmem): remove CreateBucketIfNotExists from Tx interface

feat(bolt): remove CreateBucketIfNotExists from Tx

feat(inmem): remove CreateBucketIfNotExists from Tx

doc(kv): add note to bucket interface about conditions methods can be called

feat(kv): add context methods to kv.Tx

feat(bolt): add context methods to bolt.Tx

feat(inmem): add context methods to inmem.Tx

test(kv): add contract tests for view/update transactions

feat(kv): ensure that static cursor is always valid

Co-authored-by: Leonardo Di Donato <leodidonato@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>

fix(kv): remove error from cursor methods

test(kv): remove want errors from cursor test

test(testing): add concurrent update test for kv.Store

feat(kv): make kv user service an example service

fix(testing): add concurrnent update test to the kv.Store contract tests

test(platform): fix example kv service tests

dep(platform): make platform tidy
2018-12-18 16:08:48 -05:00
Alirie Gray 242d9e86e1 Create mock for telegraf update function 2018-12-18 12:34:21 -08:00
Alirie Gray b033bd2ed8
Merge pull request #2020 from influxdata/dataloaders/create-config-at-verify-step
Create/update telegraf plugin at verify step of onboarding
2018-12-18 12:28:45 -08:00
Alirie Gray 758af5eaaf Create/update telegraf plugin at verify step of onboarding 2018-12-18 12:06:45 -08:00