Commit graph

25903 commits

Author SHA1 Message Date
Larry Gregory f059452f84
Spaces - use kfetch in SpacesManager (#39102) 2019-06-18 13:25:51 -04:00
Lisa Cawley e25ec907cb
[DOCS] Removes out-dated tags from monitoring page (#39181) 2019-06-18 09:17:55 -07:00
Lisa Cawley 6df15b86e1
[DOCS] Add details about monitoring logs (#39139) 2019-06-18 08:37:39 -07:00
Zacqary Adam Xeper 1ce12c4faa
[DOCS] Add instructions to develop against remote ES (#39138) 2019-06-18 10:32:16 -05:00
Vadim Dalecky 67478ccc75
uiSettings in #start() life-cycle (#39054)
* feat: 🎸 add uiSettings service in "start" Core

* test: 💍 add test for uiSettings#start() lifecycle

* fix: 🐛 add uiSettings to plugin context

* docs: ✏️ update Core API docs

* fix: 🐛 fix TypeScript type check errors
2019-06-18 17:27:46 +02:00
Court Ewing 252be3fc43 [RFC] Handler interface (#36509) 2019-06-18 09:51:01 -05:00
James Gowdy 89892ba097
[ML] Fixing server side logger after new platform change (#39154) 2019-06-18 15:18:44 +01:00
Xavier Mouligneau 78d0c0f75a
[SIEM] - Refactor url state (#39136)
* refactor url state with hooks

* adapt unit testing to refactor + add new ones

* review I

* review II
2019-06-18 09:13:01 -04:00
spalger 20b9c50943 disable github checks reporter until we can get better retry logic in place 2019-06-18 06:09:42 -07:00
Kerry Gallagher d88d5278c1
Update usage based on recommendations in #36761 (#39090) 2019-06-18 13:43:07 +01:00
Stacey Gammon 17b185c1f8
Consolidate TimeRange, Query and Filter types. Stop exporting/importing from embeddables. (#39074) 2019-06-18 07:47:30 -04:00
Tim Roes b550bfd810
Rename Visual Builder to TSVB (#39125)
* Rename Visual Builder to TSVB

* A, B, C, D, E, F, G ...
2019-06-18 13:30:11 +02:00
Rudolf Meijering 260d907f90
[Core] Move Saved objects files to core (#38771)
* Move src/legacy/server/saved_objects -> src/core/server/saved_objects

* Fix SavedObject import references after moving files to core

* First pass at SavedObjects api docs

* Expose and import all saved object types through core/server

* Don't expose SavedObjectsManagement from core and fix imports

* Improve typings for SavedObject error helpers

* Fix type errors after master merge

* Fix SavedObjectErrorHelpers tests
2019-06-18 13:10:23 +02:00
spalger 9d82f65a2a remove flaky tests (#38791) (#38849) (#39055) 2019-06-18 03:43:30 -07:00
Spencer c2883b86a1
ignore old browserlist data in dist (#39134) 2019-06-18 03:39:32 -07:00
Mikhail Shustov 9e044c5ac9
Restrict access to hapi Request in registerAuth (#38763)
* Prevent exposing Hapi.Request to registerAuth.

Prevent exposing headers.authorization in KibanaRequest.
Introduce a mechanism to associate authorization headers with an
incoming request and retrieve its value to perform a request to
elasticsearch cluster.

* fix tests

* address @joshdover comments
2019-06-18 10:21:01 +02:00
Peter Pisljar e2e0149f54
more cleanup (#38970) 2019-06-18 09:54:01 +02:00
Matthias Wilhelm c665926233
Remove basePath from IndexPatternApiClient (#39060)
- the base path is automatically prepended by kfetch
2019-06-18 08:12:28 +02:00
Justin Kambic 393a4ba16f
[Uptime] Add doc entry for observability solution integrations. (#38963)
* Add doc entry for observability solution integrations.

* Update docs/uptime/overview.asciidoc

Commit PR recommendation.

Co-Authored-By: Brandon Morelli <bmorelli25@gmail.com>

* Update docs/uptime/overview.asciidoc

Commit PR recommendation.

Co-Authored-By: Brandon Morelli <bmorelli25@gmail.com>

* Replace screenshot.
2019-06-17 21:47:22 -04:00
WangQianliang 9d292232cd
fix(code/frontend): should match exactly the container name (#39046) 2019-06-18 09:43:25 +08:00
Yulong ee6a22dde8
[Code] bump nodegit version, to fix ssl issue in centos (#39057) 2019-06-18 09:41:09 +08:00
Jason Rhodes b20a8e2ff4
Shared observability code baseline (#36912)
* Simple baseline for using an x-pack faux plugin to share code

* Fixed directory structure and clarified README

* Clarifies README after feedback
2019-06-17 19:10:02 -04:00
Nathan Reese a3a1e0c18d
[Maps] use coalesce to ensure number always passed to interpolate for data driven size styling (#38427)
* [Maps] use coalesce to ensure number always passed to interpolate for data driven size styling

* update docs with behavior when feature property is not defined

* Update docs/maps/vector-style.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/vector-style.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* move first note into description paragraph

* add coalesce wrapper around icon-size extraction expression
2019-06-17 15:14:53 -06:00
Frank Hassanabad 8032f82b18
[SIEM] Enhance URL to handle ISO-8601 date times within them. (#39045)
## Summary
* Added ISO Handler called normalizeTimeRange
* Added unit tests
* Implemented and tested with Machine Learning Jobs to ensure it works as expected
* Moved around Omit Utility to the common area
* https://xkcd.com/1179/
### Checklist

Use ~~strikethroughs~~ to remove checklist items you don't feel are applicable to this PR.

~~- [ ] This was checked for cross-browser compatibility, [including a check against IE11](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility)~~
~~- [ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md)~~
~~- [ ] [Documentation](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#writing-documentation) was added for features that require explanation or tutorials~~

- [x] [Unit or functional tests](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility) were updated or added to match the most common scenarios

~~- [ ] This was checked for [keyboard-only and screenreader accessibility](https://developer.mozilla.org/en-US/docs/Learn/Tools_and_testing/Cross_browser_testing/Accessibility#Accessibility_testing_checklist)~~

### For maintainers

~~- [ ] This was checked for breaking API changes and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)~~
~~- [ ] This includes a feature addition or change that requires a release note and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)~~
2019-06-17 14:58:41 -06:00
Spencer eb4308d464
[failure-reporting] ignore a couple other failure types (#39000) 2019-06-17 13:52:28 -07:00
Melissa Alvarez c47a0d5cdf
[ML] New Platform Migration - server (#38360)
* wip: pull out all server dependencies

* create new platform plugin

* shim newPlatform plugin into legacy init

* update server tests for migration refactor

* cleanup interfaces

* Only add ML links for sample data sets if full license from - 38120

* update test and fix typescript errors

* Remove unused types
2019-06-17 16:08:13 -04:00
Dario Gieselaar 4526e2a2b5
[APM]: Inferred types for aggregations (#37360)
* [APM]: Inferred types for aggregations

Previously, aggregations returned by the ESClient were 'any' by default, and the return type had to be explicitly defined by the consumer to get any type safety. This leads to both type duplication and errors because of wrong assumptions.

This change infers the aggregation return type from the parameters passed to ESClient.search.

* Fix idx error

* Safeguard against querying against non-existing indices in functional tests

* Improve metric typings

* Automatically infer params from function arguments

* Remove unnecessary type hints
2019-06-17 21:56:23 +02:00
Dario Gieselaar 16fffe0a95
[APM] Don't redirect to default sample before data has been loaded (#39069)
Fixes an issue w/ the transaction sample redirect being too aggressive & redirecting to the default sample before the data has been fully loaded. This makes deeplinking to samples unreliable.
2019-06-17 21:39:57 +02:00
Zacqary Adam Xeper d5d4d6bf2c
Change 'Metrics explorer' to 'Metrics Explorer' (#39101) 2019-06-17 13:46:55 -05:00
Corey Robertson 6b3ffb8491
Convert common/lib files to Typescript and Jest (#37640)
* Remove unused lib and associated tests

* Convert unquote string to TS and Jest

* Convert getFieldType to TS and Jest

* Convert httpurl to TS and Jest

* Remove latest_change and tests

* Convert pivot_object_array to TS and Jest

* Address PR feedback
2019-06-17 14:38:58 -04:00
Joe Reuter 49e9b5ba4c
add default values for filter labels (#38644) 2019-06-17 20:34:29 +02:00
Karen Metts 4322346d28
[Doc]Add docs for siem app (#39030)
* Add docs for siem app

* Incorporate more review comments

* Fix punctuation
2019-06-17 14:28:52 -04:00
Nathan Reese 151d2e1413
[Maps] add functional test for tooltip filter actions (#38988) 2019-06-17 12:13:59 -06:00
Melissa Alvarez 76777c5c92
[ML] File Data Visualiser - Link for timestamp notation docs/guide (#39037)
* add helpText with doc link to timestamp format

* add internationalization

* update snapshot
2019-06-17 14:07:57 -04:00
CJ Cenizal d4e3e3d779
Fix field autocomplete suggestions in Console (#38948)
* Retrieve autocomplete fields when a request has completed.
 - Updating polling logic so that dispatching a request resets the poll timer.
2019-06-17 10:11:42 -07:00
Dmitry Lemeshko 581755098a
[firefox] Run functional tests in dedicated CI groups (#38416)
* 2 jobs for Firefox tests

* review fixes

* make sh files executable

* add check reporter
2019-06-17 19:31:41 +03:00
Kerry Gallagher 22d1786908
Align text overflow styles for Label and Value (#39068) 2019-06-17 16:35:30 +01:00
Daniil Suleiman e74f22d36a
Upgarde enzyme to v3.10.0 (#38766)
* Upgarde enzyme to v3.10.0

*update snapshots (React components which are using Memo());

*revert pending test in list_control_editor.test.js;

*replace component.html() and component.text() function calls
 which expect null to component.isEmptyRender() for consistency
2019-06-17 18:33:37 +03:00
Justin Kambic ab97f1fe97
Update uptime docs screenshots. (#38896) 2019-06-17 11:13:46 -04:00
Angela Chuang de927603d7
update button size (#39051) 2019-06-17 23:08:35 +08:00
Marco Vettorello 922e111dd5
Upgrade @elastic/charts to 6.0.1 (#38783)
* Upgrade @elastic/charts to 5.2.0

* Upgrade @elastic/charts to 6.0.1

* Add darkMode theme mock
2019-06-17 15:45:53 +02:00
Marco Vettorello 1c495aec2f
Add required default markdown visState (#38390)
The markdownVis expression has the markdown string property configured as required.The current implementation of the markdown vis doesn't have a default value (actually it's undefined) and this cause the error to be thrown when creating a new markdown vis.

fix #38127
2019-06-17 15:45:26 +02:00
Ahmad Bamieh b36aad350a
[i18n] extract untracked translations and prettier logging (#35171)
* extract untracked translations and prettier logging

* self code review

* Update src/dev/run_i18n_check.ts

Co-Authored-By: Bamieh <ahmadbamieh@gmail.com>

* updating listR

* run new i18n_check and fix errors

* kbnEmbeddables -> embeddableApi

* remove any type

* Update src/legacy/core_plugins/embeddable_api/public/panel/panel_header/panel_actions/add_panel/add_panel_flyout.tsx

Co-Authored-By: Stacey Gammon <gammon@elastic.co>

* Update src/legacy/core_plugins/embeddable_api/public/panel/panel_header/panel_actions/add_panel/add_panel_action.tsx

Co-Authored-By: Stacey Gammon <gammon@elastic.co>

* self code review fixes

* fix extract and integrate scripts

* ts-ignore js file
2019-06-17 16:03:12 +03:00
Felix Stürmer 5b9c231a51
[Infra UI] Make queries more robust against missing indices (#38976)
This fixes several queries that failed when indices didn't exist and were not specified using a wildcard at the same time.
2019-06-17 06:43:04 -04:00
Felix Stürmer 2228863440
[Infra/Logs UI][skip ci] Add infra plugin readme with contribution notes (#38696)
This adds a README file to the `infra` plugin directory with additional contribution notes.

Co-Authored-By: Kerry Gallagher <k.gallagher.05@gmail.com>
2019-06-17 06:33:11 -04:00
Matthias Wilhelm 0351559aa8
Set XAxis ordered.interval differently for date and numeric values in histogram (#38824)
* Add test for numeric interval values
2019-06-17 11:44:57 +02:00
Angela Chuang 399adcddcd
[SIEM] add middleware for handling refetch (#38697)
* add middleware for handling refetch

* add unit test for error links

* add unit test
2019-06-17 01:29:40 +08:00
Mikhail Shustov de5c452f14
Unify base path in HttpService (#38237)
* unify modifyUrl on client and server

* create BasePath as a separate entity on server

* use BasePath class in http server

* use BasePath a separate entity on client

* use BasePath class on Http service on the client

* switch client code to the new api

* improve setver http service mocks

* address comments #1

* address comments #2

* update docs

* add comment why we define own typings
2019-06-16 16:36:02 +02:00
Spencer 9c1bdb9298
[percy] only execute percy setup when necessary (#39043) 2019-06-16 07:23:36 -07:00
Rashmi Kulkarni 5d90300224
extend timeout (#39001)
trying it out - so that test runner runs are clean...
2019-06-14 15:47:56 -07:00