Commit Graph

78 Commits (5f6cb054aecf650a8094ab95e9a9b39ad1e64282)

Author SHA1 Message Date
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
Jared Scheib 3ec78c8229 dev: lower server integrations timeout to 10s to prevent build fail 2018-08-01 16:42:19 -07:00
Jared Scheib 2e388cd4d2 dev: extend integrations text timeout to 60 sec & prevent test fail
The server timing out for this integrations test was causing many
problems in our build process because it would exceed its timeout
and then fail the test suite, thus failing the build. This commit
changes it to a minute long timeout, and doesn't fail the test
if the timeout is exceeded. This test is generally not critical, so
this seems like a reasonable solution.

Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-07-26 13:16:10 -07:00
Michael Desa 1b883fb3f0 test(integrations): add v2 dashboards links test 2018-07-18 10:39:05 -04:00
Michael Desa 5746b785d3 test(integrations): fix spacing on tests 2018-07-16 12:58:35 -04:00
Michael Desa aa06178002 review: make changes suggested in review 2018-07-16 11:37:20 -04:00
Alirie Gray 8f03b96e65 Move LogViewer from Config to OrganizationConfig links response 2018-07-12 11:28:22 -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 3cfa11d629 Add integration tests for PUT and GET /org_config routes
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-10 14:27:29 -07:00
Jared Scheib 571bca7743 Add & fix logViewer links in configResponse
Rename LogViewerUI to LogViewer in Config struct.
Make all instances of endpoint 'logviewer' (lowercase).
Make all instances of config.links.logViewer (camelcase).
2018-07-09 17:36:19 -07:00
Brandon Farmer 241d030ebe Make authentication method available in sources 2018-07-02 11:24:29 -07:00
Andrew Watkins ed4a6f24e5
Change IFQL to Flux 2018-06-05 10:57:19 -07:00
Chris Goller 45a981911d feat(server/services): add source id and source link to all services 2018-05-21 10:45:28 -07:00
ebb-tide d26062ee57 Fix server tests 2018-04-30 17:24:59 -07:00
Iris Scholten cdb7164df0 Move timeFormat from TableOptions to DashboardCell in the Server
Update tests according to the change
2018-04-19 17:32:28 -07:00
Iris Scholten 87ad2278de Update go tests by removing FieldNames from TableOptions and adding FieldOptions to DashboardCell
Add precision to sortBy values
2018-04-18 17:08:26 -07:00
Jared Scheib 6cae9e6da4 Fix server integration test by adding nil defaultRP
Co-authored-by Iris Scholten <ischolten.is@gmail.com>
2018-04-17 17:50:13 -07:00
Andrew Watkins b127d2d96a
Merge pull request #3118 from influxdata/bugfix/flash-notifications
Bugfix/flash notifications
2018-04-04 11:13:17 -07:00
Luke Morris 9eb7a8cdd4 Reintroduce :interval: work
This reverts commit 4b54081cf8.

:interval: represents a duration now

queryConfig must recognize both :interval: forms

Another case to consider

Fix broken links in CHANGELOG

Rudimentary migration system w/ :interval: migration

Only looking for :interval: now

Server can expect time(:interval:) from now on

Repair go specs
2018-04-03 16:52:34 -07:00
Andrew Watkins 8f770c4636 Update server tests 2018-04-03 16:38:52 -07:00
Brandon Farmer d5a6f4a75d Fix tests related to new ifql ast link
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-03-29 16:06:10 -07:00
Brandon Farmer 7ee78603ee Update revision for ifql and fix tests 2018-03-29 16:01:01 -07:00
Jared Scheib 9913a615b0 Fix tests for 0a98d1c7b 2018-03-28 15:27:11 -07:00
Iris Scholten 2b8b3f4b76 WIP change backend TableColumn to RenamableField and ColumnNames in TableOptions to FieldNames 2018-03-20 17:15:33 -07:00
Iris Scholten 1910529eeb add visible to TableColumn in backend and fix tests accordingly 2018-03-20 17:03:24 -07:00
Iris Scholten 79d977fbea add fixFirstColumn to backend and tests 2018-03-19 15:56:31 -07:00
Andrew Watkins a9d5e6ece3 Update tests 2018-03-14 17:24:55 -07:00
Iris Scholten cf2c508c96 update server_test, internal_test, and cells_test with tableOptions 2018-03-12 17:12:20 -07:00
Luke Morris ab8a73509a Merge branch 'master' into feature/annotations 2018-02-22 19:53:23 -08:00
Luke Morris 59b6979812 Merge branch 'master' into feature/annotationz-pre-pl-with-master 2018-02-15 12:03:10 -08:00
Iris Scholten 4c73fb562d specify json representation of id and srcid to be string 2018-02-14 15:39:38 -08:00
Luke Morris c136a2f5f0 Remove Public; Improve Tab Names 2018-02-09 16:00:27 -08:00
Luke Morris 67ac6a5a2f Merge branch 'master' into feature/mappings 2018-02-09 11:42:07 -08:00
Alex P 66b41abdce Merge branch 'master' into feature/annotationz-pre-pl-with-master 2018-02-08 16:38:47 -08:00
Iris Scholten 3c3e524b46 Group=>ProviderOrganization; organization=>organiztionId; fix pointer bug 2018-02-06 18:33:27 -08:00
ischolten b2cfb67256
Merge pull request #2703 from influxdata/feature/global-users
Add global users page for super admins
2018-02-06 14:30:08 -08:00
Michael Desa efd691d1b5 Add Mappings CUDA routes 2018-02-05 16:47:44 -05:00
Chris Goller a565027394 Add legend to dashboard cells 2018-02-05 14:25:57 -06:00
Michael Desa 8b60388d81 Add correct implementation of mappings 2018-02-05 14:54:39 -05:00
Iris Scholten b4bdf27d88 update the config_test and server_test files to accept super admin status as false 2018-02-05 10:41:31 -08:00
Iris Scholten 5fbfc12f11 Merge branch 'master' into feature/global-users 2018-02-01 16:40:14 -08:00
Andrew Watkins 7fbb4d877c Merge annotation-store 2018-01-19 10:11:53 -08:00
Chris Goller 79551ce3fe Fix integrations tests 2018-01-18 22:01:33 -06:00
Michael Desa 8fa2eabdb3 Fix RouteMatchesPrincipal if org isnt on principal 2018-01-17 12:42:32 -05:00
Michael Desa 23a4c34a17 Populate links response with organiation on JWT 2018-01-17 12:26:28 -05:00
Michael Desa f3c57f1e3f Add correct users route to all routes 2018-01-16 17:03:46 -05:00
Michael Desa 2d7828b602 Nest user routes under organization
Add global user routes
2018-01-16 16:45:58 -05:00
Michael Desa 4afb444579 Allow UpdateUser to accept empty roles 2018-01-12 12:37:30 -05:00