adamperlin
8e34bd779e
Update output file for flux string max test with new error message
2018-07-09 18:10:21 -07:00
adamperlin
fe1493c120
Update error message for function unimplemented for data type in flux
2018-07-09 18:10:21 -07:00
adamperlin
bcbc0256d5
Change error message when selector function is nil
2018-07-09 18:10:21 -07:00
adamperlin
b46a14ba77
Remove broken nil check method; add simple interface nil check
2018-07-09 18:10:21 -07:00
adamperlin
a546bbfcb1
Add error message when row selector interface has nil value to avoid panic
2018-07-09 18:10:21 -07:00
Adam Perlin
3289e2897b
Merge pull request #377 from influxdata/refactor-move-test-data
...
Refactor move test data
2018-07-09 18:08:51 -07:00
Jared Scheib
0104594c16
Fix swagger.json breaking in rebase
2018-07-09 17:41:23 -07:00
Alex P
2fd2a5c541
Bring back sort indicators in Hosts and Alerts tables
2018-07-09 17:39:28 -07:00
Jared Scheib
9a60875048
Add tests for validLogViewerConfig & remove obsolete comments
2018-07-09 17:37:30 -07:00
Jared Scheib
c79fa83064
Fix server/org_config_test function names in test error output
2018-07-09 17:37:30 -07:00
Jared Scheib
b68014daa8
Fix OrganizationConfig store to never manipulate global org config
...
Using serverContext created the scenario where a global org config
could be created and manipulated in certain cases. However, org
configs should always be in the context of an organization --
there is no global organization config, so removing these lines
removes the ability for such an undesired state.
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
2018-07-09 17:37:30 -07:00
Jared Scheib
89ef77d040
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
92bda812b4
Fix new log viewer config response underlying struct
...
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
2018-07-09 17:37:30 -07:00
Jared Scheib
a9af861c2f
Remove unnecessary comments
...
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
2018-07-09 17:37:30 -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
Alirie Gray
45bb87a17b
Update swagger docs with refactored organization config API
...
Add definitions for Config and Organization Config
Replace /:section route with /auth and /org_config/logviewer
Co-authored-by: Jared Scheib <jared.scheib@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
9d752e0eb4
Add comments and refactored map syntax for validLogViewerUIConfig
...
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-09 17:36:19 -07:00
Alirie Gray
691dd6e796
Handle decoding request before retrieving config & := syntax for res
...
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
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
Jared Scheib
08c7850812
Correct two missed 'logViewer's to logviewer
2018-07-09 17:36:19 -07:00
Alirie Gray
aa21b8e880
Update Changelog
...
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
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
Alex Paxton
fa348b3750
Merge pull request #3846 from influxdata/make-components-reusable
...
More Reusable Components
2018-07-09 17:35:27 -07:00
Alirie Gray
5043c86990
Validate log UI config on PUT, & refactor config API methods
...
Replaced /:section with specific hard-coded endpoints /auth
& /logviewer, and refactored service handler methods to
handle each route separately.
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-09 17:35:17 -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
Alex P
2e1e6eced7
Make default value more explicit
2018-07-09 17:18:19 -07:00
Andrew Watkins
a13e024e93
Merge pull request #3844 from influxdata/enterprise/fe-ldap
...
Frontend LDAP integration
2018-07-09 16:35:49 -07:00
Andrew Watkins
d49bd20551
Remove ternary
2018-07-09 16:26:15 -07:00
Delmer
ac6fa2da6a
Merge pull request #3847 from influxdata/fix/basepath-dashboards
...
Fix multiple base paths added when routing dashboards
2018-07-09 19:24:40 -04:00
Alex P
5a47c1e707
Make tests okay with CSS imports
2018-07-09 15:59:20 -07:00
Andrew Watkins
993fc1ba44
Cleanup
2018-07-09 15:43:29 -07:00
Alex P
2b25478223
Move Overlay styles into component folder
2018-07-09 15:38:29 -07:00
Alex P
3f6ad6bedd
Remove commented code
2018-07-09 15:37:56 -07:00
Iris Scholten
87296e3761
Merge pull request #3841 from influxdata/fix/delete-tv-metaquery
...
Handle deletion of a tempVar used in nested tempVar
2018-07-09 15:33:21 -07:00
Alex P
1de1fc7542
Limit re-rendering of table row
2018-07-09 15:31:23 -07:00
Delmer Reed
92ac98420a
Fix basepath routing dashboards
2018-07-09 18:17:45 -04:00
Iris Scholten
4156c42684
Handle deletion of a tempVar used in nested tempVar
...
Catch error and send notification of error
2018-07-09 15:17:35 -07:00
Alex P
c7cbf96c6f
Move SlideToggle stylesheet into component directory
2018-07-09 15:12:52 -07:00
Andrew Watkins
905f57eee3
Do not display Roles or Users page if connected to LDAP source
2018-07-09 14:56:27 -07:00
adamperlin
dddfe38ee9
Move additional tests to new query test location
2018-07-09 14:17:02 -07:00
adamperlin
b3aff30f4d
Move main end to end flux query test to query/functions package dir
2018-07-09 14:13:53 -07:00
adamperlin
df44aa0ad5
Move querytest/test_cases to functions/testdata and update query_test with new path
2018-07-09 14:13:53 -07:00
Jonathan A. Sternberg
ca66f0df74
Merge pull request #376 from influxdata/js-query-try-plan
...
fix(query/control): race condition when attempting to plan a query in the controller
2018-07-09 16:00:01 -05:00
Adam
67bb5af1fb
regex support added to transpiler ( #356 )
...
* feat(query/influxql): add regex support to transpiler
also added test case to querytest
* Add raw_with_condition test to transpiler unit tests
* add unit tests for regex conditions on raw query
2018-07-09 16:54:00 -04:00
Jonathan A. Sternberg
b9a4f1be74
fix(query/control): race condition when attempting to plan a query in the controller
2018-07-09 15:40:07 -05:00
jlapacik
9c8e89c83e
Merge pull request #347 from influxdata/jl-remove-query-domain
...
remove notion of query domain
2018-07-09 13:30:14 -07:00