Commit Graph

9062 Commits (7f4dde6d3aed7de79caf966ec52d0c00b764625e)

Author SHA1 Message Date
Pavel Zavora a1370bdf8e chore(tests): update snapshot 2021-03-08 19:23:25 +01:00
Pavel Zavora bdfbd3acc7 chore(typescript): improve type safety 2021-03-08 18:41:08 +01:00
Pavel Zavora 82b5e1fdce chore(typescript): improve type safety 2021-03-08 18:04:42 +01:00
Pavel Zavora 4310988573 chore(typescript): improve type safety 2021-03-08 17:31:08 +01:00
Pavel Zavora bd5388a5c6 chore(ui): add top-level package and files for vs.code 2021-03-08 14:21:19 +01:00
Pavel Zavora 1a20805b10 chore(eslint): use options that match the code 2021-03-08 13:09:33 +01:00
Pavel Zavora 7d38d4c25a chore(prettier): use arrowParens that matches the code 2021-03-08 13:09:02 +01:00
Pavel Zavora df526edf7a chore(prettier): apply updated prettier 2021-03-08 12:54:50 +01:00
Pavel Zavora b895a2a133 chore(prettier): use arrow-parens: avoid in src js 2021-03-08 12:49:10 +01:00
Pavel Zavora 96a095f6f3 chore(prettier): apply to test ts 2021-03-08 12:47:41 +01:00
Pavel Zavora 0f2157713e chore(prettier): apply to test tsx 2021-03-08 12:47:13 +01:00
Pavel Zavora 50303be6ab chore(prettier): apply to src/tsx 2021-03-08 12:46:37 +01:00
Pavel Zavora e1b9589a28 chore(prettier): use arrow-parens: avoid 2021-03-08 12:45:09 +01:00
Pavel Zavora 05dad39a04 chore(prettier): apply arrow parens rule to ts test files 2021-03-08 12:34:19 +01:00
Pavel Zavora d0560bf364 chore(prettier): apply arrow parens rule to ts files 2021-03-08 12:29:44 +01:00
Pavel Zavora 3cba843aea chore(babel): upgrade to 7.4.0 2021-03-08 11:10:52 +01:00
Pavel Zavora 17f43aae6f chore(eslint): add eslint typescript libs 2021-03-08 11:09:20 +01:00
Pavel Zavora f3f3b6e27e chore(prettier): require arrow parens in tests 2021-03-08 10:31:13 +01:00
Pavel Zavora 654619e136 chore(eslint): remove unused variable 2021-03-08 10:27:25 +01:00
Pavel Zavora ac755d3e21 chore(eslint): disable specific no-prototype-builtins 2021-03-08 10:24:10 +01:00
Pavel Zavora 9a15a67fd6 chore(prettier): repair indentation 2021-03-08 10:22:36 +01:00
Pavel Zavora b30c348db7 chore(eslint): disable false no-unused-vars error 2021-03-08 10:21:53 +01:00
Pavel Zavora fd6e6e8b87 chore(eslint): ignore specific use of no-prototype-builtins 2021-03-08 10:18:48 +01:00
Pavel Zavora ae4b378a69 chore(eslint): remove useless try/catch 2021-03-08 10:15:25 +01:00
Pavel Zavora 9380c1583d chore(prettier): require arrow parens in js files 2021-03-08 10:13:03 +01:00
Pavel Zavora 6b1d09ad08 chise(eslint): specify react version 2021-03-08 10:12:12 +01:00
Pavel Zavora 36745b50e6 chore(prettier): require arrow parens 2021-03-08 10:11:56 +01:00
Pavel Zavora 3ff0d63b4e chore: repair tsc issues 2021-03-08 09:46:56 +01:00
Pavel Zavora 8024bd769e chore: remove ts-lint, upgrade eslint, jest, prettier 2021-03-08 09:44:26 +01:00
Pavel Zavora 815d8a8c56 chore: remove jest-runner-tslint 2021-03-08 08:53:26 +01:00
Pavel Zavora 4014b9929e chore: upgrade jest-runner-eslint 2021-03-08 08:49:51 +01:00
Pavel Zavora 90f204cb6d chore: repair eslint:recommended errors 2021-03-08 08:22:57 +01:00
Pavel Zavora d293a540b5 chore: add eslint:recommended 2021-03-08 08:22:08 +01:00
Pavel Zavora 12af197367 feat(ui/explorer): add EXPLAIN ANALYZE meta query template 2021-03-05 16:10:26 +01:00
Pavel Zavora e2222b0df0 feat(ui/explorer): add EXPLAIN meta query template 2021-03-05 16:10:26 +01:00
Pavel Zavora f339d71826 feat(ui/explorer): add SHOW SHARD GROUPS meta query template 2021-03-05 16:10:26 +01:00
Pavel Zavora e4ded3cd04 feat(ui/explorer): add SHOW SHARDS meta query template 2021-03-05 16:10:26 +01:00
Pavel Zavora 82cb545595 feat(ui/explorer): add SHOW GRANTS meta query template 2021-03-05 16:10:26 +01:00
Pavel Zavora 7d7cca063d feat(ui/explorer): add SHOW QUERIES meta query template 2021-03-05 16:10:26 +01:00
Pavel Zavora 9058605e44 feat(ui/explorer): add SHOW SUBSCRIPTIONS meta query template 2021-03-05 16:10:26 +01:00
Pavel Zavora 993b938b83 feat(ui/explorer): add SHOW FIELD KEYS meta query template 2021-03-05 16:10:26 +01:00
Pavel Zavora ebcd5aada1 fix(ui): exclude _start and _stop from tags 2021-03-05 06:18:59 +01:00
Pavel Závora fd68352c57
Merge pull request #5683 from influxdata/5544/logs_databases_stale
fix(ui): repair stale database list in Log Viewer
2021-03-05 06:18:16 +01:00
Pavel Zavora a261ec78ef fix(ui): repair stale database list in Log Viewer 2021-03-05 05:35:21 +01:00
Pavel Zavora 032ab669e3 chore: allow to clear local storage with ?clearLocalStorage location query 2021-03-05 05:35:21 +01:00
Pavel Zavora c6d30a6ab0 feat(ui/logs): allow to show histogram from logs filter bar 2021-03-05 05:33:31 +01:00
Pavel Zavora e2271db327 feat(ui/logs): allow to show histogram from configuration options 2021-03-05 05:33:31 +01:00
Pavel Zavora 7a4aa08f71 feat(ui): hide log viewer graph when ?table query param 2021-03-05 05:33:31 +01:00
Pavel Zavora 9f27b6b381 chore: appease linter 2021-03-04 21:49:02 +01:00
Pavel Zavora ea8cc8e420 fix(ui): generate correct flux property expressions 2021-03-04 21:49:02 +01:00
Pavel Zavora e9e5ba6593 fix(ui/flux): add helper that creates flux property expression 2021-03-04 21:49:02 +01:00
Pavel Závora 356520192d
Merge pull request #5679 from influxdata/5657/kapacitor_logs_cleanup
fix(ui/kapacitor): dispose log stream when Tickscript editor page is closed
2021-03-04 21:47:50 +01:00
Pavel Zavora 0984dd8254 fix(ui/kapacitor): dispose log stream when Tickscript page is closed 2021-03-04 21:27:12 +01:00
Pavel Zavora 4890836719 feat(ui/kapacitor): allow to cancel log stream 2021-03-04 21:27:12 +01:00
Pavel Zavora db92685754 chore: make topologicalSort type safe 2021-03-04 21:21:34 +01:00
Pavel Zavora 94374ec803 chore: make getDependencyNames type safe 2021-03-04 21:21:34 +01:00
Pavel Zavora c674082fb0 chore: make columnServerToUI type safe 2021-03-04 21:21:34 +01:00
Pavel Zavora 05a7987fab chore: fix return value of writeLineProtocol fn 2021-03-04 21:21:34 +01:00
Pavel Zavora 6a22a62ffb chore: remove usage of wrong global constant 2021-03-04 21:21:34 +01:00
Pavel Zavora f0719c74de feat(ui): upgrade to typescript 4.2.2 2021-03-04 21:21:34 +01:00
Pavel Zavora 3a984d68b3 chore: update changelog 2021-03-04 21:04:39 +01:00
Pavel Zavora c562e728ea fix(ui): return null dygraph data for influxQL meta queries 2021-03-04 21:01:54 +01:00
Pavel Zavora 2e9ec581f5 fix(worker): log also worker message in case of error 2021-03-04 21:01:54 +01:00
Pavel Závora 8d7a54c373
Merge pull request #5677 from influxdata/5676/event_handler_config_link
fix(ui): open event handler config from link hash
2021-03-04 20:58:34 +01:00
Pavel Závora 03a0160839
Merge pull request #5673 from influxdata/5670/rich_tooltip
feat(ui): add documentation link when 1.8 flux is not installed
2021-03-04 20:57:44 +01:00
Pavel Zavora d13dfa6661 chore: improve comments 2021-03-02 14:40:38 +01:00
Pavel Zavora b44c5e883e chore: add comments 2021-03-01 13:35:25 +01:00
Pavel Zavora 88fcef8fb5 fix(ui): open supplied event handler config 2021-02-28 13:49:56 +01:00
Pavel Zavora 98dce9eff8 feat(kapacitor): add serviceNow alert UI 2021-02-26 19:06:19 +01:00
Pavel Zavora 98dd818ec5 feat(kapacitor): workaround kapacitor#2488 2021-02-26 18:59:34 +01:00
Pavel Zavora 3254819e0d feat(kapacitor): map serviceNow rule type to _type to avoid conflict 2021-02-26 18:47:33 +01:00
Pavel Zavora 00d181fa25 feat(kapacitor): add ServiceNow configuration 2021-02-26 09:23:28 +01:00
Pavel Zavora 153068f8c9 chore: appease linter 2021-02-25 11:47:46 +01:00
Pavel Zavora 2a7bec5a3f feat(ui): show link to 1.8 flux installation 2021-02-25 11:30:54 +01:00
Pavel Zavora 0571bcf844 feat(ui): allow to move over tooltip area 2021-02-25 11:09:36 +01:00
ivankudibal eb8728e2fe chore: prepare for 1.8.10 release 2021-02-08 16:52:11 +01:00
Pavel Závora 4afc61e546
Merge pull request #5648 from influxdata/5351/send_to_dashboard
fix(ui/explore): repair Send to Dashboard functionality
2021-02-01 07:55:57 +01:00
Pavel Závora 099eaeccf2
Merge pull request #5655 from influxdata/sec/axios_0_21_1
fix(ui): upgrade axios to fix CVE-2020-28168
2021-02-01 07:55:41 +01:00
Pavel Závora d4fe71ea1d
Merge pull request #5656 from influxdata/3839/log_viewer_exact_timestamp
fix(ui/logs): show timestamp with full nanosecond precision
2021-02-01 07:55:21 +01:00
Pavel Zavora 3deb6ae96d chore(ui): make onMetaQuerySelected required 2021-01-23 07:19:15 +01:00
Pavel Zavora 39dc15f810 feat(explorer): pause refresh on meta query selection 2021-01-21 15:28:23 +01:00
Pavel Zavora 3a848e20e4 chore(explorer): improve message informing about no results 2021-01-21 13:29:28 +01:00
Pavel Zavora 4b3647a294 chore: appease linter 2021-01-21 11:40:55 +01:00
Pavel Zavora dfd8e0e1a2 feat(explorer): add more metaquery templates 2021-01-21 11:26:50 +01:00
Pavel Zavora c9f77f699e fix(ui/logs): show timestamp hint with nanosecond time 2021-01-06 14:47:35 +01:00
Pavel Zavora af62b6da6b feat(ui/log): reconstruct nanosecond timestamp in original precision 2021-01-06 14:05:29 +01:00
Pavel Zavora b04092db6f feat(ui/log): query nanosecond fraction of timestamp 2021-01-06 13:59:24 +01:00
Pavel Zavora fbbee7cfe3 feat(ui): support infix functions when building select statement from configuration 2021-01-06 13:57:09 +01:00
Pavel Zavora 8134af0a74 fix(ui): upgrade axios to fix CVE-2020-28168 2021-01-05 14:31:47 +01:00
Pavel Zavora 177361c587 chore: appease linter 2020-12-21 14:45:28 +01:00
Pavel Zavora 2cf6e1f330 fix(ui/logs): show refreshed visible time interval 2020-12-21 14:07:58 +01:00
Pavel Zavora d6d6b282d6 fix(ui/logs): limit the loop of log fetches to at most 10 empty cycles 2020-12-21 14:05:30 +01:00
Pavel Závora 09aa0d5f1e
Merge pull request #5646 from influxdata/5645/dashboard_vars_consistency
fix(ui/dashboard): repair import to remap also sources in variables
2020-12-17 13:50:35 +01:00
Pavel Závora c93d7a5bcb
Merge pull request #5642 from influxdata/5531/list_databases
fix(server): ignore databases that cannot be read
2020-12-17 13:49:40 +01:00
Pavel Zavora eaebc78576 fix(ui/explore): show why send to dashboard cannot work 2020-12-17 13:36:27 +01:00
Pavel Zavora 4102a306c4 fix(ui/explore): repair send to dashboard functionality 2020-12-17 12:53:15 +01:00
Pavel Zavora 4a1d686b64 chore(ui/explorer): improve log message upon error in show retention policies 2020-12-16 09:23:52 +01:00
Pavel Zavora 0d794d92bf fix(ui/admin/queries): show queries for databases that can be read 2020-12-16 08:39:03 +01:00
Pavel Zavora 9bd4c82293 fix(ui/dashboard): repair import to remap sources in variables 2020-12-15 17:17:09 +01:00
Pavel Zavora 92553b4e8b fix(ui/dashboard/variables): fallback to current source if a specific source is not available 2020-12-15 16:00:21 +01:00
Pavel Zavora 94a18bd073 fix(ui): do not schedule next operations on unmounted LogsPage 2020-12-14 19:48:46 +01:00
dependabot[bot] cd90fce30b
chore(deps): bump ini from 1.3.5 to 1.3.7 in /ui
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-10 20:48:37 +00:00
ivankudibal 4e8c2f20b6 chore: prepare for 1.8.9.1 release 2020-12-10 21:01:42 +01:00
Pavel Zavora ad2eda7483 fix(ui): repair Flux Script Wizard to use Flux also for InfluxDB v1 2020-12-10 15:47:37 +01:00
Pavel Zavora ae1bb41c21 fix(ui): use buckets() in v1 flux to get database list 2020-12-10 15:22:17 +01:00
Pavel Zavora e8aaca1609 fix(ui): avoid infinite loading of suggested protoboards 2020-12-09 14:50:20 +01:00
Pavel Zavora 51382c510f feat(ui/FluxScriptWizard): load data only if the wizard is opened 2020-12-08 05:36:46 +01:00
Pavel Zavora cc81dfd16c feat(ui/flux): improve error handling 2020-12-08 05:21:06 +01:00
Pavel Zavora 9f60157e4d fix(ui/FluxScriptWizard): Do not fetch measurements when database is not known 2020-12-08 04:38:57 +01:00
Pavel Zavora ffa405d738 feat(ui/explorer/flux): use flux to determine InfluxDB v2 schema 2020-12-07 19:24:30 +01:00
Pavel Zavora fb146bf892 chore: improve code 2020-12-07 10:19:00 +01:00
Pavel Zavora 07ef7c4a41 chore: refactor to isV2Auth function 2020-12-07 10:09:55 +01:00
Pavel Zavora 7bf62d22ad feat(ui): reset username and password upon changed authentication scheme 2020-12-07 09:41:12 +01:00
Pavel Zavora b445c511e0 feat(ui): inform about disabled Flux for v2 server 2020-12-07 09:11:50 +01:00
Pavel Zavora 04b0817ec1 feat(ui): allow to control InfluxDB v2 type during configuration of InfluxDB connection 2020-12-07 08:40:29 +01:00
Pavel Zavora 16e2fcdb0d fix(ui): do not load admin data for v2 sources 2020-12-07 04:56:53 +01:00
ivankudibal 3b2ac592e7 chore: prepare for 1.8.9 release 2020-12-04 06:49:43 +01:00
Pavel Zavora 1bd1ab5245 fix(ui): repair visual comparison with time variables 2020-12-03 11:30:07 +01:00
Pavel Zavora 04652f7a8a chore(ui): remove deprecated react SFC type 2020-12-03 07:00:14 +01:00
Pavel Zavora 297c51a810 fix(duration): repair relative computation of multiple ranges 2020-12-02 15:15:59 +01:00
Pavel Závora 98a3b928d3
Merge pull request #5619 from influxdata/feat/v2_flux
feat: support flux against InfluxDB v2 sources
2020-12-02 12:02:00 +01:00
Pavel Závora cdba456808
Merge pull request #5618 from influxdata/5614/influxdb_v2_support
fix(ui): disable InfluxDB admin page if administration is not possible
2020-12-02 12:01:36 +01:00
Pavel Závora be6b9e9216
Merge pull request #5613 from influxdata/5561/alert_rule
fix(alert rule): warn about unsupported data
2020-12-02 12:00:57 +01:00
Pavel Zavora dc77d5505f chore: appease linter 2020-11-30 09:19:15 +01:00
Pavel Zavora 19d3322edb feat(ui): assume source 1.x by default 2020-11-30 07:37:33 +01:00
Pavel Zavora 62e76072b0 feat(ui): add InfluxDB v2 checkbox to source step 2020-11-30 07:35:34 +01:00
Pavel Zavora f4db32d8a1 feat(ui): use organization and token labels during InfluxDB v2 setup 2020-11-24 19:57:27 +01:00
Pavel Zavora de61da74ea fix(v2): disable administration for v2 connections 2020-11-24 18:02:03 +01:00
Pavel Zavora cf70afb7ac fix(alert rule): warn about unsupported data 2020-11-18 17:01:35 +01:00
Pavel Zavora ceabe677fa fix(ui): avoid blinking during dashboard refresh 2020-11-11 09:50:51 +01:00
Pavel Zavora de2a15906a fix(ui): propagate network failure 2020-11-11 09:43:47 +01:00
ivankudibal 5c1aac9ebb chore: prepare for 1.8.8 release 2020-11-04 12:50:25 +01:00
Pavel Zavora 80c7d9fd36 fix(ui): export CSV with a time column formatted according to selected time zone 2020-10-29 20:05:39 +01:00
Pavel Zavora ba5744cb5f fix(ui): respect selected timezone in range picker 2020-10-29 20:04:40 +01:00
Pavel Zavora 17a5f33826 fix(css): use default color for a disturbing (white) CodeMirror-gutter-filler 2020-10-29 20:02:13 +01:00
Pavel Zavora d8d8469b5b fix(tickscript): repair editor scrolling 2020-10-29 20:02:13 +01:00
Pavel Zavora 0d9addb1d3 fix(dashboard): don't truncate dashboard name with lots of room 2020-10-29 19:59:41 +01:00
Pavel Závora 0c4ba74f04
feat(kapacitor/opsgenie2): add recovery action (#5595) 2020-10-29 19:50:04 +01:00
ivankudibal 597f1c2379 chore: prepare for 1.8.7 release 2020-10-06 21:44:36 +02:00
Pavel Zavora 4458bad2cb fix(ui): upgrade papaparse to 5.3.0 2020-10-05 08:12:47 +02:00
Ivan Kudibal 140e69960f
Merge branch 'master' into 5581/alerta_token-prefix 2020-09-29 21:32:51 +02:00
Ivan Kudibal 268d039d95
Merge branch 'master' into 5571/tableGraph_vertical_scroll 2020-09-29 21:30:11 +02:00
Ivan Kudibal d5a27f07cf
Merge pull request #5579 from influxdata/5567/disable_dashboard_auto_refresh
fix(ui): disable default dashboard auto refresh
2020-09-29 21:27:59 +02:00
Pavel Zavora 7993ffcfdb feat(kapacitor): add token-prefix to alerta configuration 2020-09-24 14:46:08 +02:00
Pavel Zavora 2a577dc9d2 fix(ui/TableGraph): make vertical scroll bar visible when rows overflow 2020-09-24 09:17:02 +02:00
Pavel Zavora 7a26fd19f8 fix(ui): disable default dashboard auto refresh 2020-09-22 17:39:25 +02:00
Pavel Zavora da16498bb5 chore(ui): upgrade node to v12 2020-09-22 12:16:12 +02:00
Pavel Závora f2627ee939
Merge pull request #5568 from influxdata/dependabot/npm_and_yarn/ui/static-eval-2.1.0
chore(deps): bump static-eval from 2.0.0 to 2.1.0 in /ui
2020-09-22 11:45:39 +02:00
dependabot[bot] 50354cd5da
chore(deps): bump http-proxy from 1.17.0 to 1.18.1 in /ui
Bumps [http-proxy](https://github.com/http-party/node-http-proxy) from 1.17.0 to 1.18.1.
- [Release notes](https://github.com/http-party/node-http-proxy/releases)
- [Changelog](https://github.com/http-party/node-http-proxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/http-party/node-http-proxy/compare/1.17.0...1.18.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-09 09:39:49 +00:00
dependabot[bot] 1417e2971d
chore(deps): bump static-eval from 2.0.0 to 2.1.0 in /ui
Bumps [static-eval](https://github.com/browserify/static-eval) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/browserify/static-eval/releases)
- [Changelog](https://github.com/browserify/static-eval/blob/master/CHANGELOG.md)
- [Commits](https://github.com/browserify/static-eval/compare/2.0.0...v2.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-02 16:59:57 +00:00
ivankudibal 98cf421465 chore: prepare for 1.8.6 release 2020-08-26 21:11:00 +02:00
Pavel Závora 33ff2fc46a
Merge branch 'master' into 5481/log_bool_values 2020-08-24 16:04:46 +02:00
Pavel Zavora bda4e6935a chore: update changelog 2020-08-22 08:30:57 +02:00
Pavel Zavora 8a44bd5b23 fix(ui): don''t override existing table data of the same time #5502 2020-08-22 08:30:57 +02:00
Pavel Zavora cd6e2443a1 fix(ui): show also bool tag/field values in tickscript editor logs #5481 2020-08-22 08:30:10 +02:00
Pavel Závora df1be15398
Merge branch 'master' into 5489/escape_tag_value_in_query 2020-08-22 07:53:10 +02:00
Pavel Závora 1603bbadd5
Merge pull request #5551 from influxdata/5374/sortByDBAndRP
fix(ui): sort namespaces by database and retention policy #5374
2020-08-22 07:52:10 +02:00
Pavel Závora 155a56089d
Merge pull request #5549 from influxdata/dependabot/npm_and_yarn/ui/elliptic-6.5.3
chore(deps): bump elliptic from 6.4.1 to 6.5.3 in /ui
2020-08-19 07:23:00 +02:00
Pavel Zavora f9bf588186 chore: appease linter 2020-08-04 11:31:09 +02:00
Pavel Zavora be62cc3342 fix(ui): escape tag values in query builder 2020-08-04 11:11:58 +02:00
Pavel Zavora 1c6e055c3d fix(ui): sort namespaces by database and retention policy #5374 2020-08-03 15:38:14 +02:00
dependabot[bot] fa2526981a
chore(deps): bump elliptic from 6.4.1 to 6.5.3 in /ui
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.4.1 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.4.1...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-30 20:55:31 +00:00
dependabot[bot] aff0e058af
chore(deps): bump lodash from 4.17.15 to 4.17.19 in /ui
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-17 11:12:55 +00:00
ivankudibal 6b7e6cb1a0 chore: prepare for 1.8.5 release 2020-07-08 11:59:54 +02:00
vlastahajek 3aed6126ef chore: fix review comment 2020-07-07 17:33:41 +02:00
Vlasta Hajek 6e5994358c
Merge branch 'master' into fix/zoom_stop_presenting 2020-07-07 13:32:21 +02:00
vlastahajek 7b82ec3c45 fix: making each csv.from unique (#5523) 2020-07-02 17:31:04 +02:00
vlastahajek b9e11edcff Merge branch 'master' into fix/zoom_stop_presenting 2020-06-26 15:52:48 +02:00
vlastahajek fb8f7ad8a9 fix: prevent leaving presentation mode when zooming (#5382) 2020-06-26 15:52:15 +02:00
Pavel Zavora 18747adcc5 chore: apply review comments 2020-06-25 06:03:15 +02:00
Pavel Zavora c1dca1c8d5 fix(worker/timeSeriesToTableGraph): add test 2020-06-25 06:03:15 +02:00
Pavel Zavora 87f40fd9e5 fix(tableGraph): ensure unique column names when merging multiple query responses 2020-06-25 06:03:15 +02:00
Pavel Zavora 763ed3a160 fix(explorer/tableView): make errors visible 2020-06-25 06:03:15 +02:00
Pavel Závora 3fe08e6b71
Merge pull request #5517 from influxdata/5472/logsFallbackToPointTime
fix(logs): fall back to point timestamp
2020-06-22 22:57:41 +02:00
Pavel Zavora 5acc21c2cb chore: apply review comments 2020-06-22 21:15:08 +02:00
Pavel Závora 24a7294284
Merge pull request #5516 from influxdata/5343/rule_validation
fix(kapacitor/alert): accept valid templates
2020-06-22 21:10:22 +02:00
Pavel Zavora 9639fc469b fix(dashboard): avoid undefined error when dashboard is not ready yet 2020-06-21 10:22:14 +02:00
Pavel Zavora 1f9ff096df chore: lint 2020-06-19 08:15:11 +02:00
Pavel Zavora 798e588cc9 fix(logs): fall back to point timestamp #5472 2020-06-19 07:43:55 +02:00
Pavel Zavora de96add671 fix(kapacitor/alert): accept valid templates #5343 2020-06-18 08:58:07 +02:00
Vlasta Hajek b1138fdb43
Merge branch 'master' into fix/reedit-issue 2020-06-17 19:00:58 +02:00
Pavel Zavora c61e25171b fix(kapacitor): change routing paths of kapacitor rules to include kapacitor ID 2020-06-17 05:04:51 +02:00
vlastahajek deca4f8450 fix: Avoiding passing invalid number to Grid (#5476) 2020-06-16 16:22:39 +02:00
Pavel Zavora 6a390479d0 fix(kapacitor/alert): support .Time.Unix message validation #5492 2020-06-16 06:54:22 +02:00
Pavel Závora 0d73bf57f0
fix(ui): report worker errors, better parse flux CSV results (#5506)
* chore(ui): log error in worker to trace errors

* fix(ui): repair parsing of flux results to support influxdb 1.8.0
2020-06-15 08:23:08 -07:00
Pavel Zavora f0cd243f01 fix(ui/kapacitor): repair tickscript editor in FF 2020-06-15 08:22:39 -07:00
Pavel Zavora 7edae1be4d fix(dashboard): keep table sorting on refresh 2020-06-15 08:22:27 -07:00
Bucky Schwarz 86f6051776
chore: prepare for 1.8.4 release 2020-04-30 10:22:13 -07:00
Bucky Schwarz 82ec443eec fix: table graph panels should be aligned when scrolling 2020-04-29 06:28:54 -07:00
Bucky Schwarz baac7cf4ec
chore: prepare for 1.8.3 release 2020-04-23 15:56:51 -07:00
Bucky Schwarz 88836fc062
chore: 1.8.2 release preparation 2020-04-13 15:13:24 -07:00
Ariel Salem c8ba74b441
Fix/table sizing issue (#5442) 2020-04-09 09:16:13 -07:00
Russ Savage 9d61f8fea9
fix(fluxFunctions): updated for flux v65 (#5443) 2020-04-09 08:51:40 -07:00
Bucky Schwarz ae637397b8
chore: prepare for release 2020-04-06 11:56:52 -07:00
odalet 7e533b045b
chore(ui): removed duplicated types + invalid import (#5436) 2020-04-03 10:15:18 -07:00
asalem 2c56ae82f7 fix(ui): updated PR to stylize fix a bit more 2020-03-24 06:26:50 -07:00
asalem db56cd679b chore(ui): fixed lint errors and updated CHANGELOG 2020-03-23 06:03:59 -07:00
asalem d1b0fbb12b fix(ui): fixed table bug that was forcing long values to one line 2020-03-22 06:21:45 -07:00
Russ Savage 8e54ea1f78
feat(fluxFunctions): updates for latest flux lib (#5426)
* feat(fluxFunctions): updates for latest flux lib

* chore(changelog): update for flux functions

* fix(fluxFunctions): updating urls

* fix(fluxFunctions): rename buckets param, tslint

* fix(fluxFunctions): remove v.windowPeriod

* added experimental csv.from function

Co-authored-by: Scott Anderson <scott@influxdata.com>
2020-03-18 14:54:09 -07:00
Greg d046840086
fix: handle change to news feed data structure (#5420) 2020-03-13 17:17:24 -06:00
Bucky Schwarz f629d5848c fix: update logic to work properly with existing template variables 2020-02-18 13:34:25 -08:00
Bucky Schwarz e6ce54b6c7 fix(ui): properly run the query when creating template variables 2020-02-18 13:34:25 -08:00
Bucky Schwarz 5460a90c76 fix: changing source database should rerun query but keep options 2020-02-13 14:41:38 -08:00
Bucky Schwarz 1cc985b952 fix: add optional zIndex property to source dropdown 2020-02-13 14:41:38 -08:00
Greg 80d18ee90d
feat: add flag to redirect login page to specified OAuth IdP (#5380)
Co-Authored-By: Bucky Schwarz <hoorayimhelping@users.noreply.github.com>
2020-02-13 11:37:41 -07:00
Russ Savage 1ce8806b8e feat: add flag to disable host list page 2020-02-10 13:50:28 -08:00
Bucky Schwarz fff7836818 feat(ui): Template variables can now select their source database 2020-02-06 13:10:41 -08:00
greg linton 67776112d1 fix: use influxdata url that happens to have the correct cors headers 2020-02-04 15:44:59 -07:00
dependabot[bot] 749ebf76f2 chore(deps): bump handlebars from 4.0.12 to 4.5.3 in /ui
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.0.12 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.0.12...v4.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-01-31 13:37:53 -08:00
greg linton 022b845f2c fix: revert objectification of the id 2020-01-31 14:35:39 -07:00
greg linton 6535a58818 chore: run eslint fix 2020-01-31 14:35:39 -07:00
greg linton beac7900c4 fix(tests): update tests to use string ids 2020-01-31 14:35:39 -07:00
greg linton b4e3792984 fix: update api to serve dashboard ids as a string
- state type of dashboard id as string in ui
- remove dangerous idNormalizer (converts numbers to strings and visa versa)

Thanks bucky (hoorayimhelping)
2020-01-31 14:35:39 -07:00
Timmy Luong dab3f8dca7
feat(ui): add query parameter for autofresh option in dashboards (#5348)
* feat(ui): add query parameters for autofresh option in dashboards

* fix(ui): fix tests, lint, and refresh functionality of components; update CHANGELOG

* fix(ui): update handler

* feat(ui): allow url parameter to update dashboard autorefresh rate

* fix(ui): improve reducer performance and other minor issues
2020-01-14 16:14:25 -08:00
Bucky Schwarz a1f6162508 fix: log viewer uses a default if the mapped severity doesn't exist 2020-01-09 14:23:59 -08:00
Bucky Schwarz 5f77cda1c6
Merge branch '1.7.x' 2020-01-08 11:54:43 -08:00
Bucky Schwarz fdab763e39
chore: update changelog and bump minor version to 1.7.17 2020-01-08 11:54:33 -08:00
Bucky Schwarz 47890b6d98
fix: allow logging out when using Ouath 2020-01-08 11:51:19 -08:00
Bucky Schwarz 0568cac040 fix: allow logging out when using Ouath 2020-01-02 13:43:58 -08:00
Bucky Schwarz 74cd98a516 chore: upgrade go and node-sass dependencies 2020-01-02 12:48:40 -08:00
Michael Desa 7689dd7db4
chore: update changelog and bump minor version to 1.7.16 2019-12-19 13:49:14 -08:00
Michael Desa a88e6fb107
Merge branch 'master' into 1.7.x 2019-12-19 13:47:22 -08:00
Michael Desa ca6aaca1df
fix(defaultQueryConfig): if in rule remove upper dashboard time (#5336) 2019-12-19 13:46:19 -08:00
Bucky Schwarz dc03bbec5c fix(ui): use the the available y-axis label 2019-11-26 09:58:18 -08:00
Michael Desa adef73900c
fix(schema-explorer): update the flux schema explorer to use v1 package (#5323)
Closes https://github.com/influxdata/chronograf/issues/5316
2019-11-22 09:01:43 -05:00
Michael Desa acc1a6834f
chore: update changelog and versions for 1.7.15 2019-11-12 18:42:10 -05:00
Russ Savage 0b0e4b8bf0
feat(flux): updated functions list for latest flux (#5310)
* feat(flux): updated functions list and insert

* fix(functions): updating the urls

* feat(changelog): update changelog
2019-11-08 13:13:52 -08:00
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
Andrew Watkins 720782d118
fix: boolean joins for tag key / value pairs (#5307) 2019-11-06 16:17:17 -08: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 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
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
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
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
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
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