Commit graph

27026 commits

Author SHA1 Message Date
Nick Partridge
b596edd6d9 upgrade elastic-charts to 10.0.1 (#43732) 2019-08-22 14:44:19 +02:00
James Gowdy
1f0981246c
[ML] Allow index patterns containing commas in recogniser modules (#43686)
* [ML] Allow index patterns containing commas in recogniser modules

* fixing issue where only 'indexes' is the allowed datafeed index list
2019-08-22 08:14:09 +01:00
Sébastien Loix
1b164c1902
[Console] Update autocomplete api definition (#43651) 2019-08-22 07:35:35 +02:00
Yulong
d83e3a6917
[Code] fix git for large repos (#43669)
add an abstraction for git operations
2019-08-22 11:17:33 +08:00
Mengwei Ding
c4f483a394
[Code]: exclude from getting write privilege when choosing all (#43700)
* [Code]: exclude from getting write privilege when choosing all

* adjust api integration test

* minor change of the role name
2019-08-21 20:00:10 -07:00
Thomas Neirynck
bcd079571b mod sample data (#43487) 2019-08-21 18:11:45 -06:00
Kaarina Tungseth
9b23ce3cfb
[DOCS] Fixes workpad and element links (#43727)
* [DOCS] Canvas elements content

* Data source build out

* Display options and actions

* Reorganization, cycle interval, and organization actions

* Reorganized content

* Reorganization and clean up

* Added images

* Review comments pt 1

* Review comments pt 2

* Review comments pt 2

* Review comments pt 3

* Change on to in

* xpack

* Comments from Catherine

* [DOCS] Fixes workpad and element links
2019-08-21 18:40:42 -05:00
Kaarina Tungseth
06b37dbad3
[DOCS] Fixes element link (#43725)
* [DOCS] Canvas elements content

* Data source build out

* Display options and actions

* Reorganization, cycle interval, and organization actions

* Reorganized content

* Reorganization and clean up

* Added images

* Review comments pt 1

* Review comments pt 2

* Review comments pt 2

* Review comments pt 3

* Change on to in

* xpack

* Comments from Catherine

* Fixed link issue
2019-08-21 17:46:48 -05:00
Larry Gregory
608e2391d0
Copy Saved Objects to Spaces API (#38014) 2019-08-21 17:27:55 -04:00
Kaarina Tungseth
5fe9d0e780
[DOCS] Canvas elements (#42473)
* [DOCS] Canvas elements content

* Data source build out

* Display options and actions

* Reorganization, cycle interval, and organization actions

* Reorganized content

* Reorganization and clean up

* Added images

* Review comments pt 1

* Review comments pt 2

* Review comments pt 2

* Review comments pt 3

* Change on to in

* xpack

* Comments from Catherine

* Export image

* Final clean up
2019-08-21 16:12:22 -05:00
Matt Bargar
e233e419cf
Implement saved queries and filters (#39140)
Introduces "saved queries". Saved queries are a new saved object type similar to saved searches but more limited in scope. They allow users to store the the query string in the query bar and optionally the set of filters and timefilter in order to reload them anywhere a query is expected: Discover, Visualize, Dashboard, anywhere that uses our full SearchBar component.
2019-08-21 16:53:19 -04:00
Matthias Wilhelm
cb8133aee5
Fix date_nanos formatting for formats without fractional seconds (#43114)
* Fix formatting for formats without S... part

* Add jest test catching the bug
2019-08-21 22:42:16 +02:00
Nathan Reese
0d4e979778
[Maps] allow embeddables to hide filtering controls (#43703)
* [Maps] allow embeddables to hide filtering controls

* fix typos in embeddable docs
2019-08-21 13:44:07 -06:00
Josh Dover
5071c74945
Replace CSP 'nonce-<base64>' directive with 'self' directive (#43553) 2019-08-21 14:11:38 -05:00
Mike Côté
90532673fd
Add spaces only tests for alerting and actions (#43616)
* Add spaces only tests

* Rename some tests to make more sense in spaces only context

* Modify test suite titles

* Apply changes from master

* Loop only one scenario for now

* Reduce amount of tests spaces_only runs

* Fix failing test

* Remove looping in spaces only tests
2019-08-21 13:23:06 -04:00
spalger
e4a72e4aa8 skip flaky test suite (#43557) 2019-08-21 08:47:47 -07:00
spalger
10c4b3e609 skip flaky test (#39163) 2019-08-21 08:45:42 -07:00
Dmitry Lemeshko
9b9801f470
functional tests for input control range (#42483)
* [apps/visualize] functional tests for input control range

* update jest test to have 100% combined coverage with functional
2019-08-21 17:22:54 +02:00
James Gowdy
a9032035b0
[ML] Population wizard layout improvements (#43664)
* [ML] Population wizard layout improvements

* updating string id
2019-08-21 16:04:47 +01:00
spalger
48ceb29185 disable flaky test (#43655) 2019-08-21 07:39:25 -07:00
Dario Gieselaar
4d54b5fa5e
[APM] migrate to io-ts (#42961)
* [APM] migrate to io-ts

* Migrate remaining routes to io-ts

* Infer response type for useFetcher()

* Review feedback

* Use createRangeType util

* Extract & test runtime types

* Simplify runtime types

* Tests for createApi and callApmApi

* Use more readable variable names in runtime types

* Remove UIFilters query param for API endpoints where it is not supported

* Fix issues w/ default parameters in create_api
2019-08-21 15:51:41 +02:00
Yulong
4a82b9541d
[Code] fix a launching embed ctag-langserver problem (#43561) 2019-08-21 21:45:05 +08:00
Alexey Antonov
3e75f304b2
[Inspector Views] [Data View] - Migrate inspector_views to new platform (#43349)
* [Inspector Views] [Data View] - Migrate inspector_views to new platform

* fix PR comments
2019-08-21 16:40:12 +03:00
Corey Robertson
54e2edce19
[Canvas] Canvas embeddable (#39839)
* Adds embeddable objects to canvas

* Handle embeddable_api -> NewPlatform changes

* Addressing PR feedback

* Properly mock new platform

* Snake case filenames{

* Switch relative paths to src/
2019-08-21 08:08:15 -05:00
Walter Rafelsberger
6ab5be15f0
[ML] Data frame analytics: Outlier detection results page (#43578)
Introduces a page to view results of outlier detection jobs. Users can navigate from the analytics jobs list to the results page by clicking on the View button.
2019-08-21 05:40:12 -07:00
Daniil Suleiman
db0e080cb0
Fix loading options tab in goal vis (#43345)
* Fix loading options tab in goal vis
2019-08-21 13:57:11 +03:00
Joe Reuter
9dd4369a33
Expression datatable formatting hints (#43091) 2019-08-21 12:52:25 +02:00
Maryia Lapata
abfc1ad26c
[Vis: Default editor] Markdown settings tab (#43179)
* Move settings to separate tab

* Textarea fills the entire height of the sidebar

* Update styles

* Update markdown_options.tsx
2019-08-21 13:22:25 +03:00
Joe Reuter
36d10b26f9
Improve wording for autocomplete timeout message (#43512) 2019-08-21 12:15:46 +02:00
Gidi Meir Morris
21c4430d0e
[Alerting] Refactored External Service Simulators (#43570) 2019-08-21 10:01:28 +01:00
James Gowdy
74e7af9df6
[ML] Updating wizard help text (#43464)
* [ML] Updating wizard help text

* adding population placeholder text

* updating population description

* updating split field description
2019-08-21 09:16:15 +01:00
WangQianliang
806af68d5a
fix(code/frontend): fix search filters (#43426) 2019-08-21 12:31:41 +08:00
Yulong
33e9e0c1a9
[Code] fix workspace dir case-sensitive problem (#43571) 2019-08-21 11:10:22 +08:00
Patrick Mueller
ba470f9fb1
i18n-ize messages from actions (#43239)
Where appropriate, use i18n support for messages coming from the
x-pack actions plugin.
2019-08-20 20:44:58 -04:00
Nathan Reese
aa8c55a2e2
[Maps] Add cancel draw button and draw instructions (#43593)
* cancel draw

* show tooltip with draw instructions

* add jest test for ToolsControl

* throttle mousemove callback
2019-08-20 17:16:26 -06:00
Søren Louv-Jansen
7fc24c9438
Bump backport to 4.6.4 (#43622) 2019-08-21 00:37:05 +02:00
Mengwei Ding
dee690ded3
[Code] Initial commit Indexer (#39599)
* [Code] change

* [Code] initial commit indexer

* initial call of git commit api

* sync to update-to-date

* Add checkpointing to commit indexer

* fix lint errors

* add git api to pull all commits

* calculate progresses

* unit tests for commit indexer

* add some comments

* minor change
2019-08-20 15:03:48 -07:00
Mengwei Ding
ec6d067a32
[Code] fix functional test (#43599) 2019-08-20 14:55:16 -07:00
Mike Côté
bb6aa330e8
Disable security plugin in spaces only test suite (#43608) 2019-08-20 17:00:31 -04:00
Mike Côté
ada30ab7aa
Task manager to queue calls that require it to be initialized (#43589)
* Initial work

* Add unit tests
2019-08-20 16:57:53 -04:00
Nathan Reese
243a03672c
[Maps] increase tooltip max width so create filter button not clipped (#43602) 2019-08-20 14:53:11 -06:00
Tim Sullivan
b30dec1ae5
[Reporting/Typescript] Custom types file for each export_type (#43554)
* Custom types file for each export_type

* move get_job_params_from_request

* Update types imports and name refs

* small code change

* cherry-picked change
2019-08-20 13:38:37 -07:00
dave.snider@gmail.com
b0a4181f7d
Upgrade EUI@13.3.0 (#42858)
Upgrades 13.3.0
2019-08-20 13:37:47 -07:00
James Gowdy
2c62fbb872
[ML] Adding sparse data setting to job wizards (#43569)
* [ML] Adding sparse data setting to job wizards

* updating description

* disabling sparse checkbox and fixing types

* changes based on review
2019-08-20 20:44:33 +01:00
Aaron Caldwell
f3cbaf322b
[Maps] Change border color to be darker version of fill color (#43211)
* Change border color to be darker version of fill color. Pass default colors to color picker swatches

* Fix bug preventing last color from ever being used

* Update line/stroke colors in functional tests

* Fill out default colors with eui vis palette colors. Add black & white to border colors

* Move default colors to color utils and use eui color palette per feedback

* Remove old defaults and update imports

* Update join test to omit color from test since it will change
2019-08-20 13:33:03 -06:00
Catherine Liu
aa55a322d5
Translates Canvas app description for kibana home page (#43479) 2019-08-20 10:05:43 -07:00
James Gowdy
88ff920e48
[ML] Fixing model plot rendering for count detectors (#43588) 2019-08-20 17:39:28 +01:00
Steph Milovic
48241672bd
[SIEM] [Cypress] Url State Tests (#43555) 2019-08-20 10:29:49 -06:00
Vadim Dalecky
7dc001169b
chore: disable Labeler 2019-08-20 17:55:29 +02:00
Mike Côté
5734f1c1be
Add security support for alerts and actions (#41389)
* Initial work

* Cleanup add createAPIKey fn pt1

* Change getServices function to take request as parameter

* Use API key when executing alerts

* Revert task manager using encrypted saved objects

* Store fired actions within a saved object to encrypt API keys

* Fix fireActionId

* Cleanup code, fix type check error

* Add a type for getScopedSavedObjectsClient

* Fix getBasePath and spaceIdToNamespace functions

* Add safety check for API key and action

* Fix integration tests

* Fix broken jest tests

* Cleanup

* Rename generatedApiKey to apiKeyValue

* Ensure access to action record

* Cleanup

* Add unit tests

* Fix variable conflict

* Revert task manager specific code (no longer needed)

* Remove fire terminology

* Move tests to spaces and security folder

* Use ES Archiver to remove spaces (empty_kibana)

* Fix missing pieces

* Convert action tests to run per user

* Convert alerting tests to run per user

* Fix type check issue

* Fix failing test

* Add callCluster and savedObjectsClient authorization tests

* Make savedObjectsClient return 403 for authorization tests

* Cleanup

* Fix test failure

* Common function to get data from test index

* Create ObjectRemover

* Cleanup

* useApiKey now provided to functions instead of relying on condition of two strings

* Fix typo

* Make tests it(...) start with should

* Rename useApiKey to isSecurityEnabled

* Merge apiKeyId and apiKeyValue into one

* Update docs

* Use feature controls for list alert / action types API

* Remove need to add ! in TypeScript for required plugins

* Fix ESLint issue

* Include actions and alertTypeParams into AAD and genereate new API key on update

* Generate random id for API key name attribute

* Include interval in AAD

* Send pre-encoded string

* Fix ExecutorError

* Fix apiKey snapshot

* Fix 'default' typo

* De-compose apiKey

* Refresh API key when enabling / disabling an alert

* Add updatedBy

* Make unauthorized APIs return 404
2019-08-20 11:42:15 -04:00