Commit Graph

1938 Commits (289c7ed97928136ee988775c7ff6f25f553a5791)

Author SHA1 Message Date
Tim Raymond bdf111357d Fix missing renaming of logout => logoutLink
During development, this was previously named `logout`. This cleans up a
remaining instance of `logout`, renaming it to the preferred
`logoutLink` to remain consistent with the rest of the codebase.
2017-05-08 14:40:50 -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
Jared Scheib 172f976ca6 Fix links assignment on some AJAX requests 2017-05-08 14:40:50 -07:00
Jared Scheib 4b4f1bd572 Add / to routes and use simpler basename api 2017-05-08 14:40:50 -07:00
Jared Scheib 05437cfcdc Remove unnecessary basepath logic 2017-05-08 14:40:50 -07:00
Jade McGough 1025f4fe70 fix dumb copypasta 2017-05-08 12:20:57 -07:00
Jade McGough 9e2cce9593 make checkKapacitorConnection async 2017-05-08 12:17:49 -07:00
Jade McGough 610c6697e6 redirect to kapacitor edit route after creating new kapacitor 2017-05-08 12:05:09 -07:00
Jade McGough 74760ab2b4 pull kapacitor connection checks out of callbacks 2017-05-08 11:32:35 -07:00
Jade McGough b048cefa80 remove line from another PR 2017-05-08 11:08:38 -07:00
Jade McGough 1dd0e33a0d validate kapacitor connection after updating config 2017-05-08 11:03:54 -07:00
lukevmorris ebad771801 Submit tvars when asking for a queryConfig (#1408) 2017-05-05 23:05:14 -07:00
lukevmorris ba108269b5 Feature/varmoji dash (#1397)
* Support dashes in tempVars with two regex passes

* Rename CustomTimeRange component to CustomTimeRangeDropdown for discovery and consistency

* Update tests for template varmojis

* Give names to each step of regex multipass
2017-05-05 15:04:13 -07:00
Chris Goller 2851d607cc Merge branch 'master' into feature/reverse-kapa 2017-05-05 14:41:06 -05:00
Andrew Watkins 315ca27b67 Fix link 2017-05-05 12:24:12 -07:00
Andrew Watkins acd5425ddb Handle deadman trigger validation 2017-05-05 12:16:01 -07:00
Jade McGough 861b8052b0 Merge pull request #1401 from influxdata/delete-kapacitor
add ability to delete kapacitor config
2017-05-05 11:42:16 -07:00
Jade McGough 1cdffa0097 use link from kapacitor object 2017-05-05 11:25:52 -07:00
Alex P 7669c69000 Follow correct pattern with naming 2017-05-05 11:25:02 -07:00
Andrew Watkins ff65bea7a7 Display all alert-rules regardless of origin
Alert rules can be generated by Chronograf or manually
by the user outide of the Chronograf UI.
2017-05-05 11:23:41 -07:00
Alex P f99a562606 Undo previous name change
was not the right instance, going to leave this how it was
2017-05-05 11:13:50 -07:00
Alex P 275718ebb1 Make carets and name clickable instead of just name 2017-05-05 11:12:55 -07:00
Alex P e4e644ed43 Use proper naming for functions 2017-05-05 11:04:53 -07:00
Alex P 877a8310b5 Use css class in favor of inline styles 2017-05-05 10:34:53 -07:00
Alex P 2f714106e7 Do battle with magic numbers
Their magic is dark and potent, but we will prevail
2017-05-05 10:30:08 -07:00
Alex P 5aa3fe36f0 Add todo comment 2017-05-05 10:26:25 -07:00
Alex P c0a3e6d722 Use constants in favor of magic numbers
But damn they were so magical
2017-05-05 10:08:27 -07:00
Andrew Watkins 92bd5d10b4 Resolve conflicts
Conflicts:
	ui/src/utils/influxql.js
2017-05-05 10:01:26 -07:00
Alex P 0acf2b6c45 Use modern js stuffs 2017-05-05 09:53:46 -07:00
Alex P 2650817617 Clean up CSS 2017-05-05 09:09:31 -07:00
Jade McGough 7a508fb27b add ability to delete kapacitor config 2017-05-04 23:40:53 -07:00
Alex P e333af913c Merge branch 'master' into condense-de-lists 2017-05-04 17:38:59 -07:00
Alex P 5802f3a85a User proper means of calculating number of children 2017-05-04 17:34:45 -07:00
lukevmorris b4e97fa21f :dashboardTime: (#1391)
* Add Range.Lower and Range.Upper to query config to persist custom ranges

* Update CHANGELOG to mention adding query build duration support

* Remove automatic application of global timeRange

If a user supplies a timeRange.  Add that to the queryConfig and use
that to generate the SELECT statement.  If a user omits a time range,
do not automatically include one...yet

* Update swagger.json to mention queryConfig's range

* Add test to influxql AST parsing of durations with no WHERE clause

* Implement first iteration of templated dashboard time range

* Range is nested within query.queryConfig

* DE will not use :dashboardTime:

* Clarify intention with a comment

* If there are no templates present, don't open the drawer

* Make TemplateControlBar its own component

* Rename dashTime to dashboardTime

* Cleanup TemplateControlBar

* Update CHANGELOG

* Update TemplateControlBar min height

* Polish template control bar

Inspired by @lukevmorris’ screenshot with the manage button on the right

* Reconstitute presentation mode styles
2017-05-04 16:57:50 -07:00
Jared Scheib ac2b4d404d Make handleClickOutside on TemplateVariableRow work the same as handleCancelEdit (#1400)
* Give handleClickOutside the same behavior as handleCancelEdit

* Update changelog
2017-05-04 16:57:24 -07:00
Alex P ad3ca3b19e Handle case of too many children
Shouldn’t be more than 2. Added a const atop the file for this, so no
magic numbers
2017-05-04 16:44:42 -07:00
Jared Scheib e4d5e912db Merge branch 'master' into bugfix/1345-alert-level-colors 2017-05-04 16:42:50 -07:00
Alex P 17aeb34746 Fix build error
pesky trailing spaces! *shakes fist*
2017-05-04 16:30:25 -07:00
Alex P 8fc37488b9 Add explanatory comment for Layout prop 2017-05-04 16:23:09 -07:00
Alex P faa478cad3 Change cx and classNames to both be classnames
this is the new pattern, apparently
2017-05-04 16:08:38 -07:00
Alex P 76766bd93b Make "Functions" toggle have a toggled state 2017-05-04 15:55:01 -07:00
Alex Paxton b3bb2d3314 Merge branch 'master' into overlay-all-the-way 2017-05-04 14:20:05 -07:00
Jared Scheib ce12d1dce7 Change default global time range to past 1 hour (#1395)
* Change default global timeRange to 1 hour

* Update changelog
2017-05-04 13:00:30 -07:00
Alex P 096cf1592b Forgot this piece 2017-05-04 12:32:32 -07:00
Alex P 7fee10fed9 Make overlay technology full screen
No reason why this can’t or shouldn’t be done, it is a modal after all
2017-05-03 15:43:38 -07:00
Alex P 19897ae4f9 Fix build error
My baddddd guys
2017-05-03 14:55:18 -07:00
Alex P 85cd461dcc Resolve issue created by previous changes
Rule builder looks good now, was wonky with that extra column
2017-05-03 14:45:08 -07:00
Alex Paxton 8d8bd9b6a4 Merge branch 'master' into condense-de-lists 2017-05-03 14:38:12 -07:00
Alex Paxton f6b0cc903a Merge pull request #1386 from influxdata/ui-terminology
Terminology Terminus
2017-05-03 14:14:24 -07:00
Andrew Watkins 9074b6f58c Add tab functionality in template-varmojis 2017-05-03 13:47:07 -07:00