Commit Graph

2622 Commits (d65c10ac4da55c50edd69fa310dabad67187339a)

Author SHA1 Message Date
Hunter Trujillo d65c10ac4d Update Changelog #1209. 2017-04-06 12:35:33 -06:00
Hunter Trujillo bdb895eec2 Fix HipChat placeholder typo. 2017-04-06 12:27:32 -06:00
Hunter Trujillo 70067efd77 Template HipChat subdomain into URL. Pull subdomain out when loading Kapacitor sections into UI. 2017-04-06 12:27:09 -06:00
lukevmorris e1cd82cf1d Move Rename Cell functionality to ContextMenu dropdown; Restyle cell header (#1199)
* Experiments

* Attach Cell Renaming to NameableGraph ContextMenu option

* Polish styles for Cell Name input field + draggable state

* Update CHANGELOG
2017-04-06 10:37:40 -07:00
Andrew Watkins 70bbff45c9 Merge pull request #1198 from influxdata/1196-repair-dashboard-layout-changes
Repair Dashboard Layout Changes
2017-04-06 10:57:47 -06:00
Luke Morris c6f91b77a0 handleUpdatePosition matches handleRenameDashboard 2017-04-05 17:33:55 -07:00
Andrew Watkins 2f636a9fc2 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
Hunter Trujillo 9e029ddf9c Merge pull request #1189 from influxdata/bugfix/1146-click-outside-graph-name
Prevent Blur when Clicking Inside Graph Name
2017-04-05 15:47:58 -06:00
lukevmorris 970cab1743 Repair QueryBuilder in Safari (#1178)
* Repair QueryBuilder in Safari

* Margin was moved to .query-builder

* Update CHANGELOG
2017-04-05 14:29:19 -07:00
lukevmorris 3fec336dd4 Replace Kill Query confirmation Modal with ConfirmButtons (#1187)
* Extract QueryRow; replace modal with ConfirmButtons

* Untabify

* Update CHANGELOG
2017-04-05 13:34:17 -07:00
Hunter Trujillo 2fdb4c972e Changelog, #1189. 2017-04-05 10:40:14 -06:00
Hunter Trujillo c65acf2736 Blur the cell header edit field when Esc is pressed. 2017-04-05 10:30:44 -06:00
Hunter Trujillo bace483af4 Don't close cell headers when editing. 2017-04-05 10:03:28 -06:00
Alex Paxton 8e0dfa43f4 Merge pull request #1175 from influxdata/cursor-browser-test
RIP Custom Cursors
2017-04-04 21:18:57 -07:00
lukevmorris 2550617d8c Admin Databases Page should be sorted alphabetically (#1185)
* Sort DBs by name

* Sort RPs alphabetically

* Update CHANGELOG
2017-04-04 20:43:47 -07:00
Luke Morris d0a9328bfe Missed one 2017-04-04 20:43:15 -07:00
Alex P 571a786227 Remove custom cursors 2017-04-04 17:41:42 -07:00
Andrew Watkins 982ff7d877 Remove switch statement 2017-04-04 17:11:48 -07:00
Chris Goller 59281e2c1c Merge pull request #1182 from influxdata/hotfix/979-no-rp
Update schema exploration to support non-default rp
2017-04-04 18:11:36 -05:00
Chris Goller 324987a753 Merge pull request #1184 from influxdata/no-more-changelog-conflicts
Resolve CHANGELOG.md conflicts by keeping both changes
2017-04-04 17:43:21 -05:00
Chris Goller e3c07e1797 Add checks for null retention policies in meta queries 2017-04-04 17:42:30 -05:00
lukevmorris 3edd1bf52c Experiment with fewer stacking contexts (#1166) 2017-04-04 15:27:49 -07:00
Andrew Watkins c507c55b2d Merge pull request #1081 from influxdata/console-power
Introduce Raw Query Editor Admin Console UI
2017-04-04 15:22:15 -07:00
Luke Morris d075dbdc11 Resolve conflicts by taking both changes 2017-04-04 15:13:01 -07:00
Chris Goller e166aed46c Merge branch 'master' into hotfix/979-no-rp 2017-04-04 17:11:16 -05:00
Andrew Watkins 88be3aa6bc Pull out ternary into separate function property 2017-04-04 14:55:53 -07:00
Andrew Watkins 48ba07c422 Remove magic number 2017-04-04 14:50:11 -07:00
Andrew Watkins 8c11557281 Be the change 2017-04-04 14:48:22 -07:00
Andrew Watkins 95a786f83d Pew Pew ; 2017-04-04 14:46:55 -07:00
Andrew Watkins 0606bbdd4f Consolidate switch statement 2017-04-04 14:46:16 -07:00
Timothy J. Raymond 42ad7e407a Merge pull request #1168 from influxdata/feature/tr-mountable-router
Prefix all Chronograf routes with Basepath when configured
2017-04-04 17:45:31 -04:00
Andrew Watkins f8a03e2f88 Add comments to elucidate various influxQL states 2017-04-04 14:42:59 -07:00
lukevmorris 2d023c2650 Admin Databases Page no longer breaks if a db is missing an rp (#1179)
* retentionPolicies could be a blank array

* Update CHANGELOG

* Add `retentionPolicies` to swagger docs
2017-04-04 14:42:24 -07:00
Andrew Watkins bc922215a3 Use quotes instead of backticks 2017-04-04 14:38:07 -07:00
Andrew Watkins 016a4cba9e Pull strings into consts 2017-04-04 14:37:24 -07:00
Chris Goller 267d2ad970 Update CHANGELOG to mention fixing #979 2017-04-04 16:33:45 -05:00
Chris Goller c3e1ada594 Update schema exploration to support non-default rp 2017-04-04 16:29:14 -05:00
Tim Raymond 23c5ff061f Remove unnecessary conditional tests
Re-mounting should only happen if the --prefix-routes option is set. If
this happens, the result will be a no-op as intended since the
--basepath will be "". MountableRouter and http.StripPrefix are both
no-ops with prefix set to ""
2017-04-04 16:29:48 -04:00
Jared Scheib 45e8a5f1c8 Fix saving email in Kapacitor alerts (#1173)
* Fix Kapacitor Rules bug to now save user input data on an Alert Message

* Update changelog
2017-04-04 12:28:01 -07:00
Alex P a0c39ca17c Use more supported .cur format instead of .png 2017-04-04 12:22:47 -07:00
Alex P 1ac78833c0 Remove unused webpack files. -H 2017-04-04 12:22:23 -07:00
Andrew Watkins c24122ac4b Merge pull request #1164 from influxdata/1105-save-influxql-cells
Restore ability to save raw queries to a Dashboard Cell
2017-04-04 11:27:16 -07:00
Tim Raymond a8dbbf0f0f Favor http.StripPrefix over home-rolled version
http.StripPrefix is a standard library handler which is designed to do
exactly what the inline http.HandlerFunc did (with almost the same
implementation).
2017-04-04 14:03:46 -04:00
Luke Morris 69edea39fa Bump CHANGELOG 2017-04-04 11:00:27 -07:00
Timothy J. Raymond 74cd9144cc Merge pull request #1115 from influxdata/feature/tr-disable-prefixing-no-flusher
Bypass URLPrefixer if http.Flusher is unavailable
2017-04-04 11:05:56 -04:00
Tim Raymond 5966bf1908 Update CHANGELOG with URL Prefixer Bypass changes
[ci skip]
2017-04-04 11:03:07 -04:00
Tim Raymond ee99e66a28 Update CHANGELOG with --prefix-routes changes 2017-04-04 10:59:16 -04:00
Tim Raymond 3177d4ef3c Bypass URLPrefixer if http.Flusher is unavailable
In certain situations, the http.ResponseWriter passed to the URLPrefixer
may not be an http.Flusher. A simple case where this may occur is if the
Prefixer has been wrapped up in a middleware where the above middleware
wraps the ResponseWriter in a ResponseWriter that doesn't implement the
Flush method.

Previously, the Prefixer would error, which would cause the request to
fail with a 500. Instead, the condition is logged and the request is
passed unmodified to the next middleware in the chain. This effectively
disables prefixing for requests where the above ResponseWriter is not an
http.Flusher.

Misc. Changes
=============

- Some tests for "builders" were moved to server/builders_test.go to
  follow with convention. We've been naming files after different things
  under test and leaving the file matching the package name for support
  objects-in this case a mock logger was added to that file.
2017-04-04 10:33:14 -04:00
Tim Raymond d75ee187e6 Add parameter to control mounting behavior
Some load balancers will strip prefixes on their way to the chronograf
backend, others won't. The "--prefix-routes" parameter forces all
requests to the backend to have the prefix specified in "--basepath".
Omitting it will only cause routes to be rewritten in rendered
templates and assumes that the load balancer will remove the prefix.

Use with Caddy
==============

An easy way to test this out is using the free Caddy http server at
http://caddyserver.com.

This Caddyfile will work with the options `--basepath /chronograf
--prefix-routes` set:

```
localhost:2020 {
  proxy /chronograf localhost:8888
  log stdout
}
```

This Caddyfile will work with only the option `--basepath /chronograf`
set:

```
localhost:2020 {
  proxy /chronograf localhost:8888 {
    except /chronograf
  }
  log stdout
}
```
2017-04-04 10:28:46 -04:00
Luke Morris 59894c61c0 Update CHANGELOG 2017-04-03 17:26:35 -07:00