Commit Graph

13100 Commits (f32b6f2fead3bc5fdf87abbecad34de51dbaaac3)

Author SHA1 Message Date
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
Alex P 9f22c5df48 Refactor resizable handle styles 2018-11-19 18:05:44 -08:00
Alex P a7aeb332f8 Refactor and redesign cell context menus 2018-11-19 17:46:21 -08:00
Alex P 0e1ea2bf4c Introduce clockface context menu component 2018-11-19 17:45:47 -08:00
Alirie Gray f2d07acb5b
Merge pull request #1426 from influxdata/tasks/configure-task-options-from-flux-page
Create task options UI
2018-11-19 16:50:07 -08:00
Alirie Gray 5996e24a54 Create task options UI
* Create TaskOptions type and actions/reducers
* Add prevent default event handling to Dropdown click functions
* Improve utility of ComponentSpacer
* Create components for task option unit and org dropdowns
* Replace ActionTypes enum with hard-coded strings in tasks actions

Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-11-19 16:11:44 -08:00
Christopher Henn 3bddf76bb3 Submit script on Control-Enter 2018-11-19 15:59:26 -08:00
Christopher Henn f487d38e3c Do not autorefresh in VEO 2018-11-19 15:59:26 -08:00
Christopher Henn e3fa95fdd1 Show query status in submit script button 2018-11-19 15:59:26 -08:00
Christopher Henn 646879704f Remove menu options from Threesizer 2018-11-19 15:59:26 -08:00
Christopher Henn d2019fedd5 Port FluxFunctionsToolbar 2018-11-19 15:59:26 -08:00
Christopher Henn 43199e4468 Move TimeMachine activeTab state to Redux 2018-11-19 15:59:26 -08:00
Delmer 7e3f968484
fix(logs/ui): fix logs table height calculation (#1399)
fix(logs/ui): fix table height calc
2018-11-19 18:25:06 -05:00
Alex P 10d6c3e6b6 Remove cellheader component 2018-11-19 14:55:33 -08:00
Alex P d5b3c86078 Import react grid layout styles into associated component 2018-11-19 14:35:24 -08:00
Alex P b31acff421 Rename stylesheet and import into associated component 2018-11-19 14:34:40 -08:00
Alex P 4823b6d01b Introduce cell border component 2018-11-19 14:34:13 -08:00
alexpaxton b01627b62b
Merge pull request #1489 from influxdata/clockface/form-tweak
Cleanup Clockface Form Component
2018-11-19 12:24:17 -08:00