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
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
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
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
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
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
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
302efab3b9
change options to table options in backend, front end and redux
2018-03-12 15:04:17 -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
Iris Scholten
3c3e524b46
Group=>ProviderOrganization; organization=>organiztionId; fix pointer bug
2018-02-06 18:33:27 -08: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
Michael Desa
2eb68a3b36
Add mappings to organizations
...
Add links to organization response on me
2018-01-10 15:56:13 -05:00
Michael Desa
d8d20547ab
Change Organization ID to string from uint64
2017-12-19 10:13:43 -08:00
Luke Morris
b95837fc5b
Create backup of database when moving versions
2017-12-16 12:27:24 -08:00
Jared Scheib
f23075cbc4
Rename superAdminFirstUserOnly to superAdminNewUsers & flip default logic accordingly
...
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-12-13 14:49:49 -08:00
Michael Desa
d875757ce3
Add bolt implementation of chronograf.ConfigStore
2017-12-13 10:38:01 -08:00
Jared Scheib
482a4de6c1
Merge branch 'master' into multitenancy
2017-12-06 19:05:16 -08:00
Jared Scheib
808163fe69
Merge branch 'multitenancy' into multitenancy_fix_layouts
2017-12-05 16:03:05 -08:00
Michael Desa
161081fcba
Remove Organization field from layouts
2017-12-05 17:28:33 -05:00
Jared Scheib
93f11e1325
Merge remote-tracking branch 'origin/master' into multitenancy
2017-12-05 11:43:23 -08:00
Chris Goller
6564712e9d
Merge branch 'master' into gauge-cell-type
...
Conflicts:
bolt/internal/internal.pb.go
bolt/internal/internal.proto
server/cells.go
2017-11-27 16:08:42 -06:00
Chris Goller
4955269dcc
Update indentation format of the proto file
2017-11-21 19:29:34 -06:00
Chris Goller
fd93742dd7
Add colors to storage of cells
2017-11-21 19:26:25 -06:00
Andrew Watkins
93ff34affc
Update proto TimeShift property descriptions
2017-11-21 10:33:21 -08:00
Luke Morris
b3d0d6eeee
Address PR feedback.
2017-11-13 18:08:50 -08:00
Luke Morris
31277c432c
Rename whitelistOnly => public
2017-11-10 18:23:41 -08:00
Michael Desa
dc1ee40bc6
Add WhitelistOnly to organizations
...
Fix adding default role to organization
2017-11-10 15:57:48 -05:00
Andrew Watkins
6093ddc52f
WIP Add shifts to queryConifg on backend
2017-11-10 11:06:48 -08:00
Michael Desa
cbbf9d96d7
Add comments suggested from PR review
...
Add tests to server/stores_test.go
2017-11-07 13:59:40 -05:00