Commit Graph

13424 Commits (3660cfc34a2c9d191a00cc37546c032b9ec0e176)

Author SHA1 Message Date
Michael Desa 3660cfc34a
Merge pull request #2235 from influxdata/fix/error-panic
fix(platform): check for (*platform.Error)(nil) in error functions
2019-01-04 11:23:39 -05:00
Michael Desa b590259a97 fix(platform): check for (*platform.Error)(nil) in error functions
As of https://github.com/influxdata/platform/pull/2192 a panic was
introduced in the startup of platform. It is the result of
`Error{Code,Op,Message}` being passed a `(*platform.Error)(nil)`
instead of an `(error)(nil)`.

Specifically
```
   if err == nil {
        return ""
    } else if e, ok := err.(*Error); ok && e.Code != "" {
        return e.Code
    }
```
will panic when err is `(*platform.Error)(nil)` as the `err == nil`
check will fail and the `e, ok := err.(*Error); ok && e.Code != ""` will
succeed and panic on `e.Code`, as `e` is nil.

This panic could have been avoided if all methods returned `error`
instead of `*platform.Error`.
2019-01-04 11:02:26 -05:00
Delmer 3dacbdf162
feat(ui): add field options to view (#2171) 2019-01-04 08:57:04 -05:00
Andrew Watkins 6eca18fc4e
fix(ui/org-view): org view polish
* fix(ui/org-view): list actual tasks from api

* fix(ui/org-view): fix dashboard list not rendering

* fix(ui/org-view): fix bucket modal

* feat(dashboards): add updated at column
2019-01-03 16:18:14 -08:00
Palakp41 ac7e9df407
Merge pull request #2219 from influxdata/feat/org-members-role-column
Update MembersList to include role column
2019-01-03 16:09:49 -08:00
Palak Bhojani 21eb3a26d8 Update MembersList to include role column 2019-01-03 14:39:49 -08:00
Jade McGough 7562c9a6d2
chore(http): make test diffs more readable (#2203)
* chore(http): make test diffs more readable

* fixes

* add back telegraf output spacing

* whitespace hell

* jsonEqual2 -> jsonEqual
2019-01-03 14:29:22 -08:00
Palakp41 36d602822f
Merge pull request #2199 from influxdata/fix-range-now-function
Update range function example constant to include now() instead of now
2019-01-03 14:27:27 -08:00
kelwang 7751fb693a
Merge pull request #2207 from influxdata/check_org_id_before_create_bucket
fix(bolt): check org id exists before create bucket
2019-01-03 17:12:04 -05:00
Nathaniel Cook 52a6e7a69d
Merge pull request #2087 from influxdata/flux-staging
Update flux to v0.12.0
2019-01-03 15:11:10 -07:00
Palak Bhojani 56d1247e51 Update range function example constant to include now() instead of now 2019-01-03 14:10:38 -08:00
Palakp41 efcb11f850
Merge pull request #2206 from influxdata/telegraf-config-interval
Update telegraf.conf constant to 10 instead of 15
2019-01-03 14:06:14 -08:00
Palak Bhojani 029e3af719 Update telegraf.conf constant to 10 instead of 15 2019-01-03 13:32:35 -08:00
Palakp41 c727ced04b
Merge pull request #2196 from influxdata/feat/from-function-explorer
Remove pipe operator when 'from' is clicked on explorer
2019-01-03 13:26:28 -08:00
Brandon Farmer b08c231a08
Merge pull request #2200 from influxdata/feat/make-client-generation-skipable
Make client generation optional via ENV variable
2019-01-03 13:23:53 -08:00
Palak Bhojani def2cdc287 Function name is being condition for any from functions 2019-01-03 12:39:59 -08:00
Palak Bhojani aaffe604fa Revert "Merge branch 'feat/from-function-explorer' of github.com:influxdata/platform into feat/from-function-explorer"
This reverts commit 93ce63e9c9, reversing
changes made to 4c7dfe93de.
2019-01-03 12:37:46 -08:00
Palak Bhojani 93ce63e9c9 Merge branch 'feat/from-function-explorer' of github.com:influxdata/platform into feat/from-function-explorer 2019-01-03 12:33:52 -08:00
Palak Bhojani 4c7dfe93de Add parameter to the onclick on toolbar function to condition on the func name 2019-01-03 12:32:28 -08:00
Palakp41 88b4958054
Merge pull request #2201 from influxdata/feat/from-function-bucket-name
Update from function example to bucket_name instead of telegraf/autogen
2019-01-03 12:31:37 -08:00
Palak Bhojani b5802b273b Merge branch 'feat/from-function-explorer' of github.com:influxdata/platform into feat/from-function-explorer 2019-01-03 12:31:20 -08:00
Kelvin Wang de708f3e98 fix(bolt): check org id exists before create bucket 2019-01-03 15:20:13 -05:00
Palak Bhojani 6746d7ca22 Update from function example to bucket_name instead of telegraf/autogen 2019-01-03 11:52:48 -08:00
Brandon Farmer 547a147d6b Make client generation optional via ENV variable 2019-01-03 11:33:23 -08:00
Palak Bhojani 69fd6fddd6 Add parameter to the onclick on toolbar function to condition on the func name 2019-01-03 11:20:14 -08:00
Brandon Farmer 78744e4b0e
Merge pull request #2194 from influxdata/feat/dataloader-verify-line-protocol
Add verify step for line protocol onboarding
2019-01-03 10:59:12 -08:00
kelwang b6dc2736be
Merge pull request #2192 from influxdata/convert_source_error
fix(http): convert source errors
2019-01-03 13:56:02 -05:00
Jeff Wendling fbb22652e8
Merge pull request #1989 from influxdata/er-tombstone
Add support for prefix tombstone entries
2019-01-03 11:54:00 -07:00
Palak Bhojani ed424c713c Add parameter to the onclick on toolbar function to condition on the func name 2019-01-03 10:14:44 -08:00
Deniz Kusefoglu f79ed49a02
Merge pull request #2189 from influxdata/bugfix/tasks-error-messages
Fix error notifications on tasks
2019-01-03 18:04:44 +00:00
Brandon Farmer f06b258a13 Add verify step for line protocol onboarding 2019-01-03 09:57:39 -08:00
Christopher Henn 89e6851812 Upgrade Parcel to 1.11.0 2019-01-03 09:41:59 -08:00
Nathaniel Cook 2e2867217e chore: update Flux to v0.12.0 2019-01-03 09:49:24 -07:00
Kelvin Wang 739d12bc00 fix(http): convert source errors 2019-01-03 11:38:01 -05:00
Michael Desa c4c374a0b4
Merge pull request #2180 from influxdata/fix/issue#1918
Add support for get /api/v2/query
2019-01-03 10:43:55 -05:00
Deniz Kusefoglu 9df87928ec Fix error notifications on tasks 2019-01-03 13:37:33 +00:00
Palakp41 0e29cd1dd5
Merge pull request #2186 from influxdata/feat/copy-button-float-right
Style copy button to float right in the text area
2019-01-02 14:43:34 -08:00
Palak Bhojani 1c6f188f58 Style copy button to float right in the text area 2019-01-02 14:30:52 -08:00
Adam c80628fbfa
Merge pull request #2184 from influxdata/flux-staging-update-master
Flux staging update master
2019-01-02 16:10:27 -05:00
Adam e333d9d60f tidy modules 2019-01-02 15:53:08 -05:00
Palakp41 278f67925c
Merge pull request #2181 from influxdata/feat/notify-copied-text
Add notification when text is copied to clipboard
2019-01-02 12:50:56 -08:00
Adam 512788f95e go mod updates 2019-01-02 15:46:37 -05:00
Adam 9a561f8b53 manually merged addition of secrets to launcher 2019-01-02 15:42:55 -05:00
Palak Bhojani cd698e1f5c Add notification when text is copied to clipboard 2019-01-02 12:25:00 -08:00
Michael Desa cf2ba751db feat(http): add support for get /api/v2/query 2019-01-02 14:36:16 -05:00
Jade McGough 0ddf6b3588
Label responses (#2165)
* add labels to task links

* add labels to task responses

* add failing test

* fix label POST

* make fmt

* fix dashboard tests

* update swagger

* fix task service test labels

* add labels test for dashboards http service

* pull params out of newTaskResponse

* pull params out of newDashboardResponse

* make fmt

* add labels to dashboard response in swagger

* make context first argument

* fix test formatting
2019-01-02 11:17:28 -08:00
Deniz Kusefoglu be1ba8a559
Merge pull request #2178 from influxdata/tables/vertical-time-axis-default
Set default time axis to vertical
2019-01-02 18:58:02 +00:00
Deniz Kusefoglu acab39cf33 Set default time axis to vertical 2019-01-02 18:49:21 +00:00
Palakp41 8890e3c944
Merge pull request #2036 from influxdata/feat/enter-keypress-next-step-substep
feat(ui/dataLoaders): Pressing Enter takes user to next step of onboarding
2019-01-02 09:48:26 -08:00
Palak Bhojani a7ed69c322 Fix minor props issue on Admin Step 2019-01-02 09:18:41 -08:00