Commit Graph

160 Commits (e9000f09c975d7381848fa92ebfbd8c0285b145e)

Author SHA1 Message Date
Delmer e5ae30127a
Add logs hostname (#4645)
fix(logs/table): add hostname column

* Guarantee hostname column exists on logviewer config
* Add hostname field to ui utils
* Update integrations server test
* Update changelog 1.7.0

Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-10-25 16:42:29 -04: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
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
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
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
Iris Scholten a3f6d2ac40 Change default Decimal Places to enforced with a value of 2 2018-07-17 16:21:31 -07:00
Alirie Gray 7023b8d150 Fixed whitespace for Config in internal.proto
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-10 10:56:50 -07:00
Jared Scheib e0faf48830 Remove unnecessary panic guards on unmarshal org config
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
2018-07-09 17:37:30 -07:00
Jared Scheib ae475c7ae8 Add OrganizationConfigStore & refactor org config to be per org
As previously implemented, OrganizationConfig was a global
object. This refactor adds the organization id to context for
every request, even when auth is disabled, so that org id
can be used to get/update an organization config.

Along those lines, this also removes OrganizationConfigStore
.Initialize and replaces .Get with .FindOrCreate, handling
the creation of organization configs upon first attempted
access.

Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-09 17:36:19 -07:00
Jared Scheib ecb5347597 WIP Refactor log viewer config to be nested under organizations
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
2018-07-09 17:36:19 -07:00
Alirie Gray 2319ac3ff8 Replace name "LogViewerUIConfig" with "LogViewerConfig" 2018-07-09 17:36:19 -07:00
Alirie Gray 5ffe4fe6f0 Fix spacing in internal.proto
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-09 17:36:19 -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
Alirie Gray 981366c55b Change the log viewer UI config property "encoding" to "encodings"
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-09 17:36:19 -07:00
Jared Scheib 4125399054 Add API to get/update log viewer UI config
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-09 17:35:17 -07:00
ebb-tide 9e960535b8 Add map as a template variable value type to the backend 2018-07-02 17:45:44 -07:00
Iris Scholten 4ee1405dae Add map as a valid type of template variables in api 2018-06-19 14:50:16 -07:00
Andrew Watkins ed4a6f24e5
Change IFQL to Flux 2018-06-05 10:57:19 -07:00
Chris Goller e6eef932f6 fix(bolt/services): unmarshal metadata into pointer 2018-05-21 10:45:28 -07:00
Chris Goller f74f5a378f feat(server/services): add metadata for services 2018-05-21 10:45:28 -07:00
Chris Goller 5cd8cc7cdd feat(server/services): add generic services scoped under server 2018-05-21 10:45:27 -07:00
ebb-tide 491130a310 Fix backend defaults for decimal places 2018-05-01 11:19:11 -07:00
ebb-tide 72a3b6ccbc Put decimal places with isenforced and digits on backend 2018-04-27 16:36:02 -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 91480922f4 Change bool fixFirstColumn back to index 6 and reserve index 5 in internal.proto 2018-04-19 09:55:50 -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
Iris Scholten 6348747ae0 Move FieldNames out of TableOptions and into DashboardCell as FieldOptions
Add Precision to RenamableField
2018-04-18 16:48:44 -07:00
Iris Scholten 36eeb72f31 Add and test source defaultRP in bolt
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-04-11 14:57:50 -07:00
Iris Scholten 807c9b50bd WIP add DefaultRP to Source in protobuf
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-04-11 14:08:39 -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 5eebbbe530 Add insecureSkipVerify to marshal / unmarshal
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-03-14 17:24:55 -07:00
Iris Scholten 4f2fb268ca update formatting in internal.proto 2018-03-14 09:17:15 -07:00
Iris Scholten 57e1d473ec respond to reviews and add extra test 2018-03-13 16:58:25 -07:00
Iris Scholten 8cb06a4e3a update Test_MarshalDashboard_WithEmptyCellType with table options 2018-03-13 10:38:33 -07:00
Iris Scholten 9b9be3cda1 Merge branch 'master' into feature/graph-table-time-format 2018-03-13 09:48:52 -07:00
Iris Scholten cf2c508c96 update server_test, internal_test, and cells_test with tableOptions 2018-03-12 17:12:20 -07:00
Brandon Farmer c6f7b19605 Only test type default in unit test 2018-03-12 15:32:26 -07:00
Brandon Farmer c13dda348a Add separate test for empty dashboard cell type 2018-03-12 15:22:38 -07:00
Iris Scholten 302efab3b9 change options to table options in backend, front end and redux 2018-03-12 15:04:17 -07:00
Brandon Farmer 7217d40f64 Legacy dashboard cells default to type 'line'
Closes #2920, #2919
2018-03-12 14:32:09 -07:00
Iris Scholten 4991131369 WIP adding options to the marshalling and unmarshalling of dashboards
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-03-09 11:47:56 -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
Edd Robinson 016f2680ed 😱 2018-02-08 15:41:29 +00:00
Iris Scholten 3c3e524b46 Group=>ProviderOrganization; organization=>organiztionId; fix pointer bug 2018-02-06 18:33:27 -08:00
Michael Desa b5eca6c58a Prevent error if organization not found in mapping
chris go vet fix
2018-02-05 18:20:03 -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