Commit graph

23546 commits

Author SHA1 Message Date
Philipp B
3969a6c809
Search on advanced settings: screenreader announces that results are getting filtered #22686 (#33234)
* announce that layout has been changed
* proper delaying algorithm
* proper i18n key
* set a proper FormattedMEssage options
* turn timer off once component is unmounted while delaying is in progress
2019-04-01 11:18:02 +03:00
Søren Louv-Jansen
2d04e33288
[APM] Remove open-ended index signatures from interfaces (#34146) 2019-04-01 10:01:21 +02:00
Alexey Antonov
6d0b7f4d91
[TSVB] Code cleanup - remove unused file (core_plugins/metrics/public/lib/create_new_panel.js) (#33968) 2019-04-01 10:43:25 +03:00
Spencer
c982856d31
[kbn/es] print headers when requests fail (#34237) 2019-03-31 18:17:12 -07:00
spalger
d7b2889b28 [packer_cache] make packer_cache idempotent
When issues arise while building the packer_cache, like the ongoing es snapshot download errors, the cache scripts
are retried (up to 5 attempts). In order for this to work the script needs to be idempotent, but `mkdir` is failing
if the .chromedriver or .geckodriver directory already exists because they were not using the -p option.
2019-03-31 18:13:10 -07:00
Spencer
7202398c01
[geckodriver] use cached archive if it matches the dep (#34214)
We've seen a good number of geckodriver download failures recently, so we should treat it the same way as chromedriver and cache the download in the packer cache and reuse it when possible.

See https://github.com/vladikoff/node-geckodriver/pull/62
2019-03-31 15:29:36 -07:00
Liza Katz
3fc15bd8f7
New platform cleanup autoload - step 2 (#33807)
* Explicit dependencies to doc_title

* Explicit dependencies to
    - kbn_top_nav
    - saved_object_save_as_checkbox

* Explicit dependencies to filter_bar

* Explicit dependency to query_bar

* Removed modules from autoloades that never
used implicitly:
- bound_to_config_obj
- debounce
- filter_manager
- index_patterns
- parse_query
- persisted_log
- timefilter

* Removed modules from autoload (never used implicitly)
- events

* Explicit dependency to bind + typo fix

* Explicit dependency to fancy_forms

* Explicit dependency to $listen

* Explicit dependency to timepicker

* Moved kbn-infinite-scroll directive to doc_table

* Explicit dependency on directives
- css truncate
- inequality

* Explicit dependecy to input_focus directive

* Explicit dependency to json-input directive

* Explicit dependency on directives:
 - input_focus
 - paginate

* Explicit dependency on paginated-selectable-list directive

* Explicit dependency on saved-object-finder directive

* Moved validate_json directive into agg_types

* Don't include directives implicitly

* Moved comma list
Explicitly included sort_prefix_first filter

* Deleted unused filter unique

* Deleted unused filter startFrom

* Removed unused filter matchAny

* Moved filter trustAsHtml to kbn_doc_views
Added explicit import to uriescape

* Moved markdown filter to notify

* Explicitly import label filter

* Remove implicit autoload of filters
2019-03-31 11:55:55 +03:00
Alexey Antonov
852b6e9b1a
x-pack/test/saved_object_api_integration/common/suites/find.ts Fix broken build (#34224) 2019-03-30 20:23:50 +03:00
Alexey Antonov
ed57d3b4d3
Visual builder: percentile ranks should allow multiple values (#33642)
* Visual builder: percentile ranks should allow multiple values

Fix: #33144

* Visual builder: percentile ranks should allow multiple values - fix translation

Fix: #33144

* Visual builder: percentile ranks should allow multiple values - fix translation

Fix: #33144

* Visual builder: percentile ranks should allow multiple values  - add migration script

* Visual builder: percentile ranks should allow multiple values  - fix tests

* Visual builder: percentile ranks should allow multiple values  - add executeMigrations function

* Visual builder: percentile ranks should allow multiple values  - fix table view label

* Visual builder: percentile ranks should allow multiple values  - fix comments

* Visual builder: percentile ranks should allow multiple values  -add multi value row

* Visual builder: percentile ranks should allow multiple values  -add multi value row

* Visual builder: percentile ranks should allow multiple values   fix review comments

* Visual builder: percentile ranks should allow multiple values   fix review comments

* [TSVB] Code cleanup - remove unused file (core_plugins/metrics/public/lib/create_new_panel.js)
2019-03-30 17:41:35 +03:00
Spencer
41e49cf93f
[yarn] upgrade geckodriver (#34216) 2019-03-29 21:05:24 -07:00
spalger
dbb80992ab skip failing suite 2019-03-29 18:07:55 -07:00
spalger
8ccd4334aa fix cp command syntax 2019-03-29 15:55:19 -07:00
CJ Cenizal
8d262bded5
Rename user_action telemetry app to ui_metric (#33904)
* Rename internal references to user actions to UI metrics in Index Management, ILM, and Rollups.
2019-03-29 15:26:31 -07:00
spalger
971533a29d capture geckodriver in packer cache 2019-03-29 15:12:32 -07:00
CJ Cenizal
4e51ab863a
Fix docs typo sniffOnConectionFault -> sniffOnConnectionFault. (#34189) 2019-03-29 12:50:06 -07:00
Mikhail Shustov
5534249ea4
[New platform] Export types from root levels (#33973)
* export flatten types from the root

* add Chrome prefix for chrome types

* export types for server services

* remove comment

* cleanup CoreSetup types

* rename to setup

* Apply @eliperelman suggestions from code review

Co-Authored-By: restrry <restrry@gmail.com>
2019-03-29 19:22:31 +01:00
CJ Cenizal
8d64071d7f
Clarify rules for which files are run as Jest integration tests (#33869)
* Add RESERVED_DIR_JEST_INTEGRATION_TESTS to src/dev/constants to aid discoverability of which directory names are reserved.
* Add negation rules so the Jest integration tests script ignores test files inside of __jest__/integration_tests dirs.
2019-03-29 10:34:09 -07:00
Brandon Kobel
b21f048df9
Upgrading less to ^2.7.3 (#34168) 2019-03-29 10:21:39 -07:00
Brandon Kobel
5aa05de480
Updating merge to 1.2.1 (#34167) 2019-03-29 10:17:53 -07:00
Melissa Alvarez
8cc60c2460
[ML] Anomaly Explorer - filter addition should be cumulative with existing selectedCells data (#33753)
* Update view by for filter if no selected cells

* keep timerange reference in overview swimlane for filter

* remove obsolete comments

* If AND filter set view by to jobID as others have no results

* clear cellSelection from appstate as well when clearing filter
2019-03-29 11:32:39 -04:00
Jonathan Budzenski
28f4bfabf8
remove useUTC deprecation, set default timezone to local (#22696)
* remove useUTC deprecation, set default timezone to local

* no-unused-vars

* rm set, unset import
2019-03-29 10:29:07 -05:00
Pete Harverson
cd087e04f3
[ML] Fixes line wrap for jobs list timestamp cell in Firefox (#34150) 2019-03-29 14:37:27 +00:00
Pete Harverson
e00dae7405
[ML] Extends support for anomaly charts when model plot is enabled (#34079)
* [ML] Extends support for anomaly charts when model plot is enabled

* [ML] Edits to util functions following review
2019-03-29 14:12:54 +00:00
Søren Louv-Jansen
979c8a750c
[APM] Fix transaction sample on error page (#34048) 2019-03-29 09:06:12 +01:00
Mikhail Shustov
2489180999
[New platform] Restrict import from core&plugin internals for js files (#33697)
* restrict import from core&plugin internals

* Fork import/no-restricted-paths and add allowSameFolder option

Our use case requires to restrict imports from plugin folders, which names are unknown for us yet. We cannot use 'import/no-restricted-paths' in the current state, because if we define 'from: plugins/*/server/' the rule will report all relative imports in the same folder as well. To fix this problem we added another option 'allowSameFolder' that makes the rule to ignore imports in the same folder.

* update notices

* add basePath option

* support glob pattern instead of reagexp

* remove @notice, make basePath required
2019-03-29 08:48:32 +01:00
Spencer
eefa2a54af
[kbn/es] print first 500 bytes of invalid content (#34133)
We added checksum verification to `@kbn/es` in https://github.com/elastic/kibana/pull/33893, which is working, and in turn proves that using the Artifact API to download snapshots wasn't enough to fix the issues we've been seeing. In https://kibana-ci.elastic.co/job/elastic+kibana+7.0/412/JOB=kibana-ciGroup8,node=immutable/console we see:

```
00:14:20.762  │ info Installing from snapshot
00:14:20.763      │ info version: 7.0.0
00:14:20.763      │ info install path: /var/lib/jenkins/workspace/elastic+kibana+7.0/JOB/kibana-ciGroup8/node/immutable/kibana/.es/test-97zzlri1nyb
00:14:20.764      │ info license: oss
00:14:20.764      │ info downloading artifact info from https://artifacts-api.elastic.co/v1/versions/7.0.0-SNAPSHOT/builds/latest/projects/elasticsearch
00:14:20.852      │ info downloading artifact from https://snapshots.elastic.co/7.0.0-ea741e68/downloads/elasticsearch/elasticsearch-oss-7.0.0-SNAPSHOT-linux-x86_64.tar.gz
00:14:22.765      │ info downloading artifact checksum from https://snapshots.elastic.co/7.0.0-ea741e68/downloads/elasticsearch/elasticsearch-oss-7.0.0-SNAPSHOT-linux-x86_64.tar.gz
00:14:22.818 
00:14:22.818 artifact downloaded from https://snapshots.elastic.co/7.0.0-ea741e68/downloads/elasticsearch/elasticsearch-oss-7.0.0-SNAPSHOT-linux-x86_64.tar.gz does not match expected checksum
00:14:22.819   expected: 1e5188c1410e0299777dd1cb9638aa12de4067ea80a77ff6723986746bbc7b1a35d580023f605e6e1ae84887e675ba10184032da80240a42289ee6c5d5361c66
00:14:22.820   received: 7630553ab83828196931917aa15f17bf1f31d541fd11e0f1c82d89f294fbe47dca7be99d96da5baa0a9545712e3c9340f9b3d989e5056a3f9471f43bb582becc
```

The new logging shows that we used the explicit URL for the artifact `https://snapshots.elastic.co/7.0.0-ea741e68/downloads/elasticsearch/elasticsearch-oss-7.0.0-SNAPSHOT-linux-x86_64.tar.gz` and still got invalid data, which confirms our suspicion that something funky is happening with the CDN. In order to understand more about what's going on here this PR adds a buffer that caches the first 500 bytes from the artifact response and will log it in utf8 format if the checksum doesn't match. I'm hoping we're going to see some HTML or something that will help explain what's happening.
2019-03-28 19:41:07 -07:00
spalger
179b9be6bb disable flaky test (#33468) 2019-03-28 19:21:34 -07:00
Joe Fleming
65a5d528b1
Test: element filter expressions (#33908)
* test: add more filter elements

* test: add getGlobalFilterExpression test

* chore: only iterate filter elements once
2019-03-28 15:03:32 -07:00
Aleh Zasypkin
7420e2ee65
Use credentials: same-origin when we fetch translations JSON. (#34036) 2019-03-28 22:56:59 +01:00
Spencer
8be6c3415f
fix path to @kbn/expect (#34114) 2019-03-28 14:31:08 -07:00
Spencer
bedf74faf2
[kbn/es] use artifact api to determine snapshot url (#33893)
* [kbn/es] use artifact api to determine snapshot url

* actually use AbortController

* [kbn/es] handle optional os and jdk indicators in artifact name
2019-03-28 14:29:39 -07:00
Lukas Olson
518f10d4e1
[Courier] Remove unused merge duplicate request logic (#33907)
* Remove unused courier logic to merge duplicate requests

* Remove unused courier logic to merge duplicate requests

* Remove accidental console log

* Revert change to filter aborted statuses

* Revert other change

* Revert other change

* Remove space

* Fix test

* Move ngMock back to where it belongs
2019-03-28 13:49:50 -07:00
Josh Dover
283fd2e4a6
Fix regex to select paths correctly. (#34106) 2019-03-28 15:02:17 -05:00
Christiane (Tina) Heiligers
fd3535fdcf
Remove dangerously set inner html (#33976)
Fixes #24781
Replaces dangerouslySetInnerHtml with JSX using FormattedMessage for i18n.
2019-03-28 12:56:36 -07:00
Rudolf Meijering
5f511fcd83
Remove ui/jquery (#33855) 2019-03-28 20:53:07 +01:00
spalger
980d736c04 disable flaky test 2019-03-28 12:36:48 -07:00
dave.snider@gmail.com
d2c077ae59
eui 9.7.1 (#34098) 2019-03-28 12:27:35 -07:00
Chris Roberson
bbb21b1c85
[Monitoring] Address shard allocation color mismatch (#34086)
* Address mismatch and add a couple starter tests

* More tests and fixing a bug
2019-03-28 14:57:14 -04:00
Matt Apperson
8ff80cb589
[BeatsCM] Move API to new return format (#31660)
* add and assign types

* move error management to the lib vs each route. More DRY and easier to test

* move more endpoints to the new format

* fix result for not-yet-pages beats list

* refine more endpoints

* move more routes to new format

* UI now propperly connected to the API

* uodate tests and documenting testing in readme
2019-03-28 13:54:46 -04:00
Nathan Reese
d6eb59179f
[Maps] apply filters to join SearchSource request (#34072)
* [Maps] apply filters to join SearchSource request

* add functional test verify filter applied  to join in dashboard
2019-03-28 11:38:33 -06:00
Lisa Cawley
1d2fbf827c
[DOCS] Fixes anchor in ordered list (#34092) 2019-03-28 10:17:35 -07:00
Sarah Hersh
edbc3d49a7
[DOCS]Update UI names in Reporting doc (#34073) 2019-03-28 13:16:28 -04:00
Lukas Olson
b4bafa5ff6
Allow negative values for custom ranges in metric and gauge visualizations (#33814)
* Fix inequality directives to handle negative values

* Fix test
2019-03-28 10:13:10 -07:00
Walter Rafelsberger
9d60ad3831
[ML] Reverts completely resetting explorer state on job selection change. (#34084) 2019-03-28 17:57:46 +01:00
Aleh Zasypkin
2073a6f165
Typesciptify Basic Authentication provider and move its tests to Jest. (#34045) 2019-03-28 17:22:44 +01:00
Philipp B
7e43afaad0
(Accessibility) "Add" buttons provide no context on Sample Data page. (#33769)
* aria described by for sample button
2019-03-28 17:59:19 +03:00
Søren Louv-Jansen
30c63f57fd
[APM] useFetcher: Replace react-redux-request with hooks and Context API (#33392) 2019-03-28 14:56:56 +01:00
Nathan Reese
a7062883d2
[Maps] Add clone layer to layer actions (#33853)
* [Maps] Add clone layer to layer actions

* remove console statement

* do not show clone action when isReadOnly

* clean up

* combine getLayerList uses into single getLayerById function

* update jest snapshots
2019-03-28 07:42:05 -06:00
Justin Kambic
062cfc7efe
Remove crosshair synchronization to avoid display bug. (#33660)
Fix broken snapshot.

Fix busted type.
2019-03-28 09:13:17 -04:00
Peter Pisljar
06d7ebef8f
moving interpreter functions to their appropriate plugins (#33552) 2019-03-28 13:40:31 +01:00