Commit Graph

408 Commits (cef0e66df0d60433d6a798838c133165c402a4f1)

Author SHA1 Message Date
lukevmorris 281e743d95 Add SourceIndicator to Configuration and Admin pages (#1439)
* Add SourceIndicator to ManageSources + SourcePage

* Update CHANGELOG

* Add Source Indicator to Admin Page
2017-05-08 18:22:53 -07:00
Andrew Watkins 69c0ee61a7 Merge branch 'master' into bugfix/click-meas-sadness 2017-05-08 17:50:12 -07:00
lukevmorris 7b3e23cfba Update CHANGELOG (#1436)
* Update CHANGELOG

* Update CHANGELOG
2017-05-08 17:49:13 -07:00
Andrew Watkins 9a8c61bb28 Update CHANGELOG 2017-05-08 17:48:49 -07:00
Hunter Trujillo 1febb80aff Merge pull request #1433 from influxdata/bugfix/router-fix
Fall back to useRouterHistory method.
2017-05-08 17:42:12 -07:00
Hunter Trujillo 3ff8dfbbf8 Update CHANGELOG. 2017-05-08 16:22:45 -07:00
Jade McGough 1a2cafe485 update changelog 2017-05-08 15:35:02 -07:00
Regan Kuchan c882d751ab Updates for 1.3.0~rc1 2017-05-08 14:56:57 -07:00
Tim Raymond 2821777750 Update CHANGELOG with OAuth/basepath fix 2017-05-08 14:40:50 -07:00
Jade McGough feaaa5c4bf update changelog 2017-05-08 11:08:24 -07:00
lukevmorris 611795ecdd Need RangeValue to correctly calculate Alert graph range (#1406)
* Need RangeValue to correctly calculate Alert graph range

* Update CHANGELOG
2017-05-05 15:00:04 -07:00
Chris Goller 2851d607cc Merge branch 'master' into feature/reverse-kapa 2017-05-05 14:41:06 -05:00
Chris Goller ca35747702 Update CHANGELOG to mention enable/disable all tickscripts 2017-05-05 14:40:11 -05:00
Jade McGough 861b8052b0 Merge pull request #1401 from influxdata/delete-kapacitor
add ability to delete kapacitor config
2017-05-05 11:42:16 -07:00
Alex P f223e1e2cd Rebase 2017-05-05 10:11:38 -07:00
Chris Goller 365434783d Merge branch 'master' into feature/influx-write 2017-05-05 08:10:14 -05:00
Jade McGough fb90cfa686 update changelog 2017-05-04 23:46:56 -07:00
Alex P e333af913c Merge branch 'master' into condense-de-lists 2017-05-04 17:38:59 -07:00
lukevmorris b4e97fa21f :dashboardTime: (#1391)
* Add Range.Lower and Range.Upper to query config to persist custom ranges

* Update CHANGELOG to mention adding query build duration support

* Remove automatic application of global timeRange

If a user supplies a timeRange.  Add that to the queryConfig and use
that to generate the SELECT statement.  If a user omits a time range,
do not automatically include one...yet

* Update swagger.json to mention queryConfig's range

* Add test to influxql AST parsing of durations with no WHERE clause

* Implement first iteration of templated dashboard time range

* Range is nested within query.queryConfig

* DE will not use :dashboardTime:

* Clarify intention with a comment

* If there are no templates present, don't open the drawer

* Make TemplateControlBar its own component

* Rename dashTime to dashboardTime

* Cleanup TemplateControlBar

* Update CHANGELOG

* Update TemplateControlBar min height

* Polish template control bar

Inspired by @lukevmorris’ screenshot with the manage button on the right

* Reconstitute presentation mode styles
2017-05-04 16:57:50 -07:00
Jared Scheib ac2b4d404d Make handleClickOutside on TemplateVariableRow work the same as handleCancelEdit (#1400)
* Give handleClickOutside the same behavior as handleCancelEdit

* Update changelog
2017-05-04 16:57:24 -07:00
Jared Scheib e4d5e912db Merge branch 'master' into bugfix/1345-alert-level-colors 2017-05-04 16:42:50 -07:00
Alex Paxton b3bb2d3314 Merge branch 'master' into overlay-all-the-way 2017-05-04 14:20:05 -07:00
Jared Scheib ce12d1dce7 Change default global time range to past 1 hour (#1395)
* Change default global timeRange to 1 hour

* Update changelog
2017-05-04 13:00:30 -07:00
Alex P 2e485ffa48 Update the changelog 2017-05-03 15:53:07 -07:00
Alex Paxton 8d8bd9b6a4 Merge branch 'master' into condense-de-lists 2017-05-03 14:38:12 -07:00
Alex P bb4ea57a6d Update Changelog 2017-05-03 12:11:51 -07:00
Alex P f557d53dd6 Let the world know about these changes 2017-05-03 10:34:32 -07:00
Chris Goller f24a00f314 Update CHANGELOG to mention adding /write endpoint 2017-05-03 00:16:09 -05:00
Hunter Trujillo 4d79450f70 CHANGELOG. 2017-05-02 16:06:15 -06:00
Chris Goller c8edca8ff9 Update CHANGELOG to mention adding query build duration support 2017-05-02 15:16:47 -05:00
Chris Goller 9c40c11986 Update CHANGELOG about fixing #1327 2017-05-02 12:45:40 -05:00
lukevmorris 66429dddce Promote dash-graph--options, demote dash-graph--container (#1373)
* Promote dash-graph--options, demote dash-graph--container

* Update CHANGELOG
2017-05-01 17:56:15 -07:00
Jared Scheib c3ef011029 Remove notification to login outside of session timeout (#1370)
* Remove notification to login outside of session timeout

* Update changelog
2017-05-01 17:53:33 -07:00
lukevmorris cbac744e43 Show red indicator when a host is down (#1365)
* Green for positive uptime, red otherwise

* Update CHANGELOG

* Handle class name construction with classnames module
2017-05-01 12:12:39 -07:00
Hunter Trujillo ae500c2940 Remove trailing space from CHANGELOG. 2017-05-01 12:11:11 -06:00
Hunter Trujillo 4c843e8950 Update CHANGELOG 2017-05-01 12:10:56 -06:00
Hunter Trujillo 5deacd22ab Merge branch 'master' into hotfix/windows-uptime 2017-05-01 12:06:25 -06:00
Regan Kuchan d7ebf365cc Prep for beta10 release 2017-04-28 17:14:42 -07:00
Chris Goller 9d096c2afe Merge pull request #1351 from nickysemenza/add-phpfpm-dashboard
add canned dashboard for phpfpm
2017-04-28 16:48:41 -05:00
Luke Morris 7dafbadad5 Merge branch 'master' into feature/template-variables 2017-04-28 13:12:57 -07:00
Andrew Watkins 18aad4b563 Merge branch 'master' into chore/alphabetical-dbs 2017-04-28 12:47:29 -07:00
Nicky Semenza 595c0c0662 update changelog ref 2017-04-28 15:27:50 -04:00
Andrew Watkins 9cebb3637b Update CHANGELOG.md 2017-04-28 12:27:10 -07:00
Nicky Semenza 3608e11312 add canned dashboard for phpfpm 2017-04-28 15:25:59 -04:00
Brian Baker 161eda34f6 update changelog 2017-04-28 10:59:16 -06:00
Nicky Semenza 535e81afb4 Update CHANGELOG.md 2017-04-27 22:08:06 -04:00
Jared Scheib 5d03718eb4 Merge branch 'master' into feature/template-variables 2017-04-27 14:15:48 -07:00
Andrew Watkins e225f41cf2 Merge branch 'master' into fix/add-source 2017-04-27 13:17:24 -07:00
Andrew Watkins 7751efac02 Merge branch 'master' into chore/destroy-kuber-dash 2017-04-27 13:14:03 -07:00
Andrew Watkins 98e4f6a569 Update CHANGELOG.md 2017-04-27 11:13:34 -07:00
Andrew Watkins ddc1cf464c Update CHANGELOG.md 2017-04-27 10:00:57 -07:00
Andrew Watkins bcbdd2e39a Update CHANGELOG 2017-04-27 09:44:31 -07:00
Jade McGough 451f2770b5 update changelog 2017-04-26 14:12:57 -07:00
Andrew Watkins a08e9c527e Update CHANGELOG 2017-04-26 14:11:55 -07:00
Hunter Trujillo 116c2e3c23 Merge branch 'master' into feature/template-variables
# Conflicts:
#	bolt/internal/internal.pb.go
#	ui/src/CheckSources.js
#	ui/src/dashboards/actions/index.js
#	ui/src/dashboards/containers/DashboardPage.js
#	ui/src/data_explorer/components/Visualization.js
#	ui/src/shared/components/AutoRefresh.js
#	ui/src/shared/components/Dropdown.js
2017-04-25 17:08:55 -06:00
Jade McGough bac6f59fe1 update changelog 2017-04-25 16:08:42 -07:00
Andrew Watkins 6f0c28a799 Update CHANGELOG.md 2017-04-25 11:51:55 -07:00
Andrew Watkins c8f5c87fb9 Update CHANGELOG.md 2017-04-25 11:51:04 -07:00
Regan Kuchan 2b20b8680b Updates for beta9 2017-04-21 19:19:36 -07:00
Jade McGough a8572316b6 update changelog 2017-04-21 14:06:40 -07:00
Alex P baedfcc76f Add item to UI improvements 2017-04-20 18:36:26 -07:00
Jared Scheib a0fd6e265d Merge branch 'feature/template-variables' into feature/template-variables_proxy-params 2017-04-20 18:19:48 -07:00
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 010aa502b4 Merge branch 'feature/template-variables' into feature/template-variables_proxy-params 2017-04-20 14:13:32 -07:00
Chris Goller e7dbdb7204 Update CHANGELOG to mention templates api 2017-04-20 11:51:04 -05:00
Jared Scheib e1daefa6d7 Update changelog 2017-04-19 16:25:04 -07:00
Chris Goller 5538cfa963 Merge branch 'master' into feature/template-variables 2017-04-19 11:10:01 -05:00
Jared Scheib 55fa7f8f77 Merge remote-tracking branch 'origin/master' into feature/auth-router 2017-04-18 14:37:48 -07:00
Luke Morris 17a23c3c3b Upadte CHANGELOG 2017-04-18 11:28:30 -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 bf60c8202a Update CHANGELOG 2017-04-14 16:32:32 -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
Luke Morris 038ba649b8 Bump CHANGELOG 2017-04-04 11:00:27 -07:00
Tim Raymond 08f2489bc0 Update CHANGELOG with URL Prefixer Bypass changes
[ci skip]
2017-04-04 11:03:07 -04:00
Tim Raymond 1376f522b6 Update CHANGELOG with --prefix-routes changes 2017-04-04 10:59:16 -04:00
Luke Morris ea858c58cb Update CHANGELOG 2017-04-03 17:26:35 -07:00
Jade McGough 03b2985cbe 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 088399cf71 Merge branch 'master' into some-amount-of-polish 2017-03-31 16:22:42 -07:00
Alex P 45c03cc885 Let the world know what is new and exciting 2017-03-31 16:19:37 -07:00
Jade McGough ca9c52aadb update changelog 2017-03-31 15:37:17 -07:00
Jade McGough 4d5c1b5787 update changelog 2017-03-31 11:33:18 -07:00
lukevmorris 16a7da4ab1 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 c60c3f37c8 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 0964bc7803 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 578b5c94cb Update CHANGELOG.md 2017-03-30 15:59:06 -07:00
Chris Goller d952511694 Update CHANGELOG to mention fixing enterprise kapacitor auth 2017-03-30 15:36:17 -05:00
lukevmorris b77d8466af 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 f3c6f2e042 Merge branch 'master' into feature/1054-alert-history-spinner
# Conflicts:
#	CHANGELOG.md
2017-03-30 12:07:21 -06:00
lukevmorris d2a8dec731 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 b70406aa8a Update Changelog. 2017-03-30 10:19:04 -06:00
Jade McGough 2c925dad98 Change password (#1120)
Add ability to change a user's password via Admin page
2017-03-29 17:40:46 -07:00
Hunter Trujillo e89e30bc35 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 da6e1c6a87 Update changelog 2017-03-28 20:09:12 -07:00
Hunter Trujillo 18db9be89a Merge commit '219b5f252b809e70c1ea7068da23f13ccbc322a7' into feature/gzipped-influx-responses
# Conflicts:
#	CHANGELOG.md
2017-03-28 16:22:28 -06:00
Chris Goller 1c4d6349bb Update CHANGELOG to mention fixing windows hosts on hosts page 2017-03-28 16:20:14 -05:00
Regan Kuchan 28a705e86c Remove PR from CHANGELOG 2017-03-28 13:05:45 -07:00
nathan haugo 48d344b6e1 Changelog and known issues from readme update for beta7 2017-03-28 13:04:33 -07:00
Chris Goller 3439f17dd6 Merge remote-tracking branch 'origin' into feature/gzipped-influx-responses 2017-03-28 14:40:32 -05:00
Chris Goller c10906cf30 Update CHANGELOG to mention InfluxQL compression 2017-03-28 14:38:43 -05:00
lukevmorris 48de1a95d3 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 d932d99bfa0de54d07be4b42cc13d1b34fbe950b.

* 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 67c2b98f68 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 707c8eefb3 Merge branch 'master' into bugfix/1003-hosts-loading-message
# Conflicts:
#	CHANGELOG.md
2017-03-27 17:42:57 -06:00
Hunter Trujillo 1123104421 Update changelog. 2017-03-27 17:36:04 -06:00
Jared Scheib 861730fb3f (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 0cd4290671 Fix beta6 bug fixes entries 2017-03-27 10:45:00 -07:00
Regan Kuchan 6c6c70b6e8 Update docs for beta6 release 2017-03-24 18:22:16 -07:00
Jared Scheib 69b6de3e51 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 f690e4a546 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 8ac429b475 Update CHANGELOG to correct numbering 2017-03-24 16:05:17 -07:00
nathan haugo 5494ea8599 Update changelog 2017-03-24 15:36:47 -07:00
Luke Morris 815ec99eb3 Update CHANGELOG 2017-03-24 13:31:06 -07:00
lukevmorris 668a1c5fc8 Create a new dashboard cell; Fix remaining bugs with Overlay (#1056)
* Relax query validation for cell endpoint

* Dashboards can now add a cell; Rebase over 950-overlay_technologies-edit

* Server now returns empty queries array when creating a new dashboard cell

* Use async/await pattern for addDashboardCell, add basic error handling

* Update names of methods and actions for editing and updating cells to match those for adding

Factor out newDefaultCell to dashboard constants

* Update CHANGELOG

* Fix bug where Overlay wouldn’t display for query-less cells

* We removed these validations
2017-03-23 17:50:21 -07:00
Jared Scheib b90ff76670 Introduce ability to edit a dashboard cell
* Correct documentation for dashboards

* Exclude .git and use 'make run-dev' in 'make continuous'

* Fix dashboard deletion bug where id serialization was wrong

* Commence creation of overlay technology, add autoRefresh props to DashboardPage

* Enhance overlay magnitude of overlay technology

* Add confirm buttons to overlay technology

* Refactor ResizeContainer to accommodate arbitrary containers

* Refactor ResizeContainer to require explicit ResizeTop and ResizeBottom for clarity

* Add markup and styles for OverlayControls

* CellEditorOverlay needs a larger minimum bottom height to accommodate more things

* Revert Visualization to not use ResizeTop or flex-box

* Remove TODO and move to issue

* Refactor CellEditorOverlay to allow selection of graph type

* Style Overlay controls, move confirm buttons to own stylesheet

* Fix toggle buttons in overlay so active is actually active

* Block user-select on a few UI items

* Update cell query shape to support Visualization and LayoutRenderer

* Code cleanup

* Repair fixture schema; update props for affected components

* Wired up selectedGraphType and activeQueryID in CellEditorOverlay

* Wire up chooseMeasurements in QueryBuilder

Pass queryActions into QueryBuilder so that DataExplorer can provide
actionCreators and CellEditorOverlay can provide functions that
modify its component state

* semicolon cleanup

* Bind all queryModifier actions to component state with a stateReducer

* Overlay Technologies™ can add and delete a query from a cell

* Semicolon cleanup

* Add conversion of InfluxQL to QueryConfig for dashboards

* Update go deps to add influxdb at af72d9b0e4

* Updated docs for dashboard query config

* Update CHANGELOG to mention InfluxQL to QueryConfig

* Make reducer’s name more specific for clarity

* Remove 'table' as graphType

* Make graph renaming prettier

* Remove duplicate DashboardQuery in swagger.json

* Fix swagger to include name and links for Cell

* Refactor CellEditorOverlay to enable graph type selection

* Add link.self to all Dashboard cells; add bolt migrations

* Make dash graph names only hover on contents

* Consolidate timeRange format patterns, clean up

* Add cell endpoints to dashboards

* Include Line + Stat in Visualization Type list

* Add cell link to dashboards

* Enable step plot and stacked graph in Visualization

* Overlay Technologies are summonable and dismissable

* OverlayTechnologies saves changes to a cell

* Convert NameableGraph to createClass for state

This was converted from a pure function to encapsulate the state of the
buttons. An attempt was made previously to store this state in Redux,
but it proved too convoluted with the current state of the reducers for
cells and dashboards. Another effort must take place to separate a cell
reducer to manage the state of an individual cell in Redux in order for
this state to be sanely kept in Redux as well.

For the time being, this state is being kept in the component for the
sake of expeditiousness, since this is needed for Dashboards to be
released. A refactor of this will occur later.

* Cells should contain a links key in server response

* Clean up console logs

* Use live data instead of a cellQuery fixture

* Update docs for dashboard creation

* DB and RP are already present in the Command field

* Fix LayoutRenderer’s understanding of query schema

* Return a new object, rather that mutate in place

* Visualization doesn’t use activeQueryID

* Selected is an object, not a string

* QueryBuilder refactored to use query index instead of query id

* CellEditorOverlay refactored to use query index instead of query id

* ConfirmButtons doesn’t need to act on an item

* Rename functions to follow convention

* Queries are no longer guaranteed to have ids

* Omit WHERE and GROUP BY clauses when saving query

* Select new query on add in OverlayTechnologies

* Add click outside to dash graph menu, style menu also

* Change context menu from ... to a caret

More consistent with the rest of the UI, better affordance

* Hide graph context menu in presentation mode

Don’t want people editing a dashboard from presentation mode

* Move graph refreshing spinner so it does not overlap with context menu

* Wire up Cell Menu to Overlay Technologies

* Correct empty dashboard type

* Refactor dashboard spec fixtures

* Test syncDashboardCell reducer

* Remove Delete button from graph dropdown menu (for now)

* Update changelog
2017-03-23 17:12:33 -07:00
Tim Raymond 9d8543715d Update CHANGELOG with edit cell feature [ci skip] 2017-03-14 15:42:02 -04:00
Regan Kuchan 9f46017cc8 Update Changelog and Readme for beta5 2017-03-10 19:11:13 -08:00
Jared Scheib 26716ad280 Merge branch 'master' into feature/admin
Conflicts:
	CHANGELOG.md
	enterprise/users.go
	server/admin.go
	server/admin_test.go
	ui/.eslintrc
	ui/src/shared/constants/index.js
	ui/src/store/configureStore.js
	ui/src/style/theme/theme-dark.scss
2017-03-10 18:36:37 -08:00
Jared Scheib ed3a873413 Update changelog 2017-03-10 18:02:29 -08:00
nathan haugo 47189e99f6 Update changelog 2017-03-10 08:35:08 -08:00
Jared Scheib 2c8ede700e Update changelog 2017-03-09 12:50:08 -08:00
Tim Raymond 5e80641667 Update CHANGELOG
Added entry on fixing AutoRefresh to not flash an empty graph.
Fixed numbering on previous entry.
2017-03-09 13:00:49 -05:00
Chris Goller 1bfddd1b0a Update CHANGELOG to mention fixing dashboards #968 2017-03-06 13:42:07 -06:00
Jared Scheib df5d8e9941 Fix revert failure chain and thus: add autoRefresh with pause 2017-03-03 15:30:33 -08:00
Andrew Watkins ed85ba9029 Revert "Allow user to set auto-refresh interval" 2017-03-03 14:22:07 -08:00
Jared Scheib d70c07004f Merge branch 'master' into 781-autorefresh_config 2017-03-01 21:30:37 -08:00
Jared Scheib 543e205391 Update changelog 2017-02-28 17:28:51 -08:00
Chris Goller 7d29bf92a9 Update CHANGELOG to mention fixing socket leaks 2017-02-28 16:08:24 -06:00
Regan Kuchan ac11180d3b Update changelog 2017-02-24 16:44:15 -08:00
Chris Goller af0f40248f Merge pull request #916 from influxdata/de-font-scale
Responsive Data Explorer
2017-02-24 17:44:42 -06:00
Chris Goller 57fca041cb Update CHANGELOG to add links to google/heroku documentation 2017-02-24 17:35:54 -06:00
Chris Goller 0a2a00274e Update CHANGELOG to mention font size changes 2017-02-24 17:32:03 -06:00
Jared Scheib 4cb46aef28 Merge pull request #926 from influxdata/fix-kapacitor-graph-height
Fix Kapacitor rule graph display
2017-02-24 12:22:44 -08:00
Jared Scheib d0fd8e017a Update changelog 2017-02-24 12:10:32 -08:00
Chris Goller 51e105c2ba Fix bad merge 2017-02-24 11:48:51 -06:00
Chris Goller 701a041a88 Merge branch 'master' into feature/connection-info#825
Conflicts:
	CHANGELOG.md
2017-02-24 11:29:43 -06:00
Chris Goller b29846da68 Merge pull request #922 from influxdata/feature/oauth-google
Support Multiple OAuth2 Providers - Add Heroku and Google
2017-02-23 17:34:01 -06:00
Tim Raymond 6202736230 Updated README and CHANGELOG [ci skip]
- Added Oauth2 support for Heroku and Google (#922)
2017-02-23 18:32:50 -05:00
Jared Scheib 6c67dcf402 Merge 'master' into 751-stack_graph, resolve conflicts 2017-02-23 14:33:07 -08:00
Jared Scheib 03a6624d78 Update changelog 2017-02-23 14:26:48 -08:00
Andrew Watkins c728f33bc5 Merge branch 'master' into feature/885-presentation-mode-1 2017-02-23 15:35:03 -06:00
Andrew Watkins d2d1f9f81e Update CHANGELOG 2017-02-22 20:49:32 -06:00
Andrew Watkins 85e1a6fea4 Update CHANGELOG 2017-02-22 11:08:50 -06:00
Jared Scheib 3656ce4844 Update changelog 2017-02-21 18:42:17 -08:00
Jared Scheib f1b58cebe7 Update changelog 2017-02-21 13:48:08 -08:00
Jared Scheib b9ef581c67 Merge branch 'master' into kapacitor-padding 2017-02-16 18:03:08 -08:00
Jared Scheib 063c19cd00 Update changelog 2017-02-16 16:10:54 -08:00
Chris Goller 8d559fda84 Merge branch 'master' into feature/tls 2017-02-16 09:02:32 -06:00
Regan Kuchan 011f84467b Update changelog for 1.2.0-beta3 2017-02-15 15:24:17 -08:00
nathan haugo e5bd4ba1c9 Update changelog 2017-02-15 15:00:43 -08:00
Chris Goller 9b30fbe072 Fix CHANGELOG markdown typos 2017-02-15 08:56:49 -06:00
Chris Goller 94ea2508a2 Update CHANGELOG mentioning fixing kapacitor page bugs 2017-02-15 08:55:03 -06:00
Chris Goller 3f57ce1d33 Update CHANGELOG to mention supporting TLS/HTTPS 2017-02-14 10:37:27 -06:00
Regan Kuchan bb1d91ecb0 Update changelog for 1.2.0-beta2 2017-02-10 15:59:21 -08:00
Hunter Trujillo 07a28ef9a3 Merge branch 'master' into http-tcp
# Conflicts:
#	CHANGELOG.md
2017-02-10 16:03:30 -07:00
Chris Goller 321700a04e Merge pull request #868 from influxdata/disable-alert
Change rule status
2017-02-10 16:41:28 -06:00