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
Alex P
22f606d6b0
Update implementation of SlideToggle
2018-07-09 12:03:12 -07:00
Alex P
af5b2d96a2
Convert component to TypeScript
2018-07-09 11:50:51 -07:00
Alex P
0c216b246f
Update implementation of SlideToggle
2018-07-09 11:48:59 -07:00
Alex P
25047934ee
Move component into reusable directory
...
Also updating styles
2018-07-09 11:48:26 -07:00
Delmer
6376673fcb
Merge pull request #3828 from influxdata/refactor/dashboard-names-loading
...
Add util for loading dashboard switcher links
2018-07-09 13:47:26 -04:00
Christopher Henn
17d4cc7135
Add missing brace in swagger.json
...
The docs at localhost:8888/docs failed to load due to an error parsing
the swagger.json file.
2018-07-09 10:44:27 -07:00
Alex P
b967ee4610
Cleanup component
2018-07-09 10:07:35 -07:00
Delmer
8c96e578e3
Merge pull request #3834 from influxdata/remove/autorefresh-predicate
...
Remove AutoRefresh check for local selected values
2018-07-09 13:00:47 -04:00
Alex P
df2fc53d86
Convert SlideToggle to typescript
2018-07-09 09:59:11 -07:00
Delmer Reed
0a4fde4ad8
Remove AutoRefresh check for local selected values
...
Removes AutoRefresh checking for local selected values that were
previously causing the dashboard cells to make multiple requests. The
changes in 3829 removes the need for this check.
2018-07-09 12:47:20 -04:00
Delmer Reed
e9196b3739
Update links to extract from props in switcher
2018-07-09 12:41:48 -04:00
Delmer Reed
6b90c4e568
Add util for loading DashboardLinks
2018-07-09 12:32:50 -04:00
Christopher Henn
234023dd5e
Type cell editor overlay reducer
2018-07-09 08:39:57 -07:00
Christopher Henn
3fd4090cea
Type dashTimeV1 reducer
2018-07-09 08:39:57 -07:00
Christopher Henn
044e9920af
Type dashboards UI reducer
2018-07-09 08:39:57 -07:00
Andrew Watkins
b7a3e16f37
Merge pull request #3832 from influxdata/bugfix/horizontal-graph
...
Fix table time as horizontal
2018-07-06 22:37:39 -07:00
Andrew Watkins
928ce8d590
Fix table time as horizontal
2018-07-06 15:20:16 -07:00
Christopher Henn
fdd25bc95d
Accept single value in localSelected action
2018-07-06 15:04:49 -07:00
Christopher Henn
fb5241bc7a
Serialize key as query parameter for map templates
2018-07-06 15:04:49 -07:00
Christopher Henn
dddbf8b5fb
Clarify template selection resolution
2018-07-06 15:04:49 -07:00
Christopher Henn
ab5f1ded78
Support nested template variables
2018-07-06 15:04:49 -07:00
Andrew Watkins
54bf8ba0ee
Merge pull request #3825 from influxdata/feature/locale-number-separators
...
Feature/locale number separators
2018-07-06 10:52:38 -07:00