Commit Graph

27964 Commits (95e808871e1641e14d08e6b495da819b02d8d57f)

Author SHA1 Message Date
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
Ben Johnson dd481f35df
Merge pull request #10599 from influxdata/sgc-check-utf8
Add -check-utf8 to verify sub-command
2019-01-02 13:29:43 -07: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
Palak Bhojani bab967df00 Pressing Enter takes user to next step or substep of the onboarding process
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2019-01-02 09:11:46 -08:00
Jade McGough 6efa557281
Merge pull request #2166 from influxdata/debug-statement
chore(http): remove debug printf
2019-01-02 08:33:18 -08:00
zhulongcheng 6e35b77efb add mock implementation of scraper service 2019-01-02 16:19:49 +08:00
Jade McGough e666bef692 chore(http): remove debug statement 2019-01-01 23:38:42 -08:00
zhulongcheng 309883a272 add mock implementation of operation log services 2019-01-02 15:16:27 +08:00
zhulongcheng cf1baf5242 add mock implementation of proxy query service 2019-01-02 11:30:46 +08:00
zhulongcheng 49106f37b4 add mock implementation of onboarding service 2019-01-02 11:15:08 +08:00
zhulongcheng cc1cf89a53 add mock implementation of source service 2019-01-02 10:37:33 +08:00
Jeff Wendling 9da6fb3410 fix(write): fix close logic to avoid race from read error
In the case that there is a read error, we would close the lines
channel before sending the error into the read error channel. closing
lines then allows the write goroutine to possibly send in a nil error
before read is able to, causing the main function driving both to
return a nil error. Additionally, it is possible for both reads and
writes to race sending errors into their channels, and the main
goroutine will only read from one, causing the other goroutine to leak.

To fix this, we close lines only after we have sent an error into
the channel, we ensure we read from both errors to make sure that
both have exited, and we unify the channels and add a buffer of size
two to the channel. It is possible for write to exit leaving read blocked
forever, but write only exits with a nil error when read has exited, so
this only happens during an actual write error, just like before.

Channels are hard.
2018-12-29 15:30:38 -07:00
zhulongcheng 83529543ac initialize session handler by SessionBackend 2018-12-29 11:41:06 +08:00
Andrew Watkins 3429e8d0c6
feat(auth): rewrite authorization service (#2157)
* feat(view-token-overlay): add view token overlay

* test(tokens): update tests

* chore(auths): rename mock data file

* feat(token-view): clicking on description opens token view modal

* feat(token-view): add ability to close overlay

* feat(token-view): display token permissions with updated permissions shape

* feat(token-view): wip update authorization and permission shapes

* feat(auth): wip refactor auth permissions

* fix(auth): generate permissions via functions

* fix(auth): make Id ID

* chore(types): update generated client

* feat(auth): wip add user and org names to auth

* fix(user): didnt save rebase

* feat(auth): WIP refactor auth

* feat(auth): check for user existence during auth creation

* feat(auth): org must exist during auth creation

* fix(auth): pluralize telegrafs resource type

* docs(http): update swagger definition for the Authorization

* test(auth): fix broken tests

* docs(swagger): update cur_swagger Authrorizations

* fix(api): remove trace from cur_swag

* test(ui/token): update components with new generated type definitions

* feat(http): add lookup service adding names for permissions

* fix(http): remove debugging panics

* chore: go tidy

* fix: unsaved rebase

* test(idpe): add ids to Authorizations for log tests
2018-12-28 15:02:19 -08:00
Michael Desa ea2564ced3
Merge pull request #2158 from influxdata/fix/issue#2149
Document/Use secret service in API
2018-12-28 11:23:03 -05:00
Michael Desa 4c60eacb58 chore(platform): cleanup, document, and use secret service
fix(http): add members/secrets/labels links on org response

fix(http:cmd/influxd): use secret service in api backend

fix(bolt): return empty list if there are no secrets for an org

chore(vault): add description of vault usage
2018-12-28 11:11:21 -05:00
Delmer efdb373868
Feat/manage labels (#2082)
feat(ui): add labels to org page
2018-12-27 13:19:07 -05:00
Mark Rushakoff 7c9cdd0248 chore: remove .eslintrc
Fixes #2143.
2018-12-27 13:00:00 -05:00
Chris Goller a2ed0bae74
Merge pull request #2147 from influxdata/fix/rename-paging-test
fix(http): rename piging_test to paging_test
2018-12-27 09:59:48 -06:00
Chris Goller 96fb4a6072 fix(http): rename piging_test to paging_test 2018-12-27 09:48:20 -06:00
Chris Goller 7618286cdd
Merge pull request #2144 from influxdata/fix/inmem-user-filtering
fix(inmem): user service now filters by id
2018-12-27 08:58:37 -06:00
Michael Desa f5b0bdeb12
Merge pull request #2114 from zhulongcheng/rename-msg
rename msg to message for platform.Error json
2018-12-27 00:29:14 -05:00
Chris Goller c4f6f729fd fix(inmem): user service now filters by id
Related: #2072
2018-12-26 21:38:18 -06:00
zhulongcheng f3bf670706 rename msg to message for platform.Error json 2018-12-27 10:34:00 +08:00
kelwang 364b56f4fa
Merge pull request #2130 from influxdata/convert_write_errors
fix(http): convert write endpoint error
2018-12-26 16:43:01 -05:00
Chris Goller eb48eb6317
Merge pull request #2142 from zhulongcheng/custom-404
fix(http): replace default-404 handler with custom-404 handler
2018-12-26 15:17:55 -06:00
Chris Goller ecaadf7a8f
Merge pull request #2127 from influxdata/fix/github-pr-template
fix(.github): cleanup the pull request template
2018-12-26 15:15:28 -06:00
Chris Goller d5cf4fdccb
Merge pull request #2138 from influxdata/feat/accept-headers
feat(http): add accept parsing for telegraf
2018-12-26 12:53:05 -06:00
Chris Goller 4f38c8cad9 feat(http): add accept parsing for telegraf 2018-12-26 12:23:59 -06:00
Jade McGough d00dd1b2da
Merge pull request #2139 from zhulongcheng/405-handler
feat(http): add MethodNotAllowed handler
2018-12-25 12:53:01 -08:00
zhulongcheng 7ce8237d29 replace default-404 handler with custom-404 handler 2018-12-25 10:35:36 +08:00
zhulongcheng e73d4fc637 add MethodNotAllowed handler 2018-12-23 15:55:45 +08:00
Kelvin Wang ddaa602014 fix(http): convert write endpoint error 2018-12-21 20:19:30 -05:00
kelwang 94b7c3cea0
Merge pull request #2128 from influxdata/move_time_telegraf_service
fix(platform): remove creator and time
2018-12-21 20:13:35 -05:00
ABond 0a473d0316
Merge pull request #2136 from influxdata/chore/update-nightly-schedule
chore(ci): Update schedule back to single nightly build
2018-12-21 17:17:04 -05:00
AJ Bond e699a209e6 chore(ci): Update schedule back to single nightly build 2018-12-21 17:01:09 -05:00