influxdb/CHANGELOG.md

414 lines
32 KiB
Markdown
Raw Normal View History

## v1.3.3.0 [unreleased]
2017-05-19 17:14:10 +00:00
### Bug Fixes
2017-06-06 22:13:27 +00:00
1. [#1512](https://github.com/influxdata/chronograf/pull/1512): Prevent legend from flowing over window bottom bound
### Features
2017-06-06 22:13:27 +00:00
1. [#1512](https://github.com/influxdata/chronograf/pull/1512): Synchronize vertical crosshair at same time across all graphs in a dashboard
### UI Improvements
2017-06-06 22:13:27 +00:00
1. [#1512](https://github.com/influxdata/chronograf/pull/1512): When dashboard time range is changed, reset graphs that are zoomed in
## v1.3.2.1 [2017-06-06]
### Bug Fixes
1. [#1594](https://github.com/influxdata/chronograf/pull/1594): Restore Line + Single Stat styles
## v1.3.2.0 [2017-06-05]
### Bug Fixes
1. [#1530](https://github.com/influxdata/chronograf/pull/1530): Update the query config's field ordering to always match the input query
1. [#1535](https://github.com/influxdata/chronograf/pull/1535): Allow users to add functions to existing Kapacitor rules
1. [#1564](https://github.com/influxdata/chronograf/pull/1564): Fix logout menu item regression
1. [#1562](https://github.com/influxdata/chronograf/pull/1562): Fix InfluxQL parsing with multiple tag values for a tag key
1. [#1582](https://github.com/influxdata/chronograf/pull/1582): Fix load localStorage and warning UX on fresh Chronograf install
1. [#1584](https://github.com/influxdata/chronograf/pull/1584): Show submenus when the alert notification is present
2017-05-19 17:14:10 +00:00
### Features
1. [#1537](https://github.com/influxdata/chronograf/pull/1537): Add UI to the Data Explorer for [writing data to InfluxDB](https://docs.influxdata.com/chronograf/latest/guides/transition-web-admin-interface/#writing-data)
2017-05-19 17:14:10 +00:00
### UI Improvements
1. [#1508](https://github.com/influxdata/chronograf/pull/1508): Make the enter and escape keys perform as expected when renaming dashboards
1. [#1524](https://github.com/influxdata/chronograf/pull/1524): Improve copy on the Kapacitor configuration page
1. [#1549](https://github.com/influxdata/chronograf/pull/1549): Reset graph zoom when the user selects a new time range
1. [#1544](https://github.com/influxdata/chronograf/pull/1544): Upgrade to new version of Influx Theme, and remove excess stylesheets
1. [#1567](https://github.com/influxdata/chronograf/pull/1567): Replace the user icon with a solid style
1. [#1561](https://github.com/influxdata/chronograf/pull/1561): Disable query save in cell editor mode if the query does not have a database, measurement, and field
1. [#1575](https://github.com/influxdata/chronograf/pull/1575): Improve UX of applying functions to fields in the query builder
2017-05-19 17:14:10 +00:00
2017-05-22 18:23:55 +00:00
## v1.3.1.0 [2017-05-22]
### Release notes
In versions 1.3.1+, installing a new version of Chronograf automatically clears the localStorage settings.
2017-04-12 00:21:56 +00:00
### Bug Fixes
1. [#1450](https://github.com/influxdata/chronograf/pull/1450): Fix infinite spinner when `/chronograf` is a [basepath](https://docs.influxdata.com/chronograf/v1.3/administration/configuration/#p-basepath)
2017-05-22 18:23:55 +00:00
1. [#1472](https://github.com/influxdata/chronograf/pull/1472): Remove the query templates dropdown from dashboard cell editor mode
1. [#1458](https://github.com/influxdata/chronograf/pull/1458): New versions of Chronograf automatically clear localStorage settings
2017-05-22 18:23:55 +00:00
1. [#1464](https://github.com/influxdata/chronograf/pull/1464): Fix the backwards sort arrows in table column headers
1. [#1464](https://github.com/influxdata/chronograf/pull/1464): Fix the loading spinner on graphs
1. [#1485](https://github.com/influxdata/chronograf/pull/1485): Filter out any template variable values that are empty, whitespace, or duplicates
1. [#1484](https://github.com/influxdata/chronograf/pull/1484): Allow user to select SingleStat as Visualization Type before adding any queries and continue to be able to click Add Query
2017-05-19 03:55:05 +00:00
1. [#1349](https://github.com/influxdata/chronograf/pull/1349): Add query for windows uptime
1. [#1484](https://github.com/influxdata/chronograf/pull/1484): Allow users to click the add query button after selecting singleStat as the [visualization type](https://docs.influxdata.com/chronograf/v1.3/troubleshooting/frequently-asked-questions/#what-visualization-types-does-chronograf-support)
1. [#1349](https://github.com/influxdata/chronograf/pull/1349): Add a query for windows uptime - thank you, @brianbaker!
2017-04-29 00:14:42 +00:00
### Features
1. [#1477](https://github.com/influxdata/chronograf/pull/1477): Add log [event handler](https://docs.influxdata.com/chronograf/v1.3/troubleshooting/frequently-asked-questions/#what-kapacitor-event-handlers-are-supported-in-chronograf) - thank you, @mpchadwick!
1. [#1491](https://github.com/influxdata/chronograf/pull/1491): Update Go (golang) vendoring to dep and committed vendor directory
1. [#1500](https://github.com/influxdata/chronograf/pull/1500): Add autocomplete functionality to [template variable](https://docs.influxdata.com/chronograf/v1.3/guides/dashboard-template-variables/) dropdowns
### UI Improvements
1. [#1451](https://github.com/influxdata/chronograf/pull/1451): Refactor scrollbars to support non-webkit browsers
1. [#1453](https://github.com/influxdata/chronograf/pull/1453): Increase the query builder's default height in cell editor mode and in the data explorer
1. [#1453](https://github.com/influxdata/chronograf/pull/1453): Give QueryMaker a greater initial height than Visualization
2017-05-12 22:05:30 +00:00
1. [#1475](https://github.com/influxdata/chronograf/pull/1475): Add ability to toggle visibility of the Template Control Bar
1. [#1464](https://github.com/influxdata/chronograf/pull/1464): Make the [template variables](https://docs.influxdata.com/chronograf/v1.3/guides/dashboard-template-variables/) manager more space efficient
2017-05-12 17:04:23 +00:00
1. [#1464](https://github.com/influxdata/chronograf/pull/1464): Add page spinners to pages that did not have them
1. [#1464](https://github.com/influxdata/chronograf/pull/1464): Denote which source is connected in the sources table
2017-05-22 18:23:55 +00:00
1. [#1464](https://github.com/influxdata/chronograf/pull/1464): Make the logout button consistent with design
1. [#1478](https://github.com/influxdata/chronograf/pull/1478): Use milliseconds in the InfluxDB dashboard instead of nanoseconds
1. [#1498](https://github.com/influxdata/chronograf/pull/1498): Notify users when local settings are cleared
2017-05-09 02:31:15 +00:00
## v1.3.0 [2017-05-09]
2017-05-08 23:22:45 +00:00
### Bug Fixes
2017-05-09 02:31:15 +00:00
1. [#1364](https://github.com/influxdata/chronograf/pull/1364): Fix the link to home when using the `--basepath` option
1. [#1370](https://github.com/influxdata/chronograf/pull/1370): Remove the notification to login on the login page
1. [#1376](https://github.com/influxdata/chronograf/pull/1376): Support queries that perform math on functions
1. [#1399](https://github.com/influxdata/chronograf/pull/1399): Prevent the creation of blank template variables
1. [#1406](https://github.com/influxdata/chronograf/pull/1406): Ensure thresholds for Kapacitor Rule Alerts appear on page load
2017-05-09 02:31:15 +00:00
1. [#1412](https://github.com/influxdata/chronograf/pull/1412): Update the Kapacitor configuration page when the configuration changes
1. [#1407](https://github.com/influxdata/chronograf/pull/1407): Fix Authentication when using Chronograf with a set `basepath`
1. [#1417](https://github.com/influxdata/chronograf/pull/1417): Support escaping from presentation mode in Safari
1. [#1365](https://github.com/influxdata/chronograf/pull/1365): Show red indicator on Hosts Page for an offline host
1. [#1379](https://github.com/influxdata/chronograf/pull/1379): Re-implement level colors on the alerts page
1. [#1433](https://github.com/influxdata/chronograf/pull/1433): Fix router bug introduced by upgrading to react-router v3.0
1. [#1435](https://github.com/influxdata/chronograf/pull/1435): Show legend on Line+Stat visualization type
1. [#1436](https://github.com/influxdata/chronograf/pull/1436): Prevent queries with `:dashboardTime:` from breaking the query builder
2017-04-29 00:14:42 +00:00
### Features
2017-05-09 02:31:15 +00:00
1. [#1382](https://github.com/influxdata/chronograf/pull/1382): Add line-protocol proxy for InfluxDB/InfluxEnterprise Cluster data sources
1. [#1391](https://github.com/influxdata/chronograf/pull/1391): Add `:dashboardTime:` to support cell-specific time ranges on dashboards
1. [#1201](https://github.com/influxdata/chronograf/pull/1201): Add support for enabling and disabling TICKscripts that were created outside Chronograf
1. [#1401](https://github.com/influxdata/chronograf/pull/1401): Allow users to delete Kapacitor configurations
2017-04-29 00:14:42 +00:00
### UI Improvements
2017-05-09 02:31:15 +00:00
1. [#1378](https://github.com/influxdata/chronograf/pull/1378): Save user-provided relative time ranges in cells
1. [#1373](https://github.com/influxdata/chronograf/pull/1373): Improve how cell legends and options appear on dashboards
1. [#1385](https://github.com/influxdata/chronograf/pull/1385): Combine the measurements and tags columns in the Data Explorer and implement a new design for applying functions to fields
1. [#602](https://github.com/influxdata/chronograf/pull/602): Normalize the terminology in Chronograf
1. [#1392](https://github.com/influxdata/chronograf/pull/1392): Make overlays full-screen
1. [#1395](https://github.com/influxdata/chronograf/pull/1395):Change the default global time range to past 1 hour
1. [#1439](https://github.com/influxdata/chronograf/pull/1439): Add Source Indicator icon to the Configuration and Admin pages
2017-04-29 00:14:42 +00:00
## v1.2.0-beta10 [2017-04-28]
### Bug Fixes
1. [#1337](https://github.com/influxdata/chronograf/pull/1337): Add support for blank hostnames on the Host List page
1. [#1340](https://github.com/influxdata/chronograf/pull/1340): Fix case where the Explorer and cell editor falsely assumed there was no active query
1. [#1338](https://github.com/influxdata/chronograf/pull/1338): Require url and name when adding a new source
2017-04-29 00:14:42 +00:00
1. [#1348](https://github.com/influxdata/chronograf/pull/1348): Fix broken `Add Kapacitor` link on the Alerts page - thank you, @nickysemenza
2017-04-22 02:19:36 +00:00
### Features
2017-04-29 00:14:42 +00:00
1. [#1154](https://github.com/influxdata/chronograf/issues/1154): Add template variables to Chronograf's customized dashboards
2017-05-01 18:11:11 +00:00
1. [#1351](https://github.com/influxdata/chronograf/pull/1351): Add a canned dashboard for [phpfpm](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/phpfpm) - thank you, @nickysemenza
2017-04-29 00:14:42 +00:00
2017-04-22 02:19:36 +00:00
### UI Improvements
2017-04-29 00:14:42 +00:00
1. [#1335](https://github.com/influxdata/chronograf/pull/1335): Improve UX for sanitized Kapacitor event handler settings
1. [#1342](https://github.com/influxdata/chronograf/pull/1342): Fix DB Management's abrupt database sort; only sort databases after refresh/returning to page
1. [#1344](https://github.com/influxdata/chronograf/pull/1344): Remove the empty, default Kubernetes dashboard
1. [#1340](https://github.com/influxdata/chronograf/pull/1340): Automatically switch to table view the query is a meta query
2017-04-25 18:51:55 +00:00
2017-04-22 02:19:36 +00:00
## v1.2.0-beta9 [2017-04-21]
### Bug Fixes
1. [#1257](https://github.com/influxdata/chronograf/issues/1257): Fix function selection in the query builder
1. [#1244](https://github.com/influxdata/chronograf/pull/1244): Fix the environment variable name for Google client secret
1. [#1269](https://github.com/influxdata/chronograf/issues/1269): Add more functionality to the explorer's query generation process
1. [#1318](https://github.com/influxdata/chronograf/issues/1318): Fix JWT refresh for auth-durations of zero and less than five minutes
2017-04-25 18:51:55 +00:00
1. [#1332](https://github.com/influxdata/chronograf/pull/1332): Remove table toggle from dashboard visualization
2017-04-25 23:08:42 +00:00
1. [#1335](https://github.com/influxdata/chronograf/pull/1335): Improve UX for sanitized kapacitor settings
2017-04-14 00:57:09 +00:00
2017-04-12 00:21:56 +00:00
### Features
2017-04-14 23:32:32 +00:00
1. [#1292](https://github.com/influxdata/chronograf/pull/1292): Introduce Template Variable Manager
2017-04-14 00:57:09 +00:00
1. [#1232](https://github.com/influxdata/chronograf/pull/1232): Fuse the query builder and raw query editor
2017-04-22 02:19:36 +00:00
1. [#1265](https://github.com/influxdata/chronograf/pull/1265): Refactor the router to use auth and force /login route when auth expires
1. [#1286](https://github.com/influxdata/chronograf/pull/1286): Add refreshing JWTs for authentication
1. [#1316](https://github.com/influxdata/chronograf/pull/1316): Add templates API scoped within a dashboard
2017-04-18 18:28:30 +00:00
1. [#1311](https://github.com/influxdata/chronograf/pull/1311): Display currently selected values in TVControlBar
2017-04-19 23:25:04 +00:00
1. [#1315](https://github.com/influxdata/chronograf/pull/1315): Send selected TV values to proxy
2017-04-22 02:19:36 +00:00
1. [#1302](https://github.com/influxdata/chronograf/pull/1302): Add support for multiple Kapacitors per InfluxDB source
2017-04-14 00:57:09 +00:00
2017-04-12 00:21:56 +00:00
### UI Improvements
2017-04-22 02:19:36 +00:00
1. [#1259](https://github.com/influxdata/chronograf/pull/1259): Add a default display for empty dashboard
1. [#1258](https://github.com/influxdata/chronograf/pull/1258): Display Kapacitor alert endpoint options as radio button group
2017-04-21 01:28:46 +00:00
1. [#1321](https://github.com/influxdata/chronograf/pull/1321): Add yellow color to UI, Query Editor warnings are now appropriately colored
2017-04-12 00:21:56 +00:00
2017-04-07 22:54:38 +00:00
## v1.2.0-beta8 [2017-04-07]
2016-12-06 19:47:23 +00:00
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 15:53:11 +00:00
### Bug Fixes
2017-04-07 22:54:38 +00:00
1. [#1104](https://github.com/influxdata/chronograf/pull/1104): Fix Windows hosts on the host list page
1. [#1125](https://github.com/influxdata/chronograf/pull/1125): Show cell name when editing dashboard cells
1. [#1134](https://github.com/influxdata/chronograf/pull/1134): Fix Enterprise Kapacitor authentication
1. [#1142](https://github.com/influxdata/chronograf/pull/1142): Fix Telegram Kapacitor configuration to display the correct disableNotification setting
1. [#1124](https://github.com/influxdata/chronograf/pull/1124): Fix broken graph spinner in the explorer and when editing dashboard cells
1. [#1124](https://github.com/influxdata/chronograf/pull/1124): Fix obscured legends in dashboards
1. [#1149](https://github.com/influxdata/chronograf/pull/1149): Exit presentation mode on dashboards when using the browser back button
1. [#1152](https://github.com/influxdata/chronograf/pull/1152): Widen single column results in the explorer
1. [#1164](https://github.com/influxdata/chronograf/pull/1164): Restore ability to save raw queries to a dashboard cell
1. [#1115](https://github.com/influxdata/chronograf/pull/1115): Fix `--basepath` issue where content would fail to render under certain circumstances
1. [#1173](https://github.com/influxdata/chronograf/pull/1173): Actually save emails in Kapacitor alerts
1. [#1178](https://github.com/influxdata/chronograf/pull/1178): Ensure Safari renders the explorer and CellEditorOverlay correctly
1. [#1182](https://github.com/influxdata/chronograf/pull/1182): Fix empty tags for non-default retention policies
1. [#1179](https://github.com/influxdata/chronograf/pull/1179): Render databases without retention policies on the admin page
1. [#1128](https://github.com/influxdata/chronograf/pull/1128): Fix dashboard cell repositioning 👻
1. [#1189](https://github.com/influxdata/chronograf/pull/1189): Improve dashboard cell renaming UX
1. [#1202](https://github.com/influxdata/chronograf/pull/1202): Fix server returning unquoted InfluxQL keyword identifiers (e.g. `mean(count)`)
1. [#1203](https://github.com/influxdata/chronograf/pull/1203): Fix redirect with authentication in Chronograf for InfluxEnterprise
1. [#1095](https://github.com/influxdata/chronograf/pull/1095): Restore the logout button
1. [#1209](https://github.com/influxdata/chronograf/pull/1209): Ask for the HipChat subdomain instead of the entire HipChat URL in the HipChat Kapacitor configuration
1. [#1223](https://github.com/influxdata/chronograf/pull/1223): Use vhost as Chronograf's proxy to Kapacitor
1. [#1205](https://github.com/influxdata/chronograf/pull/1205): Allow initial source to be an InfluxEnterprise source
### Features
2017-03-29 03:09:12 +00:00
1. [#1112](https://github.com/influxdata/chronograf/pull/1112): Add ability to delete a dashboard
2017-04-07 22:54:38 +00:00
1. [#1120](https://github.com/influxdata/chronograf/pull/1120): Allow admins to update user passwords
1. [#1129](https://github.com/influxdata/chronograf/pull/1129): Allow InfluxDB and Kapacitor configuration via environment vars or CLI options
1. [#1130](https://github.com/influxdata/chronograf/pull/1130): Add loading spinner to the alert history page
1. [#1168](https://github.com/influxdata/chronograf/pull/1168): Expand support for `--basepath` on some load balancers
1. [#1204](https://github.com/influxdata/chronograf/pull/1204): Add Slack channel per Kapacitor alert rule configuration
1. [#1119](https://github.com/influxdata/chronograf/pull/1119): Add new auth duration CLI option; add client heartbeat
1. [#1207](https://github.com/influxdata/chronograf/pull/1207): Add support for custom OAuth2 providers
2017-04-07 22:54:38 +00:00
1. [#1212](https://github.com/influxdata/chronograf/pull/1212): Add meta query templates and loading animation to the RawQueryEditor
1. [#1221](https://github.com/influxdata/chronograf/pull/1221): Remove the default query from empty cells on dashboards
1. [#1101](https://github.com/influxdata/chronograf/pull/1101): Compress InfluxQL responses with gzip
2017-03-29 03:09:12 +00:00
### UI Improvements
2017-04-07 22:54:38 +00:00
1. [#1132](https://github.com/influxdata/chronograf/pull/1132): Show blue strip next to active tab on the sidebar
1. [#1135](https://github.com/influxdata/chronograf/pull/1135): Clarify Kapacitor alert configuration for Telegram
1. [#1137](https://github.com/influxdata/chronograf/pull/1137): Clarify Kapacitor alert configuration for HipChat
1. [#1136](https://github.com/influxdata/chronograf/pull/1136): Remove series highlighting in line graphs
1. [#1124](https://github.com/influxdata/chronograf/pull/1124): Polish UI:
* Polish dashboard cell drag interaction
* Use Hover-To-Reveal UI pattern in all tables
* Clarify source Indicator & Graph Tips
* Improve DB Management page UI
1. [#1187](https://github.com/influxdata/chronograf/pull/1187): Replace kill query confirmation modal with confirm buttons
1. [#1185](https://github.com/influxdata/chronograf/pull/1185): Alphabetically sort databases and retention policies on the admin page
2017-04-07 22:54:38 +00:00
1. [#1199](https://github.com/influxdata/chronograf/pull/1199): Move rename cell functionality to cell dropdown menu
2017-04-07 22:01:28 +00:00
1. [#1211](https://github.com/influxdata/chronograf/pull/1211): Reverse the positioning of the graph visualization and the query builder on the Data Explorer page
1. [#1222](https://github.com/influxdata/chronograf/pull/1222): Isolate cell repositioning to just those affected by adding a new cell
## v1.2.0-beta7 [2017-03-28]
### Bug Fixes
1. [#1008](https://github.com/influxdata/chronograf/issues/1008): Fix unexpected redirection to create sources page when deleting a source
1. [#1067](https://github.com/influxdata/chronograf/issues/1067): Fix issue creating retention policies
1. [#1068](https://github.com/influxdata/chronograf/issues/1068): Fix issue deleting databases
1. [#1078](https://github.com/influxdata/chronograf/issues/1078): Fix cell resizing in dashboards
1. [#1070](https://github.com/influxdata/chronograf/issues/1070): Save GROUP BY tag(s) clauses on dashboards
1. [#1086](https://github.com/influxdata/chronograf/issues/1086): Fix validation for deleting databases
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 15:53:11 +00:00
### Features
2017-04-07 22:54:38 +00:00
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 15:53:11 +00:00
### UI Improvements
1. [#1092](https://github.com/influxdata/chronograf/pull/1092): Persist and render Dashboard Cell groupby queries
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 15:53:11 +00:00
2017-03-24 22:36:47 +00:00
## v1.2.0-beta6 [2017-03-24]
2017-03-27 17:45:00 +00:00
### Bug Fixes
1. [#1065](https://github.com/influxdata/chronograf/pull/1065): Add functionality to the `save` and `cancel` buttons on editable dashboards
2. [#1069](https://github.com/influxdata/chronograf/pull/1069): Make graphs on pre-created dashboards un-editable
3. [#1085](https://github.com/influxdata/chronograf/pull/1085): Make graphs resizable again
4. [#1087](https://github.com/influxdata/chronograf/pull/1087): Hosts page now displays proper loading, host count, and error messages.
2017-03-27 17:45:00 +00:00
2017-03-11 03:11:13 +00:00
### Features
2017-03-25 01:22:16 +00:00
1. [#1056](https://github.com/influxdata/chronograf/pull/1056): Add ability to add a dashboard cell
2. [#1020](https://github.com/influxdata/chronograf/pull/1020): Allow users to edit cell names on dashboards
3. [#1015](https://github.com/influxdata/chronograf/pull/1015): Add ability to edit a dashboard cell
4. [#832](https://github.com/influxdata/chronograf/issues/832): Add a database and retention policy management page
5. [#1035](https://github.com/influxdata/chronograf/pull/1035): Add ability to move and edit queries between raw InfluxQL mode and Query Builder mode
2017-03-11 03:11:13 +00:00
### UI Improvements
## v1.2.0-beta5 [2017-03-10]
2017-02-25 00:44:15 +00:00
### Bug Fixes
1. [#936](https://github.com/influxdata/chronograf/pull/936): Fix leaking sockets for InfluxQL queries
2017-03-11 03:11:13 +00:00
2. [#967](https://github.com/influxdata/chronograf/pull/967): Fix flash of empty graph on auto-refresh when no results were previously returned from a query
3. [#968](https://github.com/influxdata/chronograf/issue/968): Fix wrong database used in dashboards
2017-02-25 00:44:15 +00:00
### Features
2017-03-11 03:11:13 +00:00
1. [#993](https://github.com/influxdata/chronograf/pull/993): Add Admin page for managing users, roles, and permissions for [OSS InfluxDB](https://github.com/influxdata/influxdb) and InfluxData's [Enterprise](https://docs.influxdata.com/enterprise/v1.2/) product
2. [#993](https://github.com/influxdata/chronograf/pull/993): Add Query Management features including the ability to view active queries and stop queries
2017-02-25 00:44:15 +00:00
### UI Improvements
2017-03-10 16:35:08 +00:00
1. [#989](https://github.com/influxdata/chronograf/pull/989) Add a canned dashboard for mesos
2017-03-11 03:11:13 +00:00
2. [#993](https://github.com/influxdata/chronograf/pull/993): Improve the multi-select dropdown
3. [#993](https://github.com/influxdata/chronograf/pull/993): Provide better error information to users
2017-02-25 00:44:15 +00:00
## v1.2.0-beta4 [2017-02-24]
2017-02-10 23:59:21 +00:00
### Bug Fixes
2017-02-17 00:10:54 +00:00
1. [#882](https://github.com/influxdata/chronograf/pull/882): Fix y-axis graph padding
2017-02-22 02:42:17 +00:00
2. [#907](https://github.com/influxdata/chronograf/pull/907): Fix react-router warning
2017-02-24 20:10:32 +00:00
3. [#926](https://github.com/influxdata/chronograf/pull/926): Fix Kapacitor RuleGraph display
2017-02-17 00:10:54 +00:00
2017-02-10 23:59:21 +00:00
### Features
2017-02-22 16:58:47 +00:00
1. [#873](https://github.com/influxdata/chronograf/pull/873): Add [TLS](https://github.com/influxdata/chronograf/blob/master/docs/tls.md) support
2017-02-25 00:44:15 +00:00
2. [#885](https://github.com/influxdata/chronograf/issues/885): Add presentation mode to the dashboard page
2017-02-22 16:58:47 +00:00
3. [#891](https://github.com/influxdata/chronograf/issues/891): Make dashboard visualizations draggable
4. [#892](https://github.com/influxdata/chronograf/issues/891): Make dashboard visualizations resizable
5. [#893](https://github.com/influxdata/chronograf/issues/893): Persist dashboard visualization position
6. [#922](https://github.com/influxdata/chronograf/issues/922): Additional OAuth2 support for [Heroku](https://github.com/influxdata/chronograf/blob/master/docs/auth.md#heroku) and [Google](https://github.com/influxdata/chronograf/blob/master/docs/auth.md#google)
7. [#781](https://github.com/influxdata/chronograf/issues/781): Add global auto-refresh dropdown to all graph dashboards
2017-02-10 23:59:21 +00:00
### UI Improvements
2017-02-21 21:48:08 +00:00
1. [#905](https://github.com/influxdata/chronograf/pull/905): Make scroll bar thumb element bigger
2017-02-25 00:44:15 +00:00
2. [#917](https://github.com/influxdata/chronograf/pull/917): Simplify the sidebar
3. [#920](https://github.com/influxdata/chronograf/pull/920): Display stacked and step plot graph types
4. [#851](https://github.com/influxdata/chronograf/pull/851): Add configuration for [InfluxEnterprise](https://portal.influxdata.com/) meta nodes
5. [#916](https://github.com/influxdata/chronograf/pull/916): Dynamically scale font size based on resolution
2017-01-28 00:43:42 +00:00
2017-02-15 23:22:28 +00:00
## v1.2.0-beta3 [2017-02-15]
### Bug Fixes
1. [#879](https://github.com/influxdata/chronograf/pull/879): Fix several Kapacitor configuration page state bugs: [#875](https://github.com/influxdata/chronograf/issues/875), [#876](https://github.com/influxdata/chronograf/issues/876), [#878](https://github.com/influxdata/chronograf/issues/878)
2. [#872](https://github.com/influxdata/chronograf/pull/872): Fix incorrect data source response
2017-01-28 00:43:42 +00:00
2017-02-15 23:22:28 +00:00
### Features
1. [#896](https://github.com/influxdata/chronograf/pull/896) Add more docker stats
2017-02-10 23:59:21 +00:00
## v1.2.0-beta2 [2017-02-10]
### Bug Fixes
1. [#865](https://github.com/influxdata/chronograf/issues/865): Support for String fields compare Kapacitor rules in Chronograf UI
### Features
1. [#838](https://github.com/influxdata/chronograf/issues/838): Add [detail node](https://docs.influxdata.com/kapacitor/latest/nodes/alert_node/#details) to Kapacitor alerts
2. [#847](https://github.com/influxdata/chronograf/issues/847): Enable and disable Kapacitor alerts from the alert manager page
3. [#853](https://github.com/influxdata/chronograf/issues/853): Update builds to use yarn over npm install
4. [#860](https://github.com/influxdata/chronograf/issues/860): Add gzip encoding and caching of static assets to server
2017-02-10 23:59:21 +00:00
5. [#864](https://github.com/influxdata/chronograf/issues/864): Add support to Kapacitor rule alert configuration for:
- HTTP
- TCP
- Exec
- SMTP
- Alerta
2017-01-28 00:43:42 +00:00
2017-02-10 23:59:21 +00:00
### UI Improvements
1. [#822](https://github.com/influxdata/chronograf/issues/822): Simplify and improve the layout of the Data Explorer
- The Data Explorer's intention and purpose has always been the ad hoc and ephemeral exploration of your schema and data.
2017-02-09 19:17:37 +00:00
The concept of `Exploration` sessions and `Panels` betrayed this initial intention. The DE turned into a "poor man's"
2017-02-10 23:59:21 +00:00
dashboarding tool. In turn, this introduced complexity in the code and the UI. In the future if I want to save, manipulate,
2017-02-09 19:17:37 +00:00
and view multiple visualizations this will be done more efficiently and effectively in our dashboarding solution.
2017-01-28 00:43:42 +00:00
## v1.2.0-beta1 [2017-01-27]
### Bug Fixes
1. [#788](https://github.com/influxdata/chronograf/pull/788): Fix missing fields in data explorer when using non-default retention policy
2. [#774](https://github.com/influxdata/chronograf/issues/774): Fix gaps in layouts for hosts
2017-01-28 00:43:42 +00:00
### Features
2017-01-14 19:20:24 +00:00
1. [#779](https://github.com/influxdata/chronograf/issues/779): Add layout for telegraf's diskio system plugin
2017-01-27 00:57:18 +00:00
2. [#810](https://github.com/influxdata/chronograf/issues/810): Add layout for telegraf's net system plugin
3. [#811](https://github.com/influxdata/chronograf/issues/811): Add layout for telegraf's procstat plugin
4. [#737](https://github.com/influxdata/chronograf/issues/737): Add GUI for OpsGenie kapacitor alert service
5. [#814](https://github.com/influxdata/chronograf/issues/814): Allows Chronograf to be mounted under any arbitrary URL path using the `--basepath` flag.
2017-01-13 22:45:29 +00:00
## v1.1.0-beta6 [2017-01-13]
### Bug Fixes
1. [#748](https://github.com/influxdata/chronograf/pull/748): Fix missing kapacitors on source index page
2. [#755](https://github.com/influxdata/chronograf/pull/755): Fix kapacitor basic auth proxying
3. [#704](https://github.com/influxdata/chronograf/issues/704): Fix RPM and DEB install script and systemd unit file
2017-01-13 22:45:29 +00:00
### Features
2017-01-13 23:15:09 +00:00
1. [#660](https://github.com/influxdata/chronograf/issues/660): Add option to accept any certificate from InfluxDB
2017-01-09 21:33:54 +00:00
2. [#733](https://github.com/influxdata/chronograf/pull/733): Add optional Github organization membership checks to authentication
2017-01-13 23:15:09 +00:00
3. [#564](https://github.com/influxdata/chronograf/issues/564): Add RabbitMQ pre-canned layout
2017-01-09 21:33:54 +00:00
4. [#706](https://github.com/influxdata/chronograf/issues/706): Alerts on threshold where value is inside of range
5. [#707](https://github.com/influxdata/chronograf/issues/707): Alerts on threshold where value is outside of range
6. [#772](https://github.com/influxdata/chronograf/pull/772): Add X-Chronograf-Version header to all requests
2017-01-13 22:45:29 +00:00
### UI Improvements
1. [#766](https://github.com/influxdata/chronograf/pull/766): Add click-to-insert functionality to rule message templates
2017-01-09 21:33:54 +00:00
2017-01-05 23:40:15 +00:00
## v1.1.0-beta5 [2017-01-05]
### Bug Fixes
2017-01-13 23:15:09 +00:00
1. [#693](https://github.com/influxdata/chronograf/issues/693): Fix corrupted MongoDB pre-canned layout
2017-01-09 21:33:54 +00:00
2. [#714](https://github.com/influxdata/chronograf/issues/714): Relative rules check data in the wrong direction
3. [#718](https://github.com/influxdata/chronograf/issues/718): Fix bug that stopped apps from displaying
2016-12-30 22:21:17 +00:00
## v1.1.0-beta4 [2016-12-30]
2016-12-30 22:36:03 +00:00
### Features
2016-12-16 22:41:59 +00:00
1. [#691](https://github.com/influxdata/chronograf/issues/691): Add server-side dashboard API
2016-12-30 22:21:17 +00:00
2. [#709](https://github.com/influxdata/chronograf/pull/709): Add kapacitor range alerting to API
3. [#672](https://github.com/influxdata/chronograf/pull/672): Added visual indicator for down hosts
2016-12-30 22:23:43 +00:00
4. [#612](https://github.com/influxdata/chronograf/issues/612): Add dashboard menu
2016-12-30 22:21:17 +00:00
### Bug Fixes
1. [679](https://github.com/influxdata/chronograf/issues/679): Fix version display
2016-12-16 22:41:59 +00:00
## v1.1.0-beta3 [2016-12-16]
2016-12-14 22:58:15 +00:00
### Features
2016-12-16 22:41:59 +00:00
1. [#610](https://github.com/influxdata/chronograf/issues/610): Add ability to edit raw text queries in the Data Explorer
### UI Improvements
1. [#688](https://github.com/influxdata/chronograf/issues/688): Add ability to visually distinguish queries in the Data Explorer
1. [#618](https://github.com/influxdata/chronograf/issues/618): Add measurement name and field key to the query tab in the Data Explorer
1. [#698](https://github.com/influxdata/chronograf/issues/698): Add color differentiation for Kapacitor alert levels
1. [#698](https://github.com/influxdata/chronograf/issues/698): Clarify an empty Kapacitor configuration on the InfluxDB Sources page
1. [#676](https://github.com/influxdata/chronograf/issues/676): Streamline the function selector in the Data Explorer
### Bug Fixes
1. [#652](https://github.com/influxdata/chronograf/issues/652),[#670](https://github.com/influxdata/chronograf/issues/670): Allow text selecting in text box inputs
2. [#679](https://github.com/influxdata/chronograf/issues/679): Add version information to the nightly builds
3. [#675](https://github.com/influxdata/chronograf/issues/675): Fix user flow for Kapacitor connect
2016-12-14 22:58:15 +00:00
2016-12-09 22:01:08 +00:00
## v1.1.0-beta2 [2016-12-09]
### Features
1. [#624](https://github.com/influxdata/chronograf/issues/624): Add time range selection to kapacitor alert rules
1. Update Go to 1.7.4
2016-12-09 03:17:05 +00:00
### Bug Fixes
1. [#664](https://github.com/influxdata/chronograf/issues/664): Fix Content-Type of single-page app to always be text/html
1. [#671](https://github.com/influxdata/chronograf/issues/671): Fix multiple influxdb source freezing page
2016-12-06 19:47:23 +00:00
## v1.1.0-beta1 [2016-12-06]
2016-12-09 03:17:05 +00:00
### Layouts
2016-12-06 19:47:23 +00:00
1. [#575](https://github.com/influxdata/chronograf/issues/556): Varnish Layout
2. [#535](https://github.com/influxdata/chronograf/issues/535): Elasticsearch Layout
2016-12-09 03:17:05 +00:00
### Features
2016-12-06 19:47:23 +00:00
1. [#565](https://github.com/influxdata/chronograf/issues/565) [#246](https://github.com/influxdata/chronograf/issues/246) [#234](https://github.com/influxdata/chronograf/issues/234) [#311](https://github.com/influxdata/chronograf/issues/311) Github Oauth login
2. [#487](https://github.com/influxdata/chronograf/issues/487): Warn users if they are using a kapacitor instance that is configured to use an influxdb instance that does not match the current source
3. [#597](https://github.com/influxdata/chronograf/issues/597): Filter host by series tags
4. [#568](https://github.com/influxdata/chronograf/issues/568): [#569](https://github.com/influxdata/chronograf/issues/569): Add support for multiple y-axis, labels, and ranges
2016-12-16 22:41:59 +00:00
5. [#605](https://github.com/influxdata/chronograf/issues/605): Singlestat visualization type in host view
5. [#607](https://github.com/influxdata/chronograf/issues/607): Singlestat and line graph visualization type in host view
2016-12-09 03:17:05 +00:00
### Bug Fixes
2016-12-06 19:47:23 +00:00
1. [#536](https://github.com/influxdata/chronograf/issues/536) Redirect the user to the kapacitor config screen if they are attempting to view or edit alerts without a configured kapacitor
2. [#539](https://github.com/influxdata/chronograf/issues/539) Zoom works only on the first graph of a layout
3. [#494](https://github.com/influxdata/chronograf/issues/494) Layouts should only be displayed when the measurement is present
4. [#588](https://github.com/influxdata/chronograf/issues/588) Unable to connect to source
5. [#586](https://github.com/influxdata/chronograf/issues/586) Allow telegraf database in non-default locations
6. [#542](https://github.com/influxdata/chronograf/issues/542) Graphs in layouts do not show up in the order of the layout definition
7. [#574](https://github.com/influxdata/chronograf/issues/574): Fix broken graphs on Postgres Layouts by adding aggregates
8. [#644](https://github.com/influxdata/chronograf/pull/644): Fix bug that stopped apps from displaying
9. [#510](https://github.com/influxdata/chronograf/issues/510): Fix connect button
## v1.1-alpha [2016-11-14]
### Release Notes
This is the initial alpha release of Chronograf 1.1.