Commit graph

17581 commits

Author SHA1 Message Date
spalger a0cf5c0d39 [precommitHook/tslint] fix linted file count 2018-05-23 18:34:06 -07:00
Søren Louv-Jansen 66739ffdd9
[APM] Upgrade to react-redux-request (#19338) 2018-05-24 02:45:49 +02:00
Tim Sullivan d649f02c07
Monitoring/directives use react view elasticsearch (#19362)
* [Monitoring/React] Make Elasticsearch directives use React component internally

* fix more functional tests

* remove TODO

* lessen loc change
2018-05-23 16:57:37 -07:00
Spencer ce20463f59
[tslint] Fix violations in kbn-pm (#19335)
* [tslint/kbn-pm] apply autofixes

* [tslint/kbn-pm] whitelist all console.log calls for now

* [tslint/kbn-pm] sort object keys alphabetically

* [tslint/kbn-pm] use comments to "fill" empty blocks

* [tslint/kbn-pm] use I-prefix for interface names

* [tslint/kbn-pm] use arrow-functions where possible

* [tslint/kbn-pm] use lowerCamelCase for variable names

* [tslint/kbn-pm] prevent shadowed variable names

* [tslint/kbn-pm] avoid variable name and type clashes

* [tslint/kbn-pm] replace console.log statements with bare-bones logger
2018-05-23 14:50:02 -07:00
Spencer 3d08c5cb31
[tslint] fix violations in kbn-system-loader (#19336)
* [tslint/kbn-system-loader] remove tslint overrides

* [tslint/kbn-system-loader] apply autofixes

* [tslint/kbn-system-loader] override max-classes-per-file for tests

* [tslint/kbn-system-loader] use I-prefix for interface names

* [tslint/kbn-system-loader] use comments to "fill" empty blocks

* [tslint/kbn-system-loader] use lowerCamelCase for variable/property names

* [tslint/kbn-system-loader] sort object keys alphabetically

* [tslint/kbn-system-loader] ensure that public methods come before private ones
2018-05-23 13:27:04 -07:00
Spencer 2d899275ef
[ts] put JSX support in root tsconfig file (#19359) 2018-05-23 12:05:08 -07:00
Tim Sullivan 77cfc94441
[Monitoring] Summary Status component data-test-subject wrap entire label/value container (#19289)
* [Monitoring] Summary Status component data-test-subject wrap entire label/value container

* update functional tests
2018-05-23 10:22:54 -07:00
Lisa Cawley e6adeae40c
[DOCS] Adds release highlight pages (#19333) 2018-05-23 08:59:44 -07:00
Tim Roes 56a69b1b38
Fix breaking tests on master (#19344) 2018-05-23 13:43:53 +02:00
Tim Roes 259b6e34fb
Replace vis.reload by forceFetch requestHandler param (#19296) 2018-05-23 09:58:48 +02:00
Bill McConaghy 165fc67bd0
fixing issue in edit index settings caused by ace upgrade (#19311)
* fixing issue in edit index settings caused by ace upgrade

* fixing json mode
2018-05-22 19:32:05 -04:00
Chris Earle f2ccf90880
Add Notification Service (#19236)
This adds a notification service to Kibana that can be used to send
asynchronous notifications, such as sending email and Slack messages,
which are intended to be configured via a combination of the
`kibana.yml` and Kibana keystore.

Once configured, the actions are automatically added to the notification
service and can be invoked via the server using the `notificationService`
singleton or HTTP to send it directly. See the included README for more
details.
2018-05-22 19:02:04 -04:00
Spencer 4c2a90dbdd
[tslint] lint typescript code (#19105)
* [tslint] lint typescript code

* [tslint] filter projects when running specific project

* [dev/ts] use more explicit types

* [dev/ts] add note about why using glob

* [dev/ts] rely on ts, use fewer getters
2018-05-22 14:00:02 -07:00
Deb Adair 0485ebb7c7 [DOCS] Fixed broken xref. 2018-05-22 13:59:21 -07:00
debadair 12e95f6b8f [DOCS] Added float/anchor tags to explicitly define page names (#19288) 2018-05-22 13:59:05 -07:00
Nathan Reese 1f6f662c08
copy to clipboard in IE (#19281) 2018-05-22 14:51:50 -06:00
dave.snider@gmail.com 51592c652a
Fix banner issue in ie11 (#19273)
* fix banner issue in ie11
2018-05-22 13:30:47 -07:00
Justin Kambic b1527d85dc
[PipelineViewer] [Monitoring] Flatten Pipeline Statement Trees (#19084)
* Add flatten function and list class.

* Rename functions to be more descriptive.

* WIP moving flatten logic to classes.

* Finish moving flatten logic into classes, add tests.

* Simplify flattening, remove non-native dependency. Add more tests.

* Add defaults to simplify function call.

* Refactor two blocks into a function.

* Fixed broken test.

* Update classes based on PR feedback.

* Update module exports, remove obsolete file.
2018-05-22 15:48:39 -04:00
Joe Fleming c6bf945f2f
Feat: expose reporting complete notifications (#19283)
This PR is a pretty small change to the Reporting job complete notification service. It converts the actual code to a simple object, instead of a class that needs to be instantiated. This makes the notification service a singleton, and also exports it so it can be used in non-Angular applications.

- Converts `reportingJobCompletionNotifications` factory to a singleton
- Exports the underlying jobCompletionNotifications
  - Allow use in non-angular plugins

Example use:

```js
import { jobCompletionNotifications } from 'plugins/reporting/services/job_completion_notifications';

createReportingJob() // pseudo code function that returns a reporting job id
.then(jobId => jobCompletionNotifications.add(jobId));
```
2018-05-22 12:47:49 -07:00
Brandon Kobel cc707eabe2
Introducing a SavedObjectRepository (#19013)
* Create a separate SavedObjectRepository that the SavedObjectClient uses

* Moving the repository into lib/

* Fixing test after moving the repository

* Revising tests based on peer review

* Removing awaits

* Adding warning comments regarding the repository's impact on the SOC
2018-05-22 14:56:30 -04:00
Lisa Cawley c2e91e6d7b
[DOCS] Clarifies encrypting communications in Kibana (#19155) 2018-05-22 10:51:25 -07:00
Stacey Gammon c14f7a72c4
Reporting API test expansion and clean up (#18986)
* Update & expand reporting API tests

* remove xpack stuff from oss archive

* wrap "it"s so they are in expected order.

* Update expected recent stats

* url was pointing to a visualization not a csv

* Move comment around

* Merging with changes on master renaming stats to usage

* fix reference to old stats file.

* bad merge
2018-05-22 12:48:20 -04:00
Nathan Reese 1cadacd65d
upgrade kibana to eui 0.0.49 (#19284) 2018-05-22 10:29:51 -06:00
Nathan Reese 760f849ac5
remove double modal when cloning dashboard with duplicate title (#19049)
* remove double modal when cloning dashboard with duplicate title

* reset duplicate state when input is updated

* update functional test for new clone workflow

* change warning message to EuiCallout

* updates from Stacey-Gammon review
2018-05-22 10:29:19 -06:00
Jen Huang 7c27a53d2a
Fix ace warning in console output (#19272) 2018-05-22 09:19:18 -07:00
Tim Roes 37bcc3d591
Add missing test for #19221 (#19253)
* Add tests

* Merge the two addFilter methods
2018-05-22 16:58:02 +02:00
Chris Roberson 54b7a68c69
[Management] Enable index pattern version conflicts (#18937)
* Pass the version along so we can get version conflict errors, then try and resolve if we can

* Update the version post save

* Refactor slightly to match setId pattern

* Tests and updates to ensure the actual changes aren't clobbered

* Ensure we return the id

* Avoid infinite recursion, welcome suggestions on how to unit test this

* Change logic for refresh fields UI button. Now it will re-call init and force a fields refresh. This ensures we pick up on field format (and other) changes

* Fix a couple issues with saving field formats, #19037

* Use the right key for version
2018-05-22 09:36:39 -04:00
Tim Roes f84d57afd7
Wait longer for load discover search (#19265) 2018-05-22 13:27:54 +02:00
Aleh Zasypkin 0ab9703287
Upgrade sinon (v1.17.3 --> v5.0.7). (#19074) 2018-05-22 12:13:38 +02:00
James Gowdy 0263d886e4
[ML] Start datafeed from the module setup endpoint (#19254)
* [ML] Start datafeeds from the module setup endpoint

* changes based on review

* correcting use of filter
2018-05-22 10:37:21 +01:00
Tim Roes 14022c3602
Don't show toast warning in filter agg (#19255) 2018-05-22 09:02:50 +02:00
Tim Sullivan 744fc0b316
[XpackMain] Add _xpack/usage API (#19232)
* [XpackMain] Add _xpack/usage API

* add xpack usage http api integration test

* comment

* misc test describe fixes

* fix integration test

* fix reply called twice

* enable api test

* enable kibana collection for integration test to work

* throw error comment
2018-05-21 16:55:26 -07:00
gchaps cae8681a1c
[DOCS|Dashboard] Updated images and text to match UI (#19149)
* [DOCS|Dashboard] Updated images and text to match UI

* [DOCS | Dashboard] Incorporated review comments

* [DOCS | DASHBOARD] Incorporated more review comments.
2018-05-21 16:48:22 -07:00
Spencer d0ebb6fe65
[precommitHook] ignore casing for files in .github directory (#19279) 2018-05-21 13:47:07 -07:00
gchaps a5c783cc59
[DOCS|Management] Added page for License Management] (#19220)
* [DOCS|Management] Added page for License Management]

* [DOCS|Management] Updated license management docs per review comments

* [DOCS|Management] More review comments on license management doc
2018-05-21 12:35:13 -07:00
Yuri Astrakhan 616a3716e7
Fixed Vega map refresh, added vegamap test (#19245) 2018-05-21 20:45:01 +03:00
archanid d0d8e5ad69 [Tests] Include dashboard time zone test 2018-05-21 08:35:40 -05:00
archana f63a3df17d
Option to run kibana from build for CI (#19125) (#19225)
* Option to run kibana from build for CI (#19125)

* Support --dev option for servers only

* try skipping dashboard time zones test
2018-05-21 08:31:30 -05:00
Tim Roes 27efde6b6d
Fix filtering out global time range (#19221)
* Fix filtering out global time range

* Check if timefilter actually was created
2018-05-20 10:09:40 +02:00
Stacey Gammon adcecc08b6
Dont need to confirm a modal anymore, there is none (#19243) 2018-05-19 09:23:33 -04:00
Spencer e583930e42
[npm] downgrade mocha even further, to before #19022 (#19238) 2018-05-18 18:05:27 -07:00
Spencer 087b93d83a
[npm] downgrade mocha to not need https://github.com/mochajs/mocha/pull/3346 (#19233) 2018-05-18 15:31:25 -07:00
spalger a5d1f1ccd6 [npm] upgrade mocha to include https://github.com/mochajs/mocha/pull/3346 2018-05-18 14:45:50 -07:00
Tim Sullivan a7c3255665
Add some collector classes for objects that get registered in a CollectorSet (#19098)
* Add some collector classes for objects that get registered in a CollectorSet

* comment cleanup

* don't pass an inline-defined logger to collectorSet

* add a helper logger function so collector has access to logger at construction
2018-05-18 13:02:54 -07:00
Chris Roberson fcec107a00
[Management] Saved objects UI should use the Saved Objects client (#19193)
* Ensure we always go through the saved objects client

* Fix a couple UI glitches

* Update these tests too

* Update snapshots
2018-05-18 15:19:28 -04:00
Chris Roberson 5edf2c0beb
Ensure we account for cluster level settings when looking for configured actions (#19121) 2018-05-18 15:19:05 -04:00
Thomas Neirynck f3ea67e30f
Do not break on startup in debug mode (#19219)
Starting up the server in debug mode should not interrupt by default.
2018-05-18 15:15:05 -04:00
archana eaa4960981
Revert "Option to run kibana from build for CI" (#19224)
* Revert "[DOCS] Removes redundant index.asciidoc files (#19192)"

This reverts commit d11b5aae9a.

* Revert "[typescript] add typescript support for the server and browser (#19104)"

This reverts commit c6112067fc.

* Revert "Option to run kibana from build for CI (#19125)"

This reverts commit 5969860303.
2018-05-18 14:09:38 -05:00
Lisa Cawley d11b5aae9a
[DOCS] Removes redundant index.asciidoc files (#19192) 2018-05-18 11:50:51 -07:00
Spencer c6112067fc
[typescript] add typescript support for the server and browser (#19104)
* [typescript] add typescript support for the server and browser

* [ts-jest] upgrade to latest version

* [jest] support test.tsx files

* [jest/ts] modify `ts-jest.tsConfigFile` config based on filePath

* [types] use correct major version of minimatch types

* [jest] add ts support to x-pack jest config

* [ts/projects] fix tsconfig.json not found error message

* [optimizer/ts] use lowercase jsx option

* [tsconfig] remove ui/* alias

* [plguin-helpers] remove mention of `buildSourcePatterns`

* [plugin-helpers] expect typescript to be a devDep

* [dev/build] place transpile tasks next to each other

* [ts/x-pack] add common and server directories to ts project

* [dev/ts/project] use a limited set of globs to find tsconfig files
2018-05-18 10:54:57 -07:00