Commit Graph

266 Commits (d6539dd2080368148993af307b8cee781056b012)

Author SHA1 Message Date
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
Hunter Trujillo 759bb6bdec Merge branch 'master' into http-tcp
# Conflicts:
#	CHANGELOG.md
2017-02-10 13:31:01 -07:00
Andrew Watkins b794ade83b Merge pull request #856 from influxdata/de-organize
DE Reorganize
2017-02-10 11:52:55 -08:00
Chris Goller a0352b1e7d Add disable and enable to kapacitor alerts 2017-02-10 13:48:42 -06:00
Chris Goller ffd743a1b0 Merge pull request #859 from influxdata/feature/server-gzip
Add gzip compression to all of our server responses and caching for assets
2017-02-10 10:27:21 -06:00
Chris Goller a523350bf0 Update CHANGELOG mentioning string fields compare kapacitor rules in Chronograf UI 2017-02-10 09:12:00 -06:00
Hunter Trujillo 29189296ce Update CHANGELOG, adding exec, smtp, and alerta support for kapacitor rule alert config. 2017-02-10 00:21:18 -07:00
Hunter Trujillo d673fd3166 Update changelog. 2017-02-09 23:11:51 -06:00
Hunter Trujillo b06b141dde Update CHANGELOG: Add TCP and HTTP support to kapacitor rule alert config 2017-02-09 22:03:14 -07:00
Chris Goller e8c8aac0ba Update CHANGELOG to mention server gzip encoding and asset caching 2017-02-09 17:30:37 -06:00
Andrew Watkins 3bee87737c Update CHANGELOG 2017-02-09 11:33:50 -08:00
Chris Goller d33554ab99 Updated CHANGELOG to use yarn over npm install 2017-02-08 21:15:56 -06:00
Chris Goller 592fdd225c Update CHANGELOG to mention detail for kapa email alert 2017-02-07 17:11:46 -06:00
Chris Goller 6d43811bb7 Update release to 1.2.0-beta1 2017-01-27 18:43:42 -06:00
Tim Raymond 2102b779f4 Merge branch 'master' into feature/tr-host-under-path
Conflicts:
  - CHANGELOG.md
2017-01-27 19:30:43 -05:00
Andrew Watkins 7e2a87f3d2 Update CHANGELOG 2017-01-27 14:39:34 -08:00
Tim Raymond eadcf773ec Update CHANGELOG for #814 2017-01-27 17:11:37 -05:00
Chris Goller 62acebc5c4 Update CHANGELOG to add #774 2017-01-27 13:18:56 -06:00
Chris Goller 85e39567cb Update CHANGELOG to add procstat layout 2017-01-27 12:04:40 -06:00
Chris Goller 1649b83473 Update CHANGELOG to mention `inputs.net` telegraf layout 2017-01-27 11:36:21 -06:00
Nathan Haugo 3e8a101315 Merge pull request #779 from influxdata/feature/layout-diskio
Add layout for telegraf's system diskio plugin
2017-01-24 11:13:07 -08:00
Gunnar b835030224 Merge branch 'master' into ga-version-header 2017-01-23 23:30:59 -08:00
gunnaraasen 4bef66aff7 Add X-Chronograf-Version header 2017-01-23 23:29:12 -08:00
Tim Raymond 37ce031071 Fix missing fields from non-default RP
When attempting to extract fields from a non-default retention policy in
the Data Explorer, fields would not appear. This was because the query
was sent without an explicit RP, which would use the default RP instead.
This adds an explicit RP to the SHOW FIELDS query.
2017-01-23 09:54:56 -05:00
Chris Goller 663712ce5f Update CHANGELOG about diskio layout 2017-01-14 13:20:24 -06:00
Chris Goller 8de723a7f1 Add layout for telegraf's system diskio plugin
diskio are counters that give the total reads/writes since
a system reboot.
2017-01-14 13:10:39 -06:00
Regan Kuchan 0cee62b53f Remove periods 2017-01-13 15:15:09 -08:00
Chris Goller b7d396c1a5 Update changelog to beta6 2017-01-13 16:46:32 -06:00
Andrew Watkins 1144047477 Merge pull request #766 from influxdata/rule-template
Rule template
2017-01-13 14:23:45 -08:00
Alex P a65592ffa5 Update Changelog 2017-01-13 14:15:04 -08:00
Chris Goller 1f0deddf49 Merge pull request #748 from influxdata/bugfix/tr-missing-kapa
Fix missing Kapacitor on Source index page
2017-01-13 14:29:14 -06:00
Tim Raymond 4e3be5f360 Fix missing Kapacitor on Source index page
When visiting the Sources page, any InfluxDB sources that had a
configured Kapacitor would not show them. This turned out to be racey
logic. Kapacitors for a particular source are fetched from the API. The
update to the component state happened outside of the promise chained
onto the API call, so the state update was racing against the fetch from
the API (and would always win, pushing the empty object).

Instead, the chained promises for each API fetch are collected, and each
promise updates a single kapacitors object. The final promise that
updates the state is then blocked on all those promises by Promise.all.

Performing updates like this saves some allocations, since we aren't
allocating an object for each source<->kapacitor pairing to send to
setState. It also reduces setState's work, since it doesn't have to
coalesce state updates.
2017-01-13 15:21:39 -05:00
Chris Goller 542dfa48dd Update CHANGELOG to fix bad link 2017-01-12 17:45:33 -06:00
gunnaraasen 07562efc3c Remove RPM posttrans scriptlet and small fixes 2017-01-11 15:52:06 -08:00
Chris Goller ca510c1075 Update changelog for kapacitor basic auth 2017-01-10 19:13:09 -06:00
nathan haugo 8221aa7df2 Add changelog for 706 and 707 2017-01-09 13:33:54 -08:00
Jack Zampolin 0f870a6853 Add changelog 2017-01-09 13:21:06 -08:00
Chris Goller 636ebedf22 Add Github organization restriction to authentication 2017-01-06 11:39:20 -06:00
nathan haugo 3075bbc592 Update changelog for 1.1.0-beta5 2017-01-05 15:40:15 -08:00
Chris Goller 8e0376cec4 Add insecureSkipVerify option to source to accept all influxdb certs
The insecureSkipVerify defaults to false, but when true, instructs
the server to accept any certificate coming from the InfluxDB server.
2017-01-04 19:35:07 -06:00
Chris Goller 5105224943 Fix mongo layout to remove extra fields 2017-01-04 18:17:23 -06:00
Nathan Haugo 12d75a115a Change direction of shift for relative rules (#717)
* Change direction of shift for relative rules

* Update changelog

* Fix tests

* Fix tests

* Update changelog for 718
2017-01-04 18:03:41 -06:00
nathan haugo d498ab3dfb Add missing word to changelog 2016-12-30 14:36:03 -08:00
nathan haugo a3f6accbe3 Update change log for beta 4 2016-12-30 14:23:43 -08:00
nathan haugo f79ee261cd Update change log for beta 4 2016-12-30 14:21:17 -08:00
Regan Kuchan 6ca1920eed Update the CHANGELOG for beta3 release 2016-12-16 15:13:18 -08:00
Will Piers 3fa3448c0c Update changelog 2016-12-14 14:58:15 -08:00
Chris Goller 5607efd191 Add CHANGELOG for beta2 2016-12-09 16:01:08 -06:00
Chris Goller 21d6d11f65 Update CHANGELOG 2016-12-08 21:17:54 -06:00
nathan haugo ce0c4ad665 Update changelog for 1.1.0-beta1 2016-12-06 11:47:23 -08:00
Andrew Watkins b9f3604f9e Update CHANGELOG 2016-12-05 14:59:57 -08:00
Andrew Watkins cea85aed7c Update CHANGELOG.md 2016-12-02 12:41:14 -08:00
Tim Raymond 19eff0044f Update changelog 2016-12-01 11:35:00 -05:00
Tim Raymond 1d509bf220 Update changelog 2016-11-29 17:42:30 -05:00
Chris Goller 14fb668a06 Update changelog 2016-11-18 16:08:16 -06:00
Andrew Watkins 34e0cdd65e Remove enterprise class name 2016-11-17 10:00:24 -08:00
Tim Raymond 21aa77efcb Update changelog w/ new varnish layout 2016-11-16 11:33:55 -05:00
Tim Raymond 61e83f5311 Update changelog w/ postgres layout fixes 2016-11-16 11:12:19 -05:00
Chris Goller 9e8a81fe2a Add changelog and update the PR template similar to other influxdata projects 2016-11-14 20:31:01 -06:00