Commit Graph

155 Commits (1ad6372032a71ef8c437603454605e483d259034)

Author SHA1 Message Date
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
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 8ca3338afb Add/correct comments for new Build functions 2017-12-16 14:09:39 -08:00
Luke Morris b95837fc5b Create backup of database when moving versions 2017-12-16 12:27:24 -08:00
Luke Morris 5a59d72b06 WIP 2017-12-16 01:01:14 -08:00