Commit Graph

4090 Commits (8c2e5c45859338bc84ba8f322694ed184757fd0e)

Author SHA1 Message Date
Alex Paxton 8c2e5c4585 Merge branch 'master' into bugfix-tempvar-dropdown-jitter 2017-07-05 12:35:02 -07:00
Alex P 17fa067bda Updoot changelog 2017-07-05 12:34:20 -07:00
Alex P 24ab9332df Prevent TempVar Dropdown size jitter
Determines the required length in pixels based on the length of the
longest item in the menu and only sets it if it is greater than the
minimum dropdown width
2017-07-05 12:27:03 -07:00
Timothy J. Raymond dd265d74ac Merge pull request #1688 from influxdata/bugfix/tr-fix-rp-update
Fix RP duration editing on admin page
2017-07-05 15:06:11 -04:00
Tim Raymond 9cc093d4e5 Update CHANGELOG with RP admin page fix
Adds a note about fixing a bug with the admin page where users were
unable to update retention policies.
2017-07-05 11:50:36 -04:00
Tim Raymond 54e6864b14 Fix RP duration editing on admin page
Validation logic in the "DatabaseRow" component made some optimistic
assumptions about the presence of the "replication" in state.
Replication won't be present in OSS or Influx Relay sources, so when
users tried to update other properties of a retention policy, it failed
with an error that indicated "replication" was undefined.

Since this is expected and desired behavior, this patch uses the
existing "isRFVisible" property to determine whether or not we should
process the "replication" part of the component's state, or simply
replace it with a "1", which is the only allowed value for
non-Enterprise sources.
2017-07-05 11:41:16 -04:00
Jared Scheib 8fa81c9541 Group flags more semantically consistently 2017-06-29 14:27:30 -07:00
Jade McGough 0246ceceb2 Merge pull request #1668 from influxdata/fix/auth0-email
add email to auth0 required scopes
2017-06-29 11:59:59 -07:00
Alex Paxton b70c481f47 Merge pull request #1673 from influxdata/bugfix-1670
Center file upload overlay
2017-06-28 15:35:53 -07:00
Jared Scheib 079ca3c235 Improve description of custom link use, and give example (#1676) 2017-06-28 14:41:13 -07:00
Alex P 198670bc6f Fix #1670 2017-06-28 13:24:01 -07:00
Alex Paxton 142e15e8d2 Merge pull request #1664 from influxdata/find-better-home-for-version-number
Find better home for version number
2017-06-28 10:29:51 -07:00
Hunter Trujillo 90f4aafb65 Merge pull request #1647 from influxdata/feature/file-upload-de
Feature/file upload de
2017-06-28 10:42:22 -06:00
Alex P c4f002b4fe Merge branch 'master' into find-better-home-for-version-number 2017-06-27 16:58:37 -07:00
Jade McGough 0436dbd0e3 add email to auth0 required scopes 2017-06-27 16:29:51 -07:00
Jared Scheib c7861b56d5 Merge pull request #1660 from influxdata/feature/custom_user_links-1550
Add ability to add custom links to User menu via server CLI or ENV vars
2017-06-27 14:32:01 -07:00
Jared Scheib e318ecb888 Sort custom links in User nav alphabetically 2017-06-27 13:58:10 -07:00
Jared Scheib be1b7dfcdf Clarify error output for missing Name or URL 2017-06-27 13:40:26 -07:00
Jared Scheib 21fab035c2 Error out server if CustomLinks invalid on run
Signed-off-by: Chris Goller <goller@gmail.com>
2017-06-27 13:31:35 -07:00
Jared Scheib c637e5407d Refactor links_test to use table test and cleaner error check
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-06-27 13:30:34 -07:00
Jared Scheib 2e93ad5230 Conserve memory allocation for customLinks slice
Signed-off-by: Chris Goller <goller@gmail.com>
2017-06-27 12:00:05 -07:00
Jared Scheib 3fea7501d8 Remove omitempty from CustomLink definition since should never b 2017-06-27 11:02:28 -07:00
Jared Scheib 48e90fcd0a Return and test for nil on invalid NewCustomLink input 2017-06-27 10:59:04 -07:00
Jared Scheib b88ced9526 Use ES6 spread operator instead of .concat for nav items 2017-06-27 10:52:12 -07:00
Alex P 4ef6843e4b Update changelog 2017-06-27 10:45:36 -07:00
Alex P 3d1b75debe Fix for #1662 2017-06-27 10:44:55 -07:00
Jared Scheib b2b5426cc3 Remove unused redux key from ajax links response 2017-06-27 10:20:12 -07:00
Jared Scheib b2f88df97a Fix failing SideNav by removing sidebar--bottom div
Also remove sidebar-item--last for now
2017-06-26 19:03:32 -07:00
Jared Scheib e089266013 Merge remote-tracking branch 'origin/master' into feature/custom_user_links-1550 2017-06-26 18:05:22 -07:00
Jared Scheib d2a91f6dc4 Remove unused custom links key 2017-06-26 18:16:46 -05:00
Jared Scheib 578bf89c97 Pass through CustomLinks error message directly 2017-06-26 18:02:22 -05:00
Jared Scheib c89b7c3bb6 Update changelog 2017-06-26 17:23:01 -05:00
Jared Scheib 604faea32d Add full test coverage for NewCustomLinks 2017-06-26 17:18:53 -05:00
Jared Scheib ca239d037d Move external links structs to links.go 2017-06-26 16:13:23 -05:00
Jared Scheib 81ada5315c Only test one CustomLink to avoid map key order failing test 2017-06-26 16:12:54 -05:00
Jared Scheib 6e59d8ce34 Add custom links to routes test 2017-06-26 16:00:27 -05:00
Jared Scheib a723ef8ae1 Use appropriate error when NewCustomLinks fails 2017-06-26 15:44:56 -05:00
Jared Scheib 6dedf77add Comment CustomLink struct 2017-06-26 15:43:03 -05:00
Jared Scheib ede2476837 Change 'Url' prop key to 'URL' to satisfy Go convention 2017-06-26 15:42:36 -05:00
Jared Scheib 799dc64ea4 Update comment for ServeHTTP to mention External Links 2017-06-26 15:35:42 -05:00
Jared Scheib 90aaa8104d Refactor CustomLinks transform into routes.go and new links.go
Rename generateCustomLinks to NewCustomLinks
Handle error from NewCustomLinks per app convention
2017-06-26 15:30:33 -05:00
Alex Paxton 114edd31a2 Merge pull request #1655 from influxdata/misc-ui-polish
Misc UI Polish
2017-06-26 13:11:44 -07:00
Jared Scheib 1b3c00d07a Add 'custom' prop and example to /chronograf/v1 in swagger docs 2017-06-26 11:56:05 -07:00
Jared Scheib 8486d495b1 Fix redux state path for custom links 2017-06-26 11:48:55 -07:00
Jared Scheib 7d6eaf925a Generate custom links from env var and multiple CLI flags
Signed-off-by: Chris Goller <goller@gmail.com>
2017-06-26 11:48:47 -07:00
Jared Scheib c805bcc366 Merge branch 'feature/custom_user_links-1550' of https://github.com/influxdata/chronograf into feature/custom_user_links-1550 2017-06-23 15:58:03 -07:00
Jared Scheib 613dcc64ac WIP Parse custom links from CLI 2017-06-23 15:12:02 -07:00
Alex P 3adf83d4ac Style user menu to stack within viewport 2017-06-23 11:41:01 -07:00
Alex P 9e1ddeafa7 Update changelog 2017-06-23 11:32:25 -07:00
Alex P 42042d17cc Add glow effect to active sidebar items 2017-06-23 11:24:19 -07:00