Commit graph

9850 commits

Author SHA1 Message Date
Rashid Khan
3584792871 Remove magic number 2015-12-11 11:10:34 -07:00
Rashid Khan
d9fa59c118 Move ng-hide up 2015-12-11 11:04:40 -07:00
Rashid Khan
92a7a47725 Remove unused function 2015-12-11 10:55:47 -07:00
Jonathan Budzenski
d7156cd95a Use lodash has instead of get for deprecated config check
Fixes #5641
2015-12-11 16:31:45 +00:00
Jonathan Budzenski
48dfcad93b Add server.xsrf.token as a deprecated config. Closes #5635.
Fixes #5641
2015-12-11 16:31:45 +00:00
Jonathan Budzenski
854f2d89f6 Move readYamlConfig to snake case
Fixes #5641
2015-12-11 16:31:45 +00:00
Lukas Olson
606c495d69 Merge branch 'master' into issues/1362 2015-12-11 09:06:02 -07:00
Lukas Olson
9c4f7583ff Merge pull request #8 from rashidkpc/pr/5443
Tweak color picker, angularize legend
2015-12-11 08:27:47 -07:00
Jim Unger
0fb1450774 [url shortener] reorganized code, added clipboard.js support 2015-12-11 09:17:54 -06:00
wwsean08
335b6f8a3f Fixes #5577 by replacing ng-hide with ng-style
By using the css visibility of hidden the objects space is taken into account even when it isn't visible.
2015-12-10 22:38:58 -08:00
spalger
64d4bd4b27 [courier/segmentedRequest] resort every segment
When using segmented fetch we currently assume that documents are stored in index patterns based on time, but this is no long necessary with the use of the field stats API. Since documents can be in any order we need to fetch documents from every index and then sort them client side. Since fetching the documents can take some time, we are using the bounds of the time field in an index to try and identify indices which can't produce hits for a result set, and then not fetch their documents.

It works like this:
 - get the list of indices and the min/max of their timefield
 - fetch the entire sample size from each index until we have enough documents to satisfy the sample.
 - for each remaining index pattern
   - if the min/max of it's timefield overlaps the min/max of the fetched documents also fetch the documents for that index pattern
   - otherwise fetch with size=0
2015-12-10 18:14:28 -07:00
spalger
4222033525 Merge branch 'implement/indexPatternToIndexListDetailedResponse' into implement/smarterIndexSelection 2015-12-10 16:55:20 -07:00
spalger
f8811c586f [indexPattern/calcIndices] deal with elastic/elasticsearch#14404 until 2.2 2015-12-10 16:55:07 -07:00
spalger
e63838dc6d [indexPattern] added #toDetailedIndexList() 2015-12-10 16:40:52 -07:00
Court Ewing
ea23878435 More conservative glob against dep tests
When creating builds, we were using a glob that was too liberal in its
matching to identify and clean test files in our dependencies in order
to shave some bytes off of our final build. We now only remove files or
directories that outright match either "test" or "tests" rather than any
file or directory that even includes the word "test" in it.

Fixes #5636
2015-12-10 19:05:36 +00:00
Court Ewing
ac3efaa71b Include @spalger/test-subj-selector in builds
This file is used by the jquery webpackshim, but it was being included
as a devDependency, so it wasn't making it into the final builds.

Fixes #5636
2015-12-10 19:05:36 +00:00
manonthemat
b329cd0ab0 add tooltip to visualizations in dashboard 2015-12-09 18:57:52 -08:00
Lukas Olson
118816e6cc Update mock data to include label
Fixes #5582
2015-12-09 21:22:33 +00:00
Lukas Olson
2cbab41f87 Update mock data with labels for each series
Fixes #5582
2015-12-09 21:22:33 +00:00
Rashid Khan
4ea52b0854 Remove relabeling of legend when only 1 series exists
Fixes #5582
2015-12-09 21:22:33 +00:00
Spencer
9fe99e5223 Merge pull request #5587 from spalger/implement/kbnVersionHeader
[server/xsrf] use the current version as the xsrf header
2015-12-09 14:04:32 -07:00
Jonathan Budzenski
b004690b71 Track scroll_id across paged requests
Fixes #5586
2015-12-09 20:25:25 +00:00
Jonathan Budzenski
ab0f014132 Properly check options
Fixes #5586
2015-12-09 20:25:25 +00:00
Jonathan Budzenski
d6addc5355 Add tests
Fixes #5586
2015-12-09 20:25:25 +00:00
Jonathan Budzenski
c60be49c1d Use arrow syntax instead of bind, infinity instead of number infinity
Fixes #5586
2015-12-09 20:25:24 +00:00
Jonathan Budzenski
53b82fb6f2 Make a scan util
Fixes #5586
2015-12-09 20:25:24 +00:00
Jonathan Budzenski
142800c9cc Use scroll API when exporting all
Fixes #5586
2015-12-09 20:25:24 +00:00
Joe Fleming
4d9ddacd76 add errorlevel check to where command
check the error level before trying to use global node install

Fixes #5617
2015-12-09 20:01:33 +00:00
Court Ewing
b52b2a8948 Bump node to 0.12.9
Fixes #5603
2015-12-09 19:05:16 +00:00
spalger
fadadb8f8c [chrome/xsrf] if a user sends a custom xsrfToken, it should be ignored 2015-12-09 12:05:12 -07:00
spalger
b0a36de155 [xsrf] updated tests to check for new error message 2015-12-09 11:57:07 -07:00
spalger
16949f2213 Merge branch 'master' into implement/kbnVersionHeader 2015-12-09 11:56:56 -07:00
Spencer
9a9d09b1d9 Merge pull request #5611 from spalger/implement/betterErrorReading
Implement/better error reading
2015-12-09 11:12:13 -07:00
spalger
43ee9e8d22 Merge branch 'master' into implement/betterErrorReading 2015-12-09 11:11:12 -07:00
Spencer
597d2c3a3d Merge pull request #5610 from spalger/rename/Notifier
[rename] Notifier.js -> notifier.js
2015-12-09 10:40:50 -07:00
Rashid Khan
45a315b3cf Always show the scrollbar, keep the color picker a fixed width 2015-12-09 10:29:42 -07:00
Spencer
4a917923ce Merge pull request #5460 from spalger/fix/indexPatternLeaking
Fix index pattern leaking
2015-12-09 10:29:20 -07:00
spalger
9cc6a00660 [server/xsrf] improve user facing error message 2015-12-09 10:23:49 -07:00
spalger
e22b0f364c Merge branch 'implement/betterErrorReading' into implement/kbnVersionHeader 2015-12-09 10:21:44 -07:00
spalger
9efd34bc69 [Notifier] added better error descriptions 2015-12-09 10:17:19 -07:00
spalger
d054985eed [rename] Notifier.js -> notifier.js 2015-12-09 10:16:47 -07:00
Rashid Khan
b16d5a3691 move buttons up 2015-12-09 10:03:59 -07:00
Rashid Khan
a85cb1d7d9 Fix BWC with addLegend 2015-12-09 09:19:34 -07:00
spalger
225c838a5f [indexPattern] remove extra error checking code
Since we want to push this into release so late in the game we should remove any potential error causing code, such as the assertions around setting indexPattern.id
2015-12-09 08:57:07 -07:00
spalger
287be485b6 [indexPatterns] No need to prevent caching false-y keys
It was identified by @Bargs that the indexPatterns service was already doing what we set out to do in b31f4a1f27. Since this was already accomplished I have removed the behavior and added tests to verify that the behavior sticks around for a while.
2015-12-09 08:00:40 -07:00
spalger
c8744bc8e7 Merge branch 'master' of github.com:elastic/kibana into fix/indexPatternLeaking 2015-12-08 17:13:09 -07:00
Jonathan Budzenski
ac5066676d Turn off autoListen on tests
Fixes #5601
2015-12-08 23:40:17 +00:00
LeeDr
123caf464c Remove one used self var.
Fixes #5526
2015-12-08 21:01:13 +00:00
LeeDr
132552ce58 Fix cases.
Fixes #5526
2015-12-08 21:01:13 +00:00
LeeDr
859e115802 Fix cases.
Fixes #5526
2015-12-08 21:01:13 +00:00