Jared Scheib
b5491a7bf1
Add & fix logViewer links in configResponse
...
Rename LogViewerUI to LogViewer in Config struct.
Make all instances of endpoint 'logviewer' (lowercase).
Make all instances of config.links.logViewer (camelcase).
2018-07-09 17:36:19 -07:00
Andrew Watkins
1344297421
Change IFQL to Flux
2018-06-05 10:57:19 -07:00
Brandon Farmer
5353c0bb57
Func item triggers a handler when it is clicked
...
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
Co-authored-by: Andrew Watkins<andrew.watkinz@gmail.com>
2018-03-29 16:06:10 -07:00
Brandon Farmer
5f83bf59ed
Add endpoints for ifql function suggestions
...
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-03-29 16:01:01 -07:00
Michael Desa
e8ed30a9e6
Populate links response with organiation on JWT
2018-01-17 12:26:28 -05:00
Michael Desa
6168dc3e06
Nest user routes under organization
...
Add global user routes
2018-01-16 16:45:58 -05:00
Michael Desa
4c33cf7846
Add rawUsers route to AllLinks
2018-01-10 11:18:08 -05:00
Michael Desa
b41816c5cd
Add /chronograf/v1/env endpoint to expose env vars
...
Some environment variables are needed by the front end. This PR
introduces a route so that those environment variables can be exposed.
Additionally, a new environment variable TELEGRAF_SYSTEM_INTERVAL was
added. This env var controls the rate at which the host list page will
update its red/green status.
2018-01-03 11:52:40 -08:00
Jared Scheib
a54712f600
Add config.self & config.auth routes, update client routes & make PATCH a PUT
2017-12-13 13:54:23 -08:00
Jared Scheib
1e42cd6e0e
Add /config link to AllRoutes handler
...
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-12-12 15:11:30 -08:00
Jared Scheib
2e0911dbd9
Add organizations and users routes to allRoutes
...
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-11-01 12:59:07 -04:00
Jared Scheib
fcf9971d86
Pass through CustomLinks error message directly
2017-06-26 18:02:22 -05:00
Jared Scheib
b38439321d
Move external links structs to links.go
2017-06-26 16:13:23 -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
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
a251071254
WIP Parse custom links from CLI
2017-06-23 15:12:02 -07:00
Jared Scheib
59e184b1f1
Comment new StatusFeed member of AllRoutes
2017-06-15 17:55:46 -07:00
Jared Scheib
7a6131bd40
Refactor statusFeedURL to be set in CLI 'default'
...
Reverts to a clean separation of concerns between mux.go vs AllRoutes
AllRoutes now expects a StatusFeed url directly
2017-06-15 13:51:22 -07:00
Jared Scheib
741ce0c4b6
Remove unused fragment
2017-06-14 13:51:08 -07:00
Jared Scheib
f63cba3581
Add status-feed-url build flag within new externalLinks prop in AllRoutes
2017-06-13 13:40:20 -07:00
Jared Scheib
cb394dd716
Refactor /chronograf/v1 to not return logoutLink if not using auth
...
Use logoutLink to determine if logout menu item is shown
Signed-off-by: Chris Goller <güllère@gmail.com>
2017-05-30 17:34:55 -07:00
Tim Raymond & Jared Scheib
dcbe44d9ce
Fix OAuth when using Basepath
...
Updated the logout link in the UI to use a link provided by the
/chronograf/v1/ endpoint. We also replaced many instances of string
concatenation of URL paths with path.Join, which better handles cases
where prefixed and suffixed "/" characters may be present in provided
basepaths. We also refactored how Basepath was being prefixed when using
Auth. Documentation was also updated to warn users that basepaths should
be applied to the OAuth callback link when configuring OAuth with their
provider.
2017-05-08 14:40:50 -07:00
Chris Goller
f60a358751
Merge branch 'master' into feature/#54-tr-enterprise-client
...
Conflicts:
Makefile
chronograf.go
server/routes.go
server/users.go
2017-02-23 23:26:09 -06:00
Chris Goller
a7fabd4ecb
Add permissions endpoint to get all possible permission strings
2017-02-19 14:00:34 -06:00
Tim Raymond
9a0b4d6251
Configure Mux to use Heroku OAuth2 provider
...
If a --token-secret, --heroku-client-id, and --heroku-secret are
provided to Chronograf, it will add Heroku as an OAuth2 provider. These
tokens can be obtained (as of this writing) by visiting your "manage
account" page, navigating to "Applications," and then clicking "Register
New API Client" under the "API Clients" section.
2017-02-16 12:56:59 -05:00
Chris Goller
fa36ac6149
Add unified OAuth2 logout route redirecting to provider logout
...
Signed-off-by: Tim Raymond <tim@timraymond.com>
2017-02-15 16:29:13 -06:00
Chris Goller
4039bfea0c
Add routes for oauth providers
2017-02-15 14:07:33 -06:00
Jade McGough
e68f380091
add dashboards interface/structs
2016-12-07 16:31:22 -08:00
Will Piers
fe14fd74e3
Add users endpoints/storage plus me endpoint
2016-11-21 14:19:57 -07:00
Chris Goller
dd9f110533
Fix mux paths to be hardcoded; clarify server start; fix golint
2016-10-28 11:27:06 -05:00
Chris Goller
12348d72cb
Refactor to remove autogenerated code.
2016-10-26 22:10:52 -05:00