Commit graph

18024 commits

Author SHA1 Message Date
Pete Harverson
6939f5073c
[ML] Adds page to ML Settings for viewing and editing filter lists (#20769)
* [ML] Add page to ML Settings for viewing and editing filter lists

* [ML] Edits to Filter Lists Settings page following review
2018-07-17 09:47:26 +01:00
Tyler Smalley
ac1a922124
[test][kbn-plugin-helpers] Skip install dependencies (#20649)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-07-16 21:38:39 -07:00
Nathan Reese
ffa6109014
properly render disabled range control (#20811)
* properly render disabled range control

* remove disabled from existing elements
2018-07-16 20:00:45 -06:00
Spencer
fcc2c440f0
[tslint] add helper for running tslint on specific projects (#20866) 2018-07-16 17:46:47 -07:00
Felix Stürmer
4b255e9fe9
Upgrade typescript to 2.9.2 (#20757)
This upgrades TypeScript to version 2.9.2. My main motivation is the support for generic type arguments in JSX elements and tagged templates (e.g. for `styled-components`).

Problems arising from breaking changes in the new TypeScript version have been mitigated by:

* setting the `keyofStringsOnly` option until impacted code has been
  future-proofed
* Restricting some joi-related generics

See the [release notes](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-9.html) for details.

Some follow-up tasks should be:

* Update EUI to support the new `keyof` behaviour
* Update new platform TypeScript code to support new `keyof` behaviour
* Remove `keyofStringsOnly` setting
2018-07-17 00:31:05 +02:00
Spencer
4f867a25d1
[esArchiver/test] use different lengths for random to ensure unique values (#20857)
fixes #20741

Rather than just generate random words with the default length of 2, generate a random 5 letter word for the type to filter by and 10 letter words for the other types, so there will never be more than 3 records with `type1`.
2018-07-16 14:36:05 -07:00
debadair
c488f7edc1
[DOCS] Tweaked Elasticsearch Service links for SEO 2018-07-16 13:19:05 -07:00
Tim Sullivan
8ba773a498
Add Beats module and input info to Telemetry (#20648)
* fix metrics field name (stats)

* add state info

* add module name count

* use a set for the unique hosts instead of a map

* fix getting beats_state info

* fix unit test

* processBeatsStatsResults and processBeatsStateResults
2018-07-16 12:57:26 -07:00
CJ Cenizal
ea1c0a6757
Remove courier:searchRefresh angular event from searchPoll. (#20850) 2018-07-16 11:50:46 -07:00
Tim Roes
61f50dd30c
Fix flickering of vislib on refresh (#20817) 2018-07-16 18:36:50 +02:00
James Gowdy
54cf83d360
[ML] Jobs list bug fixes (#20823) 2018-07-16 16:33:59 +01:00
Tyler Smalley
46bacc6c64
Workaround for yarn interdependency conflicts (#20805)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-07-16 07:42:49 -07:00
Aliaksandr Yankouski
adc4185898
Split i18n engine to specific parts by tech and by env (#20513)
* split to packages in accordance to specific library

* split to packages depending on tech and environment

* make env modules names consistent

* remove intl polyfilling

* move laoder to root, i18n folder to core
2018-07-16 17:02:06 +03:00
James Gowdy
6ddc9db376
[ML] Removing hardcoded datafeed ID in jobs list (#20815) 2018-07-16 12:44:59 +01:00
Nicolas Ruflin
5111863f42
Add Beta Ceph metrics module to Kibana Home (#20223)
<img width="2043" alt="screen shot 2018-06-29 at 12 43 22 pm" src="https://user-images.githubusercontent.com/373691/42109208-1aedc92e-7b9a-11e8-8c96-1c9be12a10d1.png">

<img width="2042" alt="screen shot 2018-06-29 at 12 43 30 pm" src="https://user-images.githubusercontent.com/373691/42109217-1f81ce40-7b9a-11e8-8eca-f3e8695b9e7f.png">
2018-07-16 08:21:00 +02:00
liza-mae
e8af080347
Skipping test due to bug #20807 (#20809) 2018-07-14 18:25:42 -06:00
John Dorlus
8f17171b2d
Updated data test subject to use correct property from item object. (#20794) 2018-07-13 16:40:01 -04:00
trevan
107bfb9d7a Ensure the field exists in the index pattern before grabbing it (#20639) 2018-07-13 16:32:50 -04:00
Chris Roberson
276f08ccbb
[Monitoring] Capitalize the license type (#20683)
* Capitalize the license type in monitoring

* Revert "Capitalize the license type in monitoring"

This reverts commit 38ad3a516d.

* Pass in the type capitalized

* Revert "Pass in the type capitalized"

This reverts commit 6a05bb12f3.

* Capitalize type in license status directly so consumers do not need to worry about it
2018-07-13 16:24:57 -04:00
Nathan Reese
16e9a7e4a1
de-angularize indexPatterns Field and FieldList (#20589)
* de-angularize indexPatterns Field and FieldList

* do not remove shortDots angular filter

* remove ui/chrome mock in _index_pattern test
2018-07-13 12:07:20 -06:00
Jen Huang
92b432e089
Use EuiCodeBlock for JSON settings, and overflow if long value (#20744) 2018-07-13 10:40:32 -07:00
Aleh Zasypkin
52880f83f2
Make "legacy" Kibana server aware of connection protocol. (#20756) 2018-07-13 18:55:15 +03:00
Tyler Smalley
cca09311c0
Skip flaky Monitoring Shard Allocation Per Node tests (#20138)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-07-13 08:34:41 -07:00
gchaps
b872983811
[DOCS] Update Managing Indices w/ info about security (#20632)
* [DOCS] Update Managing Indices w/ info about security

* [DOCS] Incorporated review comments for indices management doc

* [DOCS] Incorporated review comment re: security enabled
2018-07-13 08:31:14 -07:00
Clinton Gormley
d769f270fa Docs: Updated styling of cloud link in installation 2018-07-13 16:04:46 +02:00
CJ Cenizal
aab75aea10
Re-enable the indexPattern:placeholder setting. Change its value to be an empty string. (#20685) 2018-07-13 06:39:29 -07:00
Aleh Zasypkin
34a44289aa
[Reporting] Blacklist Transfer-Encoding HTTP header for PDF report generation. (#20755) 2018-07-13 15:51:13 +03:00
Brandon Kobel
5d1548a721
Removing kbn-version from the response headers. (#20551)
* Removing kbn-version from the response headers.

* Removing test assert that we don't need
2018-07-13 07:10:31 -04:00
Aliaksandr Yankouski
92774b7b09
Use injectI18n Higher-Order Component instead of I18nContext (#20542)
* add implementation of I18nContext, docs for injectI18n hoc

* remove i18nContext wrapper, add docs for react components as classes
2018-07-13 12:21:50 +03:00
Casper Hübertz
ecefab55e6
[APM] Add section titles to span detail modal (#20717)
* Adding fontSize from variables

* SectionHeader style added

* Adding section headers

Needed titling for DB statement and Stacktrace on the page

* Pluralization

* Adding fontSize variable

* Creating new header title style

* Moving title into Stacktrace container

* Updated snapshots
2018-07-13 09:15:28 +02:00
Tiago Costa
b142f80d7d
Match chalk dependency version on kibana with the one used on x-pack (#20621)
* chore(NA): match chalk dependency version on kibana with x-pack to ^2.3.2.

* chore(NA): bump chalk version dependencies and update lock files.
2018-07-13 00:26:57 +01:00
CJ Cenizal
d04bc1f324
Add ability to abort a kfetch call. (#20700)
* Split kfetch module into kfetch and kfetchAbortable sub-modules.
* Add abortcontroller-polyfill.
2018-07-12 16:11:24 -07:00
gchaps
4ef3c5a9e0
[DOCS] Dashboard-only-mode: Update to match UI (#20734)
* [DOCS] Dashboard-only-mode: Update to match UI

* [DOCS] Incorporated review comments, added note about data access
2018-07-12 16:10:34 -07:00
Spencer
52e7939625
[tslint] use exitCode 1 when linter errors (#20567)
`node scripts/tslint` is used to run the linter on all projects, but isn't currently reporting a non-zero status code when there are failures. This PR ensures that the status code is always 1 when an error occurs in the linters.

To test make a change to a TypeScript file that violates the linter rules and run `yarn grunt run:tslint` to make sure that `grunt` is seeing the non-zero exit code and fatal-ing correctly.

```sh
yarn grunt run:tslint
echo $? # should be 1
```
2018-07-12 11:38:36 -07:00
Nathan Reese
c8ffb05968
Provide InputRange component valid value when Range slider is not set. (#20002)
* move unsetLogic into react component

* remove extra comment

* add comment about why empty state is needed for InputRange component

* fix broken jest test

* move empty state logic from react component to ListControl class, add comments about reset and clear functions

* add comments about clear and reset to control class

* calculate hasChanged to avoid bug where clear form still shows 'cancel changes' as active for an empty form

* use hasValue in range control to check if value exists

* add unit test for list_control_factory and cleanup range_control from review comments
2018-07-12 12:29:21 -06:00
Stacey Gammon
826758c78c
Turn reporting tests back on (#20634)
* unskip reporting tests

* Focus only on flaky test suite and run 10x

* Revert "Focus only on flaky test suite and run 10x"

This reverts commit a6616b1140c29d8d3f13666d20ae94db9a97267f.
2018-07-12 11:27:18 -04:00
Søren Louv-Jansen
423a961a1f
Redux should update after timefilter has changed (not before) (#20719) 2018-07-12 17:17:14 +02:00
trevan
db7c08ddcc Change the scale factor when upgrading panels with margins (#20684)
* Change the scale factor when upgrading panels with margins

* Add test for dashboard_grid_container with and without margins
2018-07-12 08:32:04 -06:00
Lee Drengenberg
ba462a9fb0
refactor login page check, turn off telemetry (#17435)
* refactor login page check, turn off telemetry

* significant refactor of navigateTo

* replace slashes with _ in test failure output html files

* re-do out of date PR
2018-07-12 08:31:43 -05:00
Peter Pisljar
1726665f9c
Fixes filter on values that are not in the result (#20608) 2018-07-12 13:33:53 +02:00
Casper Hübertz
36a1193a6f
[APM] Fixing typo in Setup instructions (#20707) 2018-07-12 13:23:19 +02:00
Tim Roes
b407be660a
Improve and typescriptify update status (#20546)
* [tslint] use exitCode 1 when linter errors

* fix typo

* Improve getUpdateStatus

* Fix accessing timeRange

* Extract comparison functions

* Switch parameter order

* Revert "[tslint] use exitCode 1 when linter errors"

This reverts commit 0ca23a4fc7.

* Revert "fix typo"

This reverts commit e4e809180d.
2018-07-12 12:25:17 +02:00
Aleh Zasypkin
875008a61e
TSLint: handle errors in kbn_internal_native_observable types. (#20705) 2018-07-12 12:47:47 +03:00
James Gowdy
da1acd0367
[ML] removing unnecessary privileges provider (#20671) 2018-07-12 09:31:23 +01:00
Walter Rafelsberger
65081ccdce
[ML] Ignore mouse events on pseudo element. (#20668)
The pseudo-element agg-type-select-wrapper::after which represents the dropdown's arrow didn't react to the click element of the dropdown itself. pointer-events: none is now added to the pseudo-elements to let the click pass through to the element intented to react on the click.
2018-07-12 09:58:32 +02:00
Peter Pisljar
240b94f724
removing schema references from vis types (#20489) 2018-07-12 08:55:06 +02:00
Jonathan Budzenski
1157a59d59
[os packages/sysv] Export NODE_OPTIONS (#15900)
* [os packages] export node options in sysv script

* [os packages] remove $PATH from sysv
2018-07-11 20:49:25 -05:00
CJ Cenizal
f2cfe00be8
Test callClient (#20605)
* Test dependency upon msearch. Add NoDigestPromises to test suite to simplify tests.
* Test the returned promise resolution value.
* Add tests about aborting situations.
* Add test for when the request is aborted while it's in flight.
* Test implementation details regarding interaction with searchRequests.
* Change callClient to return ABORTED for requests which have been aborted.
* Add test verifying that esPromise.abort() is called.
2018-07-11 16:56:57 -07:00
CJ Cenizal
dfb662aa9f
Replace Discover notifier warnings with toasts. (#20650) 2018-07-11 16:52:55 -07:00
Nathan Reese
572f8bba38
remove angular dependencies in SavedObjectClient (#20384)
* create saved object client that is native javascript

* fix savedObjectClient unit tests

* get saved object client from chrome when being used outside of angular

* update error handlers to pull status code from FetchError

* add some debug messages to failing functional test

* revert changes to management/_objects

* add clicks to import done in import objects test

* take screenshots of test only failing in CI

* remove functional test screenshot code since test is passing in CI now

* remove unused file, clean up saved_objects_client test to not use global, add test to error_auto_create_index to ensure compatibility with kfetch errors

* add body to kfetch error

* update savedObjectClient.bulkCreate

* add bulkCreate wrapper to SavedObjectsClientProvider

* mark _createSavedObject and _processBatchQueue as private methods
2018-07-11 15:56:23 -06:00