Commit Graph

12151 Commits (e4a32d36d7727e720b36ae1223a35c80d45dac05)

Author SHA1 Message Date
Christopher Henn e4a32d36d7 Fix erroneous query manipulation
When a user creates a cell, they can create an InfluxQL query with the
visual query builder. In this case, the query to execute is derived from
the cell's query config. They can also enter a query manually, in which
case the query config should be ignored.

If a user enters a query manually, we attempt to parse that query into a
query config. If we are successful, then it doesn't matter whether we
execute the query that was entered manually, or the query derived from
the query config.

We can't always parse a query back into a query config, but we
nonetheless have always been executing cell queries derived from a query
config. This created the issue witnessed in #5131.

This commit changes that behavior; if a query has been entered manually,
we will always respect it.

Closes #5131
2019-07-11 13:10:51 -07:00
Christopher Henn 5880c61099 Separate ESLint and Prettier configuration
This helps editors like VSCode and Vim find the appropriate Prettier
settings.
2019-07-09 15:02:44 -07:00
Christopher Henn cd345cd05b Redirect to OAuth provider automatically
If a user needs to login and there is only one possible location to log
in, we will direct them automatically to that location rather than
rendering a page with a link to that location.
2019-07-09 15:02:44 -07:00
Christopher Henn 95201e9268 Add LOGIN_HINT OAuth config option 2019-07-09 15:02:44 -07:00
Andrew Watkins 2dadcaf8dc
fix: alert rule message text template parsing (#5228)
* feat: add go text template parsing endpoint

* chore: yarn.lock

* chore(routes): change text validation endpoint name

* feat: validate kapacitor rule templates

* test(alerts): remove redundant tests

* chore(routes): update validate endpoint name

* test(routes): add validate endpoint to tests

* test(server): add validation endpoints

* feat(alerts): change template validation to 204

* chore: update react et al
2019-07-09 12:31:56 -07:00
Christopher Henn fdd52446d5 Fix JWK signing key check 2019-07-09 11:06:26 -07:00
Andrew Watkins d016ee3774
feat(dashboards): add time zone toggle (#5224) 2019-07-03 15:03:01 -07:00
Deniz Kusefoglu c173f3f586
Bugfix/code mirror tickscript (#5225)
* Match only uppercase TRUE and FALSE as atoms

* Add AND and OR as operators

* Allow variables to begin with capital letters

* Add optional @ to recognize user defined function calls as variables

* Remove multiline comment state add multiline string states

* Add dbrp keyword

* Update changelog
2019-07-03 15:02:50 -07:00
Andrew Watkins 87081a9c7f
feat: add time zone selector to data explorer (#5222)
* feat(de): add time zone toggle

* chore: christmas time

* feat(ui/tables): add time zones to tables

* fix: prop declaration
2019-07-03 10:54:34 -07:00
Deniz Kusefoglu 407d20e5a5
Reapply Configure papaparse to distinguish inline vs delimiter commas (#5220) 2019-07-02 13:36:28 -07:00
Deniz Kusefoglu a800328601 Revert "Configure papaparse to distinguish inline vs delimiter commas"
This reverts commit 524bdda3ea.
2019-07-02 13:16:18 -07:00
Deniz Kusefoglu 524bdda3ea Configure papaparse to distinguish inline vs delimiter commas 2019-07-02 13:03:57 -07:00
Andrew Watkins cd9e792d16
feat(ui/statusPage): add toggle for utc and local time
* feat(appReducer): add time zone

* fix(timeZones): local storage

* chore: upgrade to react 16.8.6

* update react types

* feat(status): introduce TimeSelectorToggle component

* feat(ui/status): add time zone to alerts table

* feat(dygraphs): add time zone option

* fix: time typo
2019-07-02 09:05:17 -07:00
Deniz Kusefoglu 1c4aa2f37d
Fix scroll to row bug on table graphs (#5217)
* read sortedtimevals from updated props not state

* Update changelog

* Fix linter errors
2019-07-01 16:26:24 -07:00
Scott Anderson 6204265163 Update functions.ts (#5216) 2019-06-28 14:31:33 -07:00
Luke Morris 510ba50758 Update changelog 2019-06-21 11:10:23 -07:00
Luke Morris 3783adc117 bump package.json 2019-06-21 08:38:52 -07:00
Luke Morris 4594aa1310 Update changelog 2019-06-21 08:38:47 -07:00
Andrew Watkins e6c2494d7d
chore: fix PagerDuty deprecation message (#5208) 2019-06-17 13:57:07 -07:00
kelwang ae50c473f2
Merge pull request #5198 from influxdata/fix/5197
fix(server): timeout and fetch version concurrently
2019-05-30 17:43:04 -04:00
Delmer Reed 100148c087 fix(server): timeout and fetch version concurrently
fixes an issue where version was not being fetched concurrently
and not timing out for each source.

Co-authored-by: Kelvin Wang <sherkrainwang@gmail.com>
2019-05-30 17:31:35 -04:00
Brandon Farmer d18a1aca36
Merge pull request #5187 from influxdata/negative-min
Allow values for min to be negative
2019-05-20 17:30:25 -07:00
Brandon Farmer f6ea901542 Allow values for min to be negative
Closes #5168
2019-05-20 17:14:40 -07:00
Brandon Farmer 14a82539b1
Merge pull request #5186 from influxdata/fix-version
Update chronograf version to 1.7.11
2019-05-20 15:13:29 -07:00
Brandon Farmer 71e6bd7382 Update chronograf version to 1.7.11 2019-05-20 14:31:04 -07:00
Brandon Farmer 0f71e05d53
Merge pull request #5185 from influxdata/splits
Be more defensive where we split text from responses
2019-05-20 10:51:50 -07:00
Brandon Farmer 4df76c444f Be more defensive where we split text from responses
Closes #5139
Closes #5155
2019-05-20 10:04:34 -07:00
Brandon Farmer 36c17f1952
Merge pull request #5184 from influxdata/zoom-out
Properly handle time selection when zoomed in
2019-05-17 08:49:11 -07:00
Brandon Farmer 9638ce39ec Properly handle time selection when zoomed in 2019-05-16 17:03:33 -07:00
Brandon Farmer d1790aa78e
Merge pull request #5183 from influxdata/worker-polyfill
Add polyfill for workers
2019-05-16 13:03:13 -07:00
Brandon Farmer b8e857ee5e Add polyfill for workers
- Addresses issues when workers are running in IE11
2019-05-16 12:49:25 -07:00
Lorenzo Affetti 70d600bb9f
Merge pull request #5171 from influxdata/fix/rpm-verify
fix(package): create chronograf user before install
2019-05-08 18:31:39 +02:00
Lorenzo Affetti 8f823908cf fix(package): create chronograf user before install 2019-05-02 10:40:06 +02:00
Brandon Farmer cb03b89716
Merge pull request #5164 from influxdata/fix-change-log
Remove unreleased from changelog
2019-04-24 10:13:09 -07:00
Brandon Farmer c9fd56bcfa Remove unreleased from changelog 2019-04-24 10:09:21 -07:00
Brandon Farmer a04ee8c3ca
Merge pull request #5158 from influxdata/update-version
bump version
2019-04-24 09:57:03 -07:00
Brandon Farmer f91deb55a8
Merge pull request #5163 from influxdata/only-add-variables-once
Only add variables to script once
2019-04-23 17:16:00 -07:00
Brandon Farmer f356710ab2 Only add variables to script once 2019-04-23 17:13:42 -07:00
Brandon Farmer 99837cd768
Merge pull request #5162 from influxdata/set-dashboard-time
Set dashboard time when not present in preamble
2019-04-23 14:41:24 -07:00
Brandon Farmer 1f8241350d Set dashboard time when not present in preamble 2019-04-23 14:39:39 -07:00
Brandon Farmer b94a91672b
Merge pull request #5161 from influxdata/fix-dashboard-time-injection
Fix dashboard time injection
2019-04-23 14:28:35 -07:00
Brandon Farmer c609d929fe Fix dashboard time injection 2019-04-23 14:21:57 -07:00
Brandon Farmer b83a3821e3
Merge pull request #5159 from influxdata/fix-dashboard-time-injection
Don't inject dashboard time if present
2019-04-23 14:17:14 -07:00
Brandon Farmer e8663e28cb Don't inject dashboard time if present 2019-04-23 14:05:32 -07:00
Brandon Farmer a67c66e051 bump version 2019-04-23 13:35:47 -07:00
Brandon Farmer 53a3504ddd
Merge pull request #5157 from influxdata/bf-update-changelog
Update changelog
2019-04-23 13:13:19 -07:00
Brandon Farmer 1c1ced1efb Update changelog 2019-04-23 11:59:40 -07:00
Brandon Farmer 7596fdc661
Merge pull request #5154 from influxdata/fix-flux-meta-queries
Remove use of except from meta queries
2019-04-19 17:45:32 -07:00
Brandon Farmer 1088dd1f58 Remove use of except from meta queries 2019-04-19 17:24:27 -07:00
Lorenzo Affetti 2930d4acbe
Merge pull request #5146 from influxdata/fix/rpm-verify
fix(package): make rpm verify pass after installation
2019-04-19 15:28:59 +02:00