Commit Graph

29051 Commits (92fa813c45db7ec838a6ea84384e300c9cf8cb3f)

Author SHA1 Message Date
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
Stuart Carnie 01b5fccfbe feat(storage): Enforce single org for series key reads 2019-02-21 11:18:08 -08:00
Delmer a8bdc9c9ab fix(ui/resourceLabelForm): fix ResourceLabelForm invalid default form state (#12057) 2019-02-21 10:48:16 -08:00
Mark Rushakoff 9ee640766a fix(task): validate permissions on specific tasks
The previous behavior specifically looked for organization-wide task
read/write permissions. Now we allow permissions on specific tasks.
2019-02-21 10:45:28 -08:00
alexpaxton 09b5e24e63
Cleanup (#12061) 2019-02-21 10:38:50 -08:00
Chris Goller df95564c07
Merge pull request #12052 from zhulongcheng/show-auth-in-task-cmd
feat(cmd/influx): show AuthorizationID of tasks
2019-02-21 10:28:25 -06:00
Christopher Henn 953f703ae5 Add description to spec for telegraf config 2019-02-21 08:25:56 -08:00
zhulongcheng 29d49adcfb doc(http): update request body for updating a task 2019-02-21 08:25:45 -08:00
zhulongcheng 126d3edef7 feat(cmd/influx): show AuthorizationID of task 2019-02-22 00:07:45 +08:00
Chris Goller be796b8369
Merge pull request #12049 from influxdata/feat/cli-inf-rp
feat(cmd/influx): allow infinite retention in non-interactive setup
2019-02-21 09:48:34 -06:00
Chris Goller bfcc753836 fix(cmd/influx): remove unsigned for equality check 2019-02-21 09:13:05 -06:00
Chris Goller 79e0a2ae90 feat(cmd/influx): allow infinite retention in non-interactive setup 2019-02-21 08:51:37 -06:00
Delmer 50e9ca6a54
fix(ui/FilterList): add filtering on labels (#12018)
fix(ui/FilterList): add tests for FilterList and support for inexact searchKeys

Co-authored-by: Andrew Watkins <watts@influxdb.com>
2019-02-21 08:12:43 -05:00
Delmer 263170dc45
fix(ui): add label from resource labels editor (#11973)
Add ResourceLabelForm to EditLabelsOverlay and RandomLabelColorButton

Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2019-02-21 08:09:21 -05:00
Christopher Henn 2e42203f07 Make npm less noisy 2019-02-20 18:15:09 -08:00
Christopher Henn 9f23a88ff6 Fix type errors from upgrading past TypeScript 3.2 2019-02-20 18:15:09 -08:00
Christopher Henn eed3f8d3fa Format all source files with Prettier
The acceptable syntax formatting has changed after upgrading Prettier to
a newer version.
2019-02-20 18:15:09 -08:00
Christopher Henn e2fbe8f851 Migrate from TSLint to ESLint
TSLint has been deprecated by its maintainers in favor of eslint.

This commit adds ESLint to our project with a config that is comparable
to our previous TSLint config.

ESLint provides a much more extensive set of linting rules; we may wish
to investigate enabling more of these rules in the future.
2019-02-20 18:15:09 -08:00
Iris Scholten 0e6e87f374
Merge pull request #12026 from influxdata/fix/clone-dashboard-labels
update client libarary dependency for dashboard cloning
2019-02-20 16:52:09 -08:00
Iris Scholten eccee09a20 update client libarary dependency for dashboard cloning 2019-02-20 16:26:56 -08:00
Palakp41 09d084750c
Merge pull request #12023 from influxdata/feat/bucket-notifications
Add notifications for success/failed when creating/deleting/updating …
2019-02-20 16:02:32 -08:00
Daniel Campbell 39550002d2
Clockface/spinners (#12025)
* Bump Clockface Version

* Remove Local Components

* Update Imports

* update tests & snapshots
2019-02-20 15:49:23 -08:00
Palak Bhojani 69815230a8 Add notifications for success/failed when creating/deleting/updating buckets 2019-02-20 15:19:21 -08:00
Palakp41 b821b250fc
Merge pull request #12020 from influxdata/docs/influxdb-steps
Create documentation for updating api client and updating swagger
2019-02-20 15:04:05 -08:00
Andrew Watkins a5bcc85c04
fix(ui/explorer): empty tag selector (#12019)
* fix(ui/de): disable closing the last tag selector card

* test(ui/explorer): introduce first basic e2e test
2019-02-20 14:57:38 -08:00
Palak Bhojani 16754f2470 Create documentation for updating api client and updating swagger 2019-02-20 14:55:59 -08:00
Palakp41 38e06c07a0
Merge pull request #12012 from influxdata/feat/scraper-notifications
Add notifications for success/failed when creating/updating/deleting …
2019-02-20 14:33:24 -08:00
Palak Bhojani fb7a3aa93b Add notifications for success/failed when creating/updating/deleting scrapers 2019-02-20 14:12:57 -08:00
Iris Scholten 9cdcf3d8df
Merge pull request #12016 from influxdata/fix/label-preview-small
fix(ui): Update the label preview to be shorter
2019-02-20 14:01:40 -08:00
Iris Scholten 9e6c1b925d fix(ui): Update the label preview to be shorter 2019-02-20 13:47:35 -08:00
Lyon Hill 3665feef38
Populate organization name on task create action (#12004)
* Populate organization name on task create action

* Move the responsiblity of organization lookup to the platform adaptor
2019-02-20 13:36:35 -07:00
Alirie Gray d5b9948525
Merge pull request #12011 from influxdata/feat(variables)/edit-variable
Add ability to update a variable
2019-02-20 12:11:28 -08:00