Commit graph

25627 commits

Author SHA1 Message Date
Luke Elmers
1e016a62a9
Fix broken filtering on metric visualizations. (#38029) 2019-06-05 11:48:30 -06:00
Justin Kambic
e3e7501236
Remove "common" options from SDP that have a 0ms difference between end and start time. (#37395) 2019-06-05 13:44:14 -04:00
Vitali Haradkou
a7dedb63d5
[TSVB] [AT] implement new test cases for time series formatter (#37506)
* implement new test cases for time series formatter
2019-06-05 18:13:04 +03:00
Nick Peihl
77272ab040
Use production EMS manifest (#38050) 2019-06-05 07:54:05 -07:00
Dmitry Lemeshko
27e219e20b
functional tests/firefox wait for loading after page refresh (#38082) 2019-06-05 16:52:48 +02:00
Ryan Keairns
858215caf9
default shape aspect ratio to false (#38030) 2019-06-05 09:26:07 -05:00
Clint Andrew Hall
fbd7e890cf
[Canvas] Interpreter type conversion (#37300)
* Move Expression types to OSS.

* Add interfaces for KibanaContext and KibanaDatatable types.

* Convert esaggs expression function to TypeScript.

* Clean up KibanaDatatable and KibanaContext types.

* Convert functions to use new Interpreter types

* Update ArgumentString-related types to simply be TypeString.

* Rename types.ts to index.ts so types can be imported at the top level.

* Update ArgumentString-related types to simply be TypeString.

* Rename types.ts to index.ts so types can be imported at the top level.

* Remove unused code from arguments types.

* Convert x-pack imports of OSS plugins from relative to absolute.

* Fix esaggs import.

* Addressing self feedback
2019-06-05 09:25:06 -05:00
Tiago Costa
162e13dbdf
Relative cache loader (#36131)
* chore(NA): first efforts to enable cache-loader relative paths and disable babel-register cache. chore(NA): allow to use cache-loader results everywhere as a persistent cache.

* chore(NA): last change to support cache loader across envs.

* fix(NA): cache-loader config generator function scope.

* refact(NA): static cache config for dll compiler.

* chore(NA): support for force writable cache flag. use built assets for cache on distributable.

* chore(NA): update cache-loader to last version. fix(NA): logic bug with force writable cache flag.

* chore(NA): move optimize cache to built_assets.

* chore(NA): relative paths for sourcemap configurations.

* chore(NA): remove redudant check for process.env var.

* refact(NA): simplify double negated expression.

* chore(NA): remove webpack prefix from devtoolModuleFilenameTemplate.

* chore(NA): rename cache write force flag to KBN_CACHE_LOADER_WRITABLE.

* chore(NA): readd babel register cache.

* chore(NA): change .cache to .ui_bundles_cache

* chore(NA): change .ui_bundles_cache to cache/ui_bundles

* chore(NA): update gitignore with .babel_register_cache.json

* chore(NA): rollback devtool module filename template to asbolute resource path.

* chore(NA): apply cache-loader patch.
2019-06-05 15:17:56 +01:00
Brandon Kobel
b78aba3298
Updating mixin-deep to 1.3.1 (#38057) 2019-06-05 06:40:52 -07:00
Mike Côté
9aa2ca8465
Fix URLs from displaying too long in saved objects management UI (#37987)
* Fix URLs from displaying too long

* Add encodeURIComponent
2019-06-05 09:38:14 -04:00
James Gowdy
8bdecb0f36
[ML] Fix for constant polling of deleting job tasks (#38013)
* [ML] Fix for constant polling of deleting job tasks

* fixing comment
2019-06-05 14:05:25 +01:00
Justin Kambic
21de9bc1d1
[Uptime] [Bug] Disable integration links for apps that are not present (#37284)
* Add tests and checks for disabled/enabled integration link.

* Add empty state if all integrations are unavailable.

* Fix broken type.
2019-06-05 08:42:16 -04:00
Justin Kambic
1080dc4cc9
Remove deprecated feature from elasticsearch queries. (#37995) 2019-06-05 08:40:24 -04:00
Mike Côté
a537aaed6b
Update import saved objects API docs to use curl examples (#37997)
* Remove copy as curl

* Update import docs to use curl examples
2019-06-05 07:49:47 -04:00
Mike Côté
9772ab5cd8
Fix export saved objects API docs (#37991) 2019-06-05 07:47:21 -04:00
Pete Harverson
4a3034de49
[ML] Fixes loading of Single Metric Viewer if partition field is text (#37975)
* [ML] Fixes loading of Single Metric Viewer if partition field is text

* [ML] Fix failing test and edit translations for cardinality check

* [ML] Edits to fields_service.js following review
2019-06-05 12:02:03 +01:00
Silvia Mitter
d8b0368c5e
[apm] update index pattern (#37866)
related to https://github.com/elastic/apm-server/pull/2239
2019-06-05 11:49:57 +02:00
WangQianliang
84f258aad8
fix(code/frontend): should not polling status if import repo not succeed (#37955) 2019-06-05 17:22:37 +08:00
WangQianliang
7b1e72aafa
fix(code/frontend): improve regexp that matches the container of a symbol (#37856) 2019-06-05 17:14:15 +08:00
Joe Reuter
4c80466d23
Add error handling to expression runner (#37968) 2019-06-05 10:31:06 +02:00
WangQianliang
61d4e085b4
fix(code/frontend): catch structure generating error in saga (#37957) 2019-06-05 14:59:10 +08:00
Pengcheng Xu
64be596fb1
[Code] fix url and encoding for java langserver on Windows (#38064) 2019-06-05 13:59:53 +08:00
Fuyao Zhao
3d3dc04018
[Code]: Use more robust way to handle url (#38060) 2019-06-04 22:00:15 -07:00
Yulong
6057340112
[Code] fix hover in monaco-editor 0.17 (#37964) 2019-06-05 10:12:35 +08:00
igoristic
0a9585f137
Optimized content to be more vertical for resizing consistancy (#37120)
* Optimized content to be more vertical for resizing consistancy

* Fixed snapshots

* Feedback changes

* Update _summary_status.scss

* Fixed column order for testing
2019-06-04 19:55:57 -04:00
Mengwei Ding
91483c87e9
[Code] use empty placeholder when search filters returns empty results (#38006) 2019-06-04 16:44:52 -07:00
Luke Elmers
44964d1985
Fix bad type import from interpreter. (#37741) 2019-06-04 17:35:54 -06:00
Mengwei Ding
e310bd2859
[Code] Filter out binary files for indexer (#37945) 2019-06-04 14:51:35 -07:00
Mengwei Ding
c741e28857
[Code] update percentage (#38003) 2019-06-04 14:50:06 -07:00
Brandon Kobel
8aaa7532df
Fixing isMigrated bug, when migrations failed we incorrectly ignored it. (#37674)
Prior to this change, when migrations failed (for example when a
.kibana_1 index already exists and no alias does) the awaitMigration
promise would resolve incorrectly. This allowed subsequent plugins,
including Spaces, to proceed using the SavedObjectsClient/Repository
to create documents. This commonly caused a .kibana index to be created,
which would then block the creation of a .kibana alias, and everything
would grind to a halt.
2019-06-04 14:30:25 -07:00
Catherine Liu
73e764e58a
[Canvas] Fixes broken elements in web logs sample data workpad (#37931)
* Fixed broken elements in logs sample workpad. Cleaned up expression formatting in each element

* Removed return characters at the beginning of expressions
2019-06-04 13:39:27 -07:00
Chandler Prall
f8a75dcce0
Make plugins/reporting config snapshot deterministic (#38019) 2019-06-04 16:24:54 -04:00
Fuyao Zhao
e5a0348b16
[Code]: add ui.enabled flag and fix uneccessary usage of enabled flag (#38018) 2019-06-04 13:18:19 -07:00
Frank Hassanabad
5cc41b3b06
[SIEM] Authentication fixes for winlogbeat and ordering (#37718)
## Summary
  * Enabled winlogbeat to work with workaround for authentication_failed (until that is fixed)
  * Fixed ordering to be successes first, failures second
  * https://github.com/elastic/ingest-dev/issues/491
  * https://github.com/elastic/ingest-dev/issues/469

### 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~~
~~- [ ] [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-06-04 13:18:45 -06:00
Michael Marcialis
3624386c4c
[SIEM] Host Details Page Updates (#37769)
* toggle to exclude host ID links on host details pg

* first attempt at hiding host column

* switch to conditionally splicing array of columns

* exclude dest from auth table on host details pg

* minor overview style touchups

* rm some extranous EuiFlexGroup; more need removal

* snapshots update

* Revert "snapshots update"

This reverts commit bdd6b8e316.

* update siem snapshots

* remove unused arg

* change uncommon process column order per #503

* simplify if condition, per steph

* update tests, per steph

* simplify `hostIdRenderer` per xavier

* update snapshots

* fix/improve unit tests, per xavier

* Revert "update snapshots"

This reverts commit dc0f79606b.

* add host links in uncommon processes table

* update uncommon process test, thx to xavier
2019-06-04 15:09:39 -04:00
Garrett Spong
cd4f860cd5
[SIEM] Fix IP Overview query to query for most recent Host (#37723)
## Summary

As outlined in https://github.com/elastic/ingest-dev/issues/453, this PR fixes the `IP Overview` query to query for the most recent Host.

Now the Host Data shown will be the most recent host for the given IP regardless of whether `Source` or `Destination` is selected in the FlowTargetSelect.

![image](https://user-images.githubusercontent.com/2946766/58731558-46fb5200-83ac-11e9-97d5-7db5dd8ac84e.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-06-04 10:22:24 -06:00
Lee Drengenberg
e9938a54b1
Add 1/2 second sleep to fix test (#37903) 2019-06-04 11:16:52 -05:00
CJ Cenizal
03d8fd5459
Add repository-azure autocompletion settings to Console (#37935)
Add repository-azure as an option when creating a repository.
2019-06-04 09:03:03 -07:00
Ryan Keairns
beb651f3cc
[Canvas] Fix workpad list overflow (#37345)
* fix workpad list overflow

* make file picker full width on small devices

* fix modal height, add comments
2019-06-04 09:11:27 -05:00
Matthew Kime
964f9e2d41
remove unneeded eslint-disable directives (#37922)
* remove unneeded eslint-disable directives
2019-06-04 07:53:22 -05:00
Xavier Mouligneau
5ac71cf428
Fix bug when you delete column (#37946) 2019-06-04 08:19:44 -04:00
Justin Kambic
790bfedda6
Add functional test to cover heartbeat location data. (#37891) 2019-06-04 08:19:01 -04:00
Ioannis Kakavas
1a06b0ac6b
Add section about OpenID Connect in docs (#37525) 2019-06-04 15:03:05 +03:00
Ahmad Bamieh
55e36a04aa
[i18n] [docs] Update docs to encourage static i18n import (#37858)
* update documentation

* Update docs/development/plugin/development-plugin-localization.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update packages/kbn-i18n/GUIDELINE.md

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update packages/kbn-i18n/GUIDELINE.md

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update packages/kbn-i18n/GUIDELINE.md

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update packages/kbn-i18n/GUIDELINE.md

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update packages/kbn-i18n/GUIDELINE.md

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update packages/kbn-i18n/GUIDELINE.md

* Update packages/kbn-i18n/GUIDELINE.md

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update packages/kbn-i18n/README.md

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update packages/kbn-i18n/README.md

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
2019-06-04 15:01:11 +03:00
Larry Gregory
54af64d416
Feature Controls - automatically grant access to short urls (#37532)
* automatically grant access to short urls

* adds API integration tests

* Update x-pack/test/api_integration/apis/short_urls/index.ts

Co-Authored-By: Brandon Kobel <brandon.kobel@gmail.com>
2019-06-04 07:47:45 -04:00
Larry Gregory
227feeb243
Feature Controls - update base privilege tooltip (#37868) 2019-06-04 06:20:24 -04:00
Larry Gregory
7647620cfc
Security - display message when logging out of kibana (#37234)
* display message when logging out of kibana

* update provider tests

* fix token logout test

* remove newline
2019-06-04 06:18:48 -04:00
Maryia Lapata
b5c75207e9
[Vis: Default editor] EUIficate IP Ranges (#36896)
* Create IpRangeType and IpRanges controls

* Add validation

* Refactoring

* Add behavior when discarding changes

* Refactoring: create common input list

* Remove old template

* Move add btn to input_list, add placeholder

* Remove unused directives

* Remove unused translations

* Refactoring

* Use EuiButtonGroup instead of toggle button

* Update options ids, add aria-labels

* Remove unused translations

* Update mask model, update TS, update aria labels

* Add validation for CIRD mask
2019-06-04 12:04:43 +03:00
James Gowdy
dce42af83e
[Watcher] Reverting incorrectly removed scope parameters (#37875)
* [Watcher] Reverting incorrectly removed scope parameters

* removing  no-unused-vars comments
2019-06-04 09:59:56 +01:00
James Gowdy
5016a63460
[ML] Reverting incorrectly removed scope parameters (#37873)
* [ML] Reverting incorrectly removed scope parameters

* removing  no-unused-vars comments
2019-06-04 09:59:34 +01:00