Commit Graph

12767 Commits (0237059d052ccec97c489e4c26721560e0385e19)

Author SHA1 Message Date
Stuart Carnie 0237059d05
feat(reads): Implement ResultSet and GroupResultSet for protobuf streams 2018-11-21 12:01:35 -07:00
Brandon Farmer 1f388f2634
Merge pull request #1543 from influxdata/refactor/api-utils
Move api initialization to util
2018-11-21 10:46:37 -08:00
Christopher Henn 58d8ac8f67 Use EmptyGraphMessage in SingleStatTransform
For consistency.
2018-11-21 10:11:21 -08:00
Christopher Henn 7e98b0b38a Style single stat charts 2018-11-21 10:11:21 -08:00
Christopher Henn 8a848b4ed2 Fix number checking in SingleStatTransform 2018-11-21 10:11:21 -08:00
Brandon Farmer e5c63d23d9 Move api initialization to util 2018-11-21 10:08:31 -08:00
zhulongcheng 8984490ace unify code style 2018-11-21 10:08:20 -08:00
zhulongcheng 19dd22fcfa fix typos 2018-11-21 10:08:20 -08:00
zhulongcheng 07874d6246 add tests for /tasks endpoint 2018-11-21 10:08:20 -08:00
zhulongcheng f206175f79 add mock implementation of task service 2018-11-21 10:08:20 -08:00
zhulongcheng 6a01187dc5 fix POST /tasks param 2018-11-21 10:08:20 -08:00
zhulongcheng 2f6e36c3ca update GET /tasks response to implement swagger definition 2018-11-21 10:08:20 -08:00
zhulongcheng 631cb9a5f8 update task swagger definition 2018-11-21 10:08:20 -08:00
Christopher Henn 3834744464 Consolidate similar view types to "xy" view type 2018-11-21 08:42:54 -08:00
Delmer dd71ce5578
feat(ui/logs): add logs time selection actions (#1495)
adds simple log time selection
2018-11-21 08:15:50 -08:00
Jade McGough 096143977a
Merge pull request #1396 from bednar/user-mapping-response
fix GetMembersHandler
2018-11-21 00:47:35 -08:00
Jade McGough c76539d13d
Merge pull request #1397 from bednar/url_missing_member_id
Fixed the organizations members paths
2018-11-21 00:45:41 -08:00
Michael Desa 21e6c7bdce
Merge pull request #1540 from influxdata/fix/md-keep-query-authz
fix(platform): keep authorization struct on proxy query request
2018-11-20 16:50:14 -08:00
Brandon Farmer a2781f0df8
Merge pull request #1539 from influxdata/fixes/nested-task-generated-client
Change swagger to represent nested task
2018-11-20 15:28:50 -08:00
Michael Desa 81d1520dc6 fix(platform): keep authorization struct on proxy query request
As a result of pr https://github.com/influxdata/platform/pull/1494, idpe
broke. This PR undoes some of the work done from that PR, but fixes the
underlying issue with #1494.
2018-11-20 15:20:51 -08:00
Brandon Farmer 272ffc44d6 Change swagger to represent nested task 2018-11-20 15:06:30 -08:00
Palakp41 d6874b80e7
Merge pull request #1537 from influxdata/feat/add-sorting-tasks-page
Feat/add sorting tasks page
2018-11-20 14:58:50 -08:00
Palak Bhojani bf10974283 Added sorting on all the columns on task page
Change sortingHat to sort by a single (last clicked) column
Change sortingHat to sort by a single (last clicked) column
Created tests for TasksList
Create dummyData.ts in src/tasks instead of using the mocks/dummyData
Added IndexList instead of using table header on  Dashbaord
Test snapshot

Co-authored-by: Palak Bhojani <palak@influxdata.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-11-20 14:53:22 -08:00
Brandon Farmer 17a7585a62
Merge pull request #1536 from influxdata/updates/switch-task-ui-get-tasks-generated
Switch Task UI get tasks to use generated client
2018-11-20 14:23:18 -08:00
Brandon Farmer 90506ed51c Move delete and get by id tasks to generated client 2018-11-20 14:14:45 -08:00
Brandon Farmer 4f8ae2ba5a Switch Task UI get tasks to use generated client 2018-11-20 13:58:02 -08:00
Christopher Henn af1d9e47b0 Fix issue with changing view types
Since the `id` was not preserved when switching view types, attempting
to save a view after changing its type would result in a new view being
created rather than the existing view being updated.

Also fixes an issue where a dygraph would not rerender when switching
from a step plot to line plot, or during similar conversions.
2018-11-20 13:12:09 -08:00
Christopher Henn 188e714942 Implement bar chart type 2018-11-20 13:12:09 -08:00
Christopher Henn e389c04c0c Consolidate dygraph chart types 2018-11-20 13:12:09 -08:00
Michael Desa f5ca60be79
Merge pull request #1494 from influxdata/fix/issue#1467
Fix issue#1467
2018-11-20 14:19:30 -05:00
Brandon Farmer b189cdb902
Merge pull request #1534 from influxdata/updates/switch-task-update-to-generated-client
Switch Tasks UI updates to use generated client
2018-11-20 11:16:31 -08:00
Brandon Farmer 08589aae61 Switch Tasks UI updates to use generated client 2018-11-20 11:03:39 -08:00
Michael Desa 407c01cb17 fix(platform): use authorizer instead of authorizion for endpoints
feat(platform): add ToPermissions method to user resource mapping

The ToPermissions method returns a set of permissions that is granted
via a user resource mapping.

feat(bolt): resolve sessions permissions on lookup

feat(http): use authorizer instead of authorization service for write api

feat(bolt): create user resource mappings for org users in bucket create

feat(bolt): create user resource mapping for first org/user

fix(platform): use authorizer for query endpoint instead of authorization

test(http): use cmp instead of reflect for decode test
2018-11-20 10:56:58 -08:00
Brandon Farmer 806c69dc90
Merge pull request #1408 from influxdata/fixes/update-task-creation-swagger
Update task creation request body in swagger
2018-11-20 10:36:40 -08:00
alexpaxton 3a510c9ef0
Merge pull request #1498 from influxdata/polish/cell-styles
Refactor Cell Styles
2018-11-20 10:27:15 -08:00
Brandon Farmer 789a072dc7 Fixes select task by id 2018-11-20 09:49:40 -08:00
Brandon Farmer 843a7a2ada Fix typing issues with generated client 2018-11-20 09:49:40 -08:00
Brandon Farmer 948d2dcbe4 Exclude generated code from linting 2018-11-20 09:49:40 -08:00
Brandon Farmer 3c1112d31a Use task status default constant 2018-11-20 09:49:40 -08:00
Brandon Farmer b4aa8ff1d6 Add generated API code and use for task creation
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-11-20 09:49:39 -08:00
Brandon Farmer 0bdb3414ae Add updated swagger docs for Task Creation 2018-11-20 09:43:21 -08:00
Delmer d64ebf6662
feat(ui/logs): add loading of old logs (#1492)
feat(ui/logs): add loading of older logs
2018-11-20 12:15:06 -05:00
Christopher Henn 5c446d7047 Preserve queries when switching chart types 2018-11-20 08:11:23 -08:00
Christopher Henn 4bd0568f00 Fix incorrect loading state in VEO
Setting the initial `TimeMachine` state of the VEO after the VEO was
opened caused a double render in the `TimeSeries` component. This
created an issue where opening the VEO for a cell after the VEO had
previously been open would display the incorrect loading state (since
the `TimeSeries` component displays a special loading state for the
initial render).

This commit ensures the initial `TimeMachine` state for the VEO is set
before the VEO is opened.
2018-11-20 08:11:23 -08:00
Alex P a857b0d7fa Match name of classes to component names 2018-11-19 19:57:01 -08:00
Alex P 6775263c40 Make linter happy 2018-11-19 19:16:36 -08:00
Alex P e78d5e7daa Merge branch 'master' into polish/cell-styles 2018-11-19 19:13:42 -08:00
Alex P 7eaf49ce27 Style view empty state 2018-11-19 19:05:01 -08:00
Alex P 385ea38d15 Cleanup 2018-11-19 19:03:52 -08:00
Alex P ea884f833f Add theme support to context menus 2018-11-19 18:54:12 -08:00