Commit graph

24528 commits

Author SHA1 Message Date
igoristic
d405d0c96b
Added uiCapabilities.logs check (#35562)
* Added uiCapabilities.logs check

* Fixed unit tests
2019-04-25 14:17:26 -04:00
Aaron Caldwell
6daaff1021
Fix map embeddable test (#34648)
* Remove skip for testing on server. Unable to repro locally

* run kibana-ciGroup2 40 times per build

* Temporarily skip 'geo map' check

* Left out 'Rendering Test: ' in filter string

* Revert "run kibana-ciGroup2 40 times per build"

This reverts commit 103a5c9c6e.

* Review feedback. Remove 'Flaky' test ref
2019-04-25 11:42:26 -06:00
Tiago Costa
81d77d6b29 chore(NA): remove empty stylesheet for statspage. (#35540) 2019-04-25 10:19:50 -07:00
Fuyao Zhao
5da1b9446b
[Code] fix nodegit patch script (#35588) 2019-04-25 09:48:30 -07:00
Chris Cowan
e0cf6436f7
Fixes #34606 - Adjust CSS to fix scrolling bug in Waffle Map (#34881) 2019-04-25 09:39:23 -07:00
Pete Harverson
d5390a4b08
[ML] Removes check for forecast duration is no more than 8 weeks (#35583)
* [ML] Removes check for forecast duration is no more than 8 weeks

* [ML] Edit to translations file for removal of duration limit text
2019-04-25 17:06:04 +01:00
Larry Gregory
e18bfc1497
Feature Controls - Allow telemetry to be toggled with advancedSettings feature privilege (#35250)
* Allow telemetry to be toggled with feature privileges
2019-04-25 11:43:42 -04:00
Pete Harverson
43b9c7ad89
[ML] Adds Metricbeat System data recognizer module (#35580)
* [ML] Adds Metricbeat System data recognizer module

* [ML] Edit description of Metricbeat System module
2019-04-25 16:24:39 +01:00
Sébastien Loix
63975b84ca
Convert testBed to Typescript + refactor client integration tests (#34981) 2019-04-25 08:28:17 +02:00
igoristic
b2dfcc4ba1
Showing node name instead of uid in breadcrumbs (#35553) 2019-04-24 19:48:44 -04:00
Matt Bargar
539bc6f3a2
Improve KQL error messages (#34900)
Attempts to make KQL syntax errors more sensical to the average user.

I initially tried to use a similar solution to the one we used for detecting usage of old lucene syntax. In other words, I tried to create rules in the grammar that would match strings containing common mistakes the user might make and throw custom error messages for each situation. This proved to be more difficult for detecting errors in the regular language. While the Lucene rules could be completely separated from the main grammar, the KQL error rules had to be mixed into the main grammar which made it much more complex and had a lot of unintended side effects.

So instead I decided to lean more heavily on PEG's built in error reporting. Giving certain rules human readable names allows the parser to use those names in the error reporting instead of auto generating a long list of possible characters that might be expected based on the matching rules. Since the PEG errors contain location information I was also able to add ascii art that points the user to exactly where the error occurred in their query string. While this approach is not quite as nice as bespoke error messages that tell the user exactly what is wrong in plain English, it's much more maintainable and I think it still results in much better error messages compared to what we have today.

I've also removed the old original kuery grammar (for queries like is(response, 200)). We were only using it to display an error if I user was still using the old syntax. This version of kuery hasn't existed since 6.3 and we've had error messages telling users this since then. I think it's safe to remove the legacy parser at this point, which greatly reduces the complexity of our error reporting.
2019-04-24 16:40:38 -04:00
Tim Roes
40fad359c0
Make time_zone parameter properly volatile (#35536)
* Move all time_zone logic to write method

* Add more comments
2019-04-24 21:13:33 +02:00
Sarah Hersh
4a21108c29
[DOCS] Updates docs for Console (#35505)
* update docs and screenshots

* [DOCS] Updates Console text and images
2019-04-24 15:06:30 -04:00
Walter Rafelsberger
ab7a14b76b
[ML] Improved error handling for data frame pivot wizard (#35490)
Improves the error handling of the form elements and requests in the data frame pivot wizard.
2019-04-24 20:43:29 +02:00
Fuyao Zhao
81fa6dcf85
[Code] Add code owners (#35498) 2019-04-24 11:08:32 -07:00
spalger
3b71d997e4 update chromedriver 2019-04-24 09:45:05 -07:00
Matthias Wilhelm
73c3492035
Add NOT prefix to negated filter with custom label (#35521)
Negated filters disregarded the "NOT" when using custom labels. Therefore it was not possible to differentiate between the 2 filter states.  This fix for #34979 adds the "NOT" also to custom labels
2019-04-24 18:01:54 +02:00
Jason Rhodes
1794c8b01c
[APM] useUrlParams as separate hook + removes redux 🎉 (#34792)
* Exploring a useUrlParams hook separate from useLocation

* Refactors url params hook into context + hook

* Fixes unmount async bugs in some components

* Rewrites datepicker tests

* Fixes some import reference problems

* Moves urlParams logic out of store and into context directory, updates references

* Makes urlParams context update itself on location changes

* Adds url params tests

* Removed left-over debug additions

* Small improvement for types based on review feedback 👍

* Converts url params to hooks for ErrorGroupDetails component

* Converts url params to hooks for ServiceDetails component

* Converts url params to hooks for ServiceOverview component

* Converts url params to hooks for TraceOverview component

* Converts url params to hooks for TransactionDetails component

* Converts url params to hooks for KueryBar component (plus TS convert)

* Cleanup removing redux

* Fixes tests after removing redux

* Updates type reference to use ui/ import

* Moves selectors folder into public and deletes store folder

* Removes unnecessary mountWithRouterAndStore

* Correctly orders imports to satisfy lint gods

* Removes unused imports
2019-04-24 10:00:53 -04:00
Søren Louv-Jansen
4f05920f53
[APM] Hide ml data when kuery is active (#34984) 2019-04-24 11:55:04 +02:00
Alexey Antonov
562d8cb04a
[TSVB] The problem with fast changing the panel settings (#35142)
* [TSVB] The problem with fast changing the panel settings

Fix: #35136

* [TSVB] The problem with fast changing the panel settings #35142

* [TSVB] The problem with fast changing the panel settings

* [TSVB] The problem with fast changing the panel settings - fix PR comments
2019-04-24 12:14:57 +03:00
Pete Harverson
4543af9fad
[ML] Use KQL as the query language for custom URLs to Kibana pages (#35469)
* [ML] Use KQL as the query language for custom URLs to Kibana pages

* [ML] Create buildAppStateQueryParam function for building Kibana URLs
2019-04-24 09:11:44 +01:00
Joe Reuter
b014abdb53
Correctly apply timezone to formatted dates and ticks (#33831) 2019-04-24 09:29:54 +02:00
Marco Vettorello
57b66c6085
Fix filling x axis values for date histogram (#35247)
The interval parameter is used to fill the gaps between missing buckets. If we are using a calendar interval it not always correspond correctly to his milliseconds representation. E.g. 1y interval can correspond to 365 or 366 days depending on the interval and. If transformed to milliseconds it can get one of those two values depending of the interval start and end. The same happens for months.

Add a new esarchive with 7 years of data, used for those functional tests

Removed angular dependency from zero injection
2019-04-24 07:37:11 +02:00
Aaron Zhao
f0b47f1a68 [kbn-es] Add network archive downloading to installArchive (#31535) 2019-04-23 21:48:14 -07:00
kobelb
96054ae0a1 Fixing security token auth doc link 2019-04-23 18:06:00 -07:00
spalger
76834031aa Revert "implementing github checks (#34673)"
This reverts commit 7e81413572.
2019-04-23 15:47:05 -07:00
spalger
1623d46704 disable github checks reporter 2019-04-23 15:22:32 -07:00
Oliver Gupte
180867cb8c
[APM] Closes #35158 by adding subtype & action tooltip to span icons in the trace waterfall (#35447) 2019-04-23 15:15:51 -07:00
Brandon Kobel
7a1cc70366
[DOCS] - Adding token auth docs (#35431)
* Adding token auth docs

* Revising based on Aleh's input

* Restructuring the token docs a bit

* Linking from the bullets

* More revisions, thanks Gail!!

* Whoops, accidentally added intead of replaced a sentence

* Clarifying the behavior when using both basic and token auth
2019-04-23 15:10:53 -07:00
Davey Holler
82f068be9f
Updating the font sizes on the directory view. (#35507)
* Updating the font sizes on the directory view.

* Adding less left margin to the recent commits heading.
2019-04-23 15:08:54 -07:00
spalger
e5f7a1f15f [core/ftr] disable tests by commenting out test file 2019-04-23 14:57:09 -07:00
Fuyao Zhao
92b15398c5 [Code]: fix the capabilities type (#35499)
* [Code]: fix the capabilities type

* [Code] disable the functional test
2019-04-23 14:44:02 -07:00
Oliver Gupte
ef5925b5d2
Closes #34441 by increasing the default page size of the services list (#35440) 2019-04-23 13:43:13 -07:00
igoristic
172a91d794
Added sorting to all columns (#35410)
* Added sorting to all columns

* Added sorting to table wrapper instead

* Fixed condition

* Removed default sorting value

* Removed a log statement

* Converted beats directive into a controller
2019-04-23 15:52:26 -04:00
Fuyao Zhao
4676aea527 Merge branch 'feature/merge-code' 2019-04-23 11:18:03 -07:00
Melissa Alvarez
4b00087a6b
[ML] Anomaly Explorer filter - ensure special characters escaped when creating regex pattern (#35182)
* Escape special chars when creating regex pattern

* escape double quotes in fieldValue to keep valid KQL syntax
2019-04-23 11:16:56 -07:00
Søren Louv-Jansen
74caa21963
[APM] Fix bug in ML transaction type selector and minor cleanup (#34930)
* [APM] Fix bug in ML transaction type selector

* Remove buggy tooltip

* Fix translation file
2019-04-23 19:49:35 +02:00
Fuyao Zhao
b486992db1 [Code]: Improve code setup guide text 2019-04-23 10:09:44 -07:00
Josh Dover
c2f4123b8c
Introduce start lifecycle event to client (#35269) 2019-04-23 11:50:08 -05:00
Vitali Haradkou
9947045f69
Ftr tsfy webelement wrapper (#35355)
* tsfy webelement wrapper
2019-04-23 19:05:46 +03:00
Søren Louv-Jansen
e97ea46407
[APM] Reduce loading indicator flickering (#34701)
* [APM] Reduce progress bar flickering

* Make private methods private

* Fix eslint issue with console.log
2019-04-23 17:31:08 +02:00
WangQianliang
b66b922871 fix(code/frontend): fix blank left to blame (#35449) 2019-04-23 08:10:57 -07:00
Mengwei Ding
5c2ab34a9a [Code] Add a security flag for git certificate check (#35445) 2019-04-23 08:10:24 -07:00
John Dorlus
e79959273f
Removed createIndexPattern via UI and used ES Archiver. (#35374) 2019-04-23 10:50:04 -04:00
Walter Rafelsberger
d316dca98a
[ML] Data Frame UI (#33427) 2019-04-23 16:46:52 +02:00
Dmitry Lemeshko
8a7d570ce3
bump chromedriver to 73 (#35395) 2019-04-23 16:23:07 +02:00
James Gowdy
57276b5c6c
[ML] Fix for field loading in advanced job wizard (#35457)
* [ML] Fix for field loading in advanced job wizard

* fixing indentation
2019-04-23 14:43:14 +01:00
spalger
fc534e53fb Merge branch 'master' of github.com:elastic/kibana into pr/33438 2019-04-23 06:24:58 -07:00
Artyom Gospodarsky
4d78b41ac6
Add coverage to core_plugins/metrics/**/*.js files (#35286) 2019-04-23 16:24:04 +03:00
Vitali Haradkou
9398cb4847
[FTR] tsfy TestSubject (#35412)
* migrate test_subjects service to typescript
2019-04-23 12:53:52 +03:00