Commit graph

17624 commits

Author SHA1 Message Date
Tim Roes
4cc9fc30a8
Inspector enhancements (#20452) (#20474)
* Rename trigger button to Inspect

* Change default page size to 20

* Change request description layout

* Fix functional tests

* Fix functional test

* Fix more functional tests
2018-07-05 10:52:05 +02:00
Peter Pisljar
941533eb25
adding dissabled aggs functional tests (#20454) (#20458) 2018-07-05 08:27:14 +02:00
Tim Roes
f85af486ee
Skip flaky vega test (#20127) (#20468)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-07-04 19:41:14 +02:00
Peter Pisljar
53d38799ac
Split editor state from saved state (#20323) (#20451) 2018-07-04 18:53:53 +02:00
Peter Pisljar
b5fac1b9a6
[6.x] Move visualize editor out of visualize directive (#20263) (#20404) 2018-07-04 17:39:08 +02:00
James Gowdy
90b5b78897
[ML] Adding filter bar to jobs list (#20415) (#20463)
* [ML] Adding filter bar to jobs list

* fixing page index when filtering

* refreshing job selection after actions have happened

* adding job counts to groups

* catching multi-select start datafeed errors

* style tweaks

* more style tweaks

* changes based on review

* refactoring search logic
2018-07-04 15:26:04 +01:00
Peter Pisljar
ac0eb944c6
removing angular dependency from base and react vis types (#20386) (#20464) 2018-07-04 16:15:04 +02:00
Felix Barnsteiner
1002aed3c3
[APM] Add Java agent tutorial (#20453) 2018-07-04 13:28:35 +02:00
James Gowdy
0dff5c9b90
[ML] Rewrite of jobs list using react and eui (#19758) (#20405)
* [ML] [WIP] New jobs list

* adding JSON tab

* adding datafeed and forecast tabs

* adding action menu functionality

* removing comments

* forcing change in file that is missing

* removing unnecessary change

* rolling back accidental change

* adding job group badges to main list

* adding multi-job action buttons

* adding start/stop actions

* showing start/end modal for multi-jobs

* adding multi-job delete

* changing delete warning

* initial edit job functionality

* adding space for custom url editing

* adding jobs summary endpoints

* fixing job loading for edit flyout

* adding calendars to jobs

* adding group loading endpoint for edit flyout

* adding audit message icons

* icon style change

* adding job messages in expanded job row

* removing log statements

* adding proptypes

* fixing expanded row table cell color

* removing log message

* renaming jobs endpoint provider

* changing case of button label

* renaming closeModal function

* adding missing proptypes

* changes based on review

* adding basic table sorting

* refactoring modal and flyout show/hide functions

* fixing sorting issues

* fixing overflow in groups
2018-07-04 07:03:43 +01:00
Nathan Reese
62deaa896b
Remove display from timefilter refreshInterval state (#20348) (#20445)
* Remove display from refresh state

* fix spelling error, ensure garbage cannot be added to timefilter state
2018-07-03 19:09:12 -06:00
Nathan Reese
47fa8abeac
disable flaky reporting tests (#20441) (#20444) 2018-07-03 19:08:55 -06:00
CJ Cenizal
bd04df6c0a
Refactor SearchSource interface (#20334) (#20447)
* Removed the dynamically assigned type, query, filter, sort, highlight, highlightAll, aggs, from, searchAfter, size, source, version, and fields methods.
* The accessor interface now consists of getField and setField methods which throw errors if an unrecognized property name is provided, in addition to getFields, setFields, getOwnField, and getId methods.
* Linked-list interface now consists of setParent and getParent.
* Factory interface now consists of create, createCopy, and createChild.
* Removed the unused unused enable, disable, and addFilterPredicate, and the redundant toString (method only used internally) and extend method (superseded by createChild).
* Internally, renamed the _state property to _data and grouped methods by concern.
2018-07-03 16:57:10 -07:00
Nathan Reese
51c43ed385
disable flaky dashboard filtering test (#20425) (#20440) 2018-07-03 16:29:58 -06:00
Nick Peihl
4d95508337
Add distinct links and float tags to Region Map docs (#20361) (#20418)
The float tags are required here to keep the subheadings on the same
page in the website. And, since link tags are global, we need to give them unique
names to avoid cross-linking errors.

These changes need to be backported to all 6.X releases.
2018-07-03 14:43:52 -07:00
Spencer
aecc9e24c2
[6.x] [system-loader] remove I-prefixed interface names (#20362) (#20380)
Backports the following commits to 6.x:
 - [system-loader] remove I-prefixed interface names  (#20362)
2018-07-03 13:47:04 -07:00
Lisa Cawley
a08520eb84 [DOCS] Adds config file location (#20421) 2018-07-03 13:36:32 -07:00
Nathan Reese
80452ba9d3
Improve Saved object import functional test assertions (#20409) (#20419)
* disable broken functional tests in saved object import

* add better assertions to verify objects are imported as expected

* more discriptive variable name

* add test case for imported object linked to saved search when saved search does not exist
2018-07-03 12:45:08 -06:00
Lisa Cawley
3ca54d06fd [DOCS] Starting and stopping Kibana (#20354) 2018-07-03 11:35:20 -07:00
liza-mae
27d83401fb
Add wait for page load to methods (#20390) (#20414)
* Add wait for page load to methods

* fix trailing space
2018-07-03 12:03:00 -06:00
Tim Roes
b8a8cc8cff
Don't create nested search source per postflightrequest (#20373) (#20401) 2018-07-03 14:23:27 +02:00
Felix Stürmer
a954f44cf1
[6.x] Upgrade styled-components to 3.3.3 (#20257) (#20368)
Backports the following commits to 6.x:
 - Upgrade styled-components to 3.3.3  (#20257)
2018-07-03 12:20:59 +02:00
Peter Pisljar
54006173f4
bwc for showMeticsAtAllLevels (#20369) (#20385) 2018-07-03 08:12:16 +02:00
liza-mae
d86d2ab921
Fix flaky context _size tests and bug in context page object file (#20254) (#20391)
* Update getSuccessorLoadMoreButton() to point to correct selector
Add a sleep in navigateTo() and remove refresh()
Add methods to click predecessor and successor load more buttons
Update waitUntilContextLoadingHasFinished to check buttons are enabled and displayed
Update tests to use click methods

* Fix lint issues
2018-07-02 17:54:50 -06:00
Yuri Astrakhan
9ec476bccc
[Vega] Implement context filter modification (#17586) (#20381)
* [Vega] Implement context filter modification

https://github.com/elastic/kibana/issues/17210

Testing code (click button)

```
{
  "$schema": "https://vega.github.io/schema/vega/v3.json",
  "marks": [
    {
      "name": "myButton",
      "type": "rect",
      "encode": {
        "enter": {
          "xc": {"signal": "width/2"},
          "yc": {"signal": "height/2"},
          "width": {"signal": "width*0.8"},
          "height": {"signal": "height*0.8"},

          "cornerRadius": {"value": 6},
          "strokeWidth": {"value": 10}
        },
        "update": {
          "stroke": {"value": "gray"},
          "fill": {"value": "lightgray"}
        },
        "hover": {"fill": {"value": "gray"}}
      }
    }
  ],
  "signals": [
    {
      "name": "%ADD_FILTER%",
      "on": [
        {
          "events": "@myButton:click",
          "update": "{field: 'SRC', value: 10, operator: 'IS'}"
        }
      ]
    }
  ]
}
```
2018-07-02 16:22:39 -04:00
Tim Sullivan
de2b2177d8
fix monitoring elasticsearch nodes listing sort and filtering (#20321) (#20382)
closes https://github.com/elastic/kibana/issues/20132
2018-07-02 12:29:45 -07:00
Justin Kambic
08ba05ea6d [Pipeline Viewer] Refactor collapsible statement component to wrap props.children (#20252)
* Rename config view to PipelineViewer.

* Decouple CollapsibleStatement from if/else using props.children.

* Modify function to take params instead of single object.
2018-07-02 14:02:06 -04:00
Justin Kambic
4e42c189b5 [PipelineViewer] Replace bare img tags with euiicon (#20330)
* Remove direct references to EUI SVG. Remove bare img tag from DetailDrawer.

* Update DetailDrawer test snapshots.
2018-07-01 15:38:30 -04:00
CJ Cenizal
57f23065e4
Aggregate SearchRequestQueue functions into a single module (#20332) (#20363)
* Refactor all functions operating on requestQueue to be instance methods of the SearchRequestQueue class.
* Rename requestQueue to searchRequestQueue.
2018-06-29 19:35:22 -07:00
Jen Huang
8bfa87e767
Field editor to React/EUI (#20245) (#20349) 2018-06-29 16:42:16 -07:00
Lee Drengenberg
1959e89dd6
merge (#20280) 2018-06-29 17:02:06 -05:00
Jen Huang
7bd5b3830f
Update yarn.lock with new react-test-renderer version (#19745) (#20350) 2018-06-29 14:36:36 -07:00
CJ Cenizal
99e16d17ba
Prevent undefined from and to timepicker dates. (#20355) (#20358) 2018-06-29 14:04:25 -07:00
CJ Cenizal
12566efc79
Remove Notifier lifecycle, timed, event, describeError, and log methods (#20327) (#20356) 2018-06-29 13:28:26 -07:00
gchaps
c15d2fd1bd [DOCS] 6.3.1 Release Notes (#20246)
* [DOCS] 6.3.1 Release Notes

* [DOCS] Updated 6.3.1 Release Notes
2018-06-29 13:13:20 -07:00
gchaps
4bca3bbd60 [DOCS] Added missing image 2018-06-29 13:12:27 -07:00
Lisa Cawley
f15108c3d8
[DOCS] Clarifies licensing highlight (#20318) 2018-06-29 11:42:54 -07:00
Bill McConaghy
b7aa49027f
fixing issues with bad error message for low permission users (#20275) (#20351)
* fixing issues with bad error message for low permission users

* fixing stats, settings, and mappings error message and removing unused file
2018-06-29 13:50:36 -04:00
Bill McConaghy
807f71bb84
improving warnings for delete and force merge (#20264) (#20347)
* improving warnings for delete and force merge

* PR feedback
2018-06-29 12:09:17 -04:00
Bill McConaghy
2b85a2ada9
fix sorting for index management (#20266) (#20346)
* fix sorting for index management

* PR feedback
2018-06-29 12:08:05 -04:00
Bill McConaghy
498c054f89
clearing error message when upload component mounts (#20268) (#20345)
* clearing error message when upload component mounts

* fixing tests
2018-06-29 12:06:59 -04:00
Stacey Gammon
97cf9c4a06
remove unused fn and variable (#20111) (#20328) 2018-06-29 08:09:43 -04:00
Casper Hübertz
f5856210d9
[DOCS] Updating APM UI documentation (#19946) (#20336)
Adding new documentation about the APM UI and definitions of terminology and more.

* Images added to docs

* Adding Using APM UI page contents

* Including new APM UI page

* Updated Watcher copy

* Copy feedback from @gchaps
2018-06-29 13:06:30 +02:00
Nathan Reese
0ab5e56e87
Allow setting offset relative to overall chart time (#19709) (#20331)
* Allow setting offset relative to kibana time

* remove changes to kibana.yml

* use timerange instead of kibana_time, do not allow default value, better help text

* throw error when zero is provided, round number to avoid decimals - which are not allowed

* do not allow offsets larger than zero
2018-06-28 19:29:41 -06:00
archana
73d3883188
[6.x] [Functional Tests] Use @kbn/test on Kibana CI (#18967) (#20309)
* [Functional Tests] Use @kbn/test on Kibana CI (#18967)

* Replace test:api with @kbn/test runTests

* Improve CLI help menu 🆘

* Use --es-from

* Replace jenkins:selenium with kbn-test

* Validate cli args, fixing test in the process

* Clean up some stuff

* Code review fixes

* Explanation for collectCliArgs

* Remove exit codes, they're useless anyway.

* Make markdown vis test pass with dev_mode setting

* Tests

* Remove unneeded export

* Code review: move console logging up to cli.js

* Code review: refactor startServers and runTests to take single options collection

* Code review: Remove all things I am sure we do not use

* Improve tests

* Code review fixes

* Pass created log to runFtr, runElasticsearch, runKibanaServer

* Update --es-from option to --esFrom

* Let dev server run from snapshot by default
2018-06-28 19:03:35 -05:00
CJ Cenizal
534c1874c1
Refactor SearchLooper and rename it SearchPoll (#20315) (#20333)
* Refactor SearchLooper by removing unused interface methods and internal logic.
* Rename SearchLooper to SearchPoll.
* Remove use of Angular $timeout.
* Make courier responsible for stopping the search poller when there's a fatal error.
* Integrate _search promises with the digest cycle.
2018-06-28 16:39:26 -07:00
Lisa Cawley
3a0b5a9ca4 [DOCS] Fixes license expiration info (#20316) 2018-06-28 15:29:51 -07:00
Stacey Gammon
a87c056a0a
turn off object-literal-sort-keys rule (#20274) (#20324) 2018-06-28 17:48:02 -04:00
Tim Roes
5c34c4f915
Change AggConfig(s) to ES6 syntax (#20224) (#20320)
* Change AggConfig(s) to ES6 syntax

* Use arrow syntax

* More ES6

* Fix cyclic import issue

* Use more ES6 syntax

* Add more ES6 code
2018-06-28 22:41:51 +02:00
Stacey Gammon
1205ec5d2c
Remove _behaviors abstraction in Chromium reporting (#20106) (#20314)
* remove over abstraction.

* delete unused file
2018-06-28 15:16:14 -04:00
Nathan Reese
59e2a1ad25
use absolute path for sample data (#20244) (#20311) 2018-06-28 12:54:38 -06:00