Commit Graph

12337 Commits (220dbeb5384d363932a006f1d2415ed9d1d8c6bd)

Author SHA1 Message Date
Michael Desa 220dbeb538
fix(data-explorer): always include upper dashboard time in query (#5309)
Closes https://github.com/influxdata/chronograf/issues/5297

Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2019-11-07 14:53:01 -05:00
Michael Desa 5214b7d47d
chore: upgrade to flux v0.50.2 (#5305)
Closes https://github.com/influxdata/chronograf/issues/5303
2019-11-07 11:35:08 -05:00
Andrew Watkins 720782d118
fix: boolean joins for tag key / value pairs (#5307) 2019-11-06 16:17:17 -08:00
Bucky Schwarz 15b12fe024 chore: update dockerfile deps: update ubuntu, node and go versions 2019-11-05 14:25:19 -08:00
Michael Desa bb4f123bfd
fix(server): add DashboardCreate object to swagger definition (#5295)
This came up from https://github.com/influxdata/chronograf/issues/5291
where consumers of the API thought that they would be able to specify an
ID when a dashboard is created.
2019-10-16 15:53:59 -04:00
Jacob Marble e7a953820f
Merge pull request #5287 from influxdata/jgm-remove-gdm
chore: remove gdm
2019-09-24 15:50:38 -07:00
Jacob Marble d897556bb4 chore: remove gdm 2019-09-24 15:21:42 -07:00
Joshua Hoblitt 571731cec5 fix github org pagination when user has > 10 orgs (#5265)
* fix github org pagination when user has > 10 orgs

* rm duplicate 1.7.13 CHANGELOG

* add #5265 to CHANGELOG
2019-09-20 15:53:13 -07:00
Michael Desa 5e1e3d0cae
Merge branch '1.7.x' 2019-08-27 13:58:02 -04:00
Michael Desa 038fb2a1d4
Release 1.7.14 2019-08-27 13:57:33 -04:00
Andrew Watkins 7434c52245 docs: update CHANGELOG 2019-08-26 13:12:36 -07:00
Andrew Watkins 0d694a493b fix: style and runtime errors (#5269)
* fix(explorer): exit filter if no query

* fix: styles
2019-08-26 13:09:59 -07:00
Andrew Watkins 993ac4d75c
fix: style and runtime errors (#5269)
* fix(explorer): exit filter if no query

* fix: styles
2019-08-26 12:18:10 -07:00
Michael Desa 2d3a265706
Merge branch '1.7.x' 2019-08-20 17:39:51 -04:00
Michael Desa da07ed011c
Release 1.7.13 2019-08-20 17:37:16 -04:00
Andrew Watkins ae7fed3626
fix: drop delete (#5258)
* fix: drop delete

* fix: tsc error
2019-08-20 14:14:01 -04:00
Alvaro [Andor] a36ffca3b1
Fix dashboard typos (#5249)
* Fix dashboard typos

* Add Changelog
2019-08-20 14:14:01 -04:00
Michael Desa dc0f253c6c
security: upgrade axios and lodash to verious without known vulnerabilities
Both `axios` and `lodash` are direct dependenies and therefore were
updated.

See https://github.com/influxdata/chronograf/network/alert/ui/yarn.lock/lodash/open and https://github.com/influxdata/chronograf/network/alert/ui/yarn.lock/axios/open
2019-08-20 14:13:58 -04:00
Andrew Watkins f1118cc920
fix(canned): group by database for numSeries and numMeasurment queries (#5244) 2019-08-20 14:13:58 -04:00
Christoph Tavan 1030250282
Use v4 UUID instead of v1 for time series UUIDs
This uses a purely random v4 UUID instead of a time-based v1 UUID for
the time series UUIDs (which were introduced in
dba9e28fa0 and
2fba2b9721).

As far as I can tell from
b6f6118b65/server/influx.go (L91-L94)
the server uses
b6f6118b65/id/uuid.go (L15)
to generate the `response.uuid` field where clearly a v4 UUID is being
generated. Mixing this with v1 UUIDs in the client code seems odd.

v1 UUID are based on current time and the hardware MAC address of the
machine where they are being generated (although the implementation in
the npm uuid module uses generates a random fake MAC address). As such
they have much more complex semantics than v4 UUIDs which are simply
randomly generated.

Unless there's a specific requirement for the special semantics of v1
UUIDs it is simpler and less error prone to simply go for v4 UUIDs
whenever just a unique identifier is needed.
2019-08-20 14:13:58 -04:00
Christoph Tavan 1b8b1610c4
Use v4 UUID instead of v1 for worker message IDs
This uses a purely random v4 UUID instead of a time-based v1 UUID for
the worker message IDs (which were introduced in
1a76a29ed2).

v1 UUID are based on current time and the hardware MAC address of the
machine where they are being generated (although the implementation in
the npm uuid module uses generates a random fake MAC address). As such
they have much more complex semantics than v4 UUIDs which are simply
randomly generated.

Unless there's a specific requirement for the special semantics of v1
UUIDs it is simpler and less error prone to simply go for v4 UUIDs
whenever just a unique identifier is needed.
2019-08-20 14:13:58 -04:00
Russ Savage 51fce210a9
changing staleLabel to stale (#5239) 2019-08-20 14:13:58 -04:00
Russ Savage 0cdded744a
Updating stale.yml (#5236)
fixing the closeComment
2019-08-20 14:13:57 -04:00
Michael Desa 70e2fdc13b
feat(.github): add stale bot config 2019-08-20 14:13:42 -04:00
Christopher Henn 5d35d459ac
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-08-20 14:13:42 -04:00
Christopher Henn 4eff74cc17
Separate ESLint and Prettier configuration
This helps editors like VSCode and Vim find the appropriate Prettier
settings.
2019-08-20 14:13:42 -04:00
Christopher Henn e17e77c702
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-08-20 14:13:41 -04:00
Christopher Henn a0ef6742eb
Add LOGIN_HINT OAuth config option 2019-08-20 14:13:41 -04:00
Andrew Watkins 58b0b891ae
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-08-20 14:13:41 -04:00
Christopher Henn 7383f0c18a
Fix JWK signing key check 2019-08-20 14:13:41 -04:00
Andrew Watkins cad13969ae
feat(dashboards): add time zone toggle (#5224) 2019-08-20 14:13:41 -04:00
Deniz Kusefoglu a161e08183
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-08-20 14:13:41 -04:00
Andrew Watkins 234592dbe5
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-08-20 14:13:40 -04:00
Deniz Kusefoglu 64960a0f2e
Reapply Configure papaparse to distinguish inline vs delimiter commas (#5220) 2019-08-20 14:13:40 -04:00
Deniz Kusefoglu 22bf2f8ec1
Revert "Configure papaparse to distinguish inline vs delimiter commas"
This reverts commit 524bdda3ea.
2019-08-20 14:13:40 -04:00
Deniz Kusefoglu 104f0a72a6
Configure papaparse to distinguish inline vs delimiter commas 2019-08-20 14:13:40 -04:00
Andrew Watkins b74f110eda
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-08-20 14:13:40 -04:00
Deniz Kusefoglu 5de5e668c9
Fix scroll to row bug on table graphs (#5217)
* read sortedtimevals from updated props not state

* Update changelog

* Fix linter errors
2019-08-20 14:13:40 -04:00
Andrew Watkins 663f7f2050
fix: drop delete (#5258)
* fix: drop delete

* fix: tsc error
2019-08-13 17:17:46 -05:00
Alvaro [Andor] 9eb861a164 Fix dashboard typos (#5249)
* Fix dashboard typos

* Add Changelog
2019-08-01 08:16:44 -04:00
Michael Desa a0d6f0f1d2
Merge pull request #5248 from influxdata/fix/dependencies-sec
security: upgrade axios and lodash to verious without known vulnerabilities
2019-07-31 12:55:43 -04:00
Michael Desa 89068a3461
security: upgrade axios and lodash to verious without known vulnerabilities
Both `axios` and `lodash` are direct dependenies and therefore were
updated.

See https://github.com/influxdata/chronograf/network/alert/ui/yarn.lock/lodash/open and https://github.com/influxdata/chronograf/network/alert/ui/yarn.lock/axios/open
2019-07-31 12:38:32 -04:00
Andrew Watkins 74790c0201
fix(canned): group by database for numSeries and numMeasurment queries (#5244) 2019-07-29 13:05:27 -07:00
Christoph Tavan 115d3b89a5 Use v4 UUID instead of v1 for time series UUIDs
This uses a purely random v4 UUID instead of a time-based v1 UUID for
the time series UUIDs (which were introduced in
dba9e28fa0 and
2fba2b9721).

As far as I can tell from
b6f6118b65/server/influx.go (L91-L94)
the server uses
b6f6118b65/id/uuid.go (L15)
to generate the `response.uuid` field where clearly a v4 UUID is being
generated. Mixing this with v1 UUIDs in the client code seems odd.

v1 UUID are based on current time and the hardware MAC address of the
machine where they are being generated (although the implementation in
the npm uuid module uses generates a random fake MAC address). As such
they have much more complex semantics than v4 UUIDs which are simply
randomly generated.

Unless there's a specific requirement for the special semantics of v1
UUIDs it is simpler and less error prone to simply go for v4 UUIDs
whenever just a unique identifier is needed.
2019-07-28 08:56:41 -07:00
Christoph Tavan 039b093d18 Use v4 UUID instead of v1 for worker message IDs
This uses a purely random v4 UUID instead of a time-based v1 UUID for
the worker message IDs (which were introduced in
1a76a29ed2).

v1 UUID are based on current time and the hardware MAC address of the
machine where they are being generated (although the implementation in
the npm uuid module uses generates a random fake MAC address). As such
they have much more complex semantics than v4 UUIDs which are simply
randomly generated.

Unless there's a specific requirement for the special semantics of v1
UUIDs it is simpler and less error prone to simply go for v4 UUIDs
whenever just a unique identifier is needed.
2019-07-28 08:56:41 -07:00
Russ Savage c6f4fac67f
changing staleLabel to stale (#5239) 2019-07-26 13:37:39 -07:00
Russ Savage f5b1d8fab8
Updating stale.yml (#5236)
fixing the closeComment
2019-07-22 13:46:50 -07:00
Michael Desa b6f6118b65
Merge pull request #5233 from influxdata/feat/stale-bot
feat(.github): add stale bot config
2019-07-17 14:27:37 -04:00
Michael Desa 0f91707ce8
feat(.github): add stale bot config 2019-07-17 13:56:50 -04:00
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