Commit Graph

190 Commits (05ba227fd7b0cf42ae97a1cf752c6322302122cb)

Author SHA1 Message Date
Chris Goller e098045a92 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 55fa7f8f77 Merge remote-tracking branch 'origin/master' into feature/auth-router 2017-04-18 14:37:48 -07:00
Chris Goller 87e87d902a Update CHANGELOG to mention refreshing JWTs 2017-04-17 15:25:07 -05:00
Jared Scheib 12ae7ecda1 Update changelog 2017-04-17 12:27:10 -07:00
Andrew Watkins eeb693896a Update CHANGELOG to correct versions 2017-04-13 17:57:09 -07:00
Andrew Watkins 9ad5f282ee Update CHANGELOG 2017-04-13 15:36:57 -07:00
Andrew Watkins 1271ade90d 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 1eb427457b Update CHANGELOG 2017-04-13 09:42:11 -07:00
lukevmorris cb171e8a7b 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 d05e217566 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 46d76506ea New CHANGELOG section 2017-04-11 17:21:56 -07:00
Fred Cox b804be1885 Fix env var name for Google client secret 2017-04-11 16:48:35 +03:00
Luke Morris 20a638375a Merge branch 'master' into docs/prep-readme-for-beta8 2017-04-07 17:27:27 -07:00
nathan haugo aece766de6 Update for beta8 2017-04-07 17:18:46 -07:00
Jade McGough e6ae84bd74 update changelog 2017-04-07 15:58:18 -07:00
Hunter Trujillo 1c48953884 Update Changelog. 2017-04-07 16:01:28 -06:00
Chris Goller e235292107 Merge remote-tracking branch 'origin/master' into feature/generic-oauth 2017-04-07 15:39:35 -05:00
Chris Goller 6de8ec26d5 Merge branch 'master' into feature/generic-oauth 2017-04-07 15:35:28 -05:00
lukevmorris fe1138ba39 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 b5a9d32c05 Merge branch 'master' into feature/meta-query-builder 2017-04-07 10:50:03 -06:00
Chris Goller de43145701 Merge branch 'master' into feature/generic-oauth 2017-04-07 08:39:52 -05:00
Chris Goller 3f5f82dd86 Update CHANGELOG to mention fixing https://github.com/influxdata/chronograf/issues/1206 2017-04-07 08:31:44 -05:00
lukevmorris 68877e07e3 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 777221c9cf 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 888f3d458c Update CHANGELOG language for generic oauth2 support 2017-04-06 16:54:48 -05:00
Chris Goller 978838cf2c Merge branch 'master' into feature/generic-oauth 2017-04-06 16:47:58 -05:00
Chris Goller cbd17b64db Update CHANGELOG mentioning adding generic oauth2 provider 2017-04-06 16:47:41 -05:00
Luke Morris 8006498180 Merge branch 'master' into hotfix/1193-influxql-no-quotes 2017-04-06 13:51:15 -07:00
Andrew Watkins 499f2737b8 Update CHANGELOG.md 2017-04-06 14:50:40 -06:00
Chris Goller 486db8219a 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 12d9cd84ac Merge branch 'master' into feature/meta-redirect 2017-04-06 14:05:40 -05:00
Chris Goller 58a568d1d0 Merge branch 'master' into feature/slack-channels 2017-04-06 14:04:15 -05:00
Jared Scheib 4321582ee3 Merge branch 'master' into feature/1138-hipchat-url-to-subdomain 2017-04-06 11:46:01 -07:00
Jared Scheib ac4423a6fd 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 298a8c47e1431720d9bd97a9cb853744f04501a3.

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 b4773c15afe4fcd227ad88aa9d5686beb6b0a6cd.

* 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 444a8d0149 Update Changelog #1209. 2017-04-06 12:35:33 -06:00
lukevmorris e632501d9e 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 66f5c890d4 Update CHANGELOG to mention fixing no quoted raw influxql 2017-04-06 00:58:48 -05:00
Chris Goller 423030d2c2 Update CHANGELOG to mention fixing redirects to influx enterprise meta 2017-04-06 00:54:06 -05:00
Chris Goller c447b79865 Update CHANGELOG to mention that adding slack channel per alert 2017-04-06 00:38:49 -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
Hunter Trujillo 7b19fbb068 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 c5d503ed1f 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 765cb6e5de 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 278ee726f4 Changelog, #1189. 2017-04-05 10:40:14 -06:00
lukevmorris 74c9a6974a 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 d7f62fb781 Merge branch 'master' into hotfix/979-no-rp 2017-04-04 17:11:16 -05:00
Timothy J. Raymond fc900721ec 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 1c1c00cd02 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 57d61a1d00 Update CHANGELOG to mention fixing #979 2017-04-04 16:33:45 -05:00
Jared Scheib 23478fffa7 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