Commit Graph

33223 Commits (97200f1b9206707577ef056fbd0481b1dccaccc7)

Author SHA1 Message Date
Johnny Steenbergen 3ad00934c4 fix(influx): fixup display message for onboarding with interactive and rp flag
closes: #17862
2020-05-08 10:03:56 -07:00
Alirie Gray 24cc1cabb8
feat: add feature flag for refactored authorization package (#17944) 2020-05-08 10:00:39 -07:00
Gavin Cabbage 4fd30f5f24
fix(kit/feature): lookup typed flag if base is passed to override (#18012)
* fix(kit/feature): lookup typed flag if base is passed to override

* chore(kit/feature): override base flag test
2020-05-08 09:50:04 -04:00
Brett Buddin 593cabcf45
Merge pull request #18015 from influxdata/bb/proxy-query-handlers
feat(http): Allow query handlers to be proxied for Algo-W testing.
2020-05-08 09:39:30 -04:00
Brett Buddin 229b79281b
feat(http): Allow query handlers to be proxied for Algo-W testing. 2020-05-08 09:03:21 -04:00
Brett Buddin 8c0643843f
chore(http): Let the callers convert these to http.Handler. 2020-05-08 09:02:06 -04:00
Deniz Kusefoglu b58fb7ebe8
feat(demodata): Make dd error messages more explanatory (#18006)
* feat(demodata): Make dd error messages more explanatory

* feat(demodata): improve error writing with two trycatches
2020-05-07 19:07:36 -07:00
Russ Savage d00706dea8
chore(changelog): update for beta-10 2020-05-07 15:55:44 -07:00
Johnny Steenbergen 233b6d368d fix(influx): update diff labelmapping print to respect state status 2020-05-07 15:52:52 -07:00
Johnny Steenbergen b0d00425b0 feat(influx): add pkger remove|rm|uninstall stacks command 2020-05-07 15:52:52 -07:00
Johnny Steenbergen e668524847 feat(influx): add pkger list stacks command 2020-05-07 15:52:52 -07:00
Zoe Steinkamp 8c72f1e5e1
fix: 404 page on about 'users' (#18009) 2020-05-07 16:15:19 -06:00
Vlasta Hajek 045f311fb3
fix: changing method of set user password to POST (#17919) (#17990) 2020-05-07 15:06:32 -07:00
Ariel Salem 20054d1d0c
Revert "feat(custom-timerange-tz): timeZone dropdown is now integrated in setting custom time ranges for queries (#17992)" (#18008)
This reverts commit 97c15012a1.
2020-05-07 15:04:24 -07:00
Vlasta Hajek 330a3eb09b
fix: adding default handler for post on setup (#17972) (#17973) 2020-05-07 14:52:53 -07:00
Ariel Salem 97c15012a1
feat(custom-timerange-tz): timeZone dropdown is now integrated in setting custom time ranges for queries (#17992) 2020-05-07 14:39:39 -07:00
Jonathan A. Sternberg 7379e784ab
fix(storage/flux): fix a race condition in the tags cache (#17977)
The tags cache was not thread safe when called from multiple goroutines
at the same time. It was intended that it would be, but the locking was
done incorrectly and in too complicated a way. There was an assumption
that the LRU would only be updated from a single thread which wasn't
true at all.

The tags cache has now been updated to include some test cases that test
for race conditions and data validity. The tags cache itself has been
changed to follow a simpler algorithm.

1. Obtain a read lock.
2. Check if the cached array can be used.
3. Release the read lock.
4. If the above was unusable or did not exist, create an array for the
   tag.
5. Obtain a write lock.
6. Check if the cached array should be replaced and replace if needed.
7. Move the entry to the front of the LRU.
8. Release the write lock.

This simpler algorithm should ensure that this code is correct and that
creating the array is still done outside of the lock since creating the
array is the most expensive operation of the ones above.
2020-05-07 15:01:48 -05:00
Brett Buddin 8d26d9807d
Merge pull request #17970 from influxdata/bb/feature-flag-proxy
feat(http): Allow specific API handlers to be proxied for the Algo-W rollout
2020-05-07 14:20:47 -04:00
jlapacik 8bf2d34bd7
Merge pull request #18002 from influxdata/chore/update-flux
chore: update flux to latest revision
2020-05-07 11:06:34 -07:00
Andrew Watkins 1d1bb484dd
chore: multiUser defaults to true (#17976) 2020-05-07 10:54:10 -07:00
jlapacik 9a1e31a12f chore: update flux to latest revision 2020-05-07 10:46:29 -07:00
jlapacik f3320c7b43 Merge branch 'master' into chore/update-flux 2020-05-07 10:44:34 -07:00
Brett Buddin a0bf3b4327
fix(kit/feature): Prefix header with vendor name. 2020-05-07 13:25:12 -04:00
Deniz Kusefoglu 33f77d7fea
feat(demodata): get error message from error for notification (#17983) 2020-05-06 17:26:49 -07:00
Johnny Steenbergen 37d44d882d chore(pkger): handle edge cases for telegraf configs that manifest from user interaction
closes: #17434
2020-05-06 16:49:50 -07:00
Johnny Steenbergen 3eb5af969a chore(pkger): handle edge cases for tasks that manifest from user interaction
references: #17434
2020-05-06 16:49:50 -07:00
Iris Scholten ac28d5bc44
Merge pull request #17849 from influxdata/refactor/org-nav-items
chore(ui): move users & about nav items
2020-05-06 16:36:30 -07:00
Johnny Steenbergen 7be0d8289b chore(pkger): handle edge cases for rules that manifest from user interaction
references: #17434
2020-05-06 16:18:48 -07:00
Timmy Luong d984d35c06 refactor(ui): update variable names, code patterns, and CloudUpgradeNavBanner 2020-05-06 15:59:46 -07:00
Timmy Luong 0a3cd47047 refactor(ui): use fetch instead of axios 2020-05-06 15:59:46 -07:00
Timmy Luong 4e0672e78e feat(ui): hide the "Upgrade Now" button for Cloud users when appropriate 2020-05-06 15:59:46 -07:00
Johnny Steenbergen 7f8aa4c40f chore(pkger): handle edge cases for endpoints that manifest from user interaction
references: #17434
2020-05-06 15:56:32 -07:00
Johnny Steenbergen b4b52570b4 chore(pkger): handle edge cases for labels that manifest from user interaction
references: #17434
2020-05-06 15:26:01 -07:00
Johnny Steenbergen d4aa3be8db chore(pkger): handle edge cases for dashboards that manifest from user interaction
references: #17434
2020-05-06 15:12:30 -07:00
Johnny Steenbergen 485cc3ea54 chore(pkger): handle edge cases for checks that manifest from user interaction
references: #17434
2020-05-06 14:57:04 -07:00
Johnny Steenbergen 24dd13bcc6 chore(pkger): handle edge cases for buckets that manifest from user interaction
references: #17434
2020-05-06 14:19:44 -07:00
Johnny Steenbergen ce2baee4d6 chore(pkger): make export test assertions deterministic 2020-05-06 13:49:23 -07:00
Johnny Steenbergen f575ea8d41 chore(pkger): handle edge cases that can manifest from users in the platform and stateful pkg applications
references: #17434
2020-05-06 13:01:50 -07:00
Johnny Steenbergen 9ab4447617 chore(pkger): ensure sorting is done by PkgName for all parser resource summaries 2020-05-06 13:01:50 -07:00
jlapacik c380ff69bc
Merge pull request #17974 from influxdata/chore/update-flux
chore: update flux to latest revision
2020-05-06 10:47:57 -07:00
Brett Buddin 9e8f5a27bc
fix(http): Make common wrapper function capable of handling nil-valued proxies.
Pipeline tests in idpe are setting up an `http.APIBackend` directly
without a constructor function. This is causing this `AlgoWProxy` field
to be `nil` when exercising end-to-end tests. This just makes the
structure a bit more defensive and falls back to using the no-op proxy
in the presence of a nil value.
2020-05-06 13:04:31 -04:00
jlapacik 4aec0dc48e Merge branch 'master' into chore/update-flux 2020-05-06 10:00:09 -07:00
jlapacik 6dd385d3b4 chore: update flux to latest revision 2020-05-06 10:00:00 -07:00
Brett Buddin c5c4e71dbd
feat(http): Add ability to proxy specific API handlers for Algo-W rollout. 2020-05-06 12:30:05 -04:00
Brett Buddin 73ae2122aa
feat(kit/feature): Add HTTP request proxy. 2020-05-06 12:30:05 -04:00
Jakub Bednář 9bde937c54
docs(clientLibs): improve client docs: (#17968)
* `Initialize the Client` always contains full range of required imports
* `Initialize the Client` contains `org`, `bucket` and `token` constant for reuse on all places
* Timestamps are always current time => user view written data in default settings of DataExplorer

Signed-off-by: Jakub Bednar <jakub.bednar@gmail.com>
2020-05-06 09:06:38 -07:00
Gavin Cabbage 8af9b3c2d1
refactor(kit/feature): remove target logic; expose bykey (#17949)
* refactor(kit/feature): remove target logic; expose bykey

* refactor(kit/feature): un-variadic-ify bykey arg
2020-05-06 11:13:17 -04:00
Adrian Thurston e51a2b81e9
feat: added PushDownWindowAggregate planner rewrite rule (#17898)
Added a (disabled and feature-flagged) planner rule that matches:

ReadRange -> window -> { min, max, mean, count, sum }

The rule requires:
 * the pushDownWindowAggregate{Count,Rest} feature flags enabled
 * having WindowAggregateCapability
   (which StorageReader does not currently have)
 * use of "_value" columns only
 * window.period == window.every
 * window.every.months == 0
 * window.every is positive
 * window.offset == 0
 * standard time columns
 * createEmpty is false
2020-05-06 10:27:17 +03:00
Andrew Watkins 4243bca075
fix(queryBuilder): display loading text (#17963)
* fix(queryBuilder): display loading text

* fix: add loading text to dropdown
2020-05-05 20:52:00 -07:00
Johnny Steenbergen 3fd731511a chore(pkger): make integration stack tests indpendent 2020-05-05 11:01:13 -07:00