Commit graph

17523 commits

Author SHA1 Message Date
Stacey Gammon c639deba73
Move all reporting tests into their own folder and add chromium tests (#19330)
* 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-05 18:41:23 -04:00
Stacey Gammon 2a715b0034
updateUrl is on scope, not this. (#19687) 2018-06-05 18:40:40 -04:00
archana 547723f24c
[Functional test server] Watch port for optimize should be different (#19619) 2018-06-05 16:10:15 -05:00
Søren Louv-Jansen ac1ddfe5ff
Add bool filter to suggestion endpoint (#19476) 2018-06-05 20:22:49 +02:00
Stacey Gammon 16fc1cf3d9
Typescriptify ui/embeddable folder (#19648)
* 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 13:58:54 -04:00
Tim Sullivan 1617da93dd
[X-Pack Usage API] use authentication from request headers (#19613)
* [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 10:38:02 -07:00
Justin Kambic 194e427bc8
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:30:11 -04:00
Søren Louv-Jansen a4285916dd
[APM] Fix debug param issue (#19676)
* [APM] Fix debug param issue

* [APM] Fix _debug issue and add test
2018-06-05 17:56:01 +02:00
liza-mae a9011b32c1
Update browser window size for console test (#19664) 2018-06-04 16:58:36 -06:00
Brandon Kobel c533ac91fe
SavedObjects service and client provider (#19349)
* 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-04 17:02:25 -04:00
Jonathan Budzenski 13d78a7f73
[build] no-bin-links, remove .bin folders (#19373)
* [build] no-bin-links, remove .bin folders

* add comment
2018-06-04 12:39:28 -05:00
Bill McConaghy 55c65a7c62
[console] porting console tests to Jest (#19543)
* porting console tests to Jest

* adding missing import
2018-06-04 11:23:59 -04:00
Chris Roberson ff601039b0
[Management] Show internal indices when toggled even if there are no other indices (#19618)
* 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 09:11:51 -04:00
Toby McLaughlin 92c9ad7276
[DOCS] Update Docker config steps for open X-Pack (#19486) 2018-06-04 10:37:26 +10:00
Søren Louv-Jansen a8fc3fc94a
[APM] Fix missing _debug validator (#19639) 2018-06-03 22:43:29 +02:00
Jonathan Budzenski 5da80f12e3
[build] Clean extra browsers (#19605)
* [build] Clean extra browsers

* remove log

* cleanup

* refactor

* names
2018-06-01 15:25:25 -05:00
Thomas Neirynck 9b796133c1
Show tooltip when mixing string and integer fields for joining region maps to ES results (#19447) 2018-06-01 13:12:35 -04:00
Aleh Zasypkin bc5f05ef2f
Execute tsc.cmd on Windows during build. (#19622) 2018-06-01 18:49:55 +02:00
Stacey Gammon 7440e9734d
Accessibility updates (#19561)
* 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 11:35:58 -04:00
Jonathan Budzenski a2f3922f03
Revert "fix docs cli command (#19501)" (#19579)
This reverts commit 735bda343d.
2018-06-01 10:25:38 -05:00
Chris Roberson 9ce082b1f4
Disable the dirty prompt until #19594 is resolved (#19595) 2018-06-01 08:58:43 -04:00
Tim Sullivan a801752e79
[Reporting/Usage] Check monitoring enabled before registering collector (#19581) 2018-05-31 15:18:02 -07:00
Aaron Caldwell 8f206db2c5
Feature/align map config settings (#19450)
* Update config schema to allow map.tilemap & map.regionmap

* Inject map.regionmap & map.tilemap. Fall back to top-level config declarations if needed

* Warn user on use of legacy map config vals

* Don't create default map objects for deprecated entries. Add notes indicating top-level objects are deprecated

* Update map references in docs

* Shuffle map configurations in docs to be grouped together
2018-05-31 13:57:44 -06:00
Stacey Gammon 31bd7a2f63
Unskip 'and preserves edits on cancel' test (#19412)
* 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 15:31:48 -04:00
lcawl f6944a7236 [DOCS] Fixes link to X-Pack settings 2018-05-31 11:14:59 -07:00
gchaps 94de950ddb
[DOCS|Monitoring] Added text about first time opening Kibana Monitoring (#19460)
* [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 08:16:31 -07:00
Søren Louv-Jansen a1f345e446
[APM] Add debug option (#19587) 2018-05-31 16:55:41 +02:00
Stacey Gammon 8318449120
Clean up context menu toggle in view mode (#19558)
* 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 10:32:36 -04:00
Nathan Reese 3dae391e89
Convert Dashboard save dialog to react/EUI (#19531)
* 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 08:28:47 -06:00
Stacey Gammon 8d1629a7a6
It's confusing to see the timestamp of started_at if the status says "completed" (#19551)
fixes https://github.com/elastic/kibana/issues/17912
2018-05-30 19:37:32 -04:00
Court Ewing ac9ed89d6f
license: do not parse expiry date if it does not exist (#19565)
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 15:25:55 -04:00
Jen Huang 863707edf8
Fix filtering of source filters table (#19522) 2018-05-30 11:51:19 -07:00
Bill McConaghy 7dd14fa480
fixing basic license revert on Firefox (#19566) 2018-05-30 14:37:09 -04:00
lcawl 2cf9a88dc5 [DOCS] Remove xkb-repo-dir attribute 2018-05-30 10:21:51 -07:00
Lisa Cawley 4b5eefeb4d
[DOCS] Moves monitoring folder to docs (#19516) 2018-05-30 09:43:38 -07:00
Court Ewing 5abc2dc738
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:27:48 -04:00
Chris Davies 77c03ecb80
Add support for aliases to es_archiver (#19350) 2018-05-30 11:37:58 -04:00
Chris Davies ab6dfe7043
Tweak repl to be a bit more useful (#19395)
* Tweak repl to be a bit more useful:

- Start it earlier so it can be used to diagnose server boot bugs
- Retain kbnServer, etc when repl is cleared (`.clear`)
- Change default print depth so it doesn't bomb when printing kbnServer
- Allow print depth to be changed as previous bullet may be annoying
2018-05-30 11:37:01 -04:00
Chris Davies 9d08ab7f49
Modify es_archiver to allow saving of raw archives (#19348) 2018-05-30 11:36:13 -04:00
Nathan Reese 8de20f23fd
Remove react-select from kibana (#18876)
* 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 09:21:38 -06:00
Fabien Baligand 751b0c173d 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:12:56 -05:00
Lisa Cawley 8a2cdaedcd
[DOCS] Moves security folder to docs folder (#19514) 2018-05-30 07:37:20 -07:00
Brandon Kobel f4f894a972
Introducing base audit logger (#19442)
* 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 08:26:09 -04:00
Lisa Cawley 4e95a8a162
[DOCS] Moves upgrade-assistant folder to docs (#19523) 2018-05-29 22:58:54 -07:00
Lisa Cawley d6040dc5b0
[DOCS] Moves setup folder to docs (#19525) 2018-05-29 22:45:19 -07:00
Lisa Cawley a13377034a
[DOCS] Creates dev-tools folder (#19528) 2018-05-29 22:37:51 -07:00
Lisa Cawley 1a70477ca8
[DOCS] Move watcher-ui folder to docs (#19529) 2018-05-29 22:29:49 -07:00
Lisa Cawley fee60ecbd4
[DOCS] Moves graph folder to docs (#19530) 2018-05-29 22:21:01 -07:00
Bill McConaghy e1791b457c
bringing console in line with Kibana eslint rules (#19438) 2018-05-29 20:47:30 -04:00
Lisa Cawley 31c5065156
[DOCS] Moves settings folder to docs (#19521) 2018-05-29 17:27:25 -07:00