Commit Graph

4255 Commits (0950833ec0c9a90ae692e271137fbcb9af1ddbf8)

Author SHA1 Message Date
Jared Scheib de9d0df860 Group flags more semantically consistently 2017-06-29 14:27:30 -07:00
Jared Scheib 639bce7217 Group flags more semantically consistently 2017-06-29 14:25:41 -07:00
Andrew Watkins a76b44a3a3 Hide legend a little better 2017-06-29 13:54:25 -07:00
Andrew Watkins c90bfdb60b Handle removing measurement from legend label 2017-06-29 13:01:58 -07:00
Jade McGough 08c2677b96 Merge pull request #1668 from influxdata/fix/auth0-email
add email to auth0 required scopes
2017-06-29 11:59:59 -07:00
Andrew Watkins b2387d3ab7 Refactor sort order 2017-06-29 11:34:25 -07:00
Andrew Watkins 5c786b4b80 Hide hide and show legend 2017-06-29 11:17:57 -07:00
Alex P 4610553982 Display custom time range on cell header when present 2017-06-28 17:42:41 -07:00
Hunter Trujillo 63bf355e8a Remove CustomTimeRange container class in split, but this damages styles due to selectors. 2017-06-28 17:53:43 -06:00
Hunter Trujillo 35d75b5d9d Split out CustomTimeRange date picker into its own component so it can be shared between separate Dropdown and Overlay components. 2017-06-28 17:50:35 -06:00
Alex Paxton 8832f26118 Merge pull request #1673 from influxdata/bugfix-1670
Center file upload overlay
2017-06-28 15:35:53 -07:00
Andrew Watkins 7dff564cbc Refactor sorting and ordering 2017-06-28 15:30:14 -07:00
Jared Scheib 788aec07db Improve description of custom link use, and give example (#1676) 2017-06-28 14:41:13 -07:00
Andrew Watkins baea72eaef Add filtering to legend 2017-06-28 14:39:09 -07:00
Andrew Watkins 46d91e2859 Sorting persists on legend update 2017-06-28 14:09:02 -07:00
Tim Raymond f7ab54592f Update CHANGELOG for Auth0 organizations
Added an entry about adding support for Auth0 organizations
2017-06-28 16:44:33 -04:00
Tim Raymond 07def02ff7 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 5a4817baf6 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 bf1b1edd8d Fix #1670 2017-06-28 13:24:01 -07:00
Andrew Watkins 829a600c6e WIP tweak styles 2017-06-28 12:15:31 -07:00
Andrew Watkins 1c31a98642 Add ability to sort numerically and alphabetically 2017-06-28 12:15:31 -07:00
Andrew Watkins d006c2fc06 Move legend into component 2017-06-28 12:15:31 -07:00
Andrew Watkins e9bd3901ab Move functions into separate dir 2017-06-28 12:15:31 -07:00
Andrew Watkins 598fef81bf Allow sorting legend by numeric values 2017-06-28 12:15:31 -07:00
Andrew Watkins cd02576e33 Persist legend in when hovered over 2017-06-28 12:15:31 -07:00
Alex Paxton 170b1f23ef 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 2fec182927 Merge pull request #1647 from influxdata/feature/file-upload-de
Feature/file upload de
2017-06-28 10:42:22 -06:00
Hunter Trujillo 217695b962 Modernize TimeRangeDropdown component. 2017-06-28 00:02:40 -06:00
Alex P 357fa3655f Merge branch 'master' into find-better-home-for-version-number 2017-06-27 16:58:37 -07:00
Jade McGough 9ac59861d2 add email to auth0 required scopes 2017-06-27 16:29:51 -07:00
Jared Scheib 2579e07bce 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 b61966b27d Sort custom links in User nav alphabetically 2017-06-27 13:58:10 -07:00
Jared Scheib e9f6568074 Clarify error output for missing Name or URL 2017-06-27 13:40:26 -07:00
Jared Scheib 33127d7915 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 91bae804e1 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 200225d2e2 Conserve memory allocation for customLinks slice
Signed-off-by: Chris Goller <goller@gmail.com>
2017-06-27 12:00:05 -07:00
Jared Scheib 3b76f82d47 Remove omitempty from CustomLink definition since should never b 2017-06-27 11:02:28 -07:00
Jared Scheib 0ab48663a8 Return and test for nil on invalid NewCustomLink input 2017-06-27 10:59:04 -07:00
Jared Scheib 99c6636152 Use ES6 spread operator instead of .concat for nav items 2017-06-27 10:52:12 -07:00
Alex P 7321ed1edd Update changelog 2017-06-27 10:45:36 -07:00
Alex P caa9b94430 Fix for #1662 2017-06-27 10:44:55 -07:00
Jared Scheib 3622ed91c5 Remove unused redux key from ajax links response 2017-06-27 10:20:12 -07:00
Jared Scheib b513f8d388 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 f064342440 Merge remote-tracking branch 'origin/master' into feature/custom_user_links-1550 2017-06-26 18:05:22 -07:00
Jared Scheib 854f304d18 Remove unused custom links key 2017-06-26 18:16:46 -05:00
Jared Scheib fcf9971d86 Pass through CustomLinks error message directly 2017-06-26 18:02:22 -05:00
Jared Scheib 7da6ca8918 Update changelog 2017-06-26 17:23:01 -05:00
Jared Scheib 3e3bf8988c Add full test coverage for NewCustomLinks 2017-06-26 17:18:53 -05:00
Jared Scheib b38439321d Move external links structs to links.go 2017-06-26 16:13:23 -05:00
Jared Scheib def34560e0 Only test one CustomLink to avoid map key order failing test 2017-06-26 16:12:54 -05:00