Commit Graph

33934 Commits (b6642b13b7b661b1cf141e2c33b7328b95bff517)

Author SHA1 Message Date
Alirie Gray b6642b13b7
Merge pull request #19325 from influxdata/update-swagger-scrapers-label-patch
docs: remove unused patch scraper label route from swagger
2020-08-24 12:24:19 -07:00
Alex Boatwright 55f9c2bc2d
fix: update dashboard limits to 100 (#19417) 2020-08-24 12:02:14 -07:00
Alirie Gray 5e41bc8373 docs: remove unused patch scraper label route from swagger 2020-08-24 10:55:56 -07:00
Timmy Luong a6dc8748d2 chore: update giraffe 2020-08-24 09:41:27 -07:00
Brett Buddin 77fcf692c5
fix(notification/rule): Include the edge of the boundary we are observing. (#19392)
* fix(notification/rule): Include the edge of the boundary we are observing.

* chore(changelog): Add 19392 to changelog.
2020-08-24 10:08:14 -04:00
Ben Johnson 32fb699ecf
Merge pull request #19387 from influxdata/influxql-delete
feat(influxql): Implement DELETE & DROP MEASUREMENT
2020-08-24 08:02:36 -06:00
Ben Johnson 1501351623 feat(influxql): Implement DELETE & DROP MEASUREMENT 2020-08-21 13:32:47 -06:00
Alirie Gray 521500ba76
fix: add variable name validation for flux identifier (#19317) 2020-08-21 10:49:07 -07:00
Alirie Gray 5660be302e
fix: add delete org owner back (#19347) 2020-08-21 10:48:46 -07:00
Alirie Gray 9b4fef0f9a fix: add variable name validation for flux identifier 2020-08-21 10:28:18 -07:00
KevinSmile ebaa32313b fix(api/dashboards): FindOptions not working 2020-08-20 16:55:52 -06:00
KevinSmile 887f88bd5a fix(api/orgs): (API-design-issue) FindOptions for orgs 2020-08-20 16:55:30 -06:00
alexpaxton 95e270d550
fix: increase default height of raw data view in flux cells (#19401) 2020-08-20 12:41:29 -07:00
alexpaxton 9b02fa60e2
feat(flows): improve add cell button ux (#19400)
* refactor: WIP redesign add cell interaction

* feat: redesign add cell interaction
2020-08-20 12:41:18 -07:00
alexpaxton 45b1f86e20
feat: hide cell move buttons behind feature flag (#19350) 2020-08-20 12:09:10 -07:00
Brett Buddin 0780232b83
feat(task): Parse Task Options using Flux AST Helpers (#19326)
* feat(task): Extract options using AST-based method.

* feat(task): Use AST-based option APIs for updating task option.

* chore(task): Use the old way of parsing durations.

* fix(task): Ordering changed on us. Fixing tests to reflect the new order.

* fix(task): There's no way for us to know if there are multiples with the current APIs.

* chore(task): Guard against duplicate options. Minor cleanup.

* fix(kit/feature): Break cyclical dependency between influxdb and pkgs that use feature.

* chore(task): Feature flag updating Flux options.

* chore(task): Ensure we are testing both paths of feature flag.

* chore: Remove dead code.

* chore(task/options): Remove unnecessary conditional.

* chore(task/options): Unexport some error helpers.
2020-08-20 11:57:23 -04:00
Jonathan A. Sternberg 519f60f7d5
feat(storage/reads): replace panic on unsupported type with an error (#19353)
This replaces the panic that happens when attempting to create a cursor
for an unsupported aggregate type for the mean aggregate. It instead
refactors the result set so the cursor is constructed as part of the
`Next()` call and false is returned when there is an error creating the
cursor. The cursor is then accessed with `Cursor()`. When `Next()`
returns false, an error can be accessed by using `Err()`.
2020-08-20 10:13:49 -05:00
Michael Desa 550966dbe2
chore(http): add response_code as label to http_api_* metrics (#19389)
This was added so that we can distinguish between 4XX and 401 class
errors. It should have a minimal impact in overall cardinality.

Co-authored-by: Greg Linton  <greg@influxdata.com>

Co-authored-by: Greg Linton  <greg@influxdata.com>
2020-08-19 13:19:18 -07:00
Timmy Luong 050aed013c chore: update giraffe 2020-08-19 12:44:18 -07:00
Timmy Luong bdd0055924 test: exclude Band Chart from e2e test because of feature flag 2020-08-19 12:44:18 -07:00
Deniz Kusefoglu 8ce6fe6a17 feat(bandChart): add feature flag and update options for Band Chart 2020-08-19 12:44:18 -07:00
Deniz Kusefoglu 894aa99d37 feat(bandChart): Add concept of bandChart 2020-08-19 12:44:18 -07:00
Deniz Kusefoglu 7832525c0a feat(bandChart): Bump giraffe version 2020-08-19 12:44:18 -07:00
alexpaxton 56f9be9ff3
fix(ui): catch errors from user not having tokens (#19366)
* fix: catch errors from user not having tokens

* fix: WIP write unit test

* refactor: make getting started page link to sources page

* feat: write unit test for tokens widget
2020-08-19 12:37:19 -07:00
alexpaxton 839fd6e01d
feat(ui): replace custom list with List component (#19217)
* feat: replace custom list with List component

* fix: use correct ref type

* fix: use proper testID props

* refactor: Make inline add buckets button consistent with others

* fix: repair query builder e2e test

* fix: tokens e2e test
2020-08-18 13:37:29 -07:00
Bucky Schwarz 176fdc86ca fix: in non cloud environments, show actual errors, rather than hb nonsense 2020-08-18 12:14:33 -07:00
alexpaxton ebf41ec351
feat(ui): new load data page (#19351)
* Revert "Revert "feat(ui): redesign load data page (#19246)" (#19336)"

This reverts commit 0111f024d5.

* fix: guard against no tokens or buckets

* fix: typo

* refactor: name sources page titles properly

* fix: avoid referencing image asset inline
2020-08-18 11:17:36 -07:00
karel-rehor 3a8f3e4a90
chore(e2e): update selectors (#19360)
* update: patch in tests from bonitoo-io/selenium-accept-infl2

* fix: add dataExplorer.feature - forgotten yesterday

* update:  refactor e2e test configuration

* update:  set actual cloud credentials in config

* fix: issue with headless switch in config

* update: WIP cloud experim and refactoring to use client libs

* update: sync variablesTab with upstream changes

* fix: clumsy use of resultObserver without promise

* fix: troubleshoot merge issue

* wip: Refactor using client APIs.

* wip: refactoring tests with new client API

* update: tokens tests

* wip: fixing variables tests

* fix: selectors for settings variables tests

* update: update selectors for dashboards and cellEdit

* e2e(fix): update selectors for generic popup

* e2e(fix): fix note cell test

* e2e(circleci): try and force nightly build

* e2e(circleci): try and force nightly build bis

* e2e(circleci): troubleshoot build issues

* e2e(circleci): fix type

* e2e(circleci): check circleci build

* e2e(circleci): troubleshoot build failure

* e2e(circleci): troubleshout circleci build

* e2e(circleci): troubleshoot circleci build issues

* e2e(circleci): troubleshoot build schedule

* e2e(update): wip updating alerts selectors

* e2e(circleci): troubleshoot reporting from tests

* e2e(update): fix alert selectors - WIP

* e2e(circleci): troubleshoot reporting issues in circleci

* e2e(update): monitoring selector fixes

* e2e(circleci): troubleshoot reporting issues

* e2e(update): fix monitoring selectors

* e2e(circleci): change cron trigger schedule for bonitoo

* e2e(config): add ENV to declare username

* test: add semantic commit

* e2e: remove debug lines from old config.yml

* fix(temp): remove bonitoo workflow from config.yml

* fix(e2e): reset cron for hourly-e2e to original values

* dataExplorer.feature new scenarios

* fix(e2e): generalize urls in telegraf asserts

* fix(e2e): troubleshoot circleci build

* fix: update .circleci/config.yml nightly acceptance test and sync with upstream

* fix(e2e): troubleshoot network issues on jenkins

* fix(e2): troubleshoot jenkins failures

* fix(e2e): troubleshoot jenkins issues

* fix(e2e): troubleshoot jenkins failures

* fix(e2e): troubleshoot test issues - change page load strategy

* fix(e2e): troubleshoot build issues

* fix(e2e): troubleshoot build issues

* fix(e2e): add paranoia checks on using UI signin

* fix(e2e): troubleshoot test issues

* fix(e2e): change handling of env params

* fix(e2e): troubleshoot signin stale elem issue

* fix(e2e): typo

* fix(e2e): synch selectors with recent UI changes

* fix(e2e): update check for stale element on signin

* fix(e2e): fine tune retry on stale element signin

* fix(e2e): lengthen signin retry

* fix(e2): try second stale element workaround

* fix(e2): attempt to workaround stale element

* fix(e2): try cruder solution to stale element on sign in

* fix(e2): lengthen timeout for signing page load

* fix(e2e): clear notifications before save in dataexplorer

* fixes(e2e): update variables button selector

* fix(e2e):  cleanup data explorer test variable - from browser

* fixes(e2e): stash experim changes to cucumber.js

* fixes(e2e): troubleshoot deadman check failure

* fix(e2e): stash cucumber.js

* fix(e2e): update selectors for telegraf delete

* fixes(e2e): extend timeout for input to monaco

* fixes(e2e): troubleshoot timeout issue on paste into monaco

* fixes(e2e): safety commit containerize

* fixes(e2e): generic page header no longer applies - temp fix

* fixes(e2e): changes to headers temp fixes

* chore(e2e): stash acceptance test containerize work

* chore(e2e): clean debug messages

* feat(e2e): commandline args in containerized test script

* fixes(e2e): add junit report generation to container script

* fixes(e2e): set delay for selenoid startup

* fixes(e2e): stop docker containers after tests

* fix(e2e): drop bonitoo argv args before cucumber calls ArgvParser

* chore(e2e): update README and remove experim naming

* fix(e2e): troubleshoot occasional flake in notification assertions

* feat(e2e): add simple performance utility for cloud

* feat(e2e): tweek performance util

* feat(e2e): start cloud testing with containerized tests

* fix(e2e): halt script on unset required params

* fix(e2e): remove messages that could leak info

* fix(e2e): troubleshoot jenkins credentials

* fix(e2e): troubleshoot parameter issues in jenkins

* fix(e2e): cleanup troubleshoot code

* fix(e2e): update create variables popup selector

* fix(e2e): update submit button for template popup

* fix(e2e): update selectors for  data tokens tests

* fix(e2e): sync alerts tests with recent changes

* chore(e2e): add cloud specific Dockerfile

* chore(e2e): add reporting to cloud dockerfile

* fix(e2e): update dashboard cellEdit tests

* fix(e2e): sync dashboard variables tests

* chore(e2e): annotate alerts test due to new issue

* fix(e2e): sync monitoring alerts test with recent changes

* fix(e2e): update tests of write line protocol data to buckets

Co-authored-by: Cubone21 <kyuboun@gmail.com>
2020-08-18 09:48:43 -06:00
alexpaxton 26cf6af07a
chore(ui): upgrade clockface dependency to 2.3.4 (#19352)
* chore: upgrade clockface dependency

* fix: ensure e2e tests are passing
2020-08-17 15:47:46 -07:00
Paul Hummer a0df39b698
Merge pull request #19343 from influxdata/flux-staging/v0.81.0
build(flux): update Flux to v0.81.0
2020-08-17 15:08:10 -06:00
Deniz Kusefoglu 760433f00e feat(bandchart): Add pkger stuff 2020-08-17 12:40:35 -07:00
Deniz Kusefoglu fecc4fd533 feat(bandChart): Update backend 2020-08-17 12:40:35 -07:00
Deniz Kusefoglu f0a1705813 feat(bandChart): Update swagger 2020-08-17 12:40:35 -07:00
Ariel Salem 223b7fcf49
fix(system-vars-mapping): updated variable mapping for system variabes to register changes in system variables (#19348) 2020-08-17 12:13:41 -07:00
Paul Hummer 446c13f06b build(flux): update Flux to v0.81.0 2020-08-17 08:55:48 -06:00
alexpaxton 0111f024d5
Revert "feat(ui): redesign load data page (#19246)" (#19336)
This reverts commit 67857f25ae.
2020-08-14 17:27:56 -07:00
alexpaxton 67857f25ae
feat(ui): redesign load data page (#19246)
* refactor: rename client libraries from overlay to page

* refactor: remove client libraries from load data nav

* refactor: remove client libraries from main nav

* refactor: convert client library overlays to pages

* feat: create Write Data and related sub-pages

* fix: assing proper component to route

* refactor: separate sections of write data page into own files

* refactor: implement telegraf plugins pages

* refactor: rename components to match filenames

* refactor: organize client libraries within writeData folder

* fix: cleanup loose ends from moving files around

* refactor: move client lib graphics into write data section

* fix: correct import path

* fix: import path

* feat: enable importing of markdown files

* feat: use markdown source for example telegraf plugin

* feat: convert Arduino page to use markdown

* fix: properly type svg and markdown imports

* feat: replace react component images with regular images

* feat: add placeholder image for items without images

* fix: cleanup

* feat: start standardizing pages for write data views

* refactor: use params instead making a component for each page

* refactor: make client libraries pages all markdown and use template

* refactor: cleanup

* refactor: move templates out of folder

* refactor: style details view

* feat(ui): add activemq, aerospike, and bcache

* feat(writeData): load up all the telegraf inputs

* feat: add telegraf explainer to telegraf plugins pages

* refactor: make card grid more compact

* refactor: polish

* feat(write): adding logos

* fix(writeData): more logos

* refactor: make CopyButton more customizable

* refactor: add real content to telegraf plugin explainer

* refactor: polish thumbnail appearance

* refactor: make index views scrollable

* feat(write): alphabetize & more logos

* refactor: increase width of token overlay

* refactor: add description to telegraf section

* feat: wrap each section in feature flags

* refactor: WIP helper widgets for details pages

* feat(writeData): add more logos

* feat(writeData): update Plugin names, readmes, add logos

* feat(write): final batch of logos

* feat(write): readme updates

* feat(write): adding proxmox

* refactor: add tabbed navigation back to browse page

* refactor: make code snippets templatized

* fix: replace untemplatized URL key in arduino markdown

* refactor: cleanup

* refactor: rename "browse" to "sources"

* refactor: rename feature flags to match page names

* refactor: make sort case insensitive

* refactor: make code sample helper only appear in client libraries pages

* fix: remove image padding from client library logos

* fix: select first user bucket instead of first any bucket

* fix: make less legible logos more legible

* refactor: make search field autofocus

* fix: linter error

* fix: case sensitive file import

* fix: remove empty prop definitions

* fix: more case sensitive imports

* refactor: remove use of lodash

* fix(writeData): update kapa & tele logos; rename internal plugin

* fix: repair broken explorer test

* fix: rework client libs e2e tests to match new design

* refactor: rename e2e test appropriately

* refactor: rewrite data sources e2e to assert proper rendering of the details views

* feat: add GA tracking of code snippet copy event

* chore: changelog update

Co-authored-by: Russ Savage <russ@influxdata.com>
2020-08-14 14:00:01 -07:00
Johnny Steenbergen c0b593ec7d feat(influx): add active-config flag to override config on single command call
closes: #19318
2020-08-14 13:33:14 -07:00
Zoe Steinkamp c7dc87e26c
feat: Eventing and metrics adding to the community templates (#19295)
* chore: deal with merge commits

* chore: add back eventing to clicks

* chore: remove unused variables

* test: e2e test failing

* feat: change community template resourceType

* test: fix e2e test

* fix: prettier

* test: unskip test with some good ole stubbin

Co-authored-by: Bucky Schwarz <d.w.schwarz@gmail.com>
2020-08-14 13:57:34 -06:00
Johnny Steenbergen 99ab43fb91 fix(influx): add missing description field to auth output
this PR also extends the create auth to include ability to
set the auth description

closes: #19156
2020-08-14 12:05:55 -07:00
Lyon Hill eccdabf3ea
fix: restrict urm listing of a resource to members of org owning said resource (#19251)
* fix: restrict urm listing of a resource to members of org owning said resource

* chore: add testing around new urm behavior

* fix: add feature flagging

* fix: ensure we are returning the correct error

Co-authored-by: greg linton <greg@influxdata.com>
2020-08-14 12:34:07 -04:00
Bucky Schwarz ce443f832e feat: Add mosaic plot type to front end behind flag
Co-authored-by: Rashi Bose rashibose@gmail.com
Co-authored-by: Rose Parker reparker837@gmail.com
2020-08-13 15:03:14 -07:00
Andrew Watkins 5d63ebb4fc
fix: increase notification rule limit (#19322)
* fix: increase notification rule limit

* chore: separate resource limits
2020-08-13 13:20:24 -07:00
alexpaxton 3980f7706d refactor(community templates): clean up UI interactions 2020-08-13 11:43:58 -07:00
Bucky Schwarz 648ce11df3 chore: fix yarn.lock 2020-08-13 08:20:36 -07:00
Scott Anderson 8b51618a21
chore(flux): update fluxFunctions.ts for Flux 0.80.0 (#19313)
* chore(flux): update fluxFunctions.ts for Flux 0.80.0

* fix(fluxFunctions): fix aggregate.rate

Co-authored-by: Russ Savage <russorat@users.noreply.github.com>
2020-08-12 15:27:13 -06:00
Gavin Cabbage 6bbb2a18f2
fix(auth): use init to read envvar once (#19314)
* chore: remove logging

* fix(auth): use init to read envvar once

* chore: re-add logging
2020-08-12 16:51:31 -04:00
Gavin Cabbage 2c8b5f5bd4
chore(auth): new match behavior (#19306)
* fix(8166): match permission orgIDs if specified

* chore(auth): log old match behavior

* fix(auth): log format

Co-authored-by: greg linton <greg@influxdata.com>
2020-08-12 14:54:38 -04:00
Andrew Watkins f0afdb2ac7
fix: file upload (#19258)
* test(wip): upload data from file

* test(wip): add file upload status

* chore(wip): move line protocol out of redux

* feat(wip): pull out getters into components

* chore: update cypress

* refactor: move line protocol out of redux and into buckets

* test: remove useless tests

* chore: remove yarn lock

* fix: prettier

* fix: lint

* fix: explicitly return to the load data page

* chore: manually create WritePrecision enum

* test: remove big data file
2020-08-12 11:11:07 -07:00
Yiqun (Ethan) Zhang b12c3ef77b
build(flux): update Flux to v0.80.0 (#19298) 2020-08-12 10:29:46 -05:00