Commit graph

29472 commits

Author SHA1 Message Date
renovate[bot] f8fd5b5def Update storybook related packages to ^5.2.8 (#52687) 2019-12-15 10:55:46 -07:00
renovate[bot] ffe24cd832 Update memoize-one related packages (#53080) 2019-12-15 10:20:59 -07:00
renovate[bot] 9e50a1089c Update eslint related packages (#53078) 2019-12-15 10:19:03 -07:00
renovate[bot] 9a05c75add Update dependency simple-git to v1.129.0 (#53077) 2019-12-15 10:18:42 -07:00
renovate[bot] 19a707386d Update dependency pug to ^2.0.4 (#53076) 2019-12-15 10:18:13 -07:00
renovate[bot] cf2e0ec6e7 Update dependency getos to ^3.1.1 (#53074) 2019-12-15 10:17:57 -07:00
renovate[bot] f8c98f6e71 Update dependency geckodriver to ^1.19.1 (#53073) 2019-12-15 10:15:51 -07:00
renovate[bot] 19c0626aa5 Update dependency jimp to v0.9.3 (#53075) 2019-12-15 10:13:54 -07:00
renovate[bot] 5698817371 Update dependency constate to ^1.3.2 (#53071) 2019-12-15 10:13:11 -07:00
renovate[bot] 9a115f078f Update babel related packages (#52754)
* Update babel related packages

* update kbn/pm dist
2019-12-14 20:14:47 -07:00
spalger c52571be68 ensure prettier overrides take precedence, remove style rules 2019-12-14 17:39:10 -07:00
Vadim Dalecky 5fee62b1db
bfetch (#52888)
* feat: 🎸 add bfetch plugin stub

* feat: 🎸 add sample routes

* feat: 🎸 implement streaming response

* feat: 🎸 add Defer class

* refactor: 💡 move Defer inot /common folder

* feat: 🎸 add fromStreamingXhr() method

* feat: 🎸 add split method

* feat: 🎸 add fetchStreaming() function

* test: 💍 fix test after refactor

* test: 💍 add tests for fetStreaming() method

* refactor: 💡 move removeLeadingSlash() to /common folder

* feat: 🎸 expor stateful fetchStreaming() throuh plugin contract

* chore: 🤖 clean up bfetch

* chore: 🤖 prepare to replace ajax_stream by bfetch

* Change ajax_stream to use new-line delimited JSON

* refactor: 💡 move batched_fetch to use bfetch service

* refactor: 💡 make use of defer() utility from kibana_utils

* chore: 🤖 remove ajax_stream library

* fix: 🐛 fix tests and inject fetchStreaming() method as dep

* refactor: 💡 make split() operator more readable

* refactor: 💡 improvee PR according to feedback

* docs: ✏️ add fetchStreaming() reference

* refactor: 💡 use NP logger, rename to createNDJSONStream()

* chore: 🤖 adress Luke's review comments

* chore: 🤖 add missing type
2019-12-14 01:39:04 -08:00
spalger 14bf10863a move eslint rule override comments for code that moved around 2019-12-13 23:17:13 -07:00
spalger 8e9a8a84dc autofix all violations 2019-12-13 23:17:13 -07:00
spalger a3553c924d [eslint] use prettier for all the things 2019-12-13 23:17:11 -07:00
Joe Portner e78689e61e
Upgrade pdfmake (#53043) 2019-12-13 17:50:49 -05:00
spalger 5feb376aac remove test that's been skipped since opening xpack 2019-12-13 15:32:19 -07:00
Eli Perelman 614bde927e
Move CSP options to new platform (#52698)
* Move CSP options to new platform

* Expose SharedGlobalConfig from root

* Derive CSP options from config

* Consolidate CSP configuration with HTTP config

* Fix outstanding config renames

* Remove legacy CSP configuration calls, migrate to platform properties

* Revise docs

* Fix test from type change

* Expose ICspConfig, consolidate and simplify CSP defaults access

* Rebase and update docs

* Remove legacy API from route definition params, review nits

* Clean up config path usages for consistency

* Regenerate docs
2019-12-13 15:57:17 -06:00
spalger 1ea9d791bc Revert "Revert "Fix wrong impor (#52994)""
This reverts commit c220d770cc.
2019-12-13 14:09:51 -07:00
spalger c220d770cc Revert "Fix wrong impor (#52994)"
This reverts commit 6c1f248c4f.
2019-12-13 13:16:40 -07:00
Ahmad Bamieh 3658220048
[Telemetry] Migrate ui_metric plugin to NP under usageCollecti… (#51972)
* move cloud dir to plugins from legacy

* create ui_metrics in NP

* migrate first plugin

* ui_metric plugin uses npStart

* sinin mock

* karma mocks

* type check fix

* rename old configs

* fix mocks and use configs

* use  fo debug

* ui_metric deprecation configs

* remove commented out code

* remove unused type import

* mock ui_metric in client_integration

* jest.mock ui/new_platform

* fix all failing tests

* platform team code review fixes

* reset interval back to default

* apm cypress config use usageCollection

* revert kibana.yml change

* remove license type from NP def

* undo revert of NP type

* code review fixes

* report schema in a separate dir
2019-12-13 14:41:51 -05:00
Josh Dover 0dac43516e
Update docs to not use AppMountContext (#52962) 2019-12-13 13:00:54 -06:00
Joe Portner 3e6270737a
Change session timeout values to use duration instead of number (#52520) 2019-12-13 13:58:40 -05:00
Josh Dover ec2134d221
Add lint rule to prevent server code being imported into client (#52447) 2019-12-13 12:26:04 -06:00
Mikhail Shustov 6c1f248c4f
Fix wrong impor (#52994)
* Licensing plugin and XPackInfo uses the same license data (#52507)

* convert xpackinfo to TS

* use NP Licensing plugin in XPackInfo

* update mocks

* put license regresh hack back.

otherwise new license won't be re-fetched when signature changed. was deleted by mistake

* add functional test for legacy xpackmain

* declare setup types on client & server explicitly

* rename mock license --> licensing to match plugin name

* add tests for createLicensePoller

* fix type error

* adopt tests for xpack_info

* createXPackInfo uses new platform API

* put back error mute

* address comments

* fix renamed import

* address comment

* update tests to reduce delays

* deprecate xpack.xpack_main.xpack_api_polling_frequency_millis

* use snake_case in config

* fix wrong import
2019-12-13 18:09:36 +01:00
Marta Bondyra a97d2646f5
Lens: pass indexPatternId prop to ChangeIndexPattern to di… (#52614) 2019-12-13 17:44:58 +01:00
Mike Côté 88ae8d07c8
Cleanup alerting / actions feature controls (#52286)
* Initial work

* Apply changes based on feedback

* Fix a broken test

* Fix failing test

* Revert monitoring changes

* Remove UI features for now
2019-12-13 10:36:46 -05:00
Spencer 81a30d98bd
[failedTests] fix reportMessageIter and add unit test (#52886)
* [failedTests] fix reportMessageIter and add unit test

* update related snapshots
2019-12-13 08:28:17 -07:00
Brandon Kobel c8912199d3
Using forceLogout *almost* everywhere (#52922)
* Changing usages of .logout() to .forceLogout()

* Using `.logout` from within the security login page test
2019-12-13 10:09:38 -05:00
Alex Holmansky 8d8da48ac8
Workflow configurations to assign issues and PRs with Team:AppArch label to kibana-app-arch project (#52820) 2019-12-13 10:03:30 -05:00
Shahzad d79631adaa
Feature/issue 44550 new details panel and location map (#50518)
* update

* added an embeddable maps

* update map config

* added options to disable zoom, hide tool tips, widgets/overlays in embeddable maps

* added options to disable zoom, hide tool tips, widgets/overlays in embeddable maps

* added bool option to hide header

* revert panel changes

* update panel

* update map

* added disable interactive

* update uptime embeddable

* update redux state and removed widget over lay hiding

* refactor widget overlay prop

* update layout

* update rest API

* remove maps code

* update components

* update up/down points on map

* update snaps

* fixed type

* update request

* update request to include rnage

* fix tests

* utilize newly added setLayers method

* remove unused code

* refactor code
2019-12-13 16:02:00 +01:00
Wylie Conlon 6ca913874c [Lens] Change feedback link (#52916) 2019-12-13 09:55:04 -05:00
spalger f67a063f1c Revert "Licensing plugin and XPackInfo uses the same license data (#52507)"
This reverts commit 2b8825603f.
2019-12-13 07:53:12 -07:00
Matthias Wilhelm dbec0b1007
[Graph] Deangularize saved object handling (workspace) (#52529) 2019-12-13 14:48:03 +01:00
Jean-Louis Leysens 96fb2d16f7
[Console] Console with better SQL support (#51446)
* First iteration of PoC for SQL highlighting and better completion

* Alternate implementation (no """sql markers)

* xLang markers

* - Remove 'start-sql'
- no flow :c

* Revert "- Remove 'start-sql'"

This reverts commit 2d585eef17.

* Revert "xLang markers"

This reverts commit f019616675.

* Revert "xLang markers" and add comment

This reverts commit f019616675.

* Add elasticsearch sql highlight rules

* Add links to sources of data

* Update colors

* Redo built in functions
2019-12-13 14:39:42 +01:00
Matthias Wilhelm bf29db8ed3
[Discover] Remove deprecated context of app mount function, cleanup (#52974) 2019-12-13 14:21:51 +01:00
Mikhail Shustov 2b8825603f
Licensing plugin and XPackInfo uses the same license data (#52507)
* convert xpackinfo to TS

* use NP Licensing plugin in XPackInfo

* update mocks

* put license regresh hack back.

otherwise new license won't be re-fetched when signature changed. was deleted by mistake

* add functional test for legacy xpackmain

* declare setup types on client & server explicitly

* rename mock license --> licensing to match plugin name

* add tests for createLicensePoller

* fix type error

* adopt tests for xpack_info

* createXPackInfo uses new platform API

* put back error mute

* address comments

* fix renamed import

* address comment

* update tests to reduce delays

* deprecate xpack.xpack_main.xpack_api_polling_frequency_millis

* use snake_case in config
2019-12-13 13:46:04 +01:00
Liza Katz e3282d4a89
Move search bar to NP (#52622)
* Moved SearchBar component to NP

* move search bar to NP

* change import

* Revert "change import"

This reverts commit 52d990fbe4.

* Revert "move search bar to NP"

This reverts commit 4196e8b4b9.

* move create search bar

* Clean up jest mocks

* update snapshots

* Remove indexPatterns angular service

* Deleted comment

* Mock npStart.core.savedObjects

* Removed export of SearchBarOwnProps

* fix import

* Fix typo

* eslint
2019-12-13 12:05:31 +00:00
patrykkopycinski 7dbfb750ce
[SIEM] Cleanup react-beautiful-dnd jest warnings (#52468) 2019-12-13 12:31:04 +01:00
James Gowdy 6ba805d18e
[ML] Removing context API (#52953) 2019-12-13 10:33:28 +00:00
Joe Reuter c73f984e7f
Migrate graph server and licensing handling (#52279) 2019-12-13 11:33:15 +01:00
Vadim Dalecky 28e81f2b49
ci: remove labeler action config
When we installed "labeler" GitHub action we found out that it could cause PRs to fail, so we immediately disabled it on master. This removes the config the labeler action used.
2019-12-13 11:31:25 +01:00
Pierre Gayvallet eb3d9b118a
Implements config deprecation in New Platform (#52251)
* implements 'rename' and 'unset' deprecations

* introduce usage of ConfigDeprecationProvider

* adapt RawConfigService to only returns unmodified raw config

* apply deprecations when accessing config

* register legacy plugin deprecation in new platform

* implements ConfigService#validate

* add exemple config deprecation usage in testbed

* documentation

* export public config deprecation types

* fix new test due to rebase

* name ConfigDeprecationFactory

* update generated doc

* add tests for unset and move it to src/core/utils

* add tests for renameFromRoot and unusedFromRoot

* cast paths as any as get expects a fixed-length string array

* use specific logger for deprecations

* add additional test on renameFromRoot

* update migration guide

* migrate core deprecations to NP

* add integration test

* use same log context as legacy

* remove old deprecation warnings integration tests, now covered in NP

* migrates csp deprecation to NP

* removes deprecationWarningMixin from legacy

* remove legacy core deprecations

* remove unused import

* rename setupConfigSchemas to setupCoreConfig

* update generated doc
2019-12-13 09:49:56 +01:00
Alexey Antonov dc1a26b10c
Kibana 7.0.0 URL field formatter doesn't render relative hyperlinks properly (#52874)
Closes #35235
2019-12-13 10:41:51 +03:00
Stacey Gammon 4801647da5
Fix and turn back on legacy embeddable tests (#52945) 2019-12-12 22:32:21 -05:00
Tiago Costa ee2bb82a12
fix(NA): kibana keystore options and arguments processing (#52774)
* fix(NA): kibana keystore options and arguments processing

* chore(NA): updated dependencies to match resolutions
2019-12-13 02:34:31 +00:00
spalger f634877b62 skip failing suite (#52969) 2019-12-12 18:12:44 -07:00
spalger 5fa9b1f0cc skip flaky suite (#48236) 2019-12-12 17:10:55 -07:00
Thomas Neirynck fe44595523 [Maps] Move field-meta implementation to style property (#52828)
* improve clarity

* rename for clarity

* feedback

* add comment

* remove debug statements
2019-12-12 16:19:06 -07:00
Bhavya RM 4765ed0fa1
A11y base tests (#51893)
a11y base tests
2019-12-12 17:20:55 -05:00