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
also provides an interface to mix and match everything together. you can
now provide `-f` flags for file or directories, `-u` flags for urls, and
use the | to pipe in a pkg. all of which can be done at the same time.
* feat(backup): `influx backup` creates data backup
* feat(backup): initial restore work
* feat(restore): initial restore impl
Adds a restore tool which does offline restore of data and metadata.
* fix(restore): pr cleanup
* fix(restore): fix data dir creation
* fix(restore): pr cleanup
* chore: amend CHANGELOG
* fix: restore to empty dir fails differently
* feat(backup): backup and restore credentials
Saves the credentials file to backups and restores it from backups.
Additionally adds some logging for errors when fetching backup files.
* fix(restore): add missed commit
* fix(restore): pr cleanup
* fix(restore): fix default credentials restore path
* fix(backup): actually copy the credentials file for the backup
* fix: dirs get 0777, files get 0666
* fix: small review feedback
Co-authored-by: tmgordeeva <tanya@influxdata.com>
* feat(agg-window): Add duration input to aggreagate functionn selector
* feat(agg-window): rename duration strings to durations
* feat(agg-window): Add window periods for common time ranges
* feat(agg-window): Handle set auto select durations correctly
* Update changelog
* feat(agg-window): Use triple equality:
* refactor: add stylesheet for cloud nav
* refactor: remove cloud icon from side nav
* refactor: move cloud nav to top of app
* chore: add declaration so PNG files are typed as any when imported
* refactor: modify cloud nav to use specified components
* fix: Remove comment
* refactor: update nav item text
* refactor: do not show logout in sidenav for cloud users
* refactor: add unique class for google tag manager
* chore: update changelog
* refactor: don't render user menu if org isn't available
* chore: add image file for logo
Adds-Binary: ui/src/pageLayout/images/influxdata-logo.png
* chore: prettier and eslint
* fix(bucket-loading): Remove action duplication
* fix(bucket-loading): Remove state loading before routing to data loaders
* fix(bucket-loading): Limit available buckets to nonsystem buckets
* fix(bucket-loading): Update changelog
* fix(ui): Prevent negative zero and allow zero with decimal places
* chore: update CHANGELOG
* fix(ui): Turn off lint rule no-compare-neg-zero
* test: add more tests by overriding prettier
* fix(ui): turn off lint rule for a specific usage, not universally
* feat(ui): Add matching rules card to alert builder
* feat(checks): Add tags from query results to NR matching query parameters
* feat(ui): Update changelog
* feat(nr): Change api function to match import convention
* fix(ui): Fix changelog update mistake
* Click submit button after typing in time machine
* feat(notification rules): Add feature flag to matching notification rules
feat(ui): added last run status checks for notification rules and check rules, readded updateCheck to fix linter and functionality issues with program and added tests to ensure check creation and update stability
this work is to support pkger, but was able to add back in the
skipped tests. seeing failures upstream, and didn't catch it in
influxdb b/c the tests were being skipped.
closes: #14799
the original design made the secrets unable to be reused, a bit to opinionated
to be useful eleswhere. This relaxes that requirement so that secrets can be
referenced here.
fix(ui): adding times in script editor will default start and endtime for timerange queries, compute timeranges based on script and based on widest date range & fix dashboard so that cells that have been saved with timerange scripts are based on those timeranges
one thing to note here is that new endpoint was created. there was no
endpoint for setting an initial password that worked. The existin endpoint
was a bit messy and coupled across multiple routes. Having multiple auth
schemes proved incredibly taxing to write against.
* fix(bucket-list): wrapped DWP in featureFlag and sorted bucket list
* chore(changelog): updated the changelog to reflect PR changes
* fix(e2e): skipping tests until featureflag removed from DWP
* chore(tests): refactoring to use selector and add tests
* chore(refactor): created selector for ordering bucketlist and added tests
* fix(bucketsort): updated func and var names to accurately reflect intent
* fix(bucket/selector): renamed func for accuracy
* fix(DWP): reset redux state when DWP resolves or rejects
* chore(lint): fixed lint and added PR to changelog
* fix(linter): removed unused depenency in tests
* fix(storage): add failing test for array cursor iterator stats
* fix(storage): make arrayCursorIterator.Stats() return stats of in-focus cursor
* fix(storage): add failing test to assert arrayCursorIterator.Stats() returns accumulated result
* fix(storage): assumulate stats in arrayCursorIterator.Stats() call across all observed cursors
* feat(kv): unique variable names
- adds system bucket for creating an index of unique variable names
- adds tests
- deleted unit tests for dead code
- removed a test runner for the variable service from http
* feat: (http) label names to be unique
* feat(http): should work for updates as well
* chore: commented out former work. added a failing test
* feat: ensure label uniqueness & test cases
* feat: updating labels ensures uniqueness
* fix: fixes a failing unrelated test
* chore: update changelog
* fix(ui/tasks): edit & update functionality has been fixed. Also fixed the issue where task form data didn't persist when toggling between schedule task options
* chore(CHANGELOG): updated changelog with current PR
* fix(ui/tasks): updated reducer test to more accurately reflect the current reducer functionality and updated the parameter name for consistency
* fix(linter): removed extra whitespace
* chore(comment): removed old comment from PR since it's no longer necessary
* fix(ui/collectorList-telegraf): sort telegrafs based on buckets
* fix(ui/collectors): added tests to the sort by telegrafs/buckets functionality
* fix(ui/collectors): made PR suggested changes
* fix(ui/collectors): updated snapshot test
* fix(collectors): added collectors changes
* fix: labels test
* fix: sanity check
* chore: skip tests to resolve in separate PR
* fix: revisit page
* fix(ui/labeloverlayerror):
UI is now correctly disabling the submit button and returning an invalid input error when a user tries to submit an empty input for the label overlay name
Updated change log and added in link to issue for newly built tests
Updated the updateLabelOverlay methods to correspond with the changes made to the labeloverlayform
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.