Commit Graph

154 Commits (b1bb27bbee50694d879e27df64c9ada6eb1a8d53)

Author SHA1 Message Date
Alirie Gray d59e4763ec 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 5844b15d8d 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 429fe214e6 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 9909bed41f 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 2f6b4ccd99 Replace name "LogViewerUIConfig" with "LogViewerConfig" 2018-07-09 17:36:19 -07:00
Alirie Gray d3df6b7f8f Fix spacing in internal.proto
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-09 17:36:19 -07:00
Jared Scheib b5491a7bf1 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 0241e4faea 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 73e61b3d33 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 b900fead75 Add map as a template variable value type to the backend 2018-07-02 17:45:44 -07:00
Iris Scholten 9932764fe2 Add map as a valid type of template variables in api 2018-06-19 14:50:16 -07:00
Andrew Watkins 1344297421 Change IFQL to Flux 2018-06-05 10:57:19 -07:00
Chris Goller 15208c3215 fix(bolt/services): unmarshal metadata into pointer 2018-05-21 10:45:28 -07:00
Chris Goller 09e34b08da feat(server/services): add metadata for services 2018-05-21 10:45:28 -07:00
Chris Goller b3de8947a4 feat(server/services): add generic services scoped under server 2018-05-21 10:45:27 -07:00
ebb-tide 2e3db26b06 Fix backend defaults for decimal places 2018-05-01 11:19:11 -07:00
ebb-tide 59ada00bc9 Put decimal places with isenforced and digits on backend 2018-04-27 16:36:02 -07:00
Iris Scholten a0adb2e206 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 9d14e24c0f Change bool fixFirstColumn back to index 6 and reserve index 5 in internal.proto 2018-04-19 09:55:50 -07:00
Iris Scholten 8e11d3d057 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 4c76cd335d Move FieldNames out of TableOptions and into DashboardCell as FieldOptions
Add Precision to RenamableField
2018-04-18 16:48:44 -07:00
Iris Scholten c4566e3220 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 639edc49b2 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 cb9c6ac00d WIP change backend TableColumn to RenamableField and ColumnNames in TableOptions to FieldNames 2018-03-20 17:15:33 -07:00
Iris Scholten cb80c8a536 add visible to TableColumn in backend and fix tests accordingly 2018-03-20 17:03:24 -07:00
Iris Scholten a985250030 add fixFirstColumn to backend and tests 2018-03-19 15:56:31 -07:00
Andrew Watkins 786f028b6c 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 3e54c6de16 update formatting in internal.proto 2018-03-14 09:17:15 -07:00
Iris Scholten 7237bb65b8 respond to reviews and add extra test 2018-03-13 16:58:25 -07:00
Iris Scholten cae415b639 update Test_MarshalDashboard_WithEmptyCellType with table options 2018-03-13 10:38:33 -07:00
Iris Scholten bbabe8279e Merge branch 'master' into feature/graph-table-time-format 2018-03-13 09:48:52 -07:00
Iris Scholten 4eecba905b update server_test, internal_test, and cells_test with tableOptions 2018-03-12 17:12:20 -07:00
Brandon Farmer 0a353cd000 Only test type default in unit test 2018-03-12 15:32:26 -07:00
Brandon Farmer 41587178d9 Add separate test for empty dashboard cell type 2018-03-12 15:22:38 -07:00
Iris Scholten 7edf714ba2 change options to table options in backend, front end and redux 2018-03-12 15:04:17 -07:00
Brandon Farmer ce8ac7398c Legacy dashboard cells default to type 'line'
Closes #2920, #2919
2018-03-12 14:32:09 -07:00
Iris Scholten d1635a45c5 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 c5d89c353d Remove Public; Improve Tab Names 2018-02-09 16:00:27 -08:00
Luke Morris 5f0ef591ea Merge branch 'master' into feature/mappings 2018-02-09 11:42:07 -08:00
Edd Robinson e7e6cf7cd5 😱 2018-02-08 15:41:29 +00:00
Iris Scholten 0f2e163e50 Group=>ProviderOrganization; organization=>organiztionId; fix pointer bug 2018-02-06 18:33:27 -08:00
Michael Desa fd486c9168 Prevent error if organization not found in mapping
chris go vet fix
2018-02-05 18:20:03 -05:00
Chris Goller 5ccab143b7 Add legend to dashboard cells 2018-02-05 14:25:57 -06:00
Michael Desa 64f670e819 Add correct implementation of mappings 2018-02-05 14:54:39 -05:00
Michael Desa be3b76629a Add mappings to organizations
Add links to organization response on me
2018-01-10 15:56:13 -05:00
Michael Desa f26d2f0f35 Change Organization ID to string from uint64 2017-12-19 10:13:43 -08:00
Luke Morris 901aa0bb02 Add/correct comments for new Build functions 2017-12-16 14:09:39 -08:00
Luke Morris 2196a20100 Create backup of database when moving versions 2017-12-16 12:27:24 -08:00
Luke Morris d201fa941a WIP 2017-12-16 01:01:14 -08:00
Jared Scheib 058f5fbc20 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