Commit Graph

947 Commits (e13fc0173d164e6fb9908891e1abb04a618b7557)

Author SHA1 Message Date
Delmer e13fc0173d
Update version to 1.7.4 (#4883) 2018-12-12 16:21:04 -05:00
Brandon Farmer c59041ea45 Handle basepath issue with missing slash 2018-11-09 16:03:17 -08:00
Deniz Kusefoglu 9924d577a5 Get protoboards from multistore if not able to find from ProtoboardsPath 2018-11-08 17:27:27 -08:00
Deniz Kusefoglu d868758912 Update protoboards to contain template variables 2018-11-06 15:37:13 -08:00
Andrew Watkins d451ca76bb fix(flux): create unique link for querying flux (#4755) 2018-11-06 14:18:37 -08:00
Andrew Watkins 9537cb3ca0
fix(sources): call to GET /sources hanging (#4731) 2018-11-06 09:17:02 -08:00
Deniz Kusefoglu c339779580 Add note and note visibility fields to protoboard definition in BE 2018-10-30 13:24:48 -07:00
Iris Scholten 5115770edc Add Version to Source struct
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-09-27 14:07:15 -07:00
Brandon Farmer aab0864947 Display more error information in flux editor 2018-09-23 22:29:14 -07:00
Edd Robinson a7c1800143 Improve asset loading performance
This commit improves the loading performance of static assets on devices
with low CPU, such as Pies or other embedded devices.

One characteristic of these devices is that they don't often have the
intrinsics available used in gzip compression.

This commit does two things:

  (1) Adds an option to explicitly disable gzip compression of requested
assets.
  (2) Avoids the very expensive URL prefix Handler wrapper if no base
path has been set.
2018-09-19 08:48:06 -07:00
Alirie Gray 246c6f15c7
Add type property to queries (#4458)
* Add type property to CellQuery model

* Make an enum for QueryType

* Add type property to Query model on backend

* Add query type checking to CEO reducer and Layout

* Update swagger.json docs
2018-09-14 16:24:17 -07:00
Jared Scheib bdf4036042 fix: go vet server/server.go 2018-09-12 18:32:06 -04:00
Brandon Farmer c4e40b7643 Update flux golang dependencies 2018-09-10 15:20:56 -07:00
Deniz Kusefoglu f19323e74c Add suggestprotoboards function at dashboard step
Prevent dashboard cell axis overwriting if Bounds is empty
Add measurements field to protoboards meta
Correct comment on protoboardsStore
Add styling and copy polish to wizards
Update Protoboards to include meta.measurements
Refactor protoboard suggestion
Update Wizard tests to incorporate capitalizations
Add types to protoboardsSuggestion
Fix go tests
2018-09-06 15:51:40 -07:00
Iris Scholten 43afa38b0a
Remove check for flux ping when adding and updating flux service (#4361) 2018-09-05 11:01:20 -07:00
Michael Desa 8201a0d55c fix(server): pass pprof enabled option down to NewMux properly 2018-09-05 13:04:31 -04:00
Christopher Henn aa29a03653 Rewrite Worker script paths according to basepath 2018-08-29 09:34:37 -07:00
Deniz Kusefoglu 4009743b09
Merge pull request #4264 from influxdata/feature/add-protoboards-to-wizard-step
Implement DashboardStep on both wizards
2018-08-23 17:41:10 -07:00
Alex Paxton fc9cd71939
Introduce Cell Notes & Note Cells (#4257)
* feat: add Note string field to dashboard cells

* wip feat: html escape cell note to help prevent XSS attack

Requires further input to make sure this is effective at its
purpose.

* Add ability to view a cell's note from the cell header

* Make styles less brittle

* Add "chat" icon for use in notes

* Position note using cell X & Y

Avoid overlap with associated cell whenever possible

* New notes are empty strings by default

* Overflow note when contents are large

* Add react-markdown package for displaying markdown

* Display markdown in cell note

* Add a cell note text editor into the CEO

* Improve cell note editor

* Use codemirror placeholder addon

* Add placeholder to note field & foundation of markdown theme

* Add Markdown Cell

* Add initial styles for markdown cell contents

* Add graphic for Note type cell

* feat: add NoteVisibility to DashboardCell

* Add basic markdown syntax highlighting in editor

* Remove comment

* Show note in cell when queries return no data

* Make exception for rule graph

* Update fixtures and resources to fix tests

* Update changelog

* feat: sanitize xss-vulnerable note html

* Polish appearance of code samples in notes and note cells

* Replace ascii with plaintext before passing to markdown renderers

* Move "display when no results toggle" above text field

Less likely to go undiscovered
2018-08-23 14:41:40 -07:00
Deniz Kusefoglu dcaf18b811 Fix tests to add protoboards endpoint to resource links 2018-08-23 13:13:52 -07:00
Deniz Kusefoglu 5fbb9a2688 Add protoboards endpoint to the routes response from backend 2018-08-23 10:59:23 -07:00
Brandon Farmer f461c50dec
Merge pull request #4128 from influxdata/enhancement/add-proxy-ids
Pass uuid to proxy requests for determining which responses are relevant
2018-08-15 13:51:35 -07:00
Jared Scheib f57daa8bc5 feat: protoboard api
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-08-14 14:29:10 -07:00
Brandon Farmer dba9e28fa0 Pass uuid to proxy requests for determining which responses are relevant 2018-08-08 14:05:42 -07:00
Christopher Henn 1387c8d6b9 Document annotations API changes 2018-08-06 08:47:19 -07:00
Christopher Henn d0fad40d91 Document existing annotations API 2018-08-06 08:47:19 -07:00
Christopher Henn f886d9f0f2 Add support for user-defined annotation tags 2018-08-06 08:47:19 -07:00
Alirie Gray 0f393b8bf3 Flux/connections page (#4026)
* Load services on manages sources page

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Add Flux dropdown on manage sources page

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Add flux connection dropdown with create, select, and update

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Prevent creation of Flux connection with duplicate name

Fixed bug where refreshing page allowed for Flux or connections
with duplicate names to be created

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Add ability to delete a FluxService from the fluxservice dropdown

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Change FluxPage to use the active flux connection set by FluxConnectionPage

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Ensure that only flux services are loaded into redux services

* Polish styles for Flux Connection Page

Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Add pingflux as a part of adding and updating a flux service

Co-authored-by: Chris Goller <goller@gmail.com>
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Add Swagger routes and definitions for Service endpoints

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Replace flux overlay with redirect to flux connections pages

* Add test for FluxConnectionPage

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Replace hard-coded string with enum

* Use active from metadata instead of service object in ServiceDropdown

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Add generic for getDeep on service metadata property

* Capitalize enum constant values in FluxFormMode

* Show error notification when user reaches edit route for nonexistant flux

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Add tests for FluxDropdown

* Update types for async functions
2018-07-26 18:16:02 -07:00
nathan haugo 8c1862d8ae Update master to 1.7.0 and use bumpversion for makefile config instead of git tags 2018-07-23 15:53:48 -07:00
Nathan Haugo 13a46b946d
Merge branch 'master' into release/1.6.x 2018-07-18 14:50:02 -07:00
nathan haugo 45069a0eee Changelog and version for 1.6.0 2018-07-18 14:48:59 -07:00
Michael Desa b1c02b9b95 review(chronograf): make changes suggested in pr 2018-07-18 10:39:05 -04:00
Michael Desa 1662e289f6 docs(server): add dashboards to swagger definition for v2 API 2018-07-18 10:39:05 -04:00
Michael Desa b61f424319 feat(server): add v2 dashboard API 2018-07-18 10:39:05 -04:00
Michael Desa 537f807ea4 feat(server): return special error if cell not found 2018-07-16 12:55:52 -04:00
Michael Desa aa06178002 review: make changes suggested in review 2018-07-16 11:37:20 -04:00
Michael Desa edb34e35ac review(server): remove extra line 2018-07-16 11:25:15 -04:00
Michael Desa c8a07e1125 docs(server): add v2 openapi specification 2018-07-16 11:25:15 -04:00
Michael Desa 10c0b4182d test(server): add cell http handler tests 2018-07-16 11:25:15 -04:00
Michael Desa 4ba1dba579 feat(server): add cells api 2018-07-16 11:25:15 -04:00
Alirie Gray 8f03b96e65 Move LogViewer from Config to OrganizationConfig links response 2018-07-12 11:28:22 -07:00
Chris Goller e9b1e47d65 fix(server): health for source returns status no content 2018-07-11 18:30:04 -05:00
Christopher Henn 1ab33d045a Enable creation of text template variables 2018-07-11 15:10:56 -07:00
Alirie Gray 2f2263d7ac
Merge pull request #3806 from influxdata/logs-viewer/logs-overlay-api
Add API to get/update Log Viewer UI config within parent Organization Config
2018-07-10 16:27:23 -07:00
Alirie Gray f4de39d443 Add auth config link to global application config response links 2018-07-10 16:13:37 -07:00
Alirie Gray 35efb2d274 Add log viewer link to organization config response
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-10 16:05:11 -07:00
Alirie Gray 0f810debcb Rename org config method Update to Put for semantic accuracy
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-10 15:42:44 -07:00
Alirie Gray 874110bd5e Rename org config receivers and function params to be more conventional
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-10 15:32:23 -07:00
Alirie Gray a309c3f026 Remove unecessary nil guard and group response creation code in org config
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-10 15:26:30 -07:00
Alirie Gray 0988388e24 Add comment for validLogViewerConfig function
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-10 15:09:06 -07:00