Commit graph

3922 commits

Author SHA1 Message Date
Larry Gregory 49c669ca61
Warn users when security is not configured (#78545)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-05 19:47:17 -04:00
Chandler Prall 3bad1fc328
Upgraded EUI to v29.3.0 (#78870)
* Upgraded EUI to v29.2.0

* Remove hacks on top of EuiHeaderLink(s)

* Actual update to eui@29.2.0

* Resolve typescript issue when omitting a key over a union

* Resolve nav menu test's expectations

* Fix lint issue

* Update to 29.3.0

* Revert vega snapshot update

I don’t think this was intended to change when I ran the updater

* [ui-shared-deps] strip proptypes from ui-shared-deps production build

Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-10-05 12:44:29 -06:00
Robert Oskamp 819ccf1247
Adjust extend_es_archiver to handle additional cases (#79308)
This PR enables the extend_es_archiver to recognize additional indices like .kibana_1 as well as a list of indices.
2020-10-02 20:14:42 +02:00
Stratoula Kalafateli 1b61cc6b5d
[Functional] Add retry on custom formatter test (#78729)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-10-02 09:03:08 +03:00
Tiago Costa e5d8d49164
chore(NA): assures a single version for the same dependency across the entire project (#78825)
* chore(NA): script to check for multiple version of same dependency

* chore(NA): remove multiple versions for the same dependency

* chore(NA): hook single_version_dependencies script into the CI

* chore(NA): remove grunt from the CI hook integration

* chore(NA): update kbn pm dist

* chore(NA): fix typechecking

* chore(NA): update code to run under last extract-zip version

* fix(NA): multiple versions of the same type dependency

* move validation to bootstrap (#13)

Co-authored-by: spalger <spalger@users.noreply.github.com>

* chore(NA): todo to remove logic to validate single version deps once we move into a single package.json

* chore(NA): remove verify dependency versions jenkins task

* chore(NA): update kbn pm dist file

* chore(NA): remove last mention to verify_dependency_versions.sh fom tasks.groovy

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-10-02 00:46:00 +01:00
Lee Drengenberg 0a7462dc4a
move apps lower in tree, add metricbeat dashboard screenshot test (#79001) 2020-10-01 15:35:36 -05:00
Devon Thomson e08f6a38f6
Always Show Embeddable Panel Header in Edit Mode (#79152)
* Always show header in edit mode
2020-10-01 14:52:28 -04:00
Stratoula Kalafateli 36814aa1ef
Change implementation on TSVB functional when testing the indexPattern switch (#78754)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-10-01 13:30:10 +03:00
Matthias Wilhelm ec9d220b3c
[Discover] Unskip doc link functional test (#78600)
* Flaky test runner confirmed it's not flaky
2020-10-01 08:23:07 +02:00
Lukas Olson 28e1382813
Fix KQL autocomplete value suggestions (#78676) 2020-09-30 12:32:09 -07:00
Matthias Wilhelm 9c3d2646b2
[Discover] Fix functional time picker test permissions (#78564) 2020-09-30 19:50:45 +02:00
Bhavya RM 8e963fdf1a
A11y tests for filter panel (#78776)
a11y tests for filter panel and some test data un mounting
2020-09-30 09:34:24 -04:00
Mikhail Shustov ae8f8e1d10
Add TS projects for src/plugins & x-pack/plugins (#78440)
* bump query-string version to remove manual type definitions

* remove manual type declaration

* add kibana_utils tsconfig

* add refs to kibana_utils tsconfig

* add kibana_utils to the project list

* add kibana_react project

* add support for x-pack/tsconfig.refs.json

* add ts project for x-pack licensing plugins

* add glob for ts projects in src/plugins & x-pack/plugins

* add refs to projects in examples

* fix ref paths in x-pack/test

* address mistic comments

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-30 15:02:41 +02:00
Stratoula Kalafateli 108a2302cd
[Functional] Wait for the page to load and then click the new vis button (#78725) 2020-09-30 10:02:16 +03:00
Devon Thomson bf93974edc
[Time to Visualize] Panel Title Fixes (#78365)
* [Dashboard][Embeddable] Add placeholder title to embeddable panel, stored 'show panel title' prop in embeddable input.
Co-authored-by: Maja Grubic <maja.grubic@elastic.co>
2020-09-29 15:07:17 -04:00
Luke Elmers ccb789dbdf
[data.search] Expose SearchSource on the server. (#78383) 2020-09-29 12:38:05 -06:00
Devon Thomson 33f8ebd335
[Dashboard] Store Expanded Panel Id in URL (#78684)
* Added expandedPanelId to dashboard app state
2020-09-29 13:50:13 -04:00
Michail Yasonik 7b07fa53ef
Use more specific rule skipping for a11y tests (#77647) 2020-09-29 10:56:25 -05:00
Spencer f5ca7d82d5
[kbn/optimizer] only build xpack examples when building xpack plugins (#78656)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-09-28 13:25:15 -07:00
Bhavya RM 9c959947a8
Fixing a11y test failure on discover app (https://github.com/elastic/kibana/issues/59975) (#77614) 2020-09-28 14:21:54 -04:00
Liza Katz 689e1e32f1
[Search] Error notification alignment (#77788)
* OSS error alignemnt

* Adjust error messages in xpack

* Add getErrorMessage

* Use showError in vizualize
Add original error to expression exception

* Cleanup

* ts, doc and i18n fixes

* Fix jest tests

* Fix functional test

* functional test

* ts

* Update functional tests

* Add unit tests to interceptor and timeout error

* expose toasts test function

* doc

* typos

* review 1

* Code review

* doc

* doc fix

* visualization type fix

* fix jest

* Fix xpack functional test

* fix xpack test

* code review

* delete debubg flag

* Update texts by @gchaps

* docs and ts

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-28 18:33:48 +03:00
Daniil Suleiman 53d49381c8
Implement tagcloud renderer (#77910)
* Implement toExpressionAst for tagcloud

* Implement tagcloud vis renderer

* Use resize observer

* Use common no data message

* Update build_pipeline.test

* Update tag cloud tests

* Revert "Use common no data message"

This reverts commit fddf019575.

* Update interpreter functional tests

* Add tests for toExpressionAst fn

* Use throttled chart update

* Update renderer

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-28 16:14:30 +03:00
Patryk Kopyciński 012fa42ee1
[Security Solution] Fix app layout (#76668) 2020-09-25 14:15:41 +02:00
Alejandro Fernández Haro 060a65762a
[KQL] Rename "telemetry" to "stats" (#78040)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-24 17:27:21 +01:00
Brandon Kobel 57d10144f9
elasticsearch::Client#child performance improvements (#77836)
* Updating the version of the elasticsearch-js Client

* ES Client methods aren't implicitly bound to the Client anymore

* Adjusting mocks to work with prototypical inheritance

* Fixing effects of ping returning a Boolean, now.

* Updating @elastic/elasticsearch to 7.9.1

* Responding to @restrry's feedback

* Now with destructuring...
2020-09-24 09:08:50 -07:00
Mikhail Shustov 8ba60a4004
bump query-string version to remove manual type definitions (#78143)
* bump query-string version to remove manual type definitions

* remove manual type declaration

* fix cypress tests

* add )
2020-09-24 17:15:15 +02:00
spalger c02e42ad01 skip flaky suite (#78373) 2020-09-23 23:35:45 -07:00
spalger abb1cbfa5f skip flaky suite (#39842) 2020-09-23 12:35:54 -07:00
Matthew Kime 9450248ebe
Index pattern - refactor constructor (#77791)
* index pattern - refactor constructor
2020-09-22 20:01:36 -05:00
Rashmi Kulkarni da1b319419
Accessibility - Dashboard Edit Panel tests (#78181)
* accessibility tests for dashboard panel

* added back the skipped test as it is still required to pass through th ea11ySnapshot

* wip dashboard panel tests

* wip- accessibility

* wip -accessibility

* wip accessibility

* accessibility tests for dashboard edit panel

* accessibility tests

* removed the unused variables

* dashboard_edit_panel tests

* added a comment

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-22 13:36:52 -07:00
spalger 8d7aae0c21 Revert "Accessibility dashboard edit panel tests (#77829)"
This reverts commit e15b4c43d4.
2020-09-21 16:55:08 -07:00
Rashmi Kulkarni e15b4c43d4
Accessibility dashboard edit panel tests (#77829)
* accessibility tests for dashboard panel

* added back the skipped test as it is still required to pass through th ea11ySnapshot

* wip dashboard panel tests

* wip- accessibility

* wip -accessibility

* wip accessibility

* accessibility tests for dashboard edit panel

* accessibility tests

* removed the unused variables

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-21 15:45:39 -07:00
Matthias Wilhelm 176dabf9ca
[Discover] Fix scripted field error handling for non OSS env (#76476)
* Improve scripted field error handling

* Add test to x-pack to prevent different rendering in different licenses

* Add testdata
2020-09-21 22:40:04 +02:00
Ryan Keairns beb1f83e79
Use new header icon badge for newsfeed button (#77946)
* Use new header icon badge for newsfeed button

* add i18n, fix flyout level

* fix i18n namespace, fix badge test

* update newfeed badge test
2020-09-21 12:51:43 -05:00
Vadim Dalecky 4b49e5a1c8
Context menu (#76497)
* feat: 🎸 add grouping to presentable interface

* feat: 🎸 add group to "Explore underlying" data action

* refactor: 💡 return panel list and simplify context creation

* refactor: 💡 simplify context menu builder code

* refactor: 💡 further simplify context menu builder code

* feat: 🎸 add grouping to context menu builder

* feat: 🎸 add icon to drilldowns group

* fix: 🐛 sort in the other order

* feat: 🎸 group drilldown actions in edit mode

* fix: 🐛 fix TypeScript error

* feat: 🎸 wrap long context menu list into a submenu

* feat: 🎸 improve context menu long list wrapping

* feat: 🎸 display drilldowns panel at the bottom of main panel

* feat: 🎸 add separator line for context menu

* test: 💍 add basic context menu builder unit tests

* feat: 🎸 remove meta decoratiosn from generated menu

* test: 💍 add test subject attribute to "More" menu item

* chore: 🤖 remove separator line and add comment about EUI

* test: 💍 update Jest snapshots

* chore: 🤖 revert back change of showing both drilldown options

* test: 💍 add context menu samples to example plugin

* feat: 🎸 collapse long groups into a sub-panel

* test: 💍 add context menu panel edit mode examples

* test: 💍 fix OSS functional test

* test: 💍 fix X-Pack functional tests

* fix: 🐛 re-introduce item sorting by title

* test: 💍 allow explicitly opening more menu

* test: 💍 try opening more panel in functional tests

* test: 💍 disable some tests

* chore: 🤖 remove unused code

* test: 💍 use action test helper in unit tests

* refactor: 💡 add helper utility to generate actions in examples

* test: 💍 disable one more functional test

* test: 💍 improve how inspector is opened in functional tests

* test: 💍 enable functional test

* refactor: 💡 convert test suite to typescript

* test: 💍 move panel replace tests into a separate test suite

* test: 💍 move panel cloning tests to a separate test suite

* test: 💍 set up dashboard context menu test suite

* test: 💍 enable few panel context menu tests

* test: 💍 enable saved search panel tests

* test: 💍 enable expanded panel context menu tests

* test: 💍 remove render complete awaits

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-21 15:42:46 +02:00
Greg Thompson 07891be8fd
Upgrade EUI to v29.0.0 (#77802)
* eui to 29.0.0

* src snapshot updates

* x-pack snapshot updates

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-18 12:25:37 -06:00
Larry Gregory 613509d81a
Improve home screen for limited-access users (#77665) 2020-09-18 08:54:08 -04:00
Pierre Gayvallet 3759063e81
remove legacy ES plugin (#77703)
* remove legacy ES plug

* fix types

* delete some `legacy/core_plugins` references

* fix type
2020-09-18 09:30:13 +02:00
Spencer 12e614d6ac
remove visual aspects of baseline job (#77815)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-17 19:40:15 -07:00
Robert Oskamp 5f19be557a
Functional tests - add supertest for test_user (#77584)
This PR adds a supertest instance that runs with test_user permissions to the security service.
2020-09-17 10:42:40 +02:00
Matthias Wilhelm 0dc0f1f34c
[Discover] Migrate discover.html Angular template to React (#75784)
Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>
2020-09-17 07:51:31 +02:00
Alejandro Fernández Haro fd1aad0711
[Application Usage] Daily rollups to overcome the find >10k SO limitation (#77610)
Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>
2020-09-16 20:08:06 +01:00
Greg Thompson e5b302eeee
Upgrade EUI to v28.4.0 (#77098)
* eui to 28.4.0

* euiselectableoption fixes

* src snapshot updates

* x-pack snapshot updates

* htmlidgenerator mock

* merge resolution

* clean up

* snapshot update

* prevent api changes
2020-09-16 12:10:10 -06:00
Rashmi Kulkarni 04a5a4c0ca
using test_user with minimum privileges for lens functional ui tests (#76673)
* lens modified privs

* lens reporting test

* new role added -global_dashboard_all

* remove unwanted file

* added the reverted file

* precommit hook fix

* moved the navigateToApp to the before method

* moving the navigateToApp to before method

* closing the alert window if open in the test_user method

* adding the false param

* addressed review comments

* added common PageObjects

* removed common

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-16 10:57:22 -07:00
Lee Drengenberg 23a0dcebe2
scroll to top of #kibana-body before trying to click createIndexButton (#77550)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-16 12:21:19 -05:00
Tyler Smalley 9acf8d2656
Adds @kbn/utils package (#76518)
Moves common utility functions to obtain the repository root,
paths (config/data), and Kibana package.json to a @kbn/utils package.
Moving these existing functions allows them to be used in production, in
other packages because of Kibana.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-09-15 10:34:39 -07:00
Stratoula Kalafateli 98113eeb1b
[Functional] Fixes cloud failures on TSVB markdown (#77158)
* [TSVB] Remove the char by char typing on markodown

* revert

* Add the markdown to be computed immediately and give some time to compute it

* Add retry to locate TSVB tabs
2020-09-15 17:02:03 +03:00
Dmitry Lemeshko 1ab229aea8
[x-pack/test] convert PO to typescript, improve find/testSubject usage (#77389) 2020-09-15 15:43:56 +02:00
Pierre Gayvallet 043ef5e1d7
Create the @kbn/std package (#77329)
* move `src/core/utils` to the @kbn/std package

* update README

* update codeowners and add yarn lock file

* remove export from src/core/public and src/core/server and use package import instead

* update generated doc

* adapt forgotten import

* update `data` plugin doc
2020-09-15 15:21:05 +02:00
Mikhail Shustov e7d8ea3927
Extract src/core in a separate TS project (#76785)
* break dependency on data plugin TS code

* move global typings to @kbn/utility-types

* import types from @kbn/utility-types

* remove type dependency on plugins

* add intermediate js files to break dependency on outter TS code

* temp type declaration for query-string

* declare src/core project

* export types to reference in the built d.ts files

* reference core project

* move jest types out of kbn/utility-types due to a clash with mocha types

* fix wrong es_kuery path and ts project paths

* reference core from packages consuming it

* x-pack & oss should use the same lodash version

* Revert "x-pack & oss should use the same lodash version"

This reverts commit 79cec5781e.

* use the same lodash version

* fix @types/lodash TS2300: Duplicate identifier error

* fix wrong imports

* update docs

* update docs

* add a comment why file is needed
2020-09-15 12:41:27 +02:00