Commit Graph

10777 Commits (3e3284ba9809efe5078c37e6bbeaf55f649cd95c)

Author SHA1 Message Date
Alirie Gray 8b45b2a924 Add auth config link to global application config response links 2018-07-10 16:13:37 -07:00
Iris Scholten 721e59dc34 Use severityLevelColors in logs table and histogram 2018-07-10 16:12:43 -07:00
Alirie Gray dfdd2907f0 Add log viewer link to organization config response
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-10 16:05:11 -07:00
Delmer Reed 328aa97188 Fix links switcher test file name 2018-07-10 19:00:06 -04:00
Delmer Reed 72b767566f Update loadDashboardLinks util to live in apis 2018-07-10 18:59:07 -04:00
Andrew Watkins 16e1a26b72 Add mysql metric version 2 query to canned dashboards 2018-07-10 15:50:42 -07:00
Alirie Gray 6ec5d171e4 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 44ee2dc168 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 b78ed8eef7 Remove unecessary nil guard and group response creation code in org config
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-10 15:26:30 -07:00
Andrew Watkins 6f8081d909 Change server to url 2018-07-10 15:25:05 -07:00
Alirie Gray dab949f26f Add comment for validLogViewerConfig function
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-10 15:09:06 -07:00
Delmer Reed 96cae2c583 Add loadHostLinks test 2018-07-10 18:06:05 -04:00
Delmer Reed d7e7981143 Refactor switcher links utils 2018-07-10 17:45:32 -04:00
Christopher Henn 87e939aff6 Support auto group by queries in Data Explorer 2018-07-10 14:42:01 -07:00
Alirie Gray 44e70754ea Remove unecessary FindOrCreate call in Update in organizations/org_config.go
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-10 14:39:28 -07:00
Andrew Watkins a88f49d5c6 Merge pull request #3864 from influxdata/feature/decimals
Decimal Places Single Stat
2018-07-10 14:36:37 -07:00
Alirie Gray ed635fe095 Add integration tests for PUT and GET /org_config routes
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-10 14:27:29 -07:00
Iris Scholten 79d55ff074 Update redux with severity level color changes 2018-07-10 14:19:29 -07:00
Iris Scholten 06a828e979 Add severityColorOptions to logConfig
Update transformation utils and tests
Update constants and components to use new type structure
2018-07-10 14:07:38 -07:00
Alirie Gray 0b84deabfc Fix swagger error in LogViewerColumn 2018-07-10 14:03:21 -07:00
Delmer Reed 131b878913 Add hosts switcher links test 2018-07-10 15:41:13 -04:00
Delmer Reed ba1021cc55 Update dashboardNameLinks test extension 2018-07-10 15:38:58 -04:00
Delmer Reed 53e30dd218 Update hostpage to use hostlinks
Updates host page to use hostSwitcherLinks util and removes dead code
for focusedApp query location.
2018-07-10 15:37:39 -04:00
Alirie Gray 85e8ba3491 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 0295a9a549 Add comment to explain use of FindOrCreate in OrganizationLogViewerConfig service method
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-10 12:06:11 -07:00
Alirie Gray 913e21c136 Rename LogViewerOrganizationConfig to OrganizationLogViewerConfig
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-10 12:05:29 -07:00
Alirie Gray 1ab600e133 Remove overly defensive nil org config guard on GET
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-10 11:52:30 -07:00
Alirie Gray acaf2c5276 Add comment to explain SuperAdminNewUsers property on AuthConfig
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-10 11:47:18 -07:00
Alirie Gray c9c088cdd2 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 5b58c6aa59 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
Andrew Watkins 1a5b800175 Add decimal place options to single-stat and line plus single stat 2018-07-10 11:24:46 -07:00
Iris Scholten 480127f112 Fix row not highlighting when hovering over severity column 2018-07-10 11:15:02 -07:00
Delmer Reed 0e4347a3d2 Fix hosts DashboardHeader rendering
Fixes dashboard links to conform to DashboardSwitcherLinks interface.
2018-07-10 13:58:32 -04:00
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
Daniel Campbell 03e348063f Merge pull request #3855 from influxdata/logs-page-polish
Logs page polish
2018-07-10 10:51:02 -07:00
Christopher Henn a140ecfe49 Fix encoding of empty source responses 2018-07-10 10:50:27 -07:00
Alex P dbf80d6898 Align severity text with dot 2018-07-10 10:09:52 -07:00
Alex P acfd17ea5c Rename function to match event name 2018-07-10 10:09:34 -07:00
Alex P 6cf775ae07 Fix styling of filter blocks
the LI tag was inheriting some funky
2018-07-10 10:09:06 -07:00
Alex P 537de8b2fe Allow user to exit filter edit when nothing has changed 2018-07-10 10:08:31 -07:00
Alex Paxton 1521012709 Merge pull request #3849 from influxdata/reinstate-table-sort-indicators
Bring back sort indicators in Hosts and Alerts tables
2018-07-10 09:07: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