Commit Graph

2528 Commits (3177d4ef3c4010ddfec1b819e2c45508103c53f7)

Author SHA1 Message Date
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
Hunter Trujillo ca3684e277 Merge pull request #1159 from influxdata/bugfix/1111-kapacitor-form
Bugfix/1111 kapacitor form
2017-04-03 14:22:53 -06:00
Hunter Trujillo 2d5a5e0445 Fix kapacitor form submit bug. 2017-04-03 10:49:41 -06:00
Hunter Trujillo f4af30c26b Small refactor for ES6ness. 2017-04-03 10:49:25 -06:00
Jade McGough d2e9cd7821 Merge pull request #1152 from influxdata/column-widening
widen single column to entire table width (#1123)
2017-04-01 11:38:10 -07:00
Jade McGough 95cabba40f make linter happy 2017-03-31 18:56:32 -07:00
Andrew Watkins cd68c6cae8 Merge pull request #1124 from influxdata/some-amount-of-polish
Some Amount of Polish
2017-03-31 16:56:45 -07:00
Andrew Watkins 007219f901 Merge pull request #1151 from influxdata/bugfix/threshold-value
Bugfix/threshold value
2017-03-31 16:48:57 -07:00
Alex Paxton d59487b00c Merge branch 'master' into some-amount-of-polish 2017-03-31 16:22:42 -07:00
Alex P 50d930df82 Let the world know what is new and exciting 2017-03-31 16:19:37 -07:00
Alex P beddd2f82d Polish dash cell dragging interaction 2017-03-31 15:59:10 -07:00
Alex P 29d681e851 Change DE page title to match corresponding navbar label 2017-03-31 15:39:27 -07:00
Jade McGough 22da937649 update changelog 2017-03-31 15:37:17 -07:00
Jade McGough e27317cdd1 widen single column to entire table width (#1123) 2017-03-31 15:32:05 -07:00
Alex P ab7fbe754f Make dash renaming more clear 2017-03-31 15:27:16 -07:00
Alex P 13d528a9ed Make Add Cell button in dash more obvious for new users 2017-03-31 15:27:06 -07:00
Alex P 82f571b645 Use graphTips component in dash header & DE header 2017-03-31 15:26:45 -07:00
Alex P 8c7e787f84 Give icons in buttons some more generous spacing 2017-03-31 15:25:23 -07:00
Alex P 1de362e04a Change style of Source Indicator such that it does not look like a button 2017-03-31 15:25:08 -07:00
Alex P 0b76c8685e Create GraphTips component 2017-03-31 15:24:37 -07:00
Alex P f9f5980c82 Fix #1106 2017-03-31 14:46:39 -07:00
Jade McGough 84daf38843 Merge pull request #1149 from influxdata/escape-presentation
Escape presentation when using back button
2017-03-31 14:45:36 -07:00
Jade McGough 4cbe22d816 cleanup function 2017-03-31 14:45:53 -07:00
Alex P 8c7549fdc4 Move graph refreshing spinner to top-center of graph
Looks nice in all contexts, does not overlap with anything
2017-03-31 14:41:37 -07:00
Alex P a07c86bfaa Make dashboards table conform to reveal-on-hover pattern 2017-03-31 14:28:30 -07:00
Alex P 82b817c762 Make admin queries table conform to reveal-on-hover pattern 2017-03-31 14:24:27 -07:00
Alex P 04bf17c02e Polish DB Management page 2017-03-31 14:03:39 -07:00
Alex P 500d144634 Make input placeholders more legible 2017-03-31 12:42:50 -07:00
Andrew Watkins e4369549eb Refactor tests 2017-03-31 12:22:03 -07:00
Alex P 9e6fb2f207 Style password change interaction 2017-03-31 12:16:07 -07:00
Alex P b1ca55e316 Prevent admin panel from appearing shorter than the admin tabs 2017-03-31 12:15:50 -07:00
Alex P e71756725c Use odd number for question mark icon size
Looks more centered
2017-03-31 11:46:24 -07:00
Jade McGough 6e4a139aeb remove comment 2017-03-31 11:35:28 -07:00
Jade McGough 4e307fd9f9 update changelog 2017-03-31 11:33:18 -07:00
Jade McGough ce08d884d4 exit presentation mode when path changes 2017-03-31 11:31:08 -07:00
Andrew Watkins 6e2672d520 Add tests 2017-03-31 10:57:00 -07:00
Alex P ec8a8af878 Style question mark tooltips 2017-03-31 09:49:56 -07:00
Alex P 833f9442fc Add line breaks in kap tooltip copy for legibility
Also reduced width of Tooltip
2017-03-31 09:49:47 -07:00
Alex P f9a12f7223 Fix rogue mouse cursor on form labels 2017-03-31 09:49:19 -07:00
Alex P a4d3056402 Merge branch 'master' into some-amount-of-polish 2017-03-31 09:10:36 -07:00
Andrew Watkins 90e2874287 Fix padding bug 2017-03-30 18:40:52 -07:00
Andrew Watkins 1ac908888e Fix tests for new approach 2017-03-30 18:40:37 -07:00
lukevmorris f1937c75dc Clean up Kapacitor Alert configuration for HipChat (#1137)
* Text and placeholder updates

* Peel types off PropTypes

* Revert to parseMode

* Update copy to be more descriptive of resulting behavior

* Add question mark tooltips to Chat ID and Token

* Expand tooltips to be hoverable with clickable contents

* Extract QuestionMarkComponent to its own file

* Update CHANGELOG

* url is never changed, so omit this field

* Extract constants to their own file

* Refactor PropTypes

* Clear up Kapacitor Alert HipChat configuration

* Update CHANGELOG

* your-room => room

* Extract this tooltip to its own file

* Reorder CHANGELOG entries
2017-03-30 17:01:25 -07:00
Jared Scheib ae00aa16a0 Fix Kapacitor Telegram config to display correct disableNotification setting (#1142)
* Fix render value for disableNotification

* Update changelog
2017-03-30 16:58:01 -07:00
lukevmorris 184235db27 Clean up Kapacitor Alert configuration for Telegram (#1135)
* Text and placeholder updates

* Peel types off PropTypes

* Revert to parseMode

* Update copy to be more descriptive of resulting behavior

* Add question mark tooltips to Chat ID and Token

* Expand tooltips to be hoverable with clickable contents

* Extract QuestionMarkComponent to its own file

* Update CHANGELOG

* url is never changed, so omit this field

* Extract constants to their own file
2017-03-30 16:23:51 -07:00
Andrew Watkins ac9d66be54 Merge pull request #1136 from influxdata/chore/remove-query-highlighting
Chore/remove query highlighting
2017-03-30 15:59:20 -07:00
Andrew Watkins e2c5694f99 Update CHANGELOG.md 2017-03-30 15:59:06 -07:00
Andrew Watkins d9f8208dc3 Lint fix all tests 2017-03-30 15:57:33 -07:00
Andrew Watkins c0f9964a29 Remove series highlighting 2017-03-30 15:57:33 -07:00
Chris Goller 576779b031 Merge pull request #1134 from influxdata/hotfix/kapacitor-auth
Fix kapacitor base64 auth as header was built incorrectly.
2017-03-30 15:43:27 -05:00