Commit Graph

32450 Commits (f98874566ca05c6e37cb2da83f27d7873f21226e)

Author SHA1 Message Date
Greg f98874566c
fix: allow authorized label service to be called indirectly (#17111)
* fix: allow authorized label service to be called indirectly

17071 exists because pkger loads all service resources as authorized on
start, resulting in them all being authorized when referenced indirectly
(not hit directly via api by consumer). Rather than restructure pkger to
only authorize direct services, this allows proper indirect auth to
labels (the cause of 17071).

* Add orgService to tests

* Add resource types to find orgID from
2020-03-11 10:58:39 -06:00
George e25b8e5931
feat(kv): index utility type (#16910)
* feat(kv): new index type for managing kv indexes

* feat(kv): index verify diff now can produce list of corrupt foreign keys

* fix(testing): refactor kv index tests into testing package and integrate with bolt

* chore(kv): fix go lint error in index

* fix(kv): add test for index walk

* fix(kv): change index cursing strategy to reduce calls to source bkt.Get

* feat(kv): add delete and populate remove dangling foreign keys to index
2020-03-11 14:42:29 +00:00
Sebastian Borza 598ec8a738
Merge pull request #17164 from influxdata/flux_storage
feat(storageflux): move flux components out to separate package
2020-03-10 23:08:59 -05:00
Sebastian Borza eeece73675
chore(storageflux): update failing tests 2020-03-10 17:54:07 -05:00
Sebastian Borza 42856e1394
chore(storageflux): fix linter issue 2020-03-10 17:54:06 -05:00
Sebastian Borza a50e69451e
feat(storageflux): move flux components out to separate package 2020-03-10 17:54:04 -05:00
Alex Boatwright 49c1d85770
fix: enable variables again (#17141) 2020-03-10 15:40:16 -07:00
alexpaxton 01f3161bd1
fix(ui): fix visual defects from clockface 2 upgrade (#17176)
* refactor(ui): redesign and clean up query tabs

* refactor(ui): remove extra space in VEO empty state

* fix(ui): ensure gauge fonts render correctly

* fix(ui): ensure single stat font renders correctly

* fix(ui): update veo to match styles of other overlays

* fix(ui): update font definition in monaco editors

* refactor(ui): soften contrast of grid axes with background

* fix(ui): prevent references to Roboto

* chore(ui): prettier

* refactor(ui): use more resilient variable

* refactor(ui): polish appearance of alert and check history pages

* fix(ui): ensure create check dropdown is not clipped

* refactor(ui): update colors in view type dropdown

* refactor(ui): ensure view options toggle and panel are consistent across editors
2020-03-10 12:33:36 -07:00
Ariel Salem b678ace7aa
fix(ui): updated styling so that telegraf configs maintain their original size when filtering configs (#17168) 2020-03-10 09:42:57 -07:00
Ariel Salem 952e31fe4c
fix(ui): updated trigger to be onFocus as well as onChange (#17161) 2020-03-10 09:10:02 -07:00
Jacob Marble 9e8da7c313
refactor(storage): cleanup in storage/reads (#17163)
* refactor(storage): remove cursorContext.limit and .count

* refactor(storage): remove one-impl interface

* refactor(storage): remove one-line multiShardArrayCursors.newAggregateCursor()

* refactor(storage): mostly rename fields and variables

* refactor(storage): multiShardArrayCursors has one shard

* refactor(storage): drop misleading 'multiShard' from names
2020-03-10 07:50:47 -07:00
Lorenzo Affetti 9ab28376d1
Merge pull request #17093 from influxdata/la/fix-document-handler-auth
fix(http): fix auth in document handler
2020-03-10 09:55:04 +01:00
Lorenzo Affetti fd729f8a38
fix(http): refactor document service and fix auth 2020-03-09 20:32:31 +01:00
Bucky Schwarz f3d871fff8 fix: change variable name to match new clockface variable names 2020-03-09 12:00:50 -07:00
alexpaxton a0505cf73d
chore(ui): upgrade to Clockface 2.0.0 (#17086)
* chore(ui): upgrade clockface dependency to the latest version

* refactor(ui): address breaking changes from clockface

* refactor(ui): update design of home page

* chore(ui): prettier

* refactor(ui): update page headers to conform to new design

* refactor(ui): import stylesheet from Clockface and delete obsolete local styles

* refactor(ui): cleanup

* refactor(ui): factor out PageTitleWithOrg

* refactor(ui): remove font files and references to them

* fix(ui): update dashboard index and task index e2e tests

* fix(ui): update failing e2e test for Data Explorer

* fix(ui): derp

* refactor(ui): remove string interpolation

* refactor(ui): redesign renamable page title to match new clockface style

* refactor(ui): update VEO and CheckEO headers

* refactor(ui): flatten query builder design

* refactor(ui): polish save as dialog

* refactor(ui): cleanup

* refactor(ui): use Rubik in giraffe theme

* fix(ui): upgrade to utilize font and other fixes

* refactor(ui): fix jitter in renamable page title
2020-03-09 11:08:38 -07:00
Ariel Salem 4b3b1308f0
feat(ui): login & sign-up page for IDPE (#17049) 2020-03-09 10:33:34 -07:00
Ariel Salem a017f0c4a2
fix(ui): displaying variable list default values (#17097) 2020-03-09 09:31:52 -07:00
Johnny Steenbergen de24c0e813 feat(influx): extend pkg export all cmd to allow for filtering of output
currently, support by filtering labelName and or by resource kind

closes: #17029
2020-03-09 09:27:01 -07:00
Jacob Marble 8bfe05e554
refactor(storage): remove reads.ResponseWriter (#17137)
ResponseWriter is only used in IDPE, so move it to that repo.
2020-03-06 15:54:11 -08:00
Johnny Steenbergen 1c9fd705a3 feat(pkger): add support for exporting org resources filtered by label 2020-03-06 14:51:01 -08:00
Jonathan A. Sternberg 834a8740e0
refactor(task/backend): move the task/backend constants to the global package (#17133)
This moves a few types and constants to the global package so it can be
used without importing the `task/backend` package. These constants are
referenced in non tasks-specific code.

This is needed to break a dependency chain where the task backend will
call into the flux runtime to perform parsing or evaluation of a script
and to prevent the http package from inheriting that dependency.
2020-03-06 16:19:32 -06:00
Jacob Marble 39b7c2ab76
refactor(storage): export IndexSeriesCursor (#17134)
* refactor(storage): add readSource field accessors

* refactor(storage): remove unused limitSeriesCursor

* refactor(storage): export IndexSeriesCursor

This allows IDPE to use the same implementation, rather than duplicate
code. Also copied unit tests from IDPE.

* chore: go fmt
2020-03-06 14:05:03 -08:00
Johnny Steenbergen 6818925643 feat(pkger): add support for exporting all and filter by resource types
note: all associations are still included for resources that match the
filte criteria.
2020-03-06 11:51:38 -08:00
Randy Coulman 47944e5bfa
chore(multi-user): rename nav link for org members (#17128)
Co-authored-by: Andrew Watkins <watts@influxdb.com>

Co-authored-by: Andrew Watkins <watts@influxdb.com>
2020-03-06 11:44:49 -08:00
Alex Boatwright b982974c60
fix: stops variables from crashing (#17127)
Co-authored-by: drdelambre <drdelambre>
2020-03-06 11:44:31 -08:00
Ariel Salem ddc0d9afd8
fix(ui): disabled group functionality for check query builder (#17113)
fix(ui): disabled group functionality for check query builder
2020-03-06 10:45:59 -08:00
Brett Buddin 8c99d38950
Merge pull request #17121 from influxdata/bb/revert
fix(http): Revert requirement of Content-Type
2020-03-06 12:44:39 -05:00
Brett Buddin f1b87a32c7
chore(changelog): Remove content-type requirement. 2020-03-06 12:24:32 -05:00
Brett Buddin de0b92ebc9
fix(http): Revert d51447fc34. 2020-03-06 12:24:12 -05:00
Ariel Salem 148b55b9f6
fix(ui): fixed dashboard cell error for disk usage (#17120)
fix(ui): fixed dashboard cell error for disk usage
2020-03-06 09:21:00 -08:00
Jade McGough ebc6f072db
chore(github): change CODEOWNERS for tools-team (#17119)
We own the pkger tool, so adding that to CODEOWNERS.

Removing api-team, as that team no longer exists.
2020-03-06 08:58:49 -08:00
Yiqun (Ethan) Zhang 5333ff4d1b
feat(transpiler): support difference(), group by wildcard, and correc… (#17021)
* feat(transpiler): support difference(), stddev(), spread(), group by wildcard, and correct _time column
2020-03-06 11:19:46 -05:00
Johnny Steenbergen 95c72c1679 chore(influx): update setup cmd to allow for duration for retention option
closes: #17107
2020-03-06 08:13:21 -08:00
Ariel Salem 037d4845d6
Revert "fix(ui): disabled group functionality for check query builder (#17110)" (#17112)
This reverts commit ff6d9c87cb.
2020-03-05 17:14:44 -08:00
Ariel Salem ff6d9c87cb
fix(ui): disabled group functionality for check query builder (#17110)
fix(ui): disabled group functionality for check query builder
2020-03-05 16:53:04 -08:00
Jacob Marble 5efde876d7
refactor(storage): rename things so flux and influxql influence is clear (#17108)
* refactor(storage): rename things so flux and influxql influence is clear

* chore: go fmt
2020-03-05 15:23:05 -08:00
Jacob Marble 1facad82dd
refactor(storage): move unused code to repo that needs it (#17090)
* refactor(storage): move unused code to repo that needs it

Turns out that a bunch of code is only needed in IDPE. This change
removes that code, and another PR adds it to IDPE.

* refactor(storage): export KeyMerger

* refactor(storage): export NilSortHi and NilSortLo

* refactor(storage): move StringIterator & friends to IDPE

* refactor(storage): unexport a few test helper funcs
2020-03-05 14:15:51 -08:00
Brett Buddin f897c15187
Merge pull request #17091 from influxdata/bb/require-content-type
fix(http): Require Content-Type for query endpoint
2020-03-05 12:06:48 -05:00
Alirie Gray dff47721ce
fix(secrets): wrap secrets service in authorizer (#17099) 2020-03-05 08:35:14 -08:00
Brett Buddin 32b199ef60
chore(http): Update CHANGELOG to reflect Content-Type fix. 2020-03-05 11:13:25 -05:00
Brett Buddin d51447fc34
fix(http): Require Content-Type for query endpoint. 2020-03-05 11:12:33 -05:00
Stuart Carnie b686a30bd8
Merge pull request #17102 from influxdata/sgc/cli
feat(cli): Extend flag support to pflag.Value types
2020-03-05 08:58:08 -07:00
Stuart Carnie ffe6344275
feat(cli): Extend example demonstrating pflag.Value 2020-03-05 08:30:04 -07:00
Stuart Carnie 9335800af1
feat(cli): Extend flag support to pflag.Value types
Allows custom types that implement the pflag.Value interface,
which simplifies validation and error handling of flag processing.
2020-03-05 08:21:13 -07:00
Deniz Kusefoglu b1b2444fac
feat(sampledata): Route from buckets index to Data Explorer (#17085)
* feat(sampledata): Add routing to de from bucket name

* feat(sampledata): Change rename edit bucket flow

* feat(sampledata): Add onclick behavior to system buckets

* feat(sampledata): Move rename button

* feat(sampledata): Remove rename bucket button from create bucket overlay

* feat(sampledata): Fix bucket tests

* feat(sampledata): Update changelog
2020-03-04 18:02:43 -08:00
Alirie Gray c4e9201859
refactor(api): add HTTPC client service to notification rules API (#17087) 2020-03-04 16:32:33 -08:00
Brandon Farmer 635c44c704
Merge pull request #17096 from influxdata/refactor-lsp-integration
chore: Refactor LSP server integration for future work
2020-03-04 16:13:44 -08:00
Jade McGough fec0a021fd
fix(cmd): use list instead of find in cli (#16805) 2020-03-04 15:39:04 -08:00
Brandon Farmer 95893147c0 chore: Refactor LSP server integration for future work 2020-03-04 15:33:39 -08:00
Johnny Steenbergen 29af0a26ff feat(pkger): add support for exporting table view charts
closes: #16882
2020-03-04 14:20:56 -08:00