Commit Graph

32110 Commits (d753aa4459e0270a532d38882d99003a0c68a346)

Author SHA1 Message Date
Deniz Kusefoglu d753aa4459
feat(ui) More reasonable aggregate window intervals for selected query durations (#16536)
* feat(agg-window): Add duration input to aggreagate functionn selector

* feat(agg-window): rename duration strings to durations

* feat(agg-window): Add window periods for common time ranges

* feat(agg-window): Handle set auto select durations correctly

* Update changelog

* feat(agg-window): Use triple equality:
2020-01-15 18:23:10 -05:00
Johnny Steenbergen 93c8a2a104 feat(pkger): add service logging and tracing middlewares 2020-01-15 12:00:59 -08:00
kelwang 540e785eb4
Merge pull request #16537 from influxdata/cli_update_password
feat(cmd/influx): update password in cli
2020-01-15 14:17:20 -05:00
Kelvin Wang cf5daee66b chore(cmd/influx): refactor user.go
feat(cmd/influx): add user tests
fix(cmd/influx): make golint happier
2020-01-15 13:45:26 -05:00
Andrew Watkins 6c7a61e838
refactor(dashboard): normalization (#16535)
* refactor: change client api impoorts

* refactor(dashAPI): remove unneccessary helpers

* refactor: remove unneccessary helpers

* chore: move action creators to separate file

* refactor(dashboard): action creators use const attribute

* refactor(dashoards): normalization

* chore: cleanup names of thunks

* chore: sort action creator types

* fix: saving to a dashboard cell

* chore: move dashboard thunks to thunks file

* fix: dash index table imports

* fix: declare class properties

* chore: skip monaco test
2020-01-15 10:34:47 -08:00
Kelvin Wang f62d3a25f1 feat(cmd/influx): update password in cli 2020-01-15 13:30:23 -05:00
Alex Boatwright f4c529650a
fix: paginate dashboards (#16521) 2020-01-15 09:06:44 -08:00
Deniz Kusefoglu df83ac11bf
fix(ui): vars rename (#16539)
* fix(variable-rename): Fix variable renaming bug

* fix(variable-rename): Add tests
2020-01-15 11:44:08 -05:00
Johnny Steenbergen 41beaf0bd5 fix(pkger): fixes issue where pkger can't discern the mime/content type of a package
also makes the yaml decoder the default. To foten we end up in application/octet-stream
which is the default for many different mime types. This provides a mechanism
around that so that when the automagical detection fails it can allow the user
to provide it via the CLI.
2020-01-14 15:44:48 -08:00
Stuart Carnie 1a97dcf17a
Merge pull request #16531 from influxdata/sgc/issue/5661
feat(http): Enforce limits in write handler and expose config options
2020-01-14 15:37:38 -07:00
Johnny Steenbergen 234c458fa0 fix(pkger): fix missing API version in export of existing resources 2020-01-14 14:36:37 -08:00
Johnny Steenbergen 63fd1e2e9a feat(pkger): make pkger packages CRD compliant 2020-01-14 13:20:00 -08:00
alexpaxton 10b033cd9f fix(ui): fix appearance of org names in page titles (#16471) 2020-01-14 10:21:30 -08:00
Stuart Carnie 4122a5dfec
feat(http): Enforce limits in write handler and expose config options 2020-01-14 09:13:40 -07:00
Edd Robinson f3bb6ff042
Merge pull request #16530 from influxdata/er-fix-predicate
fix(storage): prevent infinite loop in predicate matcher
2020-01-14 15:49:38 +00:00
Edd Robinson f11504b987 fix(storage): prevent infinite loop in matcher
Fixes #15817

This commit addresses a potential infinite loop, caused
by series keys that contain a certain pattern of escaped
characters.
2020-01-14 15:05:07 +00:00
Zoe Steinkamp 1d18ddf1f1
Merge pull request #16185 from influxdata/zs-rebuildlabelspopover-#15416
Zs rebuildlabelspopover #15416
2020-01-13 21:12:40 -07:00
Zoe Steinkamp e75bd2e0f5
Merge branch 'master' into zs-rebuildlabelspopover-#15416 2020-01-13 20:37:05 -07:00
Andrew Watkins 9fdc2e4e7b
refactor(ui): normalize variables resource (#16478)
* chore: move variable types

* refactor: wip normalize variables resource

* fix: typo

* chore: move creators and thunks into separate files

* fix: removal of default state

* refactor: normalize set variables

* chore: fix api imports

* refactor: normalize set and remove variable

* refactor(variables): use const assertion in actions

* refactor(ui/variables): update editor action to use const assertion

* fix: variables not showing up for dashboard

* fix: types

* fix: index variable values properly

* fix: type

* fix: type

* fix: feedback
2020-01-13 17:11:56 -08:00
Bucky Schwarz 6415a6e389 feat: query builder - hide the keys search dropdown when grouping 2020-01-13 14:54:06 -08:00
Deniz Kusefoglu 8850f2c989
fix(durations): Add duration input that checks input validity as duration (#16385)
* Use duration input for check.every field

* Convert check.offset to Duration Input

* Check is string for duration

* feat(duration-inputs): Add submitInvalid ld to duration input

* feat(duration-inputs) Add duration inputs to Deadman Conditions

* feat(duration-inputs) Add test-id to duration inputs

* feat(duration-inputs) Add offset defaults to notification rules

* feat(duration-inputs): Add duration inputs to notification rules

* feat(duration-inputs): Check validity of check durations and thresholds

* feat(duration-inputs): Add vertical scroll bar to duration input

* feat(duration-inputs): Make testID an optional parameter

* feat(duration-inputs) : use window isNan instead of lodash
2020-01-13 21:14:15 +00:00
Johnny Steenbergen fe12fd051e feat(pkger): add jsonnet support for package files 2020-01-13 09:55:08 -08:00
Stuart Carnie 0fec732875
Merge pull request #16503 from influxdata/sgc/issues/5661
feat(models): Add limits options to line-protocol parser
2020-01-13 09:36:26 -07:00
Ariel Salem 03335cceb9
chore(ui): refactored dashboards client API to oats generated types and API (#16438)
chore(ui): refactored dashboards to use oats generated api rather than client
2020-01-13 08:26:58 -08:00
Johnny Steenbergen 3b62340b31 chore(influx): refactor org cmd with buidler pattern 2020-01-13 07:49:16 -08:00
Johnny Steenbergen fdc3e7658c feat(pkger): add ability to supply a pkg from a url
the following is now possible from the CLI(same in REST API):
  influx pkg -u 1717709ffa/bucket_pkg_json
2020-01-12 07:53:58 -08:00
Johnny Steenbergen 3f56658418 fix(influx): drop persistent pre run func taht double prints help cmd 2020-01-10 17:22:05 -08:00
Johnny Steenbergen 9338a0be97 chore(influx): refactor bucket cmd into builder pattern 2020-01-10 15:20:15 -08:00
Johnny Steenbergen 89939dea4e fix(influx): add env vars to cli usage and normalize usage and flag/env var priority
also rids us of the cobra tutorial code and encapsulates things into funcs
2020-01-10 15:20:15 -08:00
Stuart Carnie 76c4f90f0b
feat(models): Add limits options to line-protocol parser
The behavior of the line-protocol parser remains unchanged. This PR
moves the functions to a struct in order to simplify the tracking of
limits whilst parsing a request.

Limits may be set using the ParsePointsWithOptions API and the
associated WithParser functional options, all of which are documented.

It should be noted that the behavior of ParsePointsWithPrecision remains
unchanged.

ParsePointsWithPrecisionV1 was no longer used and removed to simplify
code.
2020-01-10 14:42:02 -07:00
Michael Desa aee746b817
Merge pull request #16416 from influxdata/feat/export-pkger-clone-resources
feat: add tool to migrate 1.x chronograf dashboards and variables
2020-01-10 09:42:21 -08:00
Michael Desa 26e8ee879c
feat: add tool to migrate 1.x chronograf dashboards and variables
feat(pkger): export dashboard and variable *ToResource methods

fix(pkger): add empty selected _measurement to builder config

feat(chronograf): add note & note visibility to dashboard cell

The 1.x DashboardCell struct had migrated since we brought the code into
the InfluxDB codebase. This allows us to migrate cells that were created
since then.

feat(cmd/chronograf-migrator): add 1.x chronograf migrator tool

feat(chronograf-migrator): add function to transpile queries

fix: update spelling of todo comment pkger/models.go

Co-Authored-By: Deniz Kusefoglu <deniz@influxdata.com>

fix(chronograf): add type to DashboardQuery

The type has evolved since this code was moved over from chronograf.
Previously, we did not have access to flux as a type of query.

feat(chonograf-migrator): transpile influxql query to flux if possible

fix(chronograf): omit fields when empty on old chronograf structs

fix: make linter not mad at me

feat(chronograf-migrator): lowercase variable names

fix(pkger): add empty selected measurement to builder config

chore(chronograf-migrator): add basic readme

chore(pkger): export Variable and Dashboard ToResource methods

fix(chronograf-migrator): move flags out of init call
2020-01-10 09:05:19 -08:00
George 560cd3faee
fix(http): expose max batch size bytes limit open on *APIBackend (#16497) 2020-01-10 16:00:37 +00:00
Nathaniel Cook c5a63b8514
docs(readme): Update README and CONTRIBUTING for Rust dependencies (#16479) 2020-01-10 08:57:38 -07:00
Alex Boatwright e203f94e16
feat: removing monaco editor flag (#16301) 2020-01-10 07:57:27 -08:00
Zoe Steinkamp 9d1dd1c14f
Merge pull request #16457 from influxdata/zs-improveErrorMessage16447
fix(ui): improve error message for create check (#16447)
2020-01-10 08:17:00 -07:00
George a0c18c9ef7
feat(http): add configurable limit to points batch size on write endpoint (#16469) 2020-01-10 11:02:44 +00:00
alexpaxton 63b3a07281
refactor(ui): implement cloud top nav design (#16470)
* refactor: add stylesheet for cloud nav

* refactor: remove cloud icon from side nav

* refactor: move cloud nav to top of app

* chore: add declaration so PNG files are typed as any when imported

* refactor: modify cloud nav to use specified components

* fix: Remove comment

* refactor: update nav item text

* refactor: do not show logout in sidenav for cloud users

* refactor: add unique class for google tag manager

* chore: update changelog

* refactor: don't render user menu if org isn't available

* chore: add image file for logo

Adds-Binary: ui/src/pageLayout/images/influxdata-logo.png

* chore: prettier and eslint
2020-01-09 17:56:12 -08:00
Nathaniel Cook 091f025dec docs(readme): Update README and CONTRIBUTING for Rust dependencies 2020-01-09 16:07:40 -07:00
Johnny Steenbergen ba7502aaf5 fix(influx): update influx pkg cmd flag secrets delimter to match vaults using an `=` 2020-01-09 14:22:38 -08:00
Johnny Steenbergen 825b4f8da7 fix(kv): fix issue with cursor not closing inside TX
also drops the prefix search optimizations from index store as well.
2020-01-09 11:31:43 -08:00
Zoe Steinkamp 88fe9ca383 fix(ui): update popover label 2020-01-09 10:10:25 -07:00
Alex Boatwright 98b4be7d08
fix: filter out system buckets (#16459) 2020-01-09 09:02:33 -08:00
Zoe Steinkamp 23acf06df2 fix(ui): update popover label 2020-01-09 09:46:37 -07:00
Zoe Steinkamp 5b7aca040d fix(ui): update popover label
update changelog
2020-01-09 09:46:37 -07:00
Zoe Steinkamp b8f31cad11 fix(ui): update popover label 2020-01-09 09:45:58 -07:00
Zoe Steinkamp 48ad5ad89e fix(ui): update popover label 2020-01-09 09:45:58 -07:00
Zoe Steinkamp 10c7f0255d fix(ui): update popover label 2020-01-09 09:45:58 -07:00
Zoe Steinkamp 86d8b716c5 fix(ui): update popover label 2020-01-09 09:45:58 -07:00
Zoe Steinkamp 45795f9c93 fix(ui): update popover label 2020-01-09 09:45:58 -07:00