Commit Graph

2786 Commits (cd96dee8d7807c744255d67e32965db615b7060a)

Author SHA1 Message Date
Hunter Trujillo 2dad480675 Merge pull request #1209 from influxdata/feature/1138-hipchat-url-to-subdomain
Use HipChat Subdomain instead of URL
2017-04-06 12:53:53 -06: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
Hunter Trujillo 9bbcfcc18c Fix HipChat placeholder typo. 2017-04-06 12:27:32 -06:00
Hunter Trujillo 75290677cb Template HipChat subdomain into URL. Pull subdomain out when loading Kapacitor sections into UI. 2017-04-06 12:27:09 -06:00
Andrew Watkins 29b4383321 Add query template dropdown 2017-04-06 12:26:59 -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
Andrew Watkins b2fb40daaa Merge pull request #1198 from influxdata/1196-repair-dashboard-layout-changes
Repair Dashboard Layout Changes
2017-04-06 10:57:47 -06:00
Chris Goller 94afc97beb Add implementation of generic oauth2 provider based on github concepts 2017-04-06 10:19:07 -05: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
Chris Goller b30b63d1f1 Add slack channel override per alerting rule. 2017-04-06 00:33:50 -05:00
Chris Goller 20e13a4275 Workaround InfluxQL bugs by returning original query. 2017-04-06 00:06:15 -05:00
Chris Goller b37c3acf36 Add meta redirect for Influx Enterprise similar to meta client. 2017-04-05 23:59:12 -05:00
Luke Morris d73b616d8a handleUpdatePosition matches handleRenameDashboard 2017-04-05 17:33:55 -07: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
Hunter Trujillo 8dbe4bea53 Blur the cell header edit field when Esc is pressed. 2017-04-05 10:30:44 -06:00
Hunter Trujillo 5e9f07a980 Don't close cell headers when editing. 2017-04-05 10:03:28 -06:00
Alex Paxton caa596f61c Merge pull request #1175 from influxdata/cursor-browser-test
RIP Custom Cursors
2017-04-04 21:18:57 -07: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
Luke Morris 12d4360cda Missed one 2017-04-04 20:43:15 -07:00
Alex P 9f4cd64c11 Remove custom cursors 2017-04-04 17:41:42 -07:00
Andrew Watkins a08e36ec24 Remove switch statement 2017-04-04 17:11:48 -07:00
Chris Goller 282d46e566 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 36b7db3226 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 249d56c16e Add checks for null retention policies in meta queries 2017-04-04 17:42:30 -05:00
lukevmorris d278cd77b2 Experiment with fewer stacking contexts (#1166) 2017-04-04 15:27:49 -07:00
Andrew Watkins 9a46a14810 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 d56598f095 Resolve conflicts by taking both changes 2017-04-04 15:13:01 -07:00
Chris Goller d7f62fb781 Merge branch 'master' into hotfix/979-no-rp 2017-04-04 17:11:16 -05:00
Andrew Watkins ff50a00917 Pull out ternary into separate function property 2017-04-04 14:55:53 -07:00
Andrew Watkins d6e8a2180b Remove magic number 2017-04-04 14:50:11 -07:00
Andrew Watkins e28a37127c Be the change 2017-04-04 14:48:22 -07:00
Andrew Watkins 41ef10f227 Pew Pew ; 2017-04-04 14:46:55 -07:00
Andrew Watkins a1d5819bb2 Consolidate switch statement 2017-04-04 14:46:16 -07: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
Andrew Watkins 5e6578e615 Add comments to elucidate various influxQL states 2017-04-04 14:42:59 -07: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
Andrew Watkins 2e0c27cd5b Use quotes instead of backticks 2017-04-04 14:38:07 -07:00
Andrew Watkins 25875d2d8f Pull strings into consts 2017-04-04 14:37:24 -07:00
Chris Goller 57d61a1d00 Update CHANGELOG to mention fixing #979 2017-04-04 16:33:45 -05:00
Chris Goller 6d218e7ac2 Update schema exploration to support non-default rp 2017-04-04 16:29:14 -05:00
Tim Raymond 8a51adbced 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 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