Commit graph

23671 commits

Author SHA1 Message Date
Brandon Kobel 77b6a9ae9b
Adding hapi-auth-cookie to Kibana's root package.json (#35420)
With the introduction of https://github.com/elastic/kibana/pull/34631
OSS Kibana now has a dependency on hapi-auth-cookie, but it's missing
from the package.json
2019-04-22 11:32:15 -07:00
Sarah Hersh 3d7030cb07
fix link for 18n settings (#35413) 2019-04-22 13:56:59 -04:00
Alexey Antonov c1e5948144
[TSVB] query bar shows randomly in editor page (#35081)
* [TSVB] query bar shows randomly in editor page

Fix: #31267

* Fix PR comments
2019-04-22 19:40:20 +03:00
Chandler Prall 849e1f5908
Update EUI's I18n tokens (#34568)
* Update EUI's I18n tokens to include them all

* Update to pass i18n_check

* Updated EUI I18n token values based on PR feedback

* Updated snapshot of changed i18n translation

* typo corrections
2019-04-22 09:42:07 -06:00
Chandler Prall dc9b299903
Update EUI to v10.1.0 (#35402) 2019-04-22 09:41:51 -06:00
CJ Cenizal 893b941a88
Retrieve paused state of follower index from ES instead of depending upon the client to provide it. (#35342) 2019-04-22 08:27:56 -07:00
Jonathan Budzenski 8044305c63
deprecate CONFIG_PATH and DATA_PATH (#32049)
* rm default config from environment variable

* add deprecation logs

* fix path

* folder

* redo docs

* fix &&

* remove newline

* rm newline
2019-04-22 10:03:41 -05:00
Oliver Gupte 49a40b6334
[APM] Automatically create APM index pattern (#34665)
* Closes #33119 by automatically creating the apm index pattern on server startup if one isn't found.

* [APM] Move lib/saved_objects/client -> lib/helpers/saved_objects_client

* [APM] moved apm index pattern from legacy tutorial directory to apm/common & moved index creation call to top level plugin initialization

* [APM] moved the apm index_pattern.json back to the core kibana side of
things so that it doesn't break the oss only build by requireing a
non-existent module.

* [APM] fixed wrong path import for index_pattern
2019-04-21 01:30:28 -07:00
Oliver Gupte 3b9bfeaeb7
[APM] closes #34781 by rendering a different set of service navigation tabs when a rum agent is detected (#35124) 2019-04-19 14:14:06 -07:00
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