Commit graph

23662 commits

Author SHA1 Message Date
Matthew Kime 7e81413572
implementing github checks (#34673)
implement github checks with github-checks-reporter
2019-04-19 15:33:48 -05:00
Joe Fleming cf7f71a892
chore: apply redux devtools via compose (#35326)
makes dispatching from devtools trigger other middleware
2019-04-19 12:21:03 -07:00
Brandon Kobel 65ac8d6ecc
Feature Controls - either base or feature (#35321)
* Only allowing either base or feature privileges

* Get roles route return transform error if base and feature privileges

* Treating [] and {} as undefined

* Updating the role api integration tests
2019-04-19 11:58:15 -07:00
Spencer 69f05de7a8
[shellcheck] fix warnings (#35328) 2019-04-19 11:07:22 -07:00
Nathan Reese 4c21ccf693
[Maps] only show fields that can be used in terms agg in join right field select (#35098)
* [Maps] only show fields that can be used in terms agg in join right field select

* move filter to JoinExpression to avoid filtering metric fields

* use same filter on ES fields for left and right join fields
2019-04-19 10:09:10 -06:00
Nathan Reese b3bfe4ea8d
[Maps] layer level filtering and classification styling docs (#34895)
* [Maps] layer level filtering and classification styling docs

* decrease screen shot size

* add note about styling line geometries

* feedback

* asciidoc syntax

* updates from pairing up with gchaps

* add example for static styling

* Update docs/maps/vector-style.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* Update docs/maps/vector-style.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* Update docs/maps/vector-style.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* combine class intro sentences into single sentence
2019-04-19 09:58:02 -06:00
Rudolf Meijering bb121ef98f
docs: Add test file location -> test runner table (#34986)
* docs: Add test file location -> test runner table

* Use scripts/mocha instead of if yarn test:mocha and clarify arguments

* docs: add some examples of running tests suites with grep patterns

* Split out x-pack testing docs, add test runner column

* Split out x-pack testing docs, add test runner column #2

* Use node scripts for jest and split functional runner/server
2019-04-19 09:06:25 +02:00
CJ Cenizal cc9dea12a8
[CCR] Allow user to use CCR when security is not enabled. (#35333) 2019-04-18 17:50:03 -07:00
Spencer 16f798aced
[reporting] increase timeout of esqueue tests (#35325)
Fixes https://github.com/elastic/kibana/issues/35129

We've seen a single timeout in the reporting tests, and since it uses setTimeout I assume it's just getting a little delayed. Hoping that switching from a 2sec to 10sec timeout should solve this. These tests should be gone soon anyway once we move to the task manager for reporting job management.
2019-04-18 15:20:52 -07:00
Jason Rhodes 29dfbd39d5
[APM] Refactors property tables into single metadata table (#35150)
* Refactors property table usage with new components and tests

* Changes default tab for transaction detail view

* Small refactors to property table

* Review feedback

* Updates translations

* Refactors metadata and adds tests

* Rearranges documentation links to prefer declarative component

* Removes unused component

* Improves metadata component tests and removes giant snapshots
2019-04-18 16:27:53 -04:00
Spencer 9122511370
[ftr] convert remaining JS to TS (#35110) 2019-04-18 12:06:24 -07:00
Sarah Hersh cc83660389
[DOCS]Adds breaking change for index patterns (#35314)
* adds breaking change

* fix version number
2019-04-18 14:37:13 -04:00
Spencer 460a5e158a
[chance] ensure random words are unique (#35302)
Fixes https://github.com/elastic/kibana/issues/35293

In very rare cases, `chance.word()` can return the same word for two invocations, which is likely what caused the failures described in the issue. In order to prevent this we keep a local cache of the words generated and regenerate when the word has already been seen.
2019-04-18 10:59:43 -07:00
Nathan Reese 68b67e5a80
bump numeral.js to fix negative time formatting bug (#35298)
* bump numeral.js to fix negative time formatting bug

* update x-pack dependency
2019-04-18 11:42:16 -06:00
spalger bb0e03e09a [interpreter] disable flaky test 2019-04-18 10:39:00 -07:00
spalger 966051a5fb [editorconfig] disable insert_final_newline for package.json 2019-04-18 09:44:17 -07:00
Sonja Krause-Harder bff10d2258
[Infra UI] Add new graphql endpoint for snapshot data (#34264)
* Add new graphql endpoint for snapshot data

* Polishing.

* Keep type generic that is used outside snapshots

* Keep one more generic type generic

* Use camelCase for consistency.

* Refine type names

* Add return types.

* Use idiomatic javascript.

* Factor out getAllCompositeAggregationData<T>()

* Refine naming.

* More idiomatic JavaScript, more types.
2019-04-18 17:37:31 +02:00
Brandon Kobel d860285da0
Removing mention of legacy roles (#35263)
* Removing mention of legacy roles

* Removing more legacy references
2019-04-18 06:35:43 -07:00
Sarah Hersh d59576b22f
add logging.json setting (#34581) 2019-04-18 09:31:24 -04:00
Justin Kambic 1e6aae2c1b
Add mapping for REST API test data. (#35249) 2019-04-18 08:31:07 -04:00
Tim Roes d8de7231fc
Remove notification dependency from uiSettings (#35239)
* Remove notification dependency from uiSettings

* Update API docs

* Fix prettier

Still had eslint not setup correctly for TS files

* Change i18n id
2019-04-18 12:35:17 +02:00
Joe Reuter 203a858bbf
Make time picker in query bar usable in Firefox (#35279) 2019-04-18 11:42:03 +02:00
Aleh Zasypkin 7c2ff2ed75
Add support for SAML IdP initiated login when user already has active session. (#33644) 2019-04-18 10:51:15 +02:00
Maryia Lapata 1fc1e2e564
[vis: Default Editor] Rename 'disabled' aggParam config prop to 'shouldShow' (#35139)
* Rename 'disabled' aggParam config prop to 'shouldShow'

* Move `shouldShow` function from drop_partials.tsx to agg config

* Write include/exclude model only if the type is string

* Move conditional rendering to the generic AggParamReactWrapper; reset model value for hidden controls everytime user switch a field/agg

* Update unit tests

* Set exclude/include to state if they are displayed only

* Update unit tests
2019-04-18 10:49:20 +03:00
Maryia Lapata 8b612fd6b7
[Vis: Default Editor] Watch agg.params collection instead of adding each param (#35153) 2019-04-18 10:25:48 +03:00
Vitali Haradkou 25f825951f
[FTR] tsfy find & webdriver (#33494)
* migrated find and browser services to typescript
2019-04-18 10:19:11 +03:00
Robert Monfera 437cc1279b
[Canvas] component/-level separation of workpad_page (#34983)
Refactor: structure workpad_page into smaller static and interactive parts
2019-04-18 08:09:40 +02:00
Bill McConaghy e16bb422ba
adding spec to console utility as Kibana script (#35232)
* adding spec to console utility as Kibana script

* fixing yarn.lock

* aligning dep versions with Kibana

* fixing test
2019-04-17 20:40:32 -04:00
Larry Gregory 6ee7d6d236
Fixing flaky maps test (#35176)
## Summary

fixes https://github.com/elastic/kibana/issues/35049
2019-04-17 18:24:47 -04:00
Tyler Smalley 0ad9417adf
Uses script to clean Storybook DLL (#35243)
* Uses Node API's instead of unix commands for Windows support.
* Renames `canvasStorybookDLL` to `canvas_storybook_dll`

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-04-17 13:58:45 -07:00
Bill McConaghy 4025d1dfbb
adding data_frame autocomplete rules to dev console (#35086)
* adding data_frame autocomplete rules to dev console

* adding body rules for preview

* adding correct aggs for group by for data_frame

* fixing source and destination autocomplete rules
2019-04-17 12:05:46 -04:00
Mikhail Shustov 0e042ceb51
fix tests fail due to cookie expiration (#35240) 2019-04-17 18:02:03 +02:00
Spencer 27bd635397
[esArchiver] refresh all, stop being too clever (#35186)
* [esArchiver] refresh all, stop being too clever

* wait for save notification before ending tests

I have a hunch that Timelion/Kibana are still mucking with the .kibana index when the test ends, and the `esArchiver.unload()` call is conflicting because of those modifications being still in progress.
2019-04-17 08:20:23 -07:00
James Gowdy c0edcbe9ab
[ML] Round value when using max model memory limit (#35223)
* [ML] Round value when using max model memory limit

* changing ceil to floor to avoid accidentally exceeding max mml
2019-04-17 16:00:35 +01:00
Greg Thompson e05098dd27
Upgrade EUI to v10.0.1 (#35112)
* eui@10.0.0; tsconfig update

* limit key lookups to strings

* Search Profiler hightlight details flyout classes

* bump

* snapshot updates

* x-pack snapshot updates
2019-04-17 09:16:34 -05:00
Jonathan Budzenski 8639cecb09
[es] ignore version qualifiers (#33877) 2019-04-17 08:25:44 -05:00
Matthias Wilhelm daeb342037
Add logger to migration transform function (#34982)
migration's transform function got a 2nd parameter, the MigrationLogger . So migrations can  log e.g. log errors in in try {} catch {} code
2019-04-17 06:24:42 -07:00
Chris Roberson 33f1123dbe
[Monitoring] Metricbeat migration status logic (#34871)
* Initial logic and tests for this

* Improve test

* Some cleanup and adding api integration tests

* Add comments

* Account for no documents returned

* Add detection logic and tests

* Ensure these fields are optional

* Update detection logic

* Beats, logstash and apm can only possibly exist

* Fix some issues with APM

* Fix tests

* Small updates based on needing to also include the filebeat index

* Fix issue with the reduce

* PR feedback

* More PR feedback

* Add additional tests

* Add additional tests
2019-04-17 09:17:37 -04:00
Larry Gregory 6fdad7f623
Feature Controls - Spaces API Docs (#34575)
## Summary

- Updates the Spaces API documentation to reflect new "disabledFeatures" property
- Introduces Features API documentation to assist the Spaces API docs

Related: https://github.com/elastic/kibana/issues/31053
2019-04-17 09:02:17 -04:00
Tim Roes 7ea060e4ca
Change default quick ranges (#35066)
* Change defaut quick ranges in time picker

* Remove unused translations

* Update src/legacy/core_plugins/kibana/ui_setting_defaults.js

Co-Authored-By: timroes <mail@timroes.de>
2019-04-17 11:16:30 +02:00
Dmitry Lemeshko d37bbcfd78
update functional tests to support Firefox (#34635) 2019-04-17 09:42:54 +02:00
Sébastien Loix d9887d8df5
[Rollup] Re-enable API integration tests (#34156) 2019-04-17 08:39:47 +02:00
Spencer c2a1f92591
[dev/run] add ability to register callback for clean up (#35119)
* [dev/run] add ability to register callback for clean up

* remove old onExit option

* update docs to mention `addCleanupTask`

* update yarn.lock
2019-04-16 16:21:12 -07:00
kaiyan-sheng 97ffb3b485
Add documentation link to functionbeat (#35174) 2019-04-16 16:52:56 -06:00
Spencer cb8ea09cb4
[dev/build] fix missing flag checks (#35187)
* [dev/build] fix missing flag checks

With the upgrade to the new version of getopts, boolean flags are now defaulting to `false`, which prevents the `undefined` checks in place for the `--rpm`, `--deb`, `--docker` flags. Or order to ensure that they can be checked for existence we can default the flags to `null`, which gives these "boolean" flags a third possible state, only possible when the flags are not specified from the command line.

* [dev/build] break out args processing and test

* reindent help text

* always return unknownFlags
2019-04-16 14:46:03 -07:00
Jonathan Budzenski e79de3e03b
[es] remove ping from health check (#33579) 2019-04-16 16:21:28 -05:00
Brandon Kobel 8bd06fc370
Updating jQuery to 3.4.0 (#35177) 2019-04-16 14:16:23 -07:00
Rudolf Meijering 764bf252fb
[new-platform] Explicitly define core setup types (#34817)
* Explicitly define BasePathSetup type

* Explicitly define I18nSetup type

* Explicitly define InjectedMetadataSetup type

* Explicitly define FatalErrorSetup type

* Fix lint errors

* Fix BasePathSetup types

* Fix lint errors

* Clarify basePath add() docs

* Upgrade api-documenter for 'do not edit' header

* Use @link references on CoreSetup to improve doc navigation

* Add comment that links to upstream api-documenter issue

* PR Comments: make FatalErrorsService.add() private

* Revert "PR Comments: make FatalErrorsService.add() private"

This reverts commit fe9e6e62df.
2019-04-16 22:19:13 +02:00
Larry Gregory 9bc7bc30ca
Expose ability to deny ('except') access to fields via FLS (#26472)
* expose ability to deny ('except')  access to fields via FLS

* expose ability to deny ('except')  access to fields via FLS

* Moves FLS fields behind a switch to be consistent with DLS fields

* remove unused import

* fix security page object

* remove unused code

* remove unused translations
2019-04-16 14:56:44 -04:00
Mikhail Shustov a202232438
[New platform] HTTP & Security integration (#34631)
* Add Auth session

* add lifecycles

* add types for hapi-auth-cookie

* expose interceptors from http service

* add integration tests

* update tests

* session storage cleanup

* get SessionStorage type safe

* add redirect, clear cookie security integration tests

* add tests for onRequest

* add tests for onAuth

* register Auth interceptor only once

* refactor redirect tests

* fix typings, change error message, test suit naming

* add integration test for session validation

* add tests for cookie session storage

* update docs

* add integration tests for onRequest

* update docs

* cleanup onRequest integration tests

* Generate docs for AuthToolkit & OnRequestToolkit

* add test for an exception in interceptor

* add test OnRequest interceptors dont share request object

* cleanup

* address comments from @eli

* improve typings for onRequest

* improve plugin typings

* re-generate docs

* only server defines cookie path

* cookieOptions.password --> cookieOptions.encryptionKey

* CookieOption --> SessionStorageCookieOptions

* address comments @joshdover

* resolve conflict leftovers

* update @types/hapi-auth-cookie deps

* update docs
2019-04-16 20:47:20 +02:00