Commit Graph

250 Commits (fb86889286018de6710a2fb5a73b15c699491b31)

Author SHA1 Message Date
Chris Goller 4e8e9b6cb2 Update reducers to reflect new field helper location 2017-10-17 12:42:55 -07:00
Chris Goller 1dc359e5f7 Move fields helpers into shared reducers 2017-10-17 12:42:55 -07:00
Chris Goller bcf3943125 WIP 2017-10-17 12:42:55 -07:00
Andrew Watkins d8728cb925 Update kapacitory query reducer 2017-10-17 12:42:54 -07:00
Andrew Watkins 55d29f89e3 Put add funcs to fields in one reducer function 2017-10-17 12:42:54 -07:00
Chris Goller 0c72084fd8 Update query building to new queryConfig shape 2017-10-17 12:42:54 -07:00
Chris Goller d16249fce6 Move influxql spec file to correct location 2017-10-17 12:42:54 -07:00
Andrew Watkins ac126541b8 WIP adding funcs and fields to query config v2 2017-10-17 12:42:54 -07:00
Hunter Trujillo 1be7dbbd18 WIP 2017-10-17 12:42:54 -07:00
Hunter Trujillo b6757d4dd6 WIP 2017-10-17 12:42:53 -07:00
deniz kusefoglu 921bf66dc8 add test to dashboardtoCSV 2017-10-13 15:20:23 -07:00
deniz kusefoglu 9a13240bd4 fix test 2017-10-13 13:35:58 -07:00
deniz kusefoglu 2b4a0519f7 fix tests 2017-10-13 13:26:46 -07:00
deniz kusefoglu 5a1e4d11c5 Create a seperate function to handle csv downloads from dashboard cells 2017-10-13 13:07:20 -07:00
Andrew Watkins 0565a24e0a Fix tests 2017-10-09 13:01:40 -07:00
Andrew Watkins 6cf52ff5f3 Future proof buildInfluxQL function 2017-10-09 13:01:39 -07:00
Andrew Watkins b083e2c654 Semantics 2017-10-09 13:01:39 -07:00
Andrew Watkins cb3cb0ac18 Test cleanup 2017-10-09 13:01:39 -07:00
Andrew Watkins b10b52b7d9 Test cleanup 2017-10-09 13:01:39 -07:00
Andrew Watkins 8d7d0bd254 Add number as valid type of bound 2017-10-09 13:01:38 -07:00
Andrew Watkins 59ad62686f Introduce dashboardTime normalizer 2017-10-09 13:01:38 -07:00
Andrew Watkins 6d72f7f989 Add delete and update dashTime actions and reducers 2017-10-09 13:01:37 -07:00
Andrew Watkins ad629dfe50 Change set to add 2017-10-09 13:01:37 -07:00
Andrew Watkins d9d8abc0f3 Introduce dashTime reducer v1 2017-10-09 13:01:37 -07:00
deniz kusefoglu 5310548c47 Generate a unique db self.link for use as a temp-id-key 2017-09-19 13:05:31 -07:00
deniz kusefoglu a6adf97c1d Improve testing on resultstoCSV 2017-09-12 18:45:49 -07:00
deniz kusefoglu e7b25a2bed Improve testing on resultsToCSV 2017-09-12 15:50:25 -07:00
deniz kusefoglu c94a69366b Add tests to results to CSV function 2017-09-12 14:59:03 -07:00
Jared Scheib 18e41b6703 Test client DE fill for ints and floats 2017-09-07 12:50:50 -07:00
Jared Scheib 999b1d1a14 Test updating fill to non-null-string non-number value in client DE 2017-09-07 12:49:51 -07:00
Jared Scheib 2e8e9003c1 Test for explicit fill with group by time in client DE 2017-09-07 12:43:17 -07:00
Jared Scheib b5604d8c37 Add comprehensive explicit fill test coverage 2017-09-06 11:44:22 -04:00
Jared Scheib 4543c89755 Test client explicit fill; clean up 2017-09-06 11:37:47 -04:00
Jared Scheib e551f3f55a Add client test for implicit fill null made explicit 2017-09-06 11:31:04 -04:00
Jared Scheib bd9b3ea9d5 Fix client tests w/r/t changes to defaultQueryConfig and fill 2017-09-06 11:27:16 -04:00
Andrew Watkins 6c38d9e7be Add spec 2017-08-30 14:09:24 -07:00
Andrew Watkins a97afd5a43 Fix equal min max bug 2017-08-24 10:06:09 -07:00
Hunter Trujillo e258061f1e Remove test console.log. 2017-08-18 15:35:25 -06:00
Hunter Trujillo 849bca5a75 Add template variable name selection test and reducer. Fire action on dashboard load. 2017-08-18 15:32:12 -06:00
Andrew Watkins 47b5f6cf4d Add logic to handle ranges that are submitted as equal 2017-08-03 14:28:58 -07:00
Andrew Watkins bfd4ca8a5b Test all things 2017-08-03 09:40:24 -07:00
Tim Raymond 532a6a8c48 Merge branch 'master' into feature/1602-graph-bounds-setting
Also removed LegacyBounds marshaling since it was no longer necessary

Conflicts resolved:
	bolt/internal/internal.go
	bolt/internal/internal.pb.go
	bolt/internal/internal.proto
	bolt/internal/internal_test.go
	chronograf.go
	server/cells_test.go
	server/dashboards_test.go
	server/swagger.json
2017-08-02 11:29:29 -04:00
Andrew Watkins b9bac12d88 Fix test and user submitted values check 2017-08-01 13:14:31 -07:00
Jared Scheib 3193249807 Fix Kapacitor queryConfigs tests 2017-07-24 21:56:35 -07:00
Jared Scheib 59701ef03b Fix Data Explorer tests; remove Kapa test from it 2017-07-24 21:36:14 -07:00
Andrew Watkins 15e41284e3 Handle user submitted zero 2017-07-24 11:31:32 -07:00
Andrew Watkins edebfa2cbf Save range with entire cell 2017-07-24 10:52:58 -07:00
Andrew Watkins ee7ae66a23 Hook up ranges to CEO 2017-07-24 10:52:58 -07:00
Andrew Watkins b575e9af85 Add reducer for cell range 2017-07-24 10:52:58 -07:00
Jared Scheib d6db7ee084 Merge pull request #1724 from influxdata/feature/pushover_support-1680
Add Pushover alert support
2017-07-21 14:04:22 -07:00
Jared Scheib be8b72e273 Add test for updateAlertProperty 2017-07-20 18:21:02 -07:00
Andrew Watkins e90614e33d Add cancel edit cell spec 2017-07-18 12:22:20 -07:00
Jared Scheib 7df4a6ed1a Merge branch 'master' into feature/status_page-1556 2017-06-16 17:52:16 -07:00
Luke Morris e95e0d28e7 Revert "Merge pull request #1585 from influxdata/revert-auto-func"
This reverts commit 85376edc1f, reversing
changes made to cdde4ff4dc.
2017-06-15 17:43:35 -04:00
Jared Scheib a455f87487 Test linksReceived in new links reducer 2017-06-13 16:40:13 -07:00
Hunter Trujillo bc7f75d25a Prettier tests. 2017-06-07 10:23:53 -06:00
Andrew Watkins e9d13e92c6 Comment out test 2017-06-01 16:00:05 -07:00
Andrew Watkins e2946fa39d Merge branch 'master' into feature/auto-func 2017-06-01 10:46:07 -07:00
Andrew Watkins 0cc7f0ada9 Update to better test name 2017-05-31 13:49:27 -07:00
Jade McGough 97191fb69f remove unused imports from spec 2017-05-30 14:48:42 -07:00
Jade McGough f64f7cb785 remove tests for deleted reducer strings 2017-05-30 14:36:59 -07:00
Jade McGough 84745e96f3 webpack is configured to resolve pathnames that start with shared, the src is unnecessary 2017-05-30 14:36:59 -07:00
Jade McGough b2bddadb7e properly summon technologies 2017-05-30 14:33:36 -07:00
Jade McGough 4d1d632050 add reducer tests 2017-05-30 14:33:36 -07:00
Andrew Watkins c4e00dc508 Prettier 2017-05-30 13:38:50 -07:00
Andrew Watkins 2f2899fe68 Fix multiple field selection bugs
Before applying this commit, if a user had
a field and func selected and then selected
a new field the new field would not be applied to
the query.
2017-05-30 13:36:47 -07:00
Jared Scheib bd3f17a692 Fix test to actually test the removeEvery state change 2017-05-25 14:39:42 -07:00
Jared Scheib 181cae0efe Add test for add/remove every on kapa rule 2017-05-24 17:43:55 -07:00
Alex P 6e77bba6bd Rename template control bar variable names for consistency 2017-05-23 11:43:42 -07:00
Alex P c50b300395 Write test for tempvar controls toggle 2017-05-23 11:26:46 -07:00
lukevmorris ba108269b5 Feature/varmoji dash (#1397)
* Support dashes in tempVars with two regex passes

* Rename CustomTimeRange component to CustomTimeRangeDropdown for discovery and consistency

* Update tests for template varmojis

* Give names to each step of regex multipass
2017-05-05 15:04:13 -07:00
Jared Scheib ce12d1dce7 Change default global time range to past 1 hour (#1395)
* Change default global timeRange to 1 hour

* Update changelog
2017-05-04 13:00:30 -07:00
Luke Morris 9ed030309d Repair updateDashboardCellSpec: expected dashboard now includes templates 2017-04-28 12:47:18 -07:00
Luke Morris 0678a83b7c Dashboards no longer edit individual templates 2017-04-28 12:42:49 -07:00
Andrew Watkins 8ffd8b3ce6 Update tests for new varmoji pattern 2017-04-26 13:52:10 -07:00
Alex P 228b1c7c3b Merge branch 'master' into feature/template-varmojis
The rebase to end all rebases
2017-04-25 17:06:08 -07:00
Andrew Watkins 2eb006dcbd Add spec for tempVar regex 2017-04-24 18:09:41 -07:00
Hunter Trujillo 51cde6c270 PUT to Template Variable API works. 2017-04-24 13:49:50 -06:00
Hunter Trujillo 9e56b9776c Fix TVM UX flow issue with a React lifecycle antipattern; make TVM editing mode consistent 2017-04-21 19:52:01 -06:00
Jared Scheib b890f22ca6 Add test for selectTemplate, update spec fixtures 2017-04-20 18:11:55 -07:00
Andrew Watkins 068119d563 Add editTemplate test and action / update tests 2017-04-19 14:46:26 -07:00
Jared Scheib 6b62cb1b87 Add test for ME_RECEIVED 2017-04-17 12:24:43 -07:00
Jared Scheib f62c4b1ba2 Add test for AUTH_RECEIVED 2017-04-17 12:22:30 -07:00
Jared Scheib 91fa4c4111 Add test for AUTH_REQUESTED 2017-04-17 12:19:51 -07:00
Jared Scheib dff050e7ff Add auth test for AUTH_EXPIRED 2017-04-17 12:17:45 -07:00
Jared Scheib a02e64d3d2 Add test for errors reducer; update errors reducer to clearer data shape 2017-04-17 11:54:11 -07:00
Hunter Trujillo b3ac581033 Parse raw text with queries endpoint to update builder when a query is updated. 2017-04-10 12:01:36 -06:00
Hunter Trujillo 17a76655c9 Merge branch 'feature/structured-queries' of github.com:influxdata/chronograf into feature/voltron-the-builder 2017-04-10 10:28:12 -06:00
Andrew Watkins 06bbccc97f Lint tests 2017-04-10 10:21:07 -06:00
Chris Goller d2c7c74238 Merge branch 'master' into feature/structured-queries
Conflicts:
	Godeps
	LICENSE_OF_DEPENDENCIES.md
	server/mux.go
	server/routes.go
	ui/.eslintrc
2017-04-07 16:06:24 -05:00
Andrew Watkins df8df31834 Fix ghost dashboards (#1186)
* Fix ghost dashboards

* Remove dashboard key from reducer

* Remove dashboard key from state

* Update CHANGELOG
2017-04-05 15:19:36 -07:00
Andrew Watkins 41ef10f227 Pew Pew ; 2017-04-04 14:46:55 -07:00
Andrew Watkins cf8b8588b3 Introduce editRawQueryStatus action 2017-04-03 13:08:00 -07:00
Andrew Watkins c6989c3694 Refactor tests 2017-03-31 12:22:03 -07:00
Andrew Watkins 8c51f7f864 Add tests 2017-03-31 10:57:00 -07:00
Andrew Watkins 94f6cd171d Fix tests for new approach 2017-03-30 18:40:37 -07:00
Andrew Watkins 179478e97a Lint fix all tests 2017-03-30 15:57:33 -07:00
Andrew Watkins 1f9c8ae1ea Remove series highlighting 2017-03-30 15:57:33 -07:00
Jared Scheib 012c0fbbdd Add tests for deleteDashboard and deleteDashboardFailed 2017-03-28 20:03:33 -07:00
lukevmorris 48de1a95d3 Persist and render Dashboard Cell groupby queries (#1092)
* Rename selectStatement to buildInfluxQLQuery

* Moved `influxql/select` to `utils/influxql`

* Replace `buildQuery` with `buildInfluxQLQuery` util function

* Retain GROUP BY clause when saving cell query

* Revert "Replace `buildQuery` with `buildInfluxQLQuery` util function"

This reverts commit d932d99bfa0de54d07be4b42cc13d1b34fbe950b.

* Build DashboardCell queries with buildInfluxQLQuery util

Retain old LayouRenderer.buildQuery functionality for
canned dashboards, and anything else that isn’t using
the queryConfig schema. Rename this function to make
it clear that it is legacy behavior, and that it 
should not be a dependency of any new code.

* Update CHANGELOG
2017-03-28 11:02:49 -07:00