Commit graph

25229 commits

Author SHA1 Message Date
spalger b815a45588 [renovate] disable semantic commit style 2019-05-30 00:51:24 -07:00
renovate[bot] 9256c74fdf Pin dependencies (#37406)
* Pin dependencies

* include core-js in babel packages

* specify core-js version when using `useBuiltIns`

* dedupe @babel/types to avoid "range of null" problem
2019-05-30 00:31:01 -07:00
WangQianliang 5d4c661ac3
fix(code/frontend): repo not exists error page (#36093)
fix(code/frontend): repo not exists error page
2019-05-30 14:57:11 +08:00
spalger 011141a008 [renovate] extend dependency groups 2019-05-29 23:14:55 -07:00
spalger cf047cb454 switch to explicitly authorizing renovate issues
https://github.com/renovatebot/config-help/issues/256#issuecomment-497210984
2019-05-29 22:45:39 -07:00
renovate[bot] b2340d5cae Pin dependencies (#37454) 2019-05-29 22:07:52 -07:00
spalger 2185039761 [renovate] enable rangeStrategy: pin to try avoiding rebases 2019-05-29 21:34:43 -07:00
Spencer c52f59fe50
Renovate - add package groups for test/task runners (#37455) 2019-05-29 21:08:06 -07:00
renovate[bot] fa597135bc Pin dependencies (#37404)
* Pin dependencies

* [eslint] ignore large files that take a long time to parse

* [eslint-plugin-import] force `querystring` to be considered a core module

* [eslint-plugin-import] auto-fix import order issues
2019-05-29 20:34:52 -07:00
Xavier Mouligneau 20df77a35a
[SIEM] Escape Query Bug (#37390)
* Fix Escape query bug on timeline query

* just realized with andrewG that updateColumns action is not called as before and also some attribute is not saved anymore in the columns attributes

* cleanup
2019-05-29 21:10:54 -04:00
Spencer acf1c03265
[Renovate] disable automatic rebase on base branch change (#37443) 2019-05-29 18:06:17 -07:00
Matt Bargar c9e52194b2
fetchIndexPatterns fixes (#37413)
Includes a couple of fixes for the fetchIndexPatterns utility function

Stop quoting search terms
Only call getFromSavedObject once on the default index pattern
2019-05-29 19:31:31 -05:00
Steph Milovic 85483396d8
[SIEM] Bugfix for reading initial URL state of timerange for timeline (#36954)
SIEM URL state bugfix and cleanup
2019-05-29 18:13:22 -06:00
Nathan Reese a3f5e9f83d
[Maps] only sync layer list state to mapbox once (#37133)
* [Maps] only sync layer list state to mapbox once

* clean up getDerivedStateFromProps logic
2019-05-29 17:38:50 -06:00
Nathan Reese c8177e07cb
[Maps] heatmap color ramp select and legend details (#37187)
* [Maps] heatmap color ramp select and legend details

* heatmap style editor

* add tests for color_utils

* add snapshot test for HeatmapStyleEditor

* change label to Color range

* update jest snapshot for label text change
2019-05-29 17:36:19 -06:00
Joe Fleming 6276a9b4af
Fix: ensure filter group always shows up in the sidebar (#37419)
* fix: ensure filter group always shows up in the sidebar

fixes #36950

* fix: verify argValue exists before adding to the choices list

Co-Authored-By: Catherine Liu <catherineqliu@outlook.com>
2019-05-29 16:25:45 -07:00
Frank Hassanabad e7f89d158c
[SIEM] Fixed timeline Epoch for zeek to not render in Epoch (#37290)
## Summary
  * Added a few functions to test for Epoch and correct things where they can
  * Added unit tests where there were none
  * Added unit test that exercises the failure (TDD)
  * Fixed the unit test and ensured the other unit tests still run
  * https://github.com/elastic/ingest-dev/issues/280

Before fix:
<img width="1272" alt="broken" src="https://user-images.githubusercontent.com/1151048/58518929-89375000-816e-11e9-858b-21daefc8b19c.png">

After fix:
<img width="1091" alt="Screen Shot 2019-05-28 at 5 29 09 PM" src="https://user-images.githubusercontent.com/1151048/58518937-8d636d80-816e-11e9-9ba8-dfd3fd054416.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-05-29 17:14:47 -06:00
Mengwei Ding 9084933799
[Code] Make file and repository typeahead query case insensitive (#37399) 2019-05-29 16:08:12 -07:00
Mengwei Ding f86bbc4ee5
[Code] Improve git url parsing for github repo url with branches/refs (#37397) 2019-05-29 16:04:00 -07:00
Fuyao Zhao 0965f7c4d2
[Code] add util scripts to run tests/checks (#37365) 2019-05-29 15:50:32 -07:00
Clint Andrew Hall 55190560dd
Fix formatdate not allowing strings (#37301)
* Fix formatdate not allowing strings

* Addressing Feedback
2019-05-29 17:16:03 -05:00
Joe Fleming c4c1377207
Fix: handle null argument values (#37411)
typeof null === 'object', so add an explicit check for null
2019-05-29 14:52:20 -07:00
Fuyao Zhao ddefbe00ae
[Code] change suggested clone url (#37354) 2019-05-29 14:31:34 -07:00
renovate[bot] 07ef100ea7 Configure Renovate (#37385)
* Add renovate.json

* Update and rename renovate.json to renovate.json5

* Update renovate.json5

* Update renovate.json5

* extend the base config

* remove enabled:false

* skip the part limiting managers, we point to specific package.json files instead

* try to disable updating all but eslint packages

* nest npm specific config

* fix syntax error

* bad copy job

* tweak labels

* disable update requests for `@kbn/` packages

* stop overriding rangeStategy

* extend package.json selectors

* add a couple more package.json files
2019-05-29 14:10:43 -07:00
Todd Kennedy 461a6c0f93
[feat] create additional http servers (#36804)
* [feat] create additional http servers

allow for additional http servers to be created, tracked and returned

* respond to pr feedback

* tweak test

* update documentation

* destructure port, remove unnecessary imports

* [fix] export correct type

* [feat] expose createNewServer to plugins

* [fix] respond to pr feedback

* todo: add schema validation & integration test

* use reach

* [fix] use validateKey to validate partial

* [fix] change config shadowing

* check kibana port & prevent shadowing

* centralize start/stop for servers, add integration test

* remove unnecessary property

* never forget your await

* remove option to pass config into start

* fix pr feedback

* fix documentation

* fix test failures
2019-05-29 13:00:56 -07:00
Matthew Kime 8f693be770
bump github-checks-reporter to delay 60s on retries and retry 10x (#37358) 2019-05-29 14:03:04 -05:00
Tim Roes 58ef3a3c49 Add addError function to toastNotifications (#32187) 2019-05-29 13:24:35 -05:00
Xavier Mouligneau 3f78d29ee5
[SIEM] fix data provider query when the field is a timestamp (#37281)
* fix dataprovider query when the filed is a timestamp

* review II

* review III
2019-05-29 13:33:06 -04:00
Joel Griffith 86c3ac4ff4
[Feature/Reporting] Export Saved Search CSV as Dashboard Panel Action (#34571) 2019-05-29 10:31:45 -07:00
Chris Koehnke 2f162d44ef
Remove directory from dockerfiles target (#37258)
* Remove directory from dockerfiles target

Produce a docker build context tarball without a top-level directory to
match the expected format for downstream automation.

This will produce:

```
$ tar -tzf target/kibana-8.0.0-docker-build-context.tar.gz
Dockerfile
bin/
config/
bin/kibana-docker
config/kibana.yml
```

Instead of:

```
$ tar -tzf target/kibana-8.0.0-docker-build-context.tar.gz
kibana-8.0.0-docker-build-context/Dockerfile
kibana-8.0.0-docker-build-context/bin/
kibana-8.0.0-docker-build-context/config/
kibana-8.0.0-docker-build-context/bin/kibana-docker
kibana-8.0.0-docker-build-context/config/kibana.yml
```

* Use options object for root directory config
2019-05-29 13:29:34 -04:00
Catherine Liu 1ea4b5499e [Canvas] Fixes Workpad prop typo (#37351) 2019-05-29 09:41:32 -07:00
Spencer 9cbd5d130c
[checks-reporter] reenable (#37280) 2019-05-29 09:12:48 -07:00
Michael Marcialis 78afde9bd3
[SIEM] Update Empty Page Messages (#37251)
* update EmptyPage comp and text on all pages

* change proptype from `string` to `IconType`

* update tests and snapshots

* remove translation imports

* restore `align-self` styles for IE11 centering

* proper apostrophe and string in single quotes, per frank

* update host and ip details

* DRYing up host and network empty page message

* fix localization

* fixing localization again
2019-05-29 11:07:40 -04:00
Larry Gregory 38eb16d4e6
Security - remove auth scope provider (#36998)
* remove auth scope provider

* handle missing roles

* guard for unauthenticated calls

* update functional tests to not expect a scope property

* there's always money in the banana stand

* revert interceptor optimizations

* protect against missing roles

* address pr feedback

* remove scope as expected property on kerberos auth response
2019-05-29 11:01:35 -04:00
Ahmad Bamieh e1b2b485a8
[i18n] JP translations (#37229)
* updated JP translations

* run i18n check
2019-05-29 16:34:33 +03:00
Daniil Suleiman a2542d35c6 [Vis: Default editor] EUIficate order_agg param editor (#36984)
* EUIficate order_agg param editor

* Update browser tests

* Add types

* Update enzyme version in x-pack

* Fix functional tests

* Changes due to comments

* Update_terms_helper.tsx

Co-Authored-By: Maryia Lapata <mary.lopato@gmail.com>

* Fix code review comments

* Update yarn.lock
2019-05-29 15:53:06 +03:00
Ahmad Bamieh 5cc980979b
[Docs] i18n docs add japanese (#37233) 2019-05-29 15:33:34 +03:00
Maryia Lapata 1a898b1d56
[Vis: Default editor] EUIficate Percentile Ranks and Percentiles (#35349)
* Migrate number-list

* Add types

* Refactoring

* Add number row

* Add and remove items

* Add onChange

* Add validate function

* Apply validation

* Fix merge conflict

* Apply order validation

* Fix ts

* Refactoring

* EUIficate percentiles control

* Remove unused translations

* Move helper functions to a separate file

* Fix code review comments

* Make add button 'xs' size

* Remove extra space

* Fix validation

* Remove unused translations
2019-05-29 14:32:21 +03:00
Daniil Suleiman 3665ba01a2 [Vis: Default editor] EUIficate top_aggregate and size param editors (#36567)
* EUIficate top_aggregate_and_size param editor

* Remove template

* Change typescript interfaces

* Fix browser tests

* Add an icon alert

* Changes due to comments

* Move error to a help text

* Move error to a field

* Change validation logic

* Fix discarding changes action

* Remove changed translation
2019-05-29 14:25:16 +03:00
Mikhail Shustov b0c0165d63
introduce pre-/post-auth request hooks for HttpServer (#36690)
* introduce pre-,post-auth stages

* cleanup integration_tests. now contracts available in tests

* auth per route is configurable

* Unify lifecycle results structure

* expose api to store auth state and status via http service

* update tests

* update docs

* use full name, auth should not mutate request

* move basePath functionality under namespace

* regenerate docs

* Revert "move basePath functionality under namespace"

This reverts commit 9599d32801.

* Revert "regenerate docs"

This reverts commit 1799d3b088.

* regenerate docs

* updated yarn.lock no idea why

* extract AuthStateStorage to a separate entity

* get rid of nested ifs

* describe what is the difference between hooks

* re-wording
2019-05-29 12:26:05 +02:00
Yulong 575cdbe012
[Code] fix lsp init unit test by using fake timers (#37201)
* [Code] fix LSP init unit test by using fake timers
2019-05-29 18:06:14 +08:00
Maryia Lapata 0ff093651c
[Vis: Default editor] EUIficate controls of Geohash agg (#37213)
* EUIficate controls of geohash agg

* Fix tests
2019-05-29 12:58:46 +03:00
Mikhail Shustov 906a078f62
add docs how to use config in New Platform (#36782)
* add docs how to use config in NP

* do not encourage storing initializer context in plugin
2019-05-29 11:57:52 +02:00
Daniil Suleiman f6e91ccaaa Upgrade enzyme and enzyme-adapter-react-16 to the latest (#37064)
* Upgrade enzyme and enzyme-adapter-react-16 to the latest

* Skip failed expectation

* Update yarn.lock

* Update snapshot
2019-05-29 12:56:55 +03:00
Vitali Haradkou 8007c3fb1b
[TSVB] [AT] TimeSeries refactor (#36987)
* move tsvb timeseries tests into new file
2019-05-29 12:10:27 +03:00
Daniil Suleiman 38b95b1cc1 [Vis: Default editor] EUIficate top_sort param editor (#36629)
* EUIficate top_sort param editor

* Set field if only one available

* Remove unused translations

* Fix functional tests

* Fix browser tests

* Rewrite functional test for combo_box field select

* Remove unused translations

* Update label
2019-05-29 11:43:47 +03:00
Maryia Lapata e28dc58db5
[Vis Editor] Fix undefined error in Field control (#37179)
* Add default value for labels in sortByLabel function

* TS: make label optional
2019-05-29 10:47:01 +03:00
Aleh Zasypkin 580edcd1c1
Introduce Kerberos authentication provider. (#36112) 2019-05-29 10:40:19 +03:00
Liza Katz 963152f3c9
Move filter bar and apply filters to data plugin (#36778)
* Setup filter plugin
With filter_bar and ApplyFiltersPopover
Update imports

* Updated i18n keys

* Typo fix

* update JP translation names
2019-05-29 10:17:35 +03:00
Alexey Antonov 16ab6dda03
Visual Builder duration in second showing as number (#35813)
* Visual Builder duration in second showing as number

Fix: #35641 , #35805

* fix PR comments

* Visual Builder duration in second showing as number

* Visual Builder duration in second showing as number -fix placeholder
2019-05-29 10:10:57 +03:00