Commit Graph

28831 Commits (78430df2bb85709fa002844d158aec5a09b4a7a3)

Author SHA1 Message Date
Christopher Henn 5d8b217f66 Refactor vis table shape and types 2019-02-22 15:02:06 -08:00
Christopher Henn e92ec5d3f1 Rename layer "aesthetics" to "mappings" 2019-02-22 15:02:06 -08:00
Alirie Gray a8a99e276f
Merge pull request #12088 from influxdata/feat(variables)/display-variables-in-script-editor
Add menu for Variables to Time Machine script editor
2019-02-22 13:45:59 -08:00
Alirie Gray 3ed16ebe83 Add menu for Variables to Time Machine script editor 2019-02-22 13:37:27 -08:00
Mark Rushakoff f79d9cba4f fix(task): pass task's authorization to query system, if using sessions
The query system specifically expects an Authorization. When a request
comes in using a Session, use the target task's Authorization, if we are
allowed to read it, when executing a query against the system bucket.
2019-02-22 12:50:55 -08:00
Michael Desa 17e318fd6d
Merge pull request #12116 from influxdata/feat/owner-on-create
Make user owner of org/dashboard on create
2019-02-22 14:27:33 -05:00
Michael Desa 65be548a58
feat(kv): make user owner of org/dashboard on create 2019-02-22 14:04:01 -05:00
Iris Scholten b9d5a7bec2
Merge pull request #12096 from influxdata/feat/clone-task-labels
feat(ui): Clone a task's labels when cloning the task
2019-02-22 10:14:10 -08:00
Iris Scholten ed39dc5e46 feat(ui): Clone a task's labels when cloning the task
Move task cloning logic to external client library
2019-02-22 09:53:36 -08:00
Nathaniel Cook a75adf6c4b fix(http): separate InfluxQL and Flux services
Previously the APIBackend understood only a ProxyQueryService,
but it needs to understand that there are two implementations of the
ProxyQueryService one for handling InfluxQL queries and one for handling
Flux queries. The names of the fields have been updated to make this
clear. As well as the FluxBackend is now initialized using the
FluxService explicitly.
2019-02-22 10:31:20 -07:00
Mark Rushakoff 12a604172f fix(task): create authorizations for tasks, which can read their task
Also set the generated token's description while we're here.

This enables us to use task's Authorization when we need to query the
system bucket to get run logs, etc. but we only have a Session.
2019-02-22 09:15:25 -08:00
Lyon Hill c78477314a
Allow tasks to skip catchup (#12068) 2019-02-22 09:47:04 -07:00
Mark Rushakoff 6fdcaf83b4 fix(swagger): quote keys named "y"
The YAML parser used by the go-openapi libraries treats an unquoted y as
a boolean key, which will lead to a difficult-to-understand parser
error:

types don't match expect map key string or int got: bool

See also https://yaml.org/type/bool.html.
2019-02-22 08:20:07 -08:00
Julius Volz e7a27243be Check error when writing token file during setup
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2019-02-22 09:08:41 -07:00
zhulongcheng ad1bab1a3c fix(http): return an empty list of operation logs if not found 2019-02-22 14:18:13 +08:00
Adam 4c0262befe
test(stdlib/testing): added new test driver to run builtin tests (#11916) 2019-02-21 22:03:29 -05:00
Andrew Watkins a36df9e54e chore: add test prefix to task test 2019-02-21 17:38:57 -08:00
Andrew Watkins 3ce1078e04 chore(task): unskip task e2e 2019-02-21 17:38:11 -08:00
Andrew Watkins cc60a4df1d test(tasks): skip e2e 2019-02-21 17:33:58 -08:00
Andrew Watkins 08d092dafd chore: change cypress npm run script 2019-02-21 17:33:58 -08:00
Andrew Watkins ee518c5520 chore: lint fix 2019-02-21 17:33:58 -08:00
Andrew Watkins 6e2a9b14d4 test(ts): update snapshots 2019-02-21 17:33:58 -08:00
Alirie Gray e81a7bf5d8 test(tasks): add test for deleting a task 2019-02-21 17:33:58 -08:00
Alirie Gray 7fc8ca928d test(tasks): add test for task without valid script 2019-02-21 17:33:58 -08:00
Alirie Gray ef86778bce test(buckets): rename buckets test file 2019-02-21 17:33:58 -08:00
Alirie Gray 771a7969de test(buckets): use aliases for bucket object 2019-02-21 17:33:58 -08:00
Andrew Watkins c76fd8ffba fix(jest): improperly mocked client call 2019-02-21 17:33:58 -08:00
Andrew Watkins cb3f2e7644 chore(jest): fix deprecations warning 2019-02-21 17:33:58 -08:00
Andrew Watkins df1a5e9450 test(e2e): use alisas instead of variables 2019-02-21 17:33:58 -08:00
Russ Savage 8016599605
Updating changelog for alpha 4 2019-02-21 16:43:31 -08:00
Mark Rushakoff ecb37d7cc4 fix(task): restore functionality for creating task with org name
This is a partial rollback of changes #12004. Issue to track adding a
test: #12089.
2019-02-21 16:30:52 -08:00
Delmer bf34b35fb4
fix(ui/changelog): add labels changes to changelog v2.0.0-alpha.4 (#12084) 2019-02-21 18:39:56 -05:00
alexpaxton 80ebf933aa
Polish Inline Label Creation (#12070)
* Condense appearance of inline create label form

Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>

* Fine tune copy and click outside behavior

Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>

* Show label color error color when invalid hex

Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>

* Shrink width of random label color button

Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>

* Add full color palette to list of random label colors

Co-Authored-By: Delmer <ofthedelmer@users.noreply.github.com>

* fix(ui/prettier-errors): fix ui prettier errors

Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2019-02-21 15:29:06 -08:00
Christopher Henn c664e8e0d8 Fix query bug resulting from missing org ID
The `/api/v2/query` endpoint requires an organization or organizationID
query parameter.

Previously, there existed a bug in the API where if the organization
parameters were left off, the API would use the first organization
created in the backend, rather than returning a 400 error.

We built the entire UI on top of this bug, but it has now been fixed. So
in every location where we use the `/api/v2/query` endpoint, we need to
supply an organization.

This commit updates all such locations to use the first organization
present in our Redux store as the organization parameter, thus roughly
reproducing the behavior of the load bearing bug.

This is just a quick fix. Long term, we will want to think about what
organization queries should run under and build an appropriate UI around
that design.
2019-02-21 15:22:24 -08:00
Iris Scholten 0cc05ee0e7
Merge pull request #12079 from influxdata/fix/org-name-task
update to use org name to create task
2019-02-21 15:03:11 -08:00
Iris Scholten 86147c2808 update to use org name to create task 2019-02-21 14:52:26 -08:00
Iris Scholten ffc88da46a
Merge pull request #12073 from influxdata/swagger-telegraf-labels-post
Update the swagger definition for a telegraf labels post response
2019-02-21 14:44:09 -08:00
Adam 68c25ec381 Merge remote-tracking branch 'origin/master' into flux-staging 2019-02-21 17:20:12 -05:00
Christopher Henn a499a8b0d9 Enable adding a description to a telegraf config 2019-02-21 14:06:04 -08:00
Iris Scholten 561902e5c4 Update the swagger definition for a telegraf labels post response 2019-02-21 14:02:35 -08:00
Palakp41 4407be10a6
Merge pull request #12072 from influxdata/fix/admin-step-notify
Update admin to show error if password is not 8 characters
2019-02-21 13:40:42 -08:00
Palak Bhojani a893e7fe1b Update admin to show error if password is not 8 characters 2019-02-21 13:30:54 -08:00
Deniz Kusefoglu 13c887a77e
Merge pull request #12069 from influxdata/feature-flag-imports-exports
Place imports and exports behind feature flag
2019-02-21 13:26:39 -08:00
jlapacik af258e62e7
feat(http): define external preprocessing options via http api (#11939)
Closes #11702.
2019-02-21 13:11:50 -08:00
Deniz Kusefoglu 6135498c46 Place imports and exports behind feature flag 2019-02-21 13:00:24 -08:00
Gershon Shif d0694f28b3
ci(litmus): do not run litmus tests on forked PRs (#12063)
* ci(litmus): do not run litmus tests on forked PRs

- add a step to check if PR is from fork. If it is, then stop execution of the step and successfully return.
- Fix for https://github.com/influxdata/influxdb/issues/11965
2019-02-21 12:28:38 -08:00
Chris Goller c0266ba5cf refactor(cmd/influxd): use simple query rather than the flux service 2019-02-21 11:18:08 -08:00
Chris Goller 1ec7b69d85 fix(kv): error org search if neither name nor id is set 2019-02-21 11:18:08 -08:00
Stuart Carnie 2872233252 feedback: Add end-to-end write and read tests for multiple organizations 2019-02-21 11:18:08 -08:00
Stuart Carnie 662887c679 feedback: Simplify reader; use constants from influxdb package 2019-02-21 11:18:08 -08:00