Commit Graph

251 Commits (67504232447155a79dab4557029d1f6dac32b137)

Author SHA1 Message Date
Andrew Watkins 1d0ce5f6f2 Update CHANGELOG.md 2017-04-25 11:51:04 -07:00
Regan Kuchan 2326390cde Updates for beta9 2017-04-21 19:19:36 -07:00
Jade McGough 1560991039 update changelog 2017-04-21 14:06:40 -07:00
Alex P ab64fd07d9 Add item to UI improvements 2017-04-20 18:36:26 -07:00
Jared Scheib c662dfb62e Merge branch 'feature/template-variables' into feature/template-variables_proxy-params 2017-04-20 18:19:48 -07:00
Chris Goller d31fe90c42 Fix JWTs for auth-durations less than 5 mins (#1318)
* WIP

* Fix JWTs for auth-durations less than 5 mins

For auth-duration = 0 the JWT now understands that there does not
need to be duration checks.

For auth-duration < 5 minutes > 0 the JWT lifespan will be 1/2
of auth-duration to allow one extension

There is likely a range of very short auth-duration times like, say,
less than 5 seconds that would never allow a person to login simply
because the time of issue and request is longer.

* Update changelog
2017-04-20 17:33:08 -07:00
Jared Scheib e826786ae8 Merge branch 'feature/template-variables' into feature/template-variables_proxy-params 2017-04-20 14:13:32 -07:00
Chris Goller df6b90cc03 Update CHANGELOG to mention templates api 2017-04-20 11:51:04 -05:00
Jared Scheib aaaee3ae49 Update changelog 2017-04-19 16:25:04 -07:00
Chris Goller cce80977ec Merge branch 'master' into feature/template-variables 2017-04-19 11:10:01 -05:00
Jared Scheib e16a3cca6d Merge remote-tracking branch 'origin/master' into feature/auth-router 2017-04-18 14:37:48 -07:00
Luke Morris 8ff231c54d Upadte CHANGELOG 2017-04-18 11:28:30 -07:00
Chris Goller 5f32d8d471 Update CHANGELOG to mention refreshing JWTs 2017-04-17 15:25:07 -05:00
Jared Scheib a852ea30a9 Update changelog 2017-04-17 12:27:10 -07:00
Andrew Watkins 8fd69fdee7 Update CHANGELOG 2017-04-14 16:32:32 -07:00
Andrew Watkins 97a809fd0c Update CHANGELOG to correct versions 2017-04-13 17:57:09 -07:00
Andrew Watkins 95a78ea268 Update CHANGELOG 2017-04-13 15:36:57 -07:00
Andrew Watkins 4ef7ff2dc5 Merge pull request #1232 from influxdata/feature/voltron-the-builder
Voltron the builder / One Builder to Rule Them All / Make Builder Great Again
2017-04-13 09:49:45 -07:00
Andrew Watkins d52fc84810 Update CHANGELOG 2017-04-13 09:42:11 -07:00
lukevmorris 1b17b260e1 Add default display for an empty dashboard (#1259)
* Inline Dashboard.renderDashboard; add empty state

* Update CHANGELOG

* Update changelog
2017-04-12 18:11:38 -07:00
lukevmorris d50374c7e9 Replace Kapacitor Alert Endpoint Dropdown with Radio Buttons (#1258)
* Replace Endpoint Dropdown with Radio Buttons

* Update CHANGELOG

* Update CHANGELOG
2017-04-12 17:48:46 -07:00
Luke Morris bfc5382eca New CHANGELOG section 2017-04-11 17:21:56 -07:00
Fred Cox 183a0e0f28 Fix env var name for Google client secret 2017-04-11 16:48:35 +03:00
Luke Morris cc3a84744f Merge branch 'master' into docs/prep-readme-for-beta8 2017-04-07 17:27:27 -07:00
nathan haugo 2ad96357c7 Update for beta8 2017-04-07 17:18:46 -07:00
Jade McGough 23bf9f2ac4 update changelog 2017-04-07 15:58:18 -07:00
Hunter Trujillo f762e473f5 Update Changelog. 2017-04-07 16:01:28 -06:00
Chris Goller a5bff96510 Merge remote-tracking branch 'origin/master' into feature/generic-oauth 2017-04-07 15:39:35 -05:00
Chris Goller f0acd1b7e0 Merge branch 'master' into feature/generic-oauth 2017-04-07 15:35:28 -05:00
lukevmorris af231fdaa0 Use Cell ID returned by the server (#1222)
* Use ID as returned by the server

* Update CHANGELOG
2017-04-07 13:01:11 -07:00
Andrew Watkins 5b61ff5a11 Merge branch 'master' into feature/meta-query-builder 2017-04-07 10:50:03 -06:00
Chris Goller 51fdcdb944 Merge branch 'master' into feature/generic-oauth 2017-04-07 08:39:52 -05:00
Chris Goller c72a928825 Update CHANGELOG to mention fixing https://github.com/influxdata/chronograf/issues/1206 2017-04-07 08:31:44 -05:00
lukevmorris 94d1cb007d Fuller DefaultCell; Reference DefaultCell in DefaultDashboard (#1221)
* Fuller default cell; reference cell in default dashboard

* Update CHANGELOG
2017-04-06 17:44:15 -07:00
lukevmorris e9c5f836b8 Server validates that queries include database + rp (#1219)
* Server validates that queries include database + rp

* Update CHANGELOG
2017-04-06 16:21:27 -07:00
Chris Goller ea2f4d07d8 Update CHANGELOG language for generic oauth2 support 2017-04-06 16:54:48 -05:00
Chris Goller e81a569de5 Merge branch 'master' into feature/generic-oauth 2017-04-06 16:47:58 -05:00
Chris Goller e2e61b53dd Update CHANGELOG mentioning adding generic oauth2 provider 2017-04-06 16:47:41 -05:00
Luke Morris d6fab042ed Merge branch 'master' into hotfix/1193-influxql-no-quotes 2017-04-06 13:51:15 -07:00
Andrew Watkins 4cad8d9297 Update CHANGELOG.md 2017-04-06 14:50:40 -06:00
Chris Goller c9f1f3a660 Merge pull request #1203 from influxdata/feature/meta-redirect
Add meta redirect for Influx Enterprise similar to meta client.
2017-04-06 14:17:01 -05:00
Chris Goller ef308e8b09 Merge branch 'master' into feature/meta-redirect 2017-04-06 14:05:40 -05:00
Chris Goller e9ababb0c4 Merge branch 'master' into feature/slack-channels 2017-04-06 14:04:15 -05:00
Jared Scheib 887ad6feb6 Merge branch 'master' into feature/1138-hipchat-url-to-subdomain 2017-04-06 11:46:01 -07:00
Jared Scheib 9df1630cf8 Add new auth duration CLI option; add client heartbeat; fix logout (#1119)
* User can now set oauth cookie session duration via the CLI to any duration or to expire on browser close

* Refactor GET 'me' into heartbeat at constant interval

* Add ping route to all routes

* Add /chronograf/v1/ping endpoint for server status

* Refactor cookie generation to use an interface

* WIP adding refreshable tokens

* Add reminder to review index.js Login error handling

* Refactor Authenticator interface to accommodate cookie duration and logout delay

* Update make run-dev to be more TICKStack compliant

* Remove heartbeat/logout duration from authentication

* WIP Refactor tests to accommodate cookie and auth refactor

* Update oauth2 tests to newly refactored design

* Update oauth provider tests

* Remove unused oauth2/consts.go

* Move authentication middleware to server package

* Fix authentication comment

* Update authenication documentation to mention AUTH_DURATION

* Update /chronograf/v1/ping to simply return 204

* Fix Makefile run-dev target

* Remove spurious ping route

* Update auth docs to clarify authentication duration

* Revert "Refactor GET 'me' into heartbeat at constant interval"

This reverts commit 298a8c47e1.

Conflicts:
ui/src/index.js

* Add auth test for JWT signing method

* Add comments for why coverage isn't written for some areas of jwt code

* Update auth docs to explicitly mention how to require re-auth for all users on server restart

* Add Duration to Validation interface for Tokens

* Make auth duration of zero yield a everlasting token

* Revert "Revert "Refactor GET 'me' into heartbeat at constant interval""

This reverts commit b4773c15af.

* Rename http status constants and add FORBIDDEN

* Heartbeat only when logged in, notify user if heartbeat fails

* Update changelog

* Fix minor word semantics

* Update oauth2 tests to be in the oauth2_test package

* Add check at compile time that JWT implements Tokenizer

* Rename CookieMux to AuthMux for consistency with earlier refactor

* Fix logout middleware

* Fix logout button not showing due to obsolete data shape expectations

* Update changelog

* Fix proptypes for logout button data shape in SideNav
2017-04-06 11:40:57 -07:00
Hunter Trujillo d65c10ac4d Update Changelog #1209. 2017-04-06 12:35:33 -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
Chris Goller e2b3cc3c6d Update CHANGELOG to mention fixing no quoted raw influxql 2017-04-06 00:58:48 -05:00
Chris Goller 96e8d5b125 Update CHANGELOG to mention fixing redirects to influx enterprise meta 2017-04-06 00:54:06 -05:00
Chris Goller 46f1ffdfec Update CHANGELOG to mention that adding slack channel per alert 2017-04-06 00:38:49 -05: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
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
Chris Goller e166aed46c Merge branch 'master' into hotfix/979-no-rp 2017-04-04 17:11:16 -05: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
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
Chris Goller 267d2ad970 Update CHANGELOG to mention fixing #979 2017-04-04 16:33:45 -05: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
Luke Morris 69edea39fa Bump CHANGELOG 2017-04-04 11:00:27 -07: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
Luke Morris 59894c61c0 Update CHANGELOG 2017-04-03 17:26:35 -07: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
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
Jade McGough 22da937649 update changelog 2017-03-31 15:37:17 -07:00
Jade McGough 4e307fd9f9 update changelog 2017-03-31 11:33:18 -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 e2c5694f99 Update CHANGELOG.md 2017-03-30 15:59:06 -07:00
Chris Goller 00f0ea9520 Update CHANGELOG to mention fixing enterprise kapacitor auth 2017-03-30 15:36:17 -05:00
lukevmorris 7bb955baa3 Active sidebar items should have a blue indicator (#1132)
* NavBlocks without NavListItem children are valid

Some sidebar NavBlocks consist of just a header,
and clicking on that header should mark the NavBlock
as active

* Update CHANGELOG

* Leverage markdown to cut down on merge conflicts
2017-03-30 11:27:51 -07:00
Hunter Trujillo 72f00e9802 Merge branch 'master' into feature/1054-alert-history-spinner
# Conflicts:
#	CHANGELOG.md
2017-03-30 12:07:21 -06:00
lukevmorris ae77767c9c Allow InfluxDB and Kapacitor configuration via ENV vars or CLI options (#1129)
* Introduce Kapacitor and InfluxDB as command line options

If omitted, their values will be null at runtime. If supplied, e.g.:
  chronograf
    --kapacitor https://path.to.my:1/kapacitor/instance
    --influxdb  https://path.to.my:1/influxdb/instance
Their values will be accessible via
  Server.Kapacitor
  Server.InfluxDB

* MultiSourcesStore will hold Bolt and config’d sources

* Delegate to db.SourcesStore for now

* Add Username/Password tags for InfluxDB and Kapacitor

* Builders for MultiSourceStore and MultiLayoutStore

* Store Kapacitor and InfluxDB configs in memory

* Typo

* Update CHANGELOG

* Move StoreBuilders to server/builders.go

* Correct these assertions by reversing them

* Kapacitor -> KapacitorURL; InfluxDB -> InfluxDBURL
2017-03-30 09:48:04 -07:00
Hunter Trujillo 1438c4c139 Update Changelog. 2017-03-30 10:19:04 -06:00
Jade McGough 7389167e76 Change password (#1120)
Add ability to change a user's password via Admin page
2017-03-29 17:40:46 -07:00
Hunter Trujillo f7c5e0f2e2 Fix visualizations not showing graph name (#1125)
* Pass cell name through to Visualization component.

* Rename Header components in Dashboard page to better match their actual component names.

* Update changelog.

* Fix number on update changelog
2017-03-29 17:39:20 -07:00
Jared Scheib b28bed8e1d Update changelog 2017-03-28 20:09:12 -07:00
Hunter Trujillo c9b29ffb2e Merge commit '52e70c77ff11c4af69bb166c65d9e359454d819e' into feature/gzipped-influx-responses
# Conflicts:
#	CHANGELOG.md
2017-03-28 16:22:28 -06:00
Chris Goller 6b38a79f9b Update CHANGELOG to mention fixing windows hosts on hosts page 2017-03-28 16:20:14 -05:00
Regan Kuchan cddf08a385 Remove PR from CHANGELOG 2017-03-28 13:05:45 -07:00
nathan haugo 056853dbac Changelog and known issues from readme update for beta7 2017-03-28 13:04:33 -07:00
Chris Goller 36b7ff597a Merge remote-tracking branch 'origin' into feature/gzipped-influx-responses 2017-03-28 14:40:32 -05:00
Chris Goller 218566b18d Update CHANGELOG to mention InfluxQL compression 2017-03-28 14:38:43 -05:00
lukevmorris 1f279584f3 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 d932d99bfa.

* 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
Timothy J. Raymond 54dd3e5eee Redirect to default source when deleting sources (#1074)
* Redirect to default source on invalid source ID

When supplied with an invalid source ID, the CheckSources component
would redirect the user to a "Create Source" page. This caused
surprising behavior when a source was deleted because that source ID
would become invalid. The effect being that deleting a source brought
users immediately to the create source page, rather than back to the
sources list.

This instead redirects users to the default source when provided an
invalid source id. The backend automatically re-assigns the "default"
source, so this will always succeed, since sources are fetched again
from the backend.

The regex used is slightly dependent on URL structure that has been
stable over the lifetime of this project. Also it relies on URL
structure more than the previous redirecting implementation.

* Force sources to reload after deletion

Deleting a source invalidates the state held by the client because of
automatic re-assignment of the default source by the backend. Without
duplicating backend logic, it is impossible for the frontend to discover
the new source without reloading sources.

The ManageSources page now uses an async-action creator which deletes
the requested source and reloads all sources. The source action creators
have also been refactored to use implicit returns like other action
creators.

* Remove Dead removeSource action

removeSource is no longer used because the API invalidates its
assumptions. For more information, see 04bf3ca.

* Update Changelog with source deletion redirect fix

Users are no longer unexpectedly redirected to the "create source" page
whenever they delete a source that they are connected to.

* Return 404 when deleting non-existent source

When deleting a source, a new default is assigned automatically. If a
non-existent source ID was provided, previously this would result in a
500. This is a violation of the Swagger docs. The solution is to examine
the error and if it was an ErrSourceNotFound, invoke the notFound
handler.

* Add Error handling to source deletion

There are two kinds of errors that can be encountered when deleting a
source: a 404 and a 500 (from either the delete or the subsequent
fetch).

The 404 is a precondition failure of the action creator. The source.id
requested can be non-existent for two reasons: 1) The action creator was
passed garbage by the caller. 2) A concurrent write occurred which
silently invalidated this session's state. For the first case, we can
ensure that the caller is sane by having an assertion check that the
requested source is among some set of sources. This could be
circumvented by a caller, but chances are good that both the full set of
sources and the desired source are both available to callers of this
action creator. The second case is not an error. In this case, we should
proceed reloading sources, since the deletion that was requested has
already been performed by someone else.

Finally, 500s can only occur if there is something broken with the API.
In this situation, we provide a notification that tells the user to
check the API logs for more information.

* Remove duplicate CHANGELOG entries

These were introduced due to a naive merge conflict resolution.

* Remove assertion

This was decided to be confusing and unnecessary.

* Remove remnants of removed assertion

These were needed for an assertion that has been removed. It's no longer
necessary to pass `sources` to the action creator.
2017-03-28 08:53:11 -07:00
Hunter Trujillo 84fba8a5a0 Merge branch 'master' into bugfix/1003-hosts-loading-message
# Conflicts:
#	CHANGELOG.md
2017-03-27 17:42:57 -06:00
Hunter Trujillo 84508f2f29 Update changelog. 2017-03-27 17:36:04 -06:00
Jared Scheib 660d764b7e (Fix) Graphs are now resizable again (#1085)
* (Fix) Graphs are now resizable again

* Update changelog
2017-03-27 15:32:40 -07:00
Regan Kuchan 6271ed1132 Fix beta6 bug fixes entries 2017-03-27 10:45:00 -07:00
Regan Kuchan 819a48b124 Update docs for beta6 release 2017-03-24 18:22:16 -07:00
Jared Scheib a694f25425 Graphs are no longer editable from a Host Page (#1069)
* Graphs can now not be edited in on a HostPage

* Update changelog
2017-03-24 17:33:48 -07:00
lukevmorris c1ba6e7983 Save and Cancel edits to dashboard name (#1065)
* Move isEditMode from Redux to component state

* Use ConfirmButtons instead of Save button

* Save and Cancel dashboard name edits with ConfirmButtons

* Handler should operate on values instead of events

* Update CHANGELOG
2017-03-24 16:56:46 -07:00
Chris Goller 1fc5a953ea Update CHANGELOG to correct numbering 2017-03-24 16:05:17 -07:00
nathan haugo e4ad5d033a Update changelog 2017-03-24 15:36:47 -07:00
Luke Morris 4f601e4d5f Update CHANGELOG 2017-03-24 13:31:06 -07:00