Commit graph

17437 commits

Author SHA1 Message Date
Jonathan Budzenski
253e2fac4d
[6.x] bump yarn.lock (#19624) 2018-06-07 13:31:56 -05:00
Stacey Gammon
051c87a2db
Typescriptify dashboard panel actions (#19675) (#19706) 2018-06-06 20:30:38 -04:00
Bill McConaghy
8e7aee9eb3
Console cleanup (#19654) (#19702)
* refactoring to class style and moving components to own files

* making top level components fetch sensitive to HTTP verb

* fixing issue with _ endpoints getting mistaken as index names for autocomplete possibilities:wq:

* removing stray console log

* removing console log

* PR feedback

* accounting for _all in isNotAnIndexName
2018-06-06 12:01:26 -04:00
James Gowdy
4f3b3550e9
[ML] Removing unnecessary sr-only span (#19697) (#19698) 2018-06-06 15:03:31 +01:00
Stacey Gammon
9d02d88ced
Move all reporting tests into their own folder and add chromium tests (#19330) (#19690)
* Move all reporting tests into their own folder to allow for multiple kibana.yml configuration tests, including chromium

* Add debugging and try to skip other tests an jenkins to speed things up

* More debug output

* more logging (remove other line which failed on jenkins)

* Remove no sandbox flag, it doesn't help

* Add fix for socket hangup and clean up tests

* fix path to logstash_functional

* Extend timeout for chromium, add verbose logging, add better comment, conditionally output curl command

* fix path... again

* Ah, other functional tests still need access to reporting page object, put it back

* fix sp err

* Add debug logs for screenshot stitching for png.bitblt error

* Fix tests that don't pass logger to screenshotStitcher

* Fix logger being undefined

* Add more debug output

* png has data, too much info to spit out

* Add comment with link to issue for extra debug messages so they can be left in since so many passes

* Dont use spawnSync with curl, use http.request instead, more support for it

* Comment out chromium tests for now to avoid flakiness

* Wait... lets at least make sure the other fix worked (the http.request instead of spawnsync and curl)

* New http.request code doesn't seem to work on jenkins, timing out after 10 secs maybe

* go back to spawnsync to see if it's an issue with the rxjs code or the http.request code

* I think I figured it out...

* Comment out tests to avoid flaky png error in the screenshot stitcher

* Use a const for OSS archive path

* use path.resolve correctly.
2018-06-06 07:59:45 -04:00
Bill McConaghy
0d9a46c1e8
upping to EUI 0.0.51 and fixing tests that broke (#19653) (#19693)
* upping to EUI 0.0.51 and fixing tests that broke

* upping x-pack eui to 51 and refreshing snapshots

* adjusting onQueryChange API to match EUI

* adding lock files

* updating snapshots
2018-06-05 20:26:43 -04:00
Stacey Gammon
db5f66ee83
updateUrl is on scope, not this. (#19687) (#19689) 2018-06-05 20:00:34 -04:00
archana
01e78f1f83 [Functional test server] Watch port for optimize should be different (#19619) 2018-06-05 16:11:17 -05:00
Tim Sullivan
2579283f4c
[X-Pack Usage API] use authentication from request headers (#19613) (#19682)
* [X-Pack Usage API] use authentication from request headers

* add test for usage api no-auth

* whitespace / syntax nits

* reduce loc changed

* remove a weird looking comment
2018-06-05 13:14:18 -07:00
Søren Louv-Jansen
8396b1b866
[APM] Fix debug param issue (#19676) (#19684)
* [APM] Fix debug param issue

* [APM] Fix _debug issue and add test
2018-06-05 21:55:15 +02:00
Søren Louv-Jansen
a1eebca019
Add bool filter to suggestion endpoint (#19476) (#19685) 2018-06-05 21:54:54 +02:00
Stacey Gammon
d131af8da8
Typescriptify ui/embeddable folder (#19648) (#19683)
* Typescriptify ui/embeddable folder

* Allow ts modules from ui/public folders to be imported

* Address review comments from Tim

* Address code review from Oleg

* remove lodash usage

* remove mappng to non public folder
2018-06-05 15:23:32 -04:00
Chris Roberson
4d7229ba17
Disable the dirty prompt until #19594 is resolved (#19595) (#19615) 2018-06-05 13:28:02 -04:00
Justin Kambic
f64ed6f62a Remove dirty prompt from Logstash Pipeline Management (#19649)
* Remove dirty prompt from Logstash Pipeline management because of Angular routing issue.

* Remove test for removed feature.
2018-06-05 12:31:18 -04:00
Brandon Kobel
6595984cf9
SavedObjects service and client provider (#19349) (#19673)
* Renaming client to service

* Implementing the SavedObjects service and client provider

* Making saved objects service lazy instantiated so the test server works

* Fixing import

* Fixing another import

* Fixing reporting's usage of the savedObjectsClientFactory

* No longer passing the callCluster function to the kbnTestServer

* Passing empty request...

* Fixing reporting

* Exposing server.savedObjects without a getter

This required me to remove the kbnTestServer.createServer() method and
change all usages to createServerWithCorePlugins since we're reading the
kibana.index, which is part of the core plugins, when configuring the
saved objects service which is attached to the server.

* Don't need to set kibana.index

* Changing more usages of kbnTestServer.createServer

* Revert "Changing more usages of kbnTestServer.createServer"

This reverts commit 464f73abb2.

* Partially reverting 17d36b3e9a

* Fixing headers

* Improving tests

* Addressing some peer review feedback

* Addressing more peer review feedback

* Adding server.log warning when the saved objects can't initialize

* Getting rid of the savedObjectsClientFactory

* Branches are for trees

* Fixing comment to be proper english

* Fixing fat-fingering method call

* Fixing other usages of getScopedSavedObjectsClient
2018-06-05 07:24:44 -04:00
liza-mae
a3f9322a39
Update browser window size for console test (#19664) (#19666) 2018-06-04 18:16:26 -06:00
Jonathan Budzenski
8d590cd458
[build] no-bin-links, remove .bin folders (#19373)
* [build] no-bin-links, remove .bin folders

* add comment
2018-06-04 12:41:32 -05:00
Chris Roberson
b6434d0685
[Management] Show internal indices when toggled even if there are no other indices (#19618) (#19646)
* Ensure we only show the empty state component if they have no data indices AND the include system indices is not checked

* Add snapshot test for bug find
2018-06-04 12:35:35 -04:00
Bill McConaghy
6e43505fa0
[console] porting console tests to Jest (#19543) (#19650)
* porting console tests to Jest

* adding missing import
2018-06-04 11:25:03 -04:00
Søren Louv-Jansen
cbe6ba839a
[APM] Fix missing _debug validator (#19639) (#19640) 2018-06-04 14:34:08 +02:00
Toby McLaughlin
3661ea9601 [DOCS] Update Docker config steps for open X-Pack (#19486) 2018-06-04 10:38:25 +10:00
Stacey Gammon
f58aecdea8
Accessibility updates (#19561) (#19621)
* Announce full screen mode to screen reader, use extra helpful text in panel title input

* Update jest snapshots

* See if removing full sceen mode aria label fixes snapshot test on jenkins.

* Bring back EuiScreenReadyOnly to confirm it is breaking snapshot tests

* Try updating baselines with slightly larger width for the screen

* Move screenready to external, non styled div, go back to original browser size and snapshots

* update snaphots
2018-06-01 17:50:44 -04:00
Jonathan Budzenski
1df4946670
[build] Clean extra browsers (#19629) 2018-06-01 15:25:39 -05:00
Thomas Neirynck
99d76fd735
Show tooltip when mixing string and integer fields for joining region maps to ES results (#19447) (#19630) 2018-06-01 16:11:12 -04:00
Aleh Zasypkin
b83074f886
[6.x] Execute tsc.cmd on Windows during build. (#19627) 2018-06-01 21:01:05 +02:00
Jonathan Budzenski
45fa91c951
Revert "fix docs cli command (#19501)" (#19579)
This reverts commit 735bda343d.
2018-06-01 10:27:09 -05:00
Søren Louv-Jansen
96a6bdd550
[APM] Add debug option (#19587) (#19612) 2018-06-01 08:34:26 +02:00
Tim Sullivan
6ef0f514f4
[Reporting/Usage] Check monitoring enabled before registering collector (#19581) (#19610) 2018-05-31 17:44:03 -07:00
Stacey Gammon
a7845e5d0f
Unskip 'and preserves edits on cancel' test (#19412) (#19606)
* unskip 'and preserves edits on cancel' test

* Clean up view edit test before unskipping

* don't use old vis list to determine counts

* Fix bad merge

* get rid of extra view edits, they won't work because of the extra panel... should add a better cleanup... but for the sake of staying focused, running these old school

* Fix bad merge, snapshot tests belong in new data section
2018-05-31 19:48:10 -04:00
gchaps
6b992627c8
[DOCS|Monitoring] Added text about first time opening Kibana Monitoring (#19460) (#19597)
* [DOCS|Monitoring] Added text about first time opening Kibana Monitoring

* [DOCS | Monitoring] Incorporated review comments on startup experience doc

* [DOCS] Fixes typo
2018-05-31 11:42:51 -07:00
lcawl
cc943e31b6 [DOCS] Fixes link to X-Pack settings 2018-05-31 11:17:55 -07:00
Rashid Khan
18b9ac5f03 Fix plugin-helpers path to kibana (#19602) 2018-05-31 11:15:56 -07:00
Stacey Gammon
85c9c07a8c
Clean up context menu toggle in view mode (#19558) (#19593)
* Clean up context menu toggle in view mode

- hide unless the menu is opened or the panel is being hovered over
- use a down arrow in view mode, a gear in edit mode

* Use a different icon

* and the color='text' line

* update jest snapshots
2018-05-31 12:12:39 -04:00
Nathan Reese
79d36b0ce1
Convert Dashboard save dialog to react/EUI (#19531) (#19592)
* eui save panel

* add title and description inputs

* copy on save

* add jest tests

* fix functional and jest tests

* another functional test fix

* updates from Stacey-Gammon review

* remove debounce because it broke functional tests

* update jest snapshot
2018-05-31 09:45:57 -06:00
Stacey Gammon
e02599f0aa
It's confusing to see the timestamp of started_at if the status says "completed" (#19551) (#19583)
fixes https://github.com/elastic/kibana/issues/17912
2018-05-31 07:42:36 -04:00
Stacey Gammon
40e24f0bbb
Update dashboard snapshot tests (#19420) (#19562)
* update snapshot tests

* Update time ranges

* Add sleeps, adjust time, update snapshots

* Skip TSVB until the issue with vertical line placement and x-axis timestamps is fixed

* fix expectations of time range with saved search creation

* remove debug line
2018-05-30 16:47:55 -04:00
Court Ewing
607d58615c
license: do not parse expiry date if it does not exist (#19565) (#19575)
Basic licenses never expire, so they do not have an expiration date at
all according to the Elasticsearch API. When this happens, we should not
attempt to parse the date nor show the expiry date in the log.
2018-05-30 16:43:49 -04:00
Jen Huang
b0e3e1fdf0
Fix filtering of source filters table (#19522) (#19572) 2018-05-30 13:08:23 -07:00
Bill McConaghy
17555f2a28
fixing basic license revert on Firefox (#19566) (#19568) 2018-05-30 14:38:15 -04:00
lcawl
bc80248fc0 [DOCS] Remove xkb-repo-dir attribute 2018-05-30 10:22:37 -07:00
Stacey Gammon
954f437fbb
Remove padding that exists only in 6.x but not master, a discrepency that isn't intentional (#19547) 2018-05-30 13:14:31 -04:00
Nathan Reese
388094e46d
Remove react-select from kibana (#18876) (#19557)
* remove react-select from AggSelect

* update field_select to use EuiComboBox

* metric_select

* moving_average

* percentile

* series_agg

* std_deviation

* removing some more react-select instances

* icon_select and group_by_select

* gauge type

* markdown

* set isClearable prop

* remove react-select from timeseries config

* remove react-select from timeseries panel options

* remove react select from terms

* remove react-select from table config

* remove react-select from data_format_picker

* fix create_select_handler mocha test

* remove react-select from kibana

* update tsvb functional tests

* set isDisabled prop on EuiComboBox where disabld prop was set for Select

* use durationOutputOptions for duration 'to' options
2018-05-30 10:48:58 -06:00
Lisa Cawley
c3c98b682e [DOCS] Moves monitoring folder to docs (#19516) 2018-05-30 09:45:30 -07:00
Tim Sullivan
51feafb43d
[Monitoring] use defaulValue instead of filter to make pre-filled text input editable (#19462) (#19536) 2018-05-30 09:31:24 -07:00
Court Ewing
f8521c09a4 Documentation for Saved Objects API (#19513)
* Adds documentation for Saved Objects API

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* [DOCS] Moved Rest APIs in navigation

* docs: revise rest api intro

* docs: revise create object api details

* docs: revise saved object api intro

* docs: revise delete saved object api details

* docs: remove newline character from api response

* docs: get saved object api details

* docs: update saved object api details

* docs: fix title attribute in saved object api examples

* docs: bulk-get saved object api details

* docs: find saved object api details

* docs: add index-pattern to valid types in api

* docs: clarify sending multiple values in api

* docs: note that savedObjects.find is not safe for export
2018-05-30 12:28:29 -04:00
Fabien Baligand
f9940a44d7
contrib docs : add a link to list all "build" options (#19464)
* contrib docs : add a link to list all "build" options

* list build options using "yarn build --help" command

* add bash code block

* remove space before ":"
2018-05-30 10:14:05 -05:00
Lisa Cawley
6e16d9c006 [DOCS] Moves security folder to docs folder (#19514) 2018-05-30 07:40:43 -07:00
Brandon Kobel
280783809b
Introducing base audit logger (#19442) (#19546)
* Adding very basic audit logging for auth success/failure

* Extracting security specific audit logger from the AuditLogger

* Using short auditLogger in authenticate in one more place

* Logging some information from the request during success/failure

* Adding AuditLogger tests

* Removing the security audit logger, this is out of scope...

* Better asserts, thanks Aleh

* Adding `audit` to the default events

* Using `info` with the audit logger, emulating with ES does
2018-05-30 10:26:42 -04:00
gchaps
e93a73c495
Docs/input controls (#19397) (#19526)
* controls docs

* images and configuration option explainations

* minor changes

* link to index-patterns page

* practice commit

* [DOCS] Edited Visualize -> Controls documentation

* [DOCS|Input Controls] Incorporated review comments
2018-05-30 07:03:01 -07:00
Thomas Neirynck
540f24313e
Avoid shard failures when performing bbox filter on coordinate maps (#19533) 2018-05-30 09:41:53 -04:00