Commit Graph

1940 Commits (3fdc1bd526d2889943874e68cdf583b4c7e32db4)

Author SHA1 Message Date
Tim Raymond a0117e8255 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 337c7b16a5 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 7e468b98ae Fix links assignment on some AJAX requests 2017-05-08 14:40:50 -07:00
Jared Scheib 4eec2002b8 Add / to routes and use simpler basename api 2017-05-08 14:40:50 -07:00
Jared Scheib 1b0a77b215 Remove unnecessary basepath logic 2017-05-08 14:40:50 -07:00
Jade McGough 93b5846203 fix dumb copypasta 2017-05-08 12:20:57 -07:00
Jade McGough 71259b35b1 make checkKapacitorConnection async 2017-05-08 12:17:49 -07:00
Jade McGough 3cc94185d1 redirect to kapacitor edit route after creating new kapacitor 2017-05-08 12:05:09 -07:00
Jade McGough 6d6c6e6717 pull kapacitor connection checks out of callbacks 2017-05-08 11:32:35 -07:00
Jade McGough 4626651f36 remove line from another PR 2017-05-08 11:08:38 -07:00
Jade McGough 9c56fd8d2c validate kapacitor connection after updating config 2017-05-08 11:03:54 -07:00
lukevmorris 1bf39d9f37 Submit tvars when asking for a queryConfig (#1408) 2017-05-05 23:05:14 -07:00
lukevmorris e4a0d7f320 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 dcf5838e91 Merge branch 'master' into feature/reverse-kapa 2017-05-05 14:41:06 -05:00
Andrew Watkins fc2b83c971 Fix link 2017-05-05 12:24:12 -07:00
Andrew Watkins a4d9d3745a Handle deadman trigger validation 2017-05-05 12:16:01 -07:00
Jade McGough df079349d3 Merge pull request #1401 from influxdata/delete-kapacitor
add ability to delete kapacitor config
2017-05-05 11:42:16 -07:00
Jade McGough 78f4de2669 use link from kapacitor object 2017-05-05 11:25:52 -07:00
Alex P 141ea851d6 Follow correct pattern with naming 2017-05-05 11:25:02 -07:00
Andrew Watkins 66c04f6694 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 b912f46c06 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 69c5060d4b Make carets and name clickable instead of just name 2017-05-05 11:12:55 -07:00
Alex P a111b6e6f0 Use proper naming for functions 2017-05-05 11:04:53 -07:00
Alex P 43842b6777 Use css class in favor of inline styles 2017-05-05 10:34:53 -07:00
Alex P bbb8532e4f 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 c7937897d9 Add todo comment 2017-05-05 10:26:25 -07:00
Alex P 41e6bf7667 Use constants in favor of magic numbers
But damn they were so magical
2017-05-05 10:08:27 -07:00
Andrew Watkins 014103adf6 Resolve conflicts
Conflicts:
	ui/src/utils/influxql.js
2017-05-05 10:01:26 -07:00
Alex P 16a27381dd Use modern js stuffs 2017-05-05 09:53:46 -07:00
Alex P 6e106a4e77 Clean up CSS 2017-05-05 09:09:31 -07:00
Jade McGough b4546b29ff add ability to delete kapacitor config 2017-05-04 23:40:53 -07:00
Alex P 69d739745e Merge branch 'master' into condense-de-lists 2017-05-04 17:38:59 -07:00
Alex P dd4b7e2541 User proper means of calculating number of children 2017-05-04 17:34:45 -07:00
lukevmorris a478157357 :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 97ca27bee0 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 e0acd53e51 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 69ca3b29fa Merge branch 'master' into bugfix/1345-alert-level-colors 2017-05-04 16:42:50 -07:00
Alex P 45625df608 Fix build error
pesky trailing spaces! *shakes fist*
2017-05-04 16:30:25 -07:00
Alex P 46249f5e98 Add explanatory comment for Layout prop 2017-05-04 16:23:09 -07:00
Alex P f51da6f5f5 Change cx and classNames to both be classnames
this is the new pattern, apparently
2017-05-04 16:08:38 -07:00
Alex P 6adf3220b4 Make "Functions" toggle have a toggled state 2017-05-04 15:55:01 -07:00
Alex Paxton b199f4da52 Merge branch 'master' into overlay-all-the-way 2017-05-04 14:20:05 -07:00
Jared Scheib a613c49be8 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 b319538fc4 Forgot this piece 2017-05-04 12:32:32 -07:00
Alex P 0f56eeaa42 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 119cf397e8 Fix build error
My baddddd guys
2017-05-03 14:55:18 -07:00
Alex P 06f1803e14 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 36afed6cf0 Merge branch 'master' into condense-de-lists 2017-05-03 14:38:12 -07:00
Alex Paxton 33474f3579 Merge pull request #1386 from influxdata/ui-terminology
Terminology Terminus
2017-05-03 14:14:24 -07:00
Andrew Watkins ee2ba88c86 Add tab functionality in template-varmojis 2017-05-03 13:47:07 -07:00