Commit Graph

4245 Commits (562729b6b5bc97de32497394a6a8cc7c3b74a8e5)

Author SHA1 Message Date
Alex Paxton b70c481f47 Merge pull request #1673 from influxdata/bugfix-1670
Center file upload overlay
2017-06-28 15:35:53 -07:00
Andrew Watkins a5998723dc Refactor sorting and ordering 2017-06-28 15:30:14 -07:00
Jared Scheib 079ca3c235 Improve description of custom link use, and give example (#1676) 2017-06-28 14:41:13 -07:00
Andrew Watkins 5894d62f7d Add filtering to legend 2017-06-28 14:39:09 -07:00
Andrew Watkins 6abed0534a Sorting persists on legend update 2017-06-28 14:09:02 -07:00
Tim Raymond 1e4e3edfb0 Update CHANGELOG for Auth0 organizations
Added an entry about adding support for Auth0 organizations
2017-06-28 16:44:33 -04:00
Tim Raymond a296bad62c Add test coverage for Auth0 organizations
This covers cases where users are or are not members of organizations as
well as whether or not they should have access to the application based
on their organization membership.
2017-06-28 16:29:52 -04:00
Tim Raymond 734414c479 Support Organizations in Auth0
It's useful for operators to classify users into separate groups which
we have termed "organizations". For other OAuth providers, the notion of
an organization typically fell along company lines. For example,
MegaCorp might have a "MegaCorp" GitHub organiztion, and all email
addresses would have the domain "megacorp.com".

Auth0 is slightly different in that MegaCorp would likely run their own
Auth0 provider for their internal services, so "organizations" in Auth0
are no longer synonymous with "large organizations" (or companies).
Instead, Auth0 organizations could be used to restrict access to
Chronograf instances based on team membership within an organization.

To make use of Auth0 organizations, operators should modify users'
app_metadata to include the key "organization". Its value should be the
organization which that user belongs to. This can be done automatically
through arbitrary rules using Auth0 Rules.
2017-06-28 16:29:52 -04:00
Alex P 198670bc6f Fix #1670 2017-06-28 13:24:01 -07:00
Andrew Watkins 3b7995804f WIP tweak styles 2017-06-28 12:15:31 -07:00
Andrew Watkins c76982f33d Add ability to sort numerically and alphabetically 2017-06-28 12:15:31 -07:00
Andrew Watkins 72594dbcfc Move legend into component 2017-06-28 12:15:31 -07:00
Andrew Watkins fc122b60b1 Move functions into separate dir 2017-06-28 12:15:31 -07:00
Andrew Watkins ac9c6ecc14 Allow sorting legend by numeric values 2017-06-28 12:15:31 -07:00
Andrew Watkins a8759b3847 Persist legend in when hovered over 2017-06-28 12:15:31 -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
Hunter Trujillo 0b37db9624 Modernize TimeRangeDropdown component. 2017-06-28 00:02:40 -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