Commit graph

181 commits

Author SHA1 Message Date
CJ Cenizal 2ada1b348a
Replace Watcher's watch-type-select directive with two buttons. (#19782) 2018-06-13 17:08:13 -07:00
CJ Cenizal 0a2ce7d370
Add described-by attribute to duration-selection directive to make children inputs screen reader accessible. (#19779) 2018-06-13 17:05:42 -07:00
CJ Cenizal 9493ac4093
Add aria-label to Indices Management search input. (#19778) 2018-06-13 17:04:50 -07:00
CJ Cenizal 8657a9e61b
Add aria-labelledby to index details flyout to tell screen reader what to announce when the flyout is opened. (#19776) 2018-06-13 17:01:35 -07:00
Walter Rafelsberger 7b4e823d2e
[ML] Fixes agg-type dropdowns size and styling. (#19816)
- Fixes an issue with cut off text within aggregation type dropdowns in the multi-metric and population wizard.
- Fixes the style of the dropdown to be consistent across browsers.
- Fixes 1px vertical offset between dropdown and trash-icon.
2018-06-13 17:31:55 +02:00
CJ Cenizal 647d3366eb
Upgrade EUI to 0.0.52 (#19772)
* Revert "Revert "upping eui to 0.0.52 and updating snapshots (#19761)" (#19770)"
This reverts commit c853072ca5, reintroducing EUI 0.0.52.
* Rename visualize page object selectors for manipulating combo box.
2018-06-12 10:47:20 -07:00
Walter Rafelsberger d186aafb46
[ML] Disable cell range selection. (#19795) 2018-06-12 15:07:09 +02:00
Walter Rafelsberger 0d0256796f
[ML] Deprecates jQuery in favour of d3's axis component for the swimlanes axes. Adds support to remove overlapping labels. (#19800)
- Deprecates the use of jQuery to render the swimlanes axis labels and uses d3's axis component instead. We already used d3 features like d3.scale and others to calculate the label positions but the DOM rendering was still done using jQuery.
- Additionally, adds some logic to remove/fix overlapping labels.
2018-06-12 15:05:35 +02:00
Walter Rafelsberger 0b7367137b
[ML] Migrates advanced job wizard page wrapper to EUI. (#19815) 2018-06-12 15:02:23 +02:00
Walter Rafelsberger d2e0aed450
[ML] Fix cosmetic issues with cut off chart overflows. (#19794)
1. Increases the top margin to 5 and the right margin to 1 to avoid cutting off the chart because overflow is hidden for the directives mlEventRateChart and mlMultiMetricJobChart. The top margin gives enough room to avoid cutting off y-axis labels. The right margin is a tweak to not cut off the gray border by 1 pixel to the right.
2. Fixes how the domain for mlEventRateChart is calculated. The domain gets now extended by 1 barsInterval, otherwise the last bar will start at the end of vizWidth and overflow the chart (the overflow is hidden so the visible chart missed one bar).
2018-06-11 17:04:50 +02:00
Pete Harverson af5215fb9f
[ML] Fix Single Metric Viewer for multi week bucket spans (#19759)
* [ML] Fix Single Metric Viewer for multi week bucket spans

* [ML] Edit to comment in ML time buckets calcEsInterval
2018-06-11 09:42:59 +01:00
CJ Cenizal c853072ca5
Revert "upping eui to 0.0.52 and updating snapshots (#19761)" (#19770)
This reverts commit a6894c6f62.
2018-06-08 14:04:26 -07:00
Bill McConaghy a6894c6f62
upping eui to 0.0.52 and updating snapshots (#19761)
* upping eui to 0.0.52 and updating snapshots

* fixing yarn.lock
2018-06-08 15:40:03 -04:00
Bill McConaghy 990e454b92
[console] Adding documentation to console (#19715)
* adding documentation links when the endpoint is known

* making doc link reflect version user is using

* adding documentation links for xpack APIs

* fixing missing argument issue

* removing console log

* fixing issue with lingering documentation after text is deleted

* fixing issue with documentation and multiple commands in the editor

* adding $scope.$apply so documentation changes show up in UI

* removing dead code

* adding missing boost param for match_all

* fixing issue with parameterized endpoint completion

* adding keyboard shortcut for opening documentation for current request

* fixing issue with keyboard docs shortcut when you just move the cursor around
2018-06-08 12:47:22 -04:00
Jonathan Budzenski 5148dbf6f5
[package.json] Add missing dev dependencies (#19625) 2018-06-08 11:32:31 -05:00
Pete Harverson 2462884636
[ML] Use EUI table getRowProps for anomalies table row mouseover (#19755) 2018-06-08 13:24:22 +01:00
Tim Sullivan cbd319f92c
[Monitoring] Fix Node Advanced page (#19740)
* [Monitoring] Fix Node Advanced page

* fix metrics snapshot
2018-06-07 17:05:43 -07:00
Bill McConaghy 831b9f83fd
Console cleanup (#19654)
* 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:00:05 -04:00
James Gowdy aba92631a3
[ML] Removing unnecessary sr-only span (#19697) 2018-06-06 13:02:10 +01:00
Bill McConaghy 145163a51e
upping to EUI 0.0.51 and fixing tests that broke (#19653)
* 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:25:45 -04:00
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
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
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
Søren Louv-Jansen a8fc3fc94a
[APM] Fix missing _debug validator (#19639) 2018-06-03 22:43:29 +02: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
Søren Louv-Jansen a1f345e446
[APM] Add debug option (#19587) 2018-05-31 16:55:41 +02: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
Bill McConaghy 7dd14fa480
fixing basic license revert on Firefox (#19566) 2018-05-30 14:37:09 -04:00
Lisa Cawley 4b5eefeb4d
[DOCS] Moves monitoring folder to docs (#19516) 2018-05-30 09:43:38 -07: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
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
Lisa Cawley 93cf017b62
[DOCS] Move ml folder to docs (#19512) 2018-05-29 15:46:35 -07:00
Tim Sullivan 6760a64c3d
[Monitoring/React] Logstash cluster status bars in react (#19433)
* [Monitoring/React] Logstash cluster status bars in react

* not have a prop named children

* simplify conditional metric

* fix functional tests
2018-05-29 14:36:32 -07:00
Lisa Cawley c8d53bcf76
[DOCS] Moves apm folder to docs (#19518) 2018-05-29 13:48:50 -07:00
Stacey Gammon 803d0a61f3
Update dashboard snapshot tests (#19420)
* 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-29 12:58:36 -04:00
Spencer f0cc432faf
Apache 2.0 license headers (#19383)
In order to make the license that applies to each file as clear as possible, and to be consistent with elasticsearch, we are adding Apache 2.0 license headers to the top of each file.

Existence of this header is enforced by eslint and tslint and missing headers were automatically added in the last commit by running:

```
node scripts/eslint --fix && node scripts/tslint --fix
```
2018-05-28 20:06:30 -07:00