Commit Graph

31325 Commits (79f8cf0e9d253423483c9ee08ace22f4ca6398c6)

Author SHA1 Message Date
alexpaxton 79f8cf0e9d
refactor(overlays): proposed new pattern for handling overlays (#15368)
* refactor: introduce components for showing/hiding overlays

* refactor: use OverlayRouter pattern for cell note overlay

* refactor: appease linter

* refactor: add dependency for handling search params

* refactor: add a bunch of inline comments

* refactor: undo changes to dashboard and cell components

* refactor: remove searchParam based overlay components

* refactor: add Overlay key in redux, create actions & reducers

* refactor: introduce redux based overlay controller

* refactor: update Note editing to use redux based pattern

* refactor: place Note route in correct location

* refactor: remove dependecy

* refactor: add trailing whitespace

* refactor: add back in moar trailing spaces

* refactor: ensure dismising Note overlay updates the route

* refactor: appease linter

* refactor: catch a small mistake

* refactor: use explicit variable for visibility
2019-10-11 11:13:01 -07:00
Lyon Hill 3c6779f011
feat(task): Allow tasks to run more isolated from other task systems (#15384)
* feat(task): Allow tasks to run more isolated from other task systems

To allow the task internal system to be used for user created tasks as well
as checks, notification and other future additions we needed to take 2 actions:

1 - We need to use type as a first class citizen, meaning that task's have a type
and each system that will be creating tasks will set the task type through the api.
This is a change to the previous assumption that any user could set task types. This change
will allow us to have other service's white label the task service for their own purposes and not
have to worry about colissions between the types.

2 - We needed to allow other systems to add data specific to the problem they are trying to solve.
For this purpose adding a `metadata` field to the internal task system which should allow other systems to
use the task service.

These changes will allow us in the future to allow for the current check's and notifications implementations
to create a task with meta data instead of creating a check object and a task object in the database.
By allowing this new behavior checks, notifications, and user task's can all follow the same pattern:

Field an api request in a system specific http endpoint, use a small translation to the `TaskService` function call,
translate the results to what the api expects for this system, and return results.

* fix(task): undo additional check for ownerID because check is not ready
2019-10-11 08:53:38 -06:00
Deniz Kusefoglu bdba601c30
fix: Place resource fetch logic in overlay (#15358)
* Place resource fetch logic in overlay

* Fix existing buckets tests

* Add test for routing to overlay and rerouting if bucket doesn't exist
2019-10-10 15:22:14 -07:00
Zoe Steinkamp f866c74ef3
Merge pull request #15382 from influxdata/zs-DurationTaskCreationPage-#15175
fix(tasks) Example duration on Task Creation pane.
2019-10-10 15:42:45 -06:00
Jakub Bednář 0de3711d2e feat(ui): Add documentation for Java, C# and Python client (#15378)
* feat(ui): Add documentation for Java, C# and Python client

* feat(ui): Add documentation for Java, C# and Python client - fixed formatting
2019-10-10 12:24:17 -07:00
Zoe Steinkamp 30992d9fb4 fix(tasks) Example duration on Task Creation pane.
The fix, no test for the placeholder
2019-10-10 11:40:33 -06:00
Alirie Gray 364e80bc94
fix(tasks): use go errors for scheduler metrics (#15374) 2019-10-10 09:55:30 -07:00
kelwang 072270d7d8
Merge pull request #15372 from influxdata/cli_list_org_members
fix(cmd/influx): fix list org members
2019-10-10 12:10:25 -04:00
Kelvin Wang c96fe7ed6e fix(cmd/influx): fix list org members 2019-10-10 11:57:03 -04:00
Alirie Gray be28de8fbc
feat(tasks): deactivate task on unrecoverable error (#15369) 2019-10-09 13:51:03 -07:00
Johnny Steenbergen faa3f1e22c
Merge pull request #15343 from influxdata/2939/blacklist_senstive_data_endpoints
fix(logging): blacklist endpoints with sensitive data from logging body
2019-10-09 13:32:36 -07:00
Johnny Steenbergen dbe0103d92 fix(logging): blacklist endpoints with sensitive data from logging body 2019-10-09 13:17:24 -07:00
Jonathan A. Sternberg eacc1b0d9c
fix(query): update the QueryServiceProxyBridge to check for an error properly (#15353)
The QueryServiceProxyBridge would not check for errors properly because
it would return any error encountered when running the query as a read
error on the `io.Reader`. This made it so that the csv decoder could not
identify if the error was related to the query or if it was related to
reading. The csv decoder needed to tell the difference because an error
with reading from the `io.Reader` needs to be returned as a decoder
error while an error from the query needs to be returned as-is.

Instead of adapting the csv decoder to do that, we instead lazily
initialize the result iterator when `More()` is called and call `Peek()`
on the reader. If no bytes can be read, we assume this was an error
while executing the query and return it as such. If we are able to read
at least one byte, we decode it through the csv decoder.
2019-10-09 11:06:32 -07:00
Alex Boatwright d431c6e8a7
fix(ui): unblock build by adding jest config to typescript ignore list (#15365) 2019-10-09 09:48:18 -07:00
Edd Robinson ef1e15a0ad
Merge pull request #15318 from influxdata/er-mv-comp-limiter
feat(storage): allow compaction limiter to be injected into engine
2019-10-09 13:11:44 +01:00
Bucky Schwarz e90ab6ebdf
Merge pull request #15354 from influxdata/bucky_variable_show_keys
fix: Map type Variables selector shows keys, not values
2019-10-08 16:06:48 -07:00
Bucky Schwarz 78244ce6de
fix: Map type Variables selector shows keys, not values
add test for hydrateVars

dashboard variable dropdown test: inspect values, not just array length

add RTL test for variable dropdown changes

lint

fix: Disable saving threshold check if no threshold selected (#15348)

* Prevent check saving if no thresholds

* Add tests

* Add changes to changelog

* make optional props optional

* use false instead of null for boolean

changelog

fix(ui): ignore false change events in VariableForm (#15317)

closes #15059

the issue is to persist user data across variable type selection interfaces within the variable editor. this commit pushes all of the variable editor information down to redux to allow persistence outside of the view state until the user clicks "cancel" or "create" in the interface.
2019-10-08 15:52:06 -07:00
Andrew Watkins 393f0e7772
Merge pull request #15357 from influxdata/fix/axis-submits
fix(VEO): only execute queries if cellID or dashboardID change
2019-10-08 15:44:25 -07:00
Alex Boatwright b91a856f59
chore(ui): relocate testing configuration (#15356)
while exploring containerization of the frontend, i decided to remove the
existing environment configuration from package.json and push them into
external files in an attempt to improve the caching strategies available
for local development. the CI pipeline should be watching the lock file,
but changes to the testing environment locally shouldn't cause a rebuild
of node_modules.
2019-10-08 15:39:33 -07:00
Lyon Hill f5e9b5e04f
feat(task): add type to some specific metrics in new execution. (#15340) 2019-10-08 15:58:41 -06:00
Andrew Watkins 3c65f21552 fix(VEO): only execute queries if cellID or dashboardID change 2019-10-08 13:02:02 -07:00
Alex Boatwright 99478fe21f
fix(ui): ignore false change events in VariableForm (#15317)
closes #15059

the issue is to persist user data across variable type selection interfaces within the variable editor. this commit pushes all of the variable editor information down to redux to allow persistence outside of the view state until the user clicks "cancel" or "create" in the interface.
2019-10-08 12:56:00 -07:00
Deniz Kusefoglu 9f011d605e
fix: Disable saving threshold check if no threshold selected (#15348)
* Prevent check saving if no thresholds

* Add tests

* Add changes to changelog

* make optional props optional

* use false instead of null for boolean
2019-10-08 12:23:16 -07:00
Johnny Steenbergen 5a546d5827
Merge pull request #15335 from influxdata/2939/add_logging_to_gateway
2939/add logging to gateway
2019-10-07 14:49:36 -07:00
Johnny Steenbergen eab6241e28 chore: add goland config to gitignore 2019-10-07 14:19:21 -07:00
Johnny Steenbergen 9d5392cfd9 fix(logging): add debug logging for all http requests 2019-10-07 14:19:21 -07:00
Jakub Bednář ea9cf13af6
fix(notification/rule): fixed http NotificationRule (#15245)
* Fixed handler path for a list of all labels for a notification rule
* Fixed filtering NotificationRules by limit and offset
2019-10-07 09:36:55 +02:00
Edd Robinson 9be0de2f7f
Merge pull request #15306 from i-sevostyanov/master
fix(storage): added missing string values for CacheStatus type.
2019-10-04 14:23:37 -07:00
Ilya Sevostyanov 596414a3ff
fix(storage): added missing string values for CacheStatus type.
Closes: #15284.
2019-10-04 23:50:21 +03:00
Edd Robinson 179c57ab2e feat(storage): allow compaction limiter to be injected 2019-10-04 12:35:21 -07:00
Iris Scholten f4dabb7fe1
Merge pull request #15313 from influxdata/comment-shortcut
feat(ui): Add shortcut for commenting in script editor
2019-10-03 14:42:35 -07:00
Iris Scholten 54cc5be3c6 fix: add missing semicolon 2019-10-03 14:27:19 -07:00
Iris Scholten 7bf80b55a4 chore: update changelog 2019-10-03 13:08:25 -07:00
Iris Scholten 97587e8840 feat(ui): Add tooltip that exposes editor shortcuts in the ui 2019-10-03 13:07:58 -07:00
Iris Scholten 6594521d46 feat(editor): Add keyboard shortcut for toggling comments 2019-10-03 11:53:17 -07:00
Deary Hudson III 4f7e147e24
Merge pull request #15295 from influxdata/fix/http-default-empty-user-status
fix(http): Ensures users are created with an active status
2019-09-30 23:55:03 -05:00
Deary Hudson bd7c4dad8f fix(http): Ensures users are created with an active status 2019-09-30 15:37:59 -07:00
Deniz Kusefoglu 7d4c8491f0
feat: Add event markers (#15282)
* Add init event markers

* Add events to dashboard graphs

* Add level coloring and styling to event markers

* Window statuses by time and graph groups of events

* Put event markers behind feature flag

* init tooltip

* Upgrade giraffe library

* Add Tooltip

* Add status query to Time Machine

* Status rows return lowercase check level statuses

* rename events to statuses

* Radically improve tooltip style

Co-authored-by: alexpaxton <thealexpaxton@gmail.com>

* Add time formatting

* Make status query more readable

* Clean up comments
2019-09-27 14:09:12 -07:00
George 9f5390e449
feat(auth): add jwt support in auth middleware (#15152) 2019-09-27 12:12:41 +01:00
Russ Savage b96282d01d
Update changelog for alpha 18 release 2019-09-26 14:06:14 -07:00
Russ Savage d24047e55d
fix(fluxFunctions): add getColumn, getRecord, tableFind (#15289)
* fix(fluxFunctions): add getColumn, getRecord, tableFind

* feat(changelog): update changelog
2019-09-26 14:04:23 -07:00
Alirie Gray a9df93b1fd
refactor(tasks): create coordinator for new scheduler/executor (#15268) 2019-09-26 13:55:23 -07:00
Russ Savage 73ac9c5b5c
fix(templates): add jmeter template (#15168)
* fix(templates): add jmeter template

* fix(defaultTemplates): missing comma

* fix(package): update influxdb-template library

* fix(ui): updating yarn.lock

* fix(templates): add jmeter template

* fix(defaultTemplates): missing comma

* fix(package): update influxdb-template library

* fix(ui): updating yarn.lock

* Updated CHANGELOG
2019-09-26 12:21:12 -07:00
Lyon Hill 5e1d7f6c69
feat(task): remove preauth (#15286)
* feat(task): remove preauth

* fix(task): remove e2e test that verified preauth
2019-09-26 10:52:24 -06:00
Mustafa 4fcf4c4ad1
Merge pull request #15248 from influxdata/elbehery-fix#4300
fix(storage): remove level=0 from TSM disk bytes metrics.
2019-09-26 18:21:38 +02:00
Jakub Bednář 732c0cc28d
fix(http): update NotificationRuleBase and NotificationRule schema to reflect reality (#15244)
* NotificationRuleBase: the endpointID should be required and editable, there is missing a links property
 * NotificationRule: add discriminator
 * add a missing TraceSpan parameter into a GetNotificationRules and GetChecks
2019-09-26 12:07:44 +02:00
Jakub Bednář 95d6301458
fix(http): add a discriminator for a Threshold schema, add links into CheckBase schema (#15198) 2019-09-26 11:09:59 +02:00
kelwang 8af36d5aae
Merge pull request #15278 from influxdata/fix/rule-encoding
fix(http): lookup task before clearing it's id from the rule
2019-09-25 17:33:38 -04:00
Lyon Hill 270d39224c
fix(task): include offset in next due calculation (#15281) 2019-09-25 15:21:37 -06:00
Michael Desa ca937eaf11
fix(http): lookup task before clearing it's id from the notification rule 2019-09-25 16:33:05 -04:00