Commit graph

27764 commits

Author SHA1 Message Date
spalger
f661af16e5 skip flaky suite (#50079) (#50074) (#48709) (#50078)
(cherry picked from commit 78e9d93268)
2019-11-08 10:05:38 -05:00
Brandon Kobel
9d93f1f583
Revert "No response compression when there is a referer (#47751)" (#49987) (#50065)
This reverts commit 85e5885ccf.
2019-11-07 06:01:35 -08:00
Ahmad Bamieh
c8c2de0dbf
[i18n] integrate translations after 7.5 FF (#50055) 2019-11-07 11:19:27 +02:00
Dmitry Lemeshko
eb33696434
update chromedriver dependency to v78 (#49737) (#50068) 2019-11-07 01:56:25 -05:00
Phillip Burch
1dcfe285bc
Make sure that filter query bar can be set to null (#50070) (#50073) 2019-11-06 17:33:05 -06:00
dave.snider@gmail.com
23d86a17a0
remove pound symbol from saved queries (#50038) (#50041) 2019-11-06 03:45:20 -08:00
Chris Roberson
a615e8c803
[Monitoring] Ensure cloud cannot see setup mode (#49223) (#50017)
* Ensure cloud cannot see setup mode

* Remove cloud check from collection status, as it's an injected var now

* Man these tests suck
2019-11-05 07:45:49 -05:00
Patrick Mueller
c77278f7f4
[Telemetry] Remind users about telemetry on each minor version (#49644) (#50026)
resolves #49519

If a user has previously opted out of telemetry, this PR will
cause them to be prompted again, when the major or minor version
of Kibana changes. Previously, once opted out, they would never
get prompted again.
2019-11-05 01:05:12 -05:00
Robert Oskamp
a44641d2e4 Disable advanced job tests 2019-11-04 18:14:20 +01:00
dave.snider@gmail.com
f4477ec348
Improve dashboard filters display to use color as well as text for negated filters (#49939) (#49992)
* Better key out negative filters

* fragments not spans

* Alter filter bar colors

- Red border for excluded
- Match pinned color to border color

* Fix title by using `useInnerText`

* Fix alignment of add filter button

* Moving SASS variables to its own file
2019-11-02 13:48:37 -07:00
Caroline Horn
09dd7fdd3a
Add specificity to EuiComboBox focus ring hack (#49981) (#49989) 2019-11-02 10:01:47 -04:00
Gidi Meir Morris
d361a1ee9c
[task-manager] Improves messaging on errors due to inline scripts being disabled (#49860) (#49956)
This PR detects when claiming tasks fails due to inline scripts being disabled in Elasticsearch and improves the message reported in the Kibana log.
2019-11-01 21:48:33 +00:00
Chris Davies
b61401233f
Fix Lens auto date bug (#49967) (#49975) 2019-11-01 17:19:05 -04:00
Justin Kambic
908ec4c823
Add assertCloseTo calls to prevent off-by-one errors in unit tests for backend adapter. (#49928) (#49949) 2019-11-01 12:27:59 -04:00
Wylie Conlon
7990eb9b6a
[Lens] Fix bug with switching from subtype to subtype (#49915) (#49931) 2019-10-31 18:48:15 -04:00
Spencer
cec8702ddc
[7.5] update elasticsearch to 16.5.0 (#49911) (#49926)
# Conflicts:
#	package.json
#	yarn.lock
2019-10-31 15:44:17 -07:00
Lisa Cawley
40d2a51b04
[DOCS] Removes Extend your use case section (#49812) (#49916) 2019-10-31 13:18:01 -07:00
Justin Kambic
3252a821b4
[Uptime] Add zero monitors down heading (#48257) (#49815)
* Add zero down heading.

* Create new heading component for snapshot.

* Add tests and cases for no monitors.
2019-10-31 16:06:58 -04:00
Justin Kambic
6a13a97375
[Core] Add different request lib to telemetry_analytics in place of $http (#49671) (#49888)
* Add axios to telemetry_analytics in place of .

* Remove axios in favor of fetch.
2019-10-31 16:04:30 -04:00
liza-mae
37caa6746e
Enable visual tests (#47861) (#49804)
* Enable visual tests

* Uncomment visual tests jobs

* More testing - use dev token and only run visual tests

* Fix dev token

* Fix token again

* Skip infra tests

* Set style of table

* Try setting discover sample size

* Fix Jenkinsfile

* Remove login_page test from config (it skipped but failing)

* Remove line

* Prep to merge, revert token and update Jenkinsfile

* Try skipping at Security level, instead of removing from config
2019-10-31 14:03:23 -06:00
Shahzad
bc77e711bf
[Uptime] Issue/48845 Disable filter and Add link to location docs when no location exists (#49175) (#49903)
* disable search text if no item exists

* update snaps
2019-10-31 20:36:38 +01:00
liza-mae
5d6cf13849
Add ability to whitelist visible elements in percy (#45733) (#49881)
* add ability to whitelist visible elements in percy

* allow white and blacklisting elements in visual tests

* remove unnecessary webElement methods

* refactor snapshot options to use show and hide

* refactor add/remove and visual test helpers

* [percy] rework css rules to allow hiding inside shown elements

* [percy] adjust logic to support showing inside hiding

* attach styles to hide percy when capturing the snapshot

* refactor in order to make sure all logic is executed if snapshot fails

* remove sleeps

* add back skipFirefox tag
2019-10-31 12:01:27 -06:00
Kaarina Tungseth
11c1518a0f
[DOCS] Canvas embeddable workpads (#45027) (#49883)
* [DOCS] New Canvas snapshots documentation

* Changes from 1-Oct meeting

* Some tweaks

* Added beta tag

* Fixes to images

* Comments from Gail and Tim

* New images

* Final changes
2019-10-31 10:58:07 -05:00
Spencer
d093e9a208
[7.5] use a custom wrapper around chance with longer defaults… (#49867)
* use a custom wrapper around chance with longer defaults to avoid conflicts

* fix a reference to chance

* fix another reference to chance service

# Conflicts:
#	x-pack/test/saml_api_integration/apis/security/saml_login.ts
2019-10-31 08:52:10 -07:00
Spencer
37b4dd230c
[7.5] FTR: fix "DevToolsActivePort file doesn't exist" error o… (#49834) 2019-10-31 07:07:28 -07:00
Aleh Zasypkin
908b83433b
[7.5] Fix link to OpenID Connect Elasticsearch guide from the Kibana OpenID Connect docs. (#49775)
Co-Authored-By: Lisa Cawley <lcawley@elastic.co>
2019-10-31 06:53:23 +01:00
Justin Kambic
a3c7930e2e
[Uptime] Add pagination functional test (#47633) (#49793)
* Remove depdency on legacy interface.

* Remove custom interface, use common breadcrumb type.

* Add HTML template for app react entry point.

* Update app props.

* Add constant for react app entry point.

* Remove dependency on legacy capabilities provider.

* Delete legacy kibana framework adapter.

* Add New Platform adapter, reference in startup code.

* Remove dependency on legacy capabilities function.

* Delete reference to obsolete interface.

* Fix busted types in new adapter.

* Add new plugin class, delete old bootstrap code.

* Update routing/functional tests.

* Provide default for potentially-undefined value.

* run x-pack-ciGroup6 40 times

* Reinsert firefox skip tag.

* Update functional tests to work with newly-merged fixtures.

* Add functional test for pagination.

* Update obsolete test snapshots.

* Return CI to normal.

* Return CI to normal.

* Fix broken test expect.

* Fix type-related issue in test and update snapshot.
2019-10-30 21:19:25 -04:00
Justin Kambic
37d3618d2a
Add HOC for wrapping snapshot histogram component. (#49268) (#49789) 2019-10-30 21:18:14 -04:00
Garrett Spong
ef4939d828
[SIEM] Fixes maps filter on array property to use single property value instead of array value (#49706) (#49784)
## Summary

Resolves https://github.com/elastic/kibana/issues/49534

Filtering on an array property within the map tooltip now uses the single property value instead of the array value. Ended up not showing more than 1 item as part of the `DefaultFieldRenderer` because of this open issue (https://github.com/elastic/ingest-dev/issues/474) which causes layout of subsequent items to be off.

<img width="715" alt="Screen Shot 2019-10-29 at 21 28 32" src="https://user-images.githubusercontent.com/2946766/67826918-c6906880-fa93-11e9-9c88-cbf85672ad99.png">


### 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-10-30 17:28:32 -06:00
Felix Stürmer
577bcbeb86
[7.5] [Logs UI] Fix log rate analysis tab title and route (#49… (#49780)
Backports the following commits to 7.5:
 - [Logs UI] Fix log rate analysis tab title and route (#49646)
2019-10-30 23:33:12 +01:00
Kaarina Tungseth
73b05fe9df
[7.5] [DOCS] 7.4.2 Release Notes (#49761) (#49807)
* [DOCS] 7.4.2 Release Notes

* Adds 48710 and 46332

* [DOCS] 7.4.2 Release Notes for 7.5
2019-10-30 16:50:56 -05:00
Steph Milovic
1d0c5546c5
[SIEM] fix bug that fails to match index patterns with leading wildcard (#49735) (#49787) 2019-10-30 15:32:36 -06:00
Justin Kambic
45559b5c8a
Right-align IP address column in pings list. (#49449) (#49748) 2019-10-30 16:03:30 -04:00
Lisa Cawley
bafeb13be5
[DOCS] Fixes link to Kibana monitoring documentation (#49528) (#49768) 2019-10-30 12:20:32 -07:00
Angela Chuang
1ac7d6db02
[SIEM] fix incorrect inspected query for kpi network (#49695) (#49756)
* fix incorrect inspected query for kpi network

* update mock data
2019-10-30 14:11:11 -04:00
patrykkopycinski
e88a3d48ca
[SIEM] Hide popover after choosing option from Timeline Settings popover (#49578) (#49746) 2019-10-30 18:00:17 +01:00
Zacqary Adam Xeper
1d6167a283
[Logs UI] Fix endless scrolling to load more entries (#49535) (#49663)
* [Logs UI] Fix endless scrolling to load more entries

* Make scrollable list state update more robust
2019-10-30 10:39:52 -05:00
Aaron Caldwell
742e8e16bb
[Maps] Add back removed logic copying feature properties for injected data (#49400) (#49699)
* Add back removed logic copying feature properties for injected data prior to modification

* Back out injected data and assign featureCollection to sourceDescriptor with __ prefix

* Review feedback. Ensure __featureCollection is always initialized minimally to a geojson object with an empty features array

* Check for null/undefined
2019-10-30 07:57:41 -06:00
Larry Gregory
8a8b042872
[7.5] [DOCS] - fixing references to kibana_user role (#49309) (#49720)
* fixing references to kibana_user role

* Update docs/uptime-guide/security.asciidoc

Co-Authored-By: Lisa Cawley <lcawley@elastic.co>


Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2019-10-30 08:46:22 -04:00
Alejandro Fernández
a9db01d569
[7.5] [Metrics UI] Tweak the z-index inventory toolbars (#4964… (#49715)
Having a z-index adds problems with the stacking of the dropdowns when
there are two toolbars together.
2019-10-30 13:20:21 +01:00
igoristic
a586f3025f
Added resize listener after handler was created (#49452) (#49708) 2019-10-30 04:32:11 -04:00
Xavier Mouligneau
2eb2e17e07
put back the code that make everything works (#49643) (#49676) 2019-10-29 22:09:28 -04:00
Wylie Conlon
2562c5866b
[Lens] Improve layer suggestions and fix layer crash in metric (#49389) (#49694)
* Add loading indicator to Lens workspace panel

* [Expressions] [Lens] Handle loading and errors in ExpressionRenderer

* Using loading$ observable and improve tests

* [Lens] Fix layer crash and improve layer suggestions

* Using CSS and to handle layout of expression renderer

Added TODO for using chart loader when area is completely empty

* Improve error handling and simplify code

* Fix cleanup behavior

* Fix double render and prevent error cases in xy chart

* Fix context for use in dashboards

* Remove className from expression rendere component

* Improve handling of additional interpreter args

* More layout fixes

- Hide chart if Empty not Loading
- Fix relative positioning for progress bar since className is no longer passed (super hacky)

* Build suggestions that remove layers

* Update tests and add keptLayerIds everywhere

* Fix bug where datatable would accept multi-layer suggestions

* Build more suggestions that work with metric/datatable

* Fix issue with chart switching from empty

* Fix datatable multiple layer issue
2019-10-29 20:48:54 -04:00
Wylie Conlon
398beccd4d
[Lens] Link to potential docs page (#49670) (#49690) 2019-10-29 20:48:35 -04:00
Chris Cowan
d80895cdf3
[Metrics UI] Remove points from charts on Metrics Explorer and Detail Page (#49500) (#49687)
* Removing points from Metrics Explorer and Metric Detail Page; Fixing bug with metric detail page labels;

* Remove points configuration
2019-10-29 16:03:37 -07:00
Chris Davies
d79bbabaa9
[Lens] Format the split series in XY charts (#49494) (#49681) 2019-10-29 18:21:31 -04:00
Chris Davies
14e2de3141
[Lens] Create special 'Records' field for count operation (#49376) (#49683) 2019-10-29 18:21:09 -04:00
Felix Stürmer
d8a3c53839
[7.5] [Logs UI] Fix index checkbox overlap of the analysis set… (#49660)
Backports the following commits to 7.5:
 - [Logs UI] Fix index checkbox overlap of the analysis setup dat… (#49489)
2019-10-29 22:48:53 +01:00
Garrett Spong
b72e45a8d3
[SIEM] Update ML incompatible jobs callout text (#49668) (#49674)
## Summary

Updates the placeholder text within the ML Anomaly Detection UI for when certain jobs are incompatible. To test, remove all `siem:defaultIndex` patterns -- this will not send any indices to the recognize API, and all jobs will be _incompatible_.

Resolves https://github.com/elastic/kibana/issues/49200

![image](https://user-images.githubusercontent.com/2946766/67798171-a4252d80-fa48-11e9-83a6-643302935ae5.png)


### 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)~
- [x] 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~
- [ ] ~[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-10-29 15:33:05 -06:00
Liza Katz
cab280abb7
Allow plugins to register top nav menu items (regression fix) (#48542) (#49649)
* Move top nav menu to its own plugin
Allow registering additional options from other plugins
Added demo plugin

* Added functional test to validate top nav registration

* Improved names

* Rename array

* Fixed lens tests

* Deleted old NavBarExtensionsRegistryProvider

* Fixed top nav menu test

* Attempt fixing test by clearing ui_actions on stop

* temporary disable test
2019-10-29 22:36:31 +02:00