Commit Graph

3993 Commits (def34560e0ce5b329cdb00b3b1ae72983f0be658)

Author SHA1 Message Date
Jared Scheib def34560e0 Only test one CustomLink to avoid map key order failing test 2017-06-26 16:12:54 -05:00
Jared Scheib 81aa909329 Add custom links to routes test 2017-06-26 16:00:27 -05:00
Jared Scheib 987141cffa Use appropriate error when NewCustomLinks fails 2017-06-26 15:44:56 -05:00
Jared Scheib a32c17a18d Comment CustomLink struct 2017-06-26 15:43:03 -05:00
Jared Scheib cac72eea60 Change 'Url' prop key to 'URL' to satisfy Go convention 2017-06-26 15:42:36 -05:00
Jared Scheib 9198e5cb7a Update comment for ServeHTTP to mention External Links 2017-06-26 15:35:42 -05:00
Jared Scheib 4bf242f955 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
Jared Scheib a6dcb3a382 Add 'custom' prop and example to /chronograf/v1 in swagger docs 2017-06-26 11:56:05 -07:00
Jared Scheib c2b2c2c6f8 Fix redux state path for custom links 2017-06-26 11:48:55 -07:00
Jared Scheib c1bdbcaa89 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 68c2765524 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 a251071254 WIP Parse custom links from CLI 2017-06-23 15:12:02 -07:00
Alex P 482cbd8e2b Style user menu to stack within viewport 2017-06-23 11:41:01 -07:00
Jared Scheib cbab4402b5 Merge branch 'master' into feature/custom_user_links-1550 2017-06-22 16:56:28 -07:00
Jared Scheib 9510562371 Generate user side nav menu with custom links 2017-06-22 16:54:06 -07:00
Andrew Watkins 1b57e8141f Merge pull request #1581 from influxdata/feature/refresh-tvars
Refresh templates on dashboard load
2017-06-22 14:50:02 -07:00
Andrew Watkins 6bfdf361e5 Update comment 2017-06-22 14:12:33 -07:00
Andrew Watkins 64d91d3376 Remove uneccessary argument 2017-06-22 14:10:08 -07:00
Timothy J. Raymond 8b755857ba Merge pull request #1645 from influxdata/feature/tr-aw-auth0
Add Auth0 to supported OAuth2 providers
2017-06-22 15:58:04 -04:00
Andrew Watkins d43c898202 Merge pull request #1641 from influxdata/bugfix/enable-disable
Fix enable / disable bug
2017-06-22 11:54:57 -07:00
Tim Raymond 25119298fa Add CHANGELOG entry for Auth0
This adds an entry for #1645, where we added Auth0 support.
2017-06-22 14:47:57 -04:00
Nathan Haugo 2c37bb6ed5 Merge pull request #1652 from influxdata/revert/add_back_single_stat_axes
Revert removal of x and y axes and some style changes on Line + Single Stat graphs
2017-06-21 18:56:20 -07:00
Jared Scheib 088cd74874 Update changelog for additional changes 2017-06-21 18:55:36 -07:00
Jared Scheib 863f668d85 Revert axes colors; make single stat options nearly identical as regular 2017-06-21 18:53:56 -07:00
Jared Scheib f0ad522669 Fix changelog for two other hot fixes 2017-06-21 18:36:59 -07:00
Jared Scheib 26112c942e Update changelog 2017-06-21 18:36:40 -07:00
Jared Scheib 88c8f93716 Revert removal of x and y axes on single stat graphs 2017-06-21 18:31:40 -07:00
Nathan Haugo 5ea086e39c Merge pull request #1650 from influxdata/bug/fix-cpu-reporting
Fix broken cpu reporting on hosts page and normalize InfluxQL
2017-06-21 17:43:30 -07:00
Nathan Haugo 51b6ac3235 Fix verb tense in changelog 2017-06-21 17:43:04 -07:00
Nathan Haugo ee3316cae4 Fix the changelog release 2017-06-21 17:14:02 -07:00
Nathan Haugo 21f8fe6842 Update changelog 2017-06-21 16:59:47 -07:00
Nathan Haugo 3526272f49 Fix broken cpu reporting on hosts page and normalize InfluxQL 2017-06-21 16:56:52 -07:00
Andrew Watkins cf3b3182a3 Update CHANGELOG 2017-06-21 14:11:41 -07:00
Andrew Watkins 63ec64a6e2 Cleanup 2017-06-21 14:08:49 -07:00
Andrew Watkins 55b69785da Fix rebase error 2017-06-21 14:00:05 -07:00
Andrew Watkins 7865cce938 Remove stateful component wrapper 2017-06-21 13:58:36 -07:00
Andrew Watkins 03bb36d315 Fix race condition on dashboard load with template variable values by performing all relevant transactions within the same async function. 2017-06-21 13:57:14 -07:00
Andrew Watkins 1ee17544d6 Remove misplaced async 2017-06-21 13:57:14 -07:00
Andrew Watkins 6d4895b9b1 Refresh templates on dashboard load 2017-06-21 13:57:14 -07:00
Jared Scheib f8a4445b8a WIP Display custom links in side nav 2017-06-21 11:16:29 -07:00
Tim Raymond 6c8e889b03 Add Auth0 to supported OAuth2 providers
Auth0 is an OpenID Connect compliant OAuth2 provider, so we're able to
re-use the generic OAuth2 provider to implement it. The routes required
by Auth0 have been hardcoded for user convenience.

Also, Auth0 requires users to register a subdomain of auth0.com when
signing up. This must be provided to chronograf through the
`--auth0-domain` parameter (or `AUTH0_DOMAIN` ENV). This is **distinct**
from the `PUBLIC_URL`. For example, for a Chronograf hosted at
`http://www.example.com`, and an Auth0 domain of
`http://oceanic-airlines.auth0.com`, a client-id of `notpennysboat` and a
client-secret of `4-8-15-16-23-42`, the command line options would look
like:

```
chronograf \
  --auth0-domain=http://oceanic-airlines.auth0.com \
  --auth0-client-id=notpennysboat \
  --auth0-secret=4-8-15-16-23-24
  --public-url=http://www.example.com
  -t `uuidgen`
```
2017-06-21 10:20:46 -04:00
Timothy J. Raymond 34808ddb9d Merge pull request #1619 from pragkent/generic-oauth-redirect-url
Add redirect url to generic oauth
2017-06-21 10:19:03 -04:00
Kent Wang 17984600cb Fix generic redirect URL 2017-06-21 12:19:21 +08:00
Jared Scheib 8bafe10a9a Add back empty 1.3.4.0 to changelog 2017-06-20 14:06:50 -07:00
Andrew Watkins 7a07fa4e70 Merge branch 'master' into bugfix/enable-disable 2017-06-20 13:15:35 -07:00
Jared Scheib fe0890f134 Merge pull request #1642 from influxdata/fix/basepath_json_feed-1640
Do not prefix basepath to external link for news feed
2017-06-20 12:44:44 -07:00
Hunter Trujillo d592977515 Merge pull request #1639 from influxdata/feature/1597-hover-lines-performance
Feature/1597 hover lines performance
2017-06-20 13:40:04 -06:00
Jared Scheib 2df7a7d6ad Update changelog 2017-06-20 12:12:14 -07:00
Jared Scheib 7037167a44 Do not prefix external news feed link with basepath 2017-06-20 11:59:31 -07:00
Andrew Watkins e1aef32512 Add test for disabled bug 2017-06-20 11:42:19 -07:00