Alirie Gray
0f810debcb
Rename org config method Update to Put for semantic accuracy
...
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-10 15:42:44 -07:00
Alirie Gray
874110bd5e
Rename org config receivers and function params to be more conventional
...
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-10 15:32:23 -07:00
Alirie Gray
f2a171d72b
Add default colors to default organization config
...
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-10 12:19:37 -07:00
Alirie Gray
803c1dbbe3
Move nil config guard to helper update method
...
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-10 11:41:30 -07:00
Alirie Gray
251d15672b
Guard against length-0 slice in org_config get and FindOrCreate methods
...
Added ErrOrganizationConfigNotFound error
Refactored FindOrCreate to use helper get method
Ensure that FindOrCreate creates a new org config if config not found
and returns any other errors
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-10 11:41:06 -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
ef3741cdc8
Fix FindOrCreate persisting OrganizationConfig to bolt
...
Add get/update helper methods for OrganizationConfig in bolt.
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
2018-07-09 17:37:30 -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
Jared Scheib
609fd56b9a
Merge branch 'master' into bugfix/hostlist-customdb
2018-04-18 10:47:52 -07:00
lukevmorris
210dd43d8f
fix(migration): Snapshot all struct types ( #3211 )
...
declaring all migration-irrelevant types as []byte may erase data
for repeated protobuf fields. we hoped that "obscuring" the original
types of these columns with []byte would pass-through their values
unchanged, allowing us to omit entire types (and their descendent
trees) that were not being operated on in a migration. Fewer imported
types would lead to a more expressive migration file whose intent was
more clear to the reader. We will need to experiment with other ways
to achieve this in the future.
fixes #3200
2018-04-16 12:47:38 -07:00
Iris Scholten
8b807670fe
Test bolt update defaultRP in source
...
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-04-11 15:04:40 -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
Luke Morris
8faede8a2e
Correct type information in migration
2018-04-05 15:44:27 -07:00
Luke Morris
3b0e43ba49
Fill the value with the current time
2018-04-03 22:45:52 -07:00
Luke Morris
d76a937e09
A bit of cleanup
2018-04-03 18:01:57 -07:00
Luke Morris
5d5b77b50b
Pointers and strings
2018-04-03 17:28:57 -07:00
Luke Morris
e37066a109
Runnable migration file -- missing an update
2018-04-03 16:52:34 -07:00
Luke Morris
601250f1d5
WIP -- general sketch of thoughts
2018-04-03 16:52:34 -07:00
Luke Morris
afe079609d
Sketching new migration system
2018-04-03 16:52:34 -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
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
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
0c1263f754
Merge pull request #2968 from influxdata/feature/graph-table-time-format
...
Table Graph Time Format and Saving to Backend
2018-03-14 09:58:30 -07:00
Iris Scholten
4f2fb268ca
update formatting in internal.proto
2018-03-14 09:17:15 -07:00
Michael Desa
254a63be38
Use consistent argument names for bolt
2018-03-14 11:38:48 -04: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