Commit graph

17518 commits

Author SHA1 Message Date
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
Lisa Cawley 4c2b432ba6
[DOCS] Moves reporting folder to docs (#19517) 2018-05-29 17:26:09 -07:00
Lisa Cawley c3954b47d0
[DOCS] Moves dashboard_only_mode folder to docs (#19532) 2018-05-29 17:18:56 -07:00
Tim Sullivan 1b6c5b1c6c
[Monitoring] use defaulValue instead of filter to make pre-filled text input editable (#19462) 2018-05-29 16:30:43 -07:00
dave.snider@gmail.com b9675ccbca
Visual cleanup of saved objects page (#19434)
* clean up the design of saved objects
* minor responsive fixes
* up the saved object per page setting to something reasonable
2018-05-29 16:22:24 -07:00
Lisa Cawley 93cf017b62
[DOCS] Move ml folder to docs (#19512) 2018-05-29 15:46:35 -07:00