Commit graph

17129 commits

Author SHA1 Message Date
truman.p.du 9267eb53ed
add bmap visualization plugin (#18599)
* add Indices View plugin

add Indices View plugin

* add bmap plugin

add bmap plugin

* add bmap plugin

add bmap plugin
2018-04-30 10:38:37 -05:00
James Gowdy 6f30c7b905
[6.x] [ML] Removing angular services refactor (#18654) 2018-04-30 15:39:00 +01:00
James Gowdy 641f9da5af
[6.x] [ML] Privileges refactor (#18652) 2018-04-30 13:14:53 +01:00
Pete Harverson 0c2f46a1ef
[6.x] [ML] Fix opening Data Visualizer for recognized index (#18639) 2018-04-30 12:56:14 +01:00
James Gowdy 6b8ce02a96
[ML] [6.x] Better error reporting in create recognized job page (#18638)
* Better error reporting in create recognized job page

* removing failed jobs from the results url
2018-04-28 08:23:57 +01:00
Yuri Astrakhan e71719f2d3
[vega] support HTML tooltips (#17632) (#18642)
Implement support for the richer style Vega tooltips, per https://github.com/elastic/kibana/issues/17215 request. Uses [Vega tooltip plugin](https://github.com/vega/vega-tooltip) for formatting.  Always enabled unless user sets `tooltips=false` flag in the `config.kibana` section of the spec.
![image](https://user-images.githubusercontent.com/1641515/39344487-7abc9eb0-49eb-11e8-89dd-bf562563ae1c.png)

## Test code
```js
{
  $schema: https://vega.github.io/schema/vega/v3.json
  config: {
    kibana: {
      tooltips: {
        // always center on the mark, not mouse x,y
        centerOnMark: true
        position: top
        padding: 20
      }
    }
  }
  data: [
    {
      name: table
      values: [
        {
          title: This is a long title
          fieldA: value of fld1
          fld2: 42
        }
      ]
    }
  ]
  marks: [
    {
      from: {data: "table"}
      type: rect
      encode: {
        enter: {
          fill: {value: "#060"}
          x: {signal: "40"}
          y: {signal: "40"}
          width: {signal: "40"}
          height: {signal: "40"}
          tooltip: {signal: "datum || null"}
        }
      }
    }
  ]
}
```
2018-04-27 22:15:36 +03:00
Nathan Reese d74866dd0d
update to eui 0.0.44 (#18606) (#18641)
* update to eui 0.0.44

* keep eui dependency in x-pack

* wrap EuiBasic table column in span to avoid className prop from getting overridden

* remove brittle functional tests that are no longer needed with EUI components

* filter field list instead of chaning table size

* update x-pack snapshots
2018-04-27 13:02:35 -06:00
James Gowdy 1249643cf6
Adding move to advanced job feature (#18633) 2018-04-27 16:20:57 +01:00
James Gowdy a80c669490
[ML] [6.x] Allow overwriting of query in recognised jobs (#5274) (#18632)
* Allow overwriting of query in recognizer jobs

* adding query overwrite warning

* adding null check
2018-04-27 16:20:44 +01:00
Pete Harverson c00bfe535a
[6.x] [ML] Convert forecasting modal to EUI/React (#18630) 2018-04-27 13:14:42 +01:00
Søren Louv-Jansen bd68da3b55
[APM] Minor watcher improvements (#18602) (#18608)
* [APM] Improve watcher tests

* Update tests
2018-04-26 19:05:24 +02:00
Nathan Reese b64c66c789
Eui dashboard listing (#16967) (#18605)
* convert dashboard listing page to react and EUI

* add jest test for DashboardListing component

* add data-test-subj attributes

* clean up jest test

* hideWriteControls and call to action when no dashboards exist

* pass initial filter to dashboard listing, get functional tests to work

* fix dashboard queries functional tests

* upgraded to EUI 0.0.29 to get defaultFocusedButton fix

* move dashboardListing directive to index

* spacing in if statement

* switch to EuiBasicTable

* pagination

* add sorting

* fix jest test

* handle out of order fetchs

* remove info.gif

* re-instate search functional test

* replace EuiSearchBar with EuiFieldSearch

* fix functional tests

* update snapshot - when code rebased - new EUI version add another prop

* add Edit link to actions column
2018-04-26 10:51:14 -06:00
Tim Roes 1f6382c6ee
Fix map not refetching correctly (#18600) (#18603) 2018-04-26 17:02:36 +02:00
Thomas Neirynck 67fed219df
Add multiple colorramps to coordinate maps (#17403) (#18586) 2018-04-26 09:52:36 -04:00
Tim Sullivan e3389ee171 [Monitoring/License] copy license LESS instead of reference it (#18591) 2018-04-25 17:37:34 -07:00
Yuri Astrakhan 0e57b9e994
Bumped Vega lib version to 3.3.1 (#17829) (#18589)
Turns out there is a significant problem with how Vega library manages its dependencies. Instead of using a fairly common "^1.2.3" form, it used "1" (major only) almost everywhere. While this works fine if node_modules and yarn.lock are deleted and rebuilt, bumping Vega lib's primary version in our package.json and using yarn install would not touch other subcomponents. This resulted in several 6.2 and 6.3 shipping with the outdated vega dependencies while we thought that we included the latest vega versions The problem has been reported vega/vega#1259 and will hopefully be solved with the next version.

In the mean time, this patch updates all vega-related dependencies in the yarn.lock file.
2018-04-26 02:43:42 +03:00
Fabien Baligand 0a4f4f664d
add doc for environment variable injection (#17833) 2018-04-25 17:20:23 -05:00
Tyler Smalley 0ecab8c853 [kbn-es] Use basic license as default (#18577)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-04-25 14:00:46 -07:00
Stacey Gammon 3e9cc0f8aa
Fleshed out communication layer between embeddables and dashboard (#17446) (#18563)
* Flesh out communication layer between embeddables and dashboard

* fix flaky legend colors

* Address code review comments

* Remove embeddableHandlerCache and push render/destroy handling of Embeddable instance into react component

* Fix a bug and adds tests that would have failed

* Whoops, fix toggleExpandPanel, in view mode it's not in the panel options

* Update readme based on newest implementation, after pushing all embeddable lifecycle handling to the embeddable_viewport component

* Push embeddable handling back up to dashboard_panel, get rid of embeddable_viewport

The options menu will eventually need access to the embeddable for
things like pluggable panel actions.

* Update README.md

* Fix jest tests

* Add two failing tests to catch current bugs

* Fix max call size exceeded err

* fix time range bug

* Add failing test for filter field index pattern bug

* Fix bug with index patterns

* Expand on definition of an embeddable

* Address code review comments

* address some code comments

rename personalization => customization
add more optional config overrides into an Embeddable constructor

* Fix refactor bug
2018-04-25 15:10:49 -04:00
Tim Roes 2281d1f612
Add significant terms in tag cloud visualization (#17770) (#18560)
* Allow significant terms for tag cloud

* Fix request before terms aggregation has configured

* Check if at least one agg is in array
2018-04-25 17:59:15 +02:00
Larry Gregory 56fe6cbb33
Disallow use of "dangerouslySetInnerHTML" on React components (#17759) (#18565)
Disallows use of "dangerouslySetInnerHTML" on React components, except where explicitly whitelisted
2018-04-25 11:58:48 -04:00
Kim Joar Bekkelund dc6ef763fe
Improve the reload logging config assertions (#17815) (#17820)
* Improve the reload logging config assertions

* Add a timer to hopefully make less flaky
2018-04-25 14:52:54 +02:00
Tim Roes c47948e925
Fix forwarding of modifyAggConfigOnSearchRequestStart (#17740) (#18557)
* Fix forwarding of modifyAggConfigOnSearchRequestStart

* Add unit tests
2018-04-25 12:44:25 +02:00
Tim Roes 40c48509ff
Fix pagination styling due to EUI changes (#17823) (#18556) 2018-04-25 11:18:46 +02:00
Lisa Cawley cb4567e776 [DOCS] Adds new installation package details (#17781) 2018-04-25 01:05:01 -07:00
Lisa Cawley ddc66c816a
[DOCS] Updates versions file (#17862) 2018-04-24 21:43:12 -07:00
Chris Earle b826d2f2ca [Monitoring] Recognize Write Threadpool (#18147)
This changes the Advanced Node page for Elasticsearch to recognize the
"write" threadpool, while also incorporating the deprecated "index"
threadpool and renamed "bulk" usage (renamed to "write").

This sums the three writing threadpools together and displays it as a
unified view.
2018-04-24 19:30:06 -04:00
Tyler Smalley a8ee0775c7 [kbn-es] Fixes ES snapshot path for OSS builds (#17860)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-04-24 15:45:40 -07:00
spalger d0ac222b4a [x-pack/plugin-helpers] remove kibanaRoot 2018-04-24 15:11:09 -07:00
Tyler Smalley ba680b9d4a Bump version to 6.4
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-04-24 14:49:55 -07:00
Jenkins CI bc5b51554d Migrate x-pack-kibana source to kibana 2018-04-24 13:49:26 -07:00
Peter Pisljar e8ac7d8d32
making sure type is defined and has postFlightRequest function (#17809) (#17825) 2018-04-20 13:32:47 -05:00
markwalkom 113994232e
Update tutorial-define-index.asciidoc (#16028)
* Update tutorial-define-index.asciidoc

Added a note on how to check for current indices in Elasticsearch, to make it clearer for people that haven't used the previous chapters.

* Update tutorial-define-index.asciidoc
2018-04-20 10:33:29 -05:00
Tim Roes e75f1dcde5
Add tern file and remove htpasswd (#17792) (#17813) 2018-04-20 13:57:19 +02:00
Kim Joar Bekkelund 62d96637d6
Upgrade to Prettier 1.12.1 (#17791) (#17817)
* Upgrade to Prettier 1.12.1

* Add back dev dep
2018-04-20 13:15:57 +02:00
Thomas Neirynck 9adbff879e
Improve map-data handling (#17263) (#17812)
- Improve performance by avoiding unnecessary ES-response conversion. 
- Prepare the code-internals visualization to use intermediate tabular representation. This sets this up for a possible refactor to use the Canvas data pipeline.
- Do not clone ES-responses when not necessary.
2018-04-20 06:02:57 -04:00
Spencer 383d590cb3
[grunt] remove .rej file check (#17805) (#17806)
The old backport tool we used, Jasper, would create PRs with .rej files
when it couldn't merge a backport cleanly. That lead to this task which
would skip the tests if .rej files were found. Now we don't use Jasper
and this check takes about 1 minute to run on CI, so we can remove it
and save some time.
2018-04-20 02:26:25 -07:00
Spencer 6a7c04737f
[kbn-es] add basic integration tests for exit code/promise handling (#17600) (#17783) 2018-04-19 13:37:01 -07:00
Brandon Kobel 05206963ea
Revert "Support PKCS#12 encoded certificates (#17261)" (#17801) (#17802)
* Revert "Support PKCS#12 encoded certificates (#17261)"

This reverts commit de91bd0f09.

* Fixing tests
2018-04-19 14:41:49 -04:00
gchaps f32206f3bf
[DOCS] Minor changes to Advanced Settings and Featured Visualizations (#17778) (#17796) 2018-04-19 09:51:06 -07:00
Court Ewing f7d0db12ed docs: pull request review guidelines (#17101)
Outlines the general goals/philosophy behind our pull request review
process.
2018-04-19 12:37:30 -04:00
Kim Joar Bekkelund cc0dd81cfa
Stop using 'ui/' when importing within the ui folder (#17768) (#17790) 2018-04-19 11:54:32 +02:00
Bill McConaghy c9c67d1b7a
using server.expose instead of modifying core server (#17785) (#17787) 2018-04-18 19:12:32 -04:00
Lukas Olson f6f5e691f0 Fix date math parser to not use hardcoded length (#17751)
* Fix date math parser to not use hardcoded length

* Add test
2018-04-18 14:09:51 -07:00
Kim Joar Bekkelund c41b9dd73b
Introduce @kbn/system-loader (#17595) (#17782)
* Introduce @kbn/plugin-system

* Throw if plugin exposes a promise from 'start'

* TS updates

* rename

* Better error if missing plugin

* Api to add multiple specs at the same time

* isPromise prettier-ified

* Rename 'plugin' to 'system'

* Metadata + some cleanups

* Make it possible to type system metadata

* Throw if stop is async

* Add tests for System class
2018-04-18 22:53:41 +02:00
Fabien Baligand f0d1c010c4
fix plugin.js link (#17710) 2018-04-18 15:06:20 -05:00
Spencer 8afcec1d9b
[6.x] [yarn] upgrade jest and related packages (#17780) 2018-04-18 12:50:41 -07:00
Bill McConaghy b9599a7177
adding extension point for adding endpoint defs to console autocomplete (#17769) (#17774) 2018-04-18 14:06:07 -04:00
Brandon Kobel acd99a13c5
Preserving boom error headers for index pattern exceptions (#17725) (#17775) 2018-04-18 13:48:29 -04:00
Kim Joar Bekkelund 6748c6abbd
Stop using 'plugins/...' import when within current plugin (#17760) (#17767) 2018-04-18 17:00:49 +02:00