Commit Graph

4096 Commits (1c72fd338b5b6a32b071e97ce3a2dc7a8a22cda2)

Author SHA1 Message Date
Jared Scheib 1c72fd338b Move NewSources input prep to server
Signed-off-by: Tim Raymond <tim@timraymond.com>
2017-07-06 14:12:07 -07:00
Jared Scheib b30fd6e260 Clarify comment 2017-07-06 13:47:39 -07:00
Jared Scheib 0e0800c218 Remove check on already existing Kapacitor
Clean up conditionals by refactoring to use loop label.
Incidentally this also fixed a bug that would not allow
a Kapacitor server to be added by the same name as one
that already existed, allowing the check to be removed
as well.
2017-07-06 12:18:33 -07:00
Jared Scheib 8707659688 Allow server to run even if NewSources errors out 2017-07-06 12:05:05 -07:00
Jared Scheib d1603ae971 Clean up conditionals 2017-07-06 12:04:34 -07:00
Jared Scheib f621ba348f Move throwaway parsing type into NewSources 2017-07-06 11:57:02 -07:00
Jared Scheib 3d6048be2e Update error messages to use plural 2017-07-06 11:48:14 -07:00
Jared Scheib 1ca0315f67 Add sample usage
Make flag identifier plural since JSON array of objects
2017-07-06 11:44:42 -07:00
Jared Scheib 96a7dc310d Log info if source already exists 2017-07-06 11:19:10 -07:00
Jared Scheib eb762dda86 Successfully persist new source and kapa via server flag
Move this to after BoltDb connection is opened
2017-07-05 18:12:08 -07:00
Tim Raymond fc6e3f87ec Parse JSON for --new-source into struct
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-07-05 15:00:59 -07:00
Jared Scheib 6bc6324eb6 Add pseudocode outline for parsing and persisting source and server
Signed-off-by: Tim Raymond <tim@timraymond.com>
2017-06-29 15:33:22 -07:00
Jared Scheib 49eaccda81 Group flags more semantically consistently 2017-06-29 14:25:41 -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