Commit Graph

32415 Commits (5efde876d7f52599ff6308edae99561373c9a529)

Author SHA1 Message Date
Deniz Kusefoglu 38e014ee90
feat(lsp): Add lsp wasm and connect to monaco (#16842)
* feat(lsp): Add flux-lsp-browswer dependency

* feat(lsp): Change webpack settings to compile lsp wasm

* feat(lsp): Add monaco lsp client dep

* feat:lsp instantiate lsp server in monaco editor file

* feat(lsp): Update monaco loaders and load in webpack.common

* feat(lsp): Update flux-lsp-browser dependency

* feat(lsp): Connect monaco to lsp server

* feat(lsp): Add trigger characters

* feat(lsp): Dispose of completion item provider

* feat(lsp): Remove javascript and go as monaco languages

* feat(lsp): Fix type errors in tests

* feat(lsp): Define constants file for fluxlangid

* feat(lsp): Remove console

* feat(lsp): Fix variable and function insertion

* feat(lsp): Fix script entering in DE

* feat(lsp): FIx task tests

* feat(lsp): Add monaco as global

* feat(lsp): Add monaco to window type
2020-02-14 09:59:05 -08:00
George f218dfaf67
chore(changelog): update changelog to reflect revert of URM and auth indexes (#16889) 2020-02-14 17:37:12 +00:00
Zoe Steinkamp f6704f428a
fix: gauge now fits containers (#16858)
* fix: gauge now fits containers

* fix: gauge now fits containers
2020-02-14 10:35:43 -07:00
tmgordeeva 890c943643
fix(backup): handle backup with no credentials file (#16877)
* fix(backup): handle backup with no credentials file

Backups and restores should work whether or not the original installation uses
a credentials file and whether or not the backup contains a credentials file.
2020-02-14 09:19:58 -08:00
Ariel Salem 753bcbcc77
chore(ui): updated clockface to latest version (#16886) 2020-02-14 08:39:03 -08:00
Alex Boatwright 798a53f50b
feat: adding in a simple regexp (#16879) 2020-02-13 14:35:51 -08:00
Andrew Watkins 31c1ea0523
test: add reducer helpers test (#16845) 2020-02-13 14:18:29 -08:00
Jonathan A. Sternberg 8c6cf672e2
build(flux): update Flux to v0.59.6 (#16856) 2020-02-13 16:09:23 -06:00
Johnny Steenbergen a632025eb6 fix(influx): fix token env var and default assignment 2020-02-13 13:25:50 -08:00
Ariel Salem 47ab6d620d
feat(ui): added labels to buckets (#16855)
feat(ui): added labels to buckets
2020-02-13 12:27:43 -08:00
Johnny Steenbergen ce08936deb fix(pkger): fix check for labels having conflict
also backfills a bunch of missing tests for these has conflict types
2020-02-13 11:58:06 -08:00
Johnny Steenbergen 505ce2372c fix(influx): fix issue with locla state overriding env vars for token
closes: #16874
2020-02-13 11:55:41 -08:00
Stuart Carnie 506a82902b
Merge pull request #16843 from influxdata/sgc/resultset
feat(mock): Add SeriesGenerator to ResultSet transformation
2020-02-13 10:25:50 -07:00
Zoe Steinkamp 6c3b160b2d
Zs gaugecontainerfit15911 (#16849)
* fix: gauge now fits containers

* destructure props to make typescript shut up

* fix: gauge now fits containers

* fix: gauge now fits containers

* fix: gauge now fits containers

* fix: gauge now fits containers

* fix: gauge now fits containers

Co-authored-by: Bucky Schwarz <hoorayimhelping@users.noreply.github.com>
2020-02-13 09:08:52 -07:00
George f239a2ed9c
fix(kv): remove URM and Authorizations by UserID Index (#16852)
* Revert "fix(kv): Don't stop when key not found from index."

This reverts commit bd9167d383.

* Revert "fix(kv): push down org ID to skip in delete URM (#16841)"

This reverts commit a5f508de77.

* Revert "fix(kv): delete authorization from correct index bucket (#16835)"

This reverts commit 7349216e94.

* Revert "feat(kv): Index Authorizations by User ID (#16818)"

This reverts commit df36fe957b.

* Revert "feat: add indexes to urm for user lookups (#16789)"

This reverts commit 9561d0a4f4.
2020-02-13 15:27:57 +00:00
Brett Buddin a17471696c
Merge pull request #16851 from influxdata/continue
fix(kv): Don't stop when key not found from index
2020-02-12 21:50:00 -05:00
Brett Buddin bd9167d383
fix(kv): Don't stop when key not found from index. 2020-02-12 21:38:17 -05:00
Stuart Carnie f1990cc92c
feat(mock): Add SeriesGenerator to ResultSet transformation
In addition, adds a ResultSetToLineProtocol function, which
transforms a `ResultSet` into InfluxDB line protocol.
2020-02-12 14:20:31 -07:00
Chris Goller a5f508de77
fix(kv): push down org ID to skip in delete URM (#16841)
* fix(kv): push down org ID to skip in delete URM

* fix(kv): use database key rather than resource id

We are trying to skip deletes that would remove keys
that have already been deleted.  This is a rather
extreme approach and I believe we should think about how
to fix user-resource-mappings.

Co-authored-by:  Lyon Hill <lyondhill@gmail.com>
Signed-off-by: Chris Goller <goller@gmail.com>

Co-authored-by: George <me@georgemac.com>
Co-authored-by: Lyon Hill <lyondhill@gmail.com>
2020-02-12 14:33:57 -06:00
George 7349216e94
fix(kv): delete authorization from correct index bucket (#16835)
* fix(kv): delete authorization from correct index bucket

* fix(kv): return not found code when user resource mapping indexed by not in source

* chore(kv): define failing test for URM on delete
2020-02-12 18:36:45 +00:00
Nathaniel Cook 03f65cf045
fix(influxql): add explicit routing to influxql service (#16832)
Prior to this change influxql requests were sent to the same back end as Flux queries.
This MAY not always be the case. Now InfluxQL queries are specifically routed to the InfluxQLService.
In the case of this OSS build the FluxService and InfluxQLService are the same.
2020-02-12 10:07:29 -07:00
Ariel Salem f5de43b973
chore(ui): moved logic into thunk reducer (#16831)
chore(ui): moved logic into thunk reducer
2020-02-11 15:22:44 -08:00
Ariel Salem 1fe3d8ffd6
fix(ui): fixed false success message that stemmed from error-swallowing throughout post process (#16825)
fix(ui): fixed false success message that stemmed from error-swallowing throughout post process
2020-02-11 14:25:18 -08:00
Russ Savage bee461bed7
chore(changelog): fixing date of beta-3 2020-02-11 14:17:39 -08:00
Russ Savage 924a053841
chore(changelog): adding beta-4 section 2020-02-11 14:16:03 -08:00
Russ Savage dd4a6fc533
chore(changelog): update for beta-3 2020-02-11 14:13:23 -08:00
Alex Boatwright d892b8ec6a
fix: ignore cluster specific hoopla (#16820) 2020-02-11 11:43:55 -08:00
Johnny Steenbergen e650c941c7 fix: remove duplicate content types from httpc requests
2 issues from investigating this error. First is the status check func
did not identify it was a media unsupported issue adn tries to unmarshal
the empty response body. The 2nd, was the double content type headers were
causing an error. Locally this error does not surface, cannot repoduce on
macos, but in cloud it is persistent.

closes: #16819
2020-02-11 11:14:44 -08:00
Alex Boatwright ebfa85c143
fix: broke the dev env (#16821) 2020-02-11 11:03:08 -08:00
George df36fe957b
feat(kv): Index Authorizations by User ID (#16818)
* feat(kv): add user id index on authorizations

* chore(auths): test FindAuthorizations both with and without a populated index

* chore(kv): cleanup index skipping flag in auths service

* fix(kv): bad flag around auth by user index population

* fix(kv): auth by user index lookup use correct buckets

* chore(kv): ensure indexer is called as expected when auth user index missing

* chore(kv): add benchmarks around authorization lookup
2020-02-11 17:34:20 +00:00
Lyon Hill 9561d0a4f4
feat: add indexes to urm for user lookups (#16789) 2020-02-11 09:17:37 -07:00
Alex Boatwright b6d1cc6dd0
feat: remove vendor from prod builds (#16807) 2020-02-11 07:58:29 -08:00
Andrew Watkins 7188363c2b
refactor: normalize labels (#16787)
* chore: move thunks and creators

* refactor(labels): normalization

* refactor(variables): normalize labels for variables

* refactor(templates): label normalization

* refactor(labels): convert to labelIDs

* test: add label tests

* fix: filtering by labels

* fix(labels): delete test

* chore: remove unused import

* fix: template dashboards

* test: fix / update broken unit tests

* chore: defenisve against non-existent labels

* chore: move auth schema

* chore: move bucket schema

* chore: move more schemas

* chore: move org schema

* chore: move schemas

* fix: test imports

* test: add setRelation test
2020-02-10 15:38:51 -08:00
Zoe Steinkamp 91ca1b7f54
fix: Hide single stat optional ticks (#16778) 2020-02-10 12:38:12 -08:00
Chris Goller 0746533b55
feat(pkg/httpc): add cookie based authorization (#16802)
This will begin work to mimic the browser via the client API.

Signed-off-by: Chris Goller <goller@gmail.com>
2020-02-10 12:37:13 -06:00
Stephanie Engel 1d0afefc4e
refactor: update restore cli flag descriptions (#16799) 2020-02-10 12:07:55 -06:00
kelwang 2761c1f48a
Merge pull request #16786 from influxdata/feat_cli_secret
feat(cmd/influx): add secret cli
2020-02-10 10:39:18 -07:00
Kelvin Wang 670d2b7113 feat(cmd/influx): add secret cli 2020-02-10 11:40:06 -05:00
Greg 1f1b1c492e
fix: remove orgs from token permission list (#16760)
* fix: remove orgs from token permission list

* fix: set orgs read resource permission to 'id' rather than 'orgID'

* fix: add types to the typescripts

thanks ebb-tide!

* test: add test for permissions bit

find the test that circle prefers

* chore: comment on org's unique permissions
2020-02-07 15:53:24 -07:00
Timmy Luong 2d276e594a fix: update giraffe 2020-02-07 14:43:32 -08:00
Nathaniel Cook 9f7d4f9be0
feat(query): adds support for influxql as language type for queries (#16712)
This change allows for the InfluxQL language type to be used with the
/v2/query API endpoint.

This change also introduces a way to give the transpiler an explicit
bucket name instead of using the DBRPMapping service.
Requests to the endpoint will know the bucket name directly but will
likely not have run the migration step to populate the DBRP mappings.
2020-02-07 15:20:50 -07:00
Kelvin Wang e3acd7f86b feat(http): add secret service 2020-02-07 15:54:28 -05:00
Zoe Steinkamp 39b767cb0e
fix: e2e tasks test (#16777) 2020-02-07 10:16:15 -07:00
Timmy Luong 6204058458
fix: update giraffe to fix graph tooltip (#16769)
* fix: update giraffe to fix graph tooltip

* chore: update CHANGELOG
2020-02-07 09:15:44 -08:00
Johnny Steenbergen 684f7b82ad feat(pkger): extend HTTP API to enable users to submit multiple pkgs in one call 2020-02-07 08:08:58 -08:00
Lyon Hill ec13042c57
feat(kv): Create a indexer to allow the addition of indexes (#16745)
* feat(kv): Create a indexer to allow the addition of indexes

This will allow the population of indexes to be incremental and allow
for a rolling update to the index's to be handled cleanly.
2020-02-07 09:01:37 -07:00
George bc64968b0b
chore(task): add test around paging using after (#16774)
* chore(task): add test around paging using after

* fix(kv): support filter.After in FindTasksByUser
2020-02-07 15:48:55 +00:00
docmerlin (j. Emrys Landivar) 06102ba3d4 fix(tasks): reduce memory allocations in scheduler
This will reduce memory allocations in the scheduler by removing
unneccessary delete/replace actions on the btree that is used as an
internal priority queue.
2020-02-07 09:30:50 -06:00
Russ Savage 43beabdc7a
chore(changelog): update header for beta-3 2020-02-06 20:59:12 -08:00
Johnny Steenbergen af6fac9fdf chore(pkg): remove ambiguity in wrong cmd calls within influx pkg cmd
there was an issue where you could call, `influx pkg summarize`
and the influx cli would actually prescribe that to `influx pkg` cmd
and pass summarize as an arg. This removes that ambiguity
2020-02-06 18:06:17 -08:00