Commit graph

1055 commits

Author SHA1 Message Date
Bill McConaghy
aba5281601
reload full index list when reload hits missing index (#27197) (#27240)
* reload full index list when reload hits missing index

* handling open detail panel for deleted index

* copy edit
2018-12-14 14:00:33 -05:00
Melissa Alvarez
ffbfb9de22
[ML] Ensure loading indicator is present on initial jobs load (#27151) (#27231)
* Show table loading on initial jobs load

* Use async/await and try/catch to catch job load failure
2018-12-14 11:57:29 -06:00
Caroline Horn
72f71ef468
Even moar 'ui/public' LESS to SASS (#26435) (#27221)
also Fixes #26597
2018-12-14 12:48:59 -05:00
Sonja Krause-Harder
a0e3a1f0ef
[Infra UI] Don't show sidenav while loading. (#27119) (#27208)
* Don't show sidenav while loading.

* Remove useless use of cast.
2018-12-14 18:46:53 +01:00
Larry Gregory
9910d58a1a
Angular module updates (#27211) (#27222) 2018-12-14 12:35:51 -05:00
Melissa Alvarez
5bb75a2b9e
[ML] Settings/Calendars: Prevent new calendar save if id already exists (#27104) (#27224)
* Prevent new calendar save if duplicate id

* add test for duplicate id detection

* Use danger notif for duplicate id error
2018-12-14 11:34:48 -06:00
Walter Rafelsberger
9c8d75c94a
[ML] User Annotations (#26034) (#27199)
Allows users to add/edit/delete annotations in the Single Series Viewer.
2018-12-14 14:51:21 +01:00
Felix Stürmer
031759a497
[6.x] Remove usage of ts-optchain in the browser (#27148) (#27193)
Backports the following commits to 6.x:
 - Remove usage of ts-optchain in the browser  (#27148)
2018-12-14 14:01:57 +01:00
Catherine Liu
960fadea55
Passes query string instead of query object in esdocs (#27157) (#27184) 2018-12-14 00:56:39 -07:00
Catherine Liu
6e2fa8ea33
Added onWheel event handler to update mouse position (#27096) (#27182) 2018-12-14 00:56:26 -07:00
Maryia Lapata
631a093023 [i18n] Translate untranslated labels (#26416) (#27016)
* Translate some missing translations

* Fix issues

* Add topNavMenu translations

* Fix issues

* Fix topNav

* Fix issues

* Fix issues

* Fix kbnTopNav test and parametrs description
2018-12-14 10:24:30 +03:00
Bill McConaghy
b1d2a3d608
More ilm fixes (#27153) (#27178)
* fixing issues with index lifecycle summary

* correcting action / action time headers

* adding placeholder for optional replica fields and removing set to same link

* removing include/exclude from policy definitions

* changing wording to linked indices

* updating test snapshots

* changing index alias to index rollover alias

* changing minimum age select and label to make timing clearer

* adding description of valid policy name

* adding link to docs for timing

* adding defaults for hot and warm phase

* fixing tests and React warnings

* fixing spacing issues with min age component

* making actions button empty

* fixing invalid prop for empty button

* setting timzone to utc to fix snapshot tests

* copy edits

* addressing PR feedback
2018-12-13 21:02:16 -05:00
Tim Sullivan
a34e01a836
[Reporting] Re-enable some skipped tests (#27094) (#27177)
* [Test/Reporting] Enable "generates a report with/without data"

* navigate to discover before each csv test

* get another test working

* re-enable more tests

* refactor api usage tests

* catch error in createIndex to avoid race condition in test

* delete reports before
2018-12-13 17:56:35 -07:00
Bill McConaghy
73df41bd70
fixing broken breadcrumb link for index management (#27164) (#27172) 2018-12-13 19:11:59 -05:00
Felix Stürmer
73e7ac28f5
[6.x] [Infra UI] Replace redux source slice with constate container (#26121) (#26721)
Backports the following commits to 6.x:
 - [Infra UI] Replace redux source slice with constate container  (#26121)
2018-12-14 00:04:14 +01:00
Tim Sullivan
18d41b6cde
[reporting] disable surprisingly failing test (#26738) (#27068)
* [reporting] disable surprisingly failing test

* fix expected completion count

* quit chasing, just exclude these configs
2018-12-13 14:20:21 -07:00
Chris Cowan
1ab598c646
[Infra UI] Change node detail link to set time range to 1 hour (#26977) (#27134)
* Change time range for link to -1h

* Moving timeRange manipulation up a level to the node component
2018-12-13 10:13:14 -07:00
Melissa Alvarez
0065fc5043
Remove old schedule_events dir (#27095) (#27128) 2018-12-13 10:28:45 -06:00
Bhavya RM
519f0857c9
Adding the missing alt tag for waffle node type switcher svgs (#27070) (#27122)
* adding the missing alt tag

* making alt attribute empty
2018-12-13 10:14:32 -05:00
pavel06081991
8596da5d51
[6.x] [i18n] Translate ML - File Datavisualizer (Part 2) (#25642) (#27040)
* [i18n] Translate ML - File Datavisualizer (Part 2) (#25642)

translate file_datavisualizer folder of Machine Learning (Part 2)

[ML] Remove duplicate import in file_datavisualizer_directive (#27044)
2018-12-13 09:43:07 +03:00
Court Ewing
af0bb705fb
[security] Support alternate auth providers for login (#26979) (#27097)
Login is no longer coupled directly to our basic auth provider, so
alternative auth providers can now be used with our standard login flow.
The LoginAttempt request service is the mechanism for auth providers to
integrate with the login flow.
2018-12-12 20:18:39 -05:00
Catherine Liu
18d8228cc8
Updated tinymath ref links (#27085) (#27090) 2018-12-12 17:14:08 -07:00
Joel Griffith
417bd9b3e3
Reporting regression: reports always retrying regardless of outcome (#26995) (#27082)
* This fixes an issue where reports are always retried regardless of status
2018-12-12 14:39:26 -08:00
Jen Huang
bef0e827a2
Silently swallow request failures so that the create button isn't blocked (#26988) (#27062) 2018-12-12 14:12:39 -08:00
Catherine Liu
8a4f074f64
Better fix for wonky page preview resizing issue (#26795) (#27080) 2018-12-12 15:03:30 -07:00
Bill McConaghy
86de250655
adding informational callout when step_info message is present (#27046) (#27074)
* adding informational callout when step_info message is present

* updating test and snapshot

* changing title to action status
2018-12-12 16:39:08 -05:00
Søren Louv-Jansen
66a432b1c2
[APM] Convert errors API to typescript (#26801) (#27071) 2018-12-12 22:18:19 +01:00
Bill McConaghy
d7c1353154
adding reload indices button to index management (#27033) (#27072)
* adding reload indices button to index management

* addressing PR feedback
2018-12-12 16:12:56 -05:00
Brandon Kobel
cc0cdc61d3
Redirecting to /, instead of /login, on the successfully logged out page (#26999) (#27065)
We're using the successfully logged out page with the SAML provider
currently, so redirecting to the /login page is problematic since they
won't be able to login using this url. Instead, we're redirecting them
to '/' so that the auth providers can figure out what to do.
2018-12-12 12:56:25 -08:00
Joel Griffith
b111074004
Reporting/reveal document bytes (#26667) (#27056)
* Adding a `size` property to all job-reporting meta-data and showing in reporting details pane
2018-12-12 11:33:17 -08:00
Joel Griffith
e69ca8d5eb
Logging when max-bytes is larger than what's set in ES (#26482) (#27058)
* Simple check if ES body-size is smaller than KBN report size
2018-12-12 11:33:04 -08:00
Melissa Alvarez
00ab45a26d
[ML] calendar eui conversion (#26741) (#27054)
* Create calendar list in react

* wip: create new_calendar page

* Update new calendar settings directory name

* Edit button action + update utils

* Adds ability to create new calendar

* Display calendar data on edit

* rename directory to settings/calendar

* Add scss files to calendar dir

* Create new group from form

* Adds event table and partial event modal.

* adds datepicker to modal

* Time range event functionality

* add import event functionality

* upate new event modal design

* Add error handling to list/edit

* calendarId validity check

* Create/delete permission. List/form style tweak

* Update calendarList to match filterList

* Add missing newlines in scss files

* Initial tests for calendar list

* Update classnames to meet guidelines

* ImportedEvents component + create utils

* remove unnecessary import

* rename calendars dir

* include past evens in import if checkbox checked

* code review updates

* move components into own directories

* update index.scss with dir name change

* skip irrelevant tests

* fix unsaved event deletion. rename scss file.

* Add modal tests

* Show calendarId and description as header on edit

* update snapshot for refactor

* update classnames to BEM guidelines

* Update snapshot for classname change
2018-12-12 13:22:59 -06:00
Bill McConaghy
5b82c0692b
fixing some validation issues with edit policy (#27045) (#27050)
* fixing validation issues with editing existing policy

* preventing less than 1 values for max size and max age and adding tests
2018-12-12 13:29:50 -05:00
Bhavya RM
af9d3baacb
Adding label-has-associated-control to jsx-a11y lint rules and associated UI fixes (#27039) 2018-12-12 11:42:58 -05:00
Gil Raphaelli
af681c273a
add missing apm-server response error monitor (#26570) (#27026) 2018-12-12 11:05:52 -05:00
Maryia Lapata
9d0d7894e8
[i18n] Optimize translation labels for Roles page (#26945) (#27029)
* [i18n] Optimize translation labels

* Usage of ng-if instead of ng-show
2018-12-12 17:09:34 +03:00
Felix Stürmer
54be8b9a38
[6.x] [Infra UI] Fix styling after breaking EUI changes (#27021) (#27028)
Backports the following commits to 6.x:
 - [Infra UI] Fix styling after breaking EUI changes  (#27021)
2018-12-12 14:25:34 +01:00
Larry Gregory
cd7087b985
[6.x] Fixes i18n issue in space nav selector (#26742) (#27025)
Backports the following commits to 6.x:
 - Fixes i18n issue in space nav selector  (#26742)
2018-12-12 07:49:06 -05:00
Pete Harverson
a87f486afd
[ML] Fix word break in anomalies and jobs tables (#26978) (#27019) 2018-12-12 11:53:31 +00:00
pavel06081991
fff9f1d7a2
[i18n] Translate ML - File Datavisualizer (Part 1) (#25641) (#26969)
translate file_datavisualizer folder of Machine Learning (Part 1)
2018-12-12 10:09:28 +03:00
Oliver Gupte
ec598c5cef
[APM] Fix for library frames not collapsing (#26827) (#27013)
* [APM] fixes #26525
- simplified the stackframe grouping algorithm
- add support for `stackframe.exclude_from_grouping`
- made the rendering more tolerant of edge cases

* Made improvements to code readability and added more meaningful test cases
2018-12-11 20:17:32 -08:00
Brandon Kobel
86c9a69c16
Fixing issues with the url.search being null in Node 10 (#26992) (#27007)
Node 10 uses `null` to denote the non-existence of a querystring
parameter when `url.parse(urlString, true)` is used, the following
changes fix our usages within the security plugin.
2018-12-11 17:23:17 -08:00
Catherine Liu
39aca6ffd2
[6.x] Feat: Workpad Templates (#23966) (#26980)
* Feat: Workpad Templates (#23966)

* Added workpad manager which contains workpad_loader and workpad_templates

* Fixed term filter in workpad_templates

* design changes

* Removed console logs

Closes workpad manager modal after cloning template

Fixed filtering workpad templates

Removed console log

Added sample templates

Added more templates to test with

Removed cloneDeep

* case insensitive template search

* Case insensitive tag order in popover

* added descriptions and tags to sample data workpads

* refine list of initial templates

* remove sample data templates, make buttons bigger

* Added template and tag registries

* Fixed workpad loader resizing issue on home page

* Moved tags to ui folder

* Fixed template class

* Fixed properties in templates to match workpad

* fix lint errors (#26985)
2018-12-11 16:12:32 -07:00
Matt Apperson
80d9fe5bb7
[Beats CM] Backport refactor(#26636) to 6.x (#26886)
* [BeatsCM] Cleanup and refactor (#26636)

* Refactor BeatsCM

* update deps

* update more deps

* update for new EUI definitions

* update import

* Revert "update deps"

This reverts commit 759a14561d.

* use _source_includes

* remove _source_includes

* work-around due to watcher UI tests

* Keep all xpack checks safe because we cant trust its there in tests for some reason

* VALIDATION. This commit is to ensure the errors in CI are coming from beats

* remove validation that this is a beats CM issue

* More try/catch to try and find where this error is

* testing another call

* revert back to dangerouslyGetActiveInjector

* ensure expire always is a number

* fix swallowed error

* Update x-pack/plugins/beats_management/public/lib/compose/kibana.ts

Co-Authored-By: mattapperson <me@mattapperson.com>

* Update x-pack/plugins/beats_management/public/utils/page_loader.test.ts

Co-Authored-By: mattapperson <me@mattapperson.com>

* Update x-pack/plugins/beats_management/public/utils/page_loader.ts

Co-Authored-By: mattapperson <me@mattapperson.com>

* fix for new webpack import

* Fix translation map

* fix URL path

* fix other link

* removing tag from beats via tag details screen now uses container

* remove debug text

* added comment/readme about routing on the client side

* enrolled beat UI now works on overview screen

* newly enrolled beat now reloads the beats table

* fix TS errors

# Conflicts:
#	x-pack/plugins/beats_management/public/lib/adapters/elasticsearch/rest.ts
#	x-pack/plugins/beats_management/server/lib/adapters/beats/elasticsearch_beats_adapter.ts
#	x-pack/plugins/beats_management/server/lib/adapters/database/adapter_types.ts

* fix import for 6.x

* fix formatting
2018-12-11 17:59:07 -05:00
Joe Fleming
ebdba853e1
Fix: Support columns with dots (#26659) (#26993)
Closes https://github.com/elastic/kibana/issues/26405

Upgrades tinymath so that columns with dots now work correctly.

---

To test, follow the details in #26405.

1. Get some data that has fields with dots in them. Beats data would work, or you can create a test index with just 2 documents as follows: 

```
POST test/test
{
  "string":"abc",
  "with.dot":"abc"
}
POST test/test
{
  "string":"abcd",
  "with.dot":"abcd"
}
```

2. Create a pie chart, splitting labels on one of the available fields.

Previously, given the POST info above, only `string` would work correctly. Now both (and both of their `.keyword` variants) work correctly.

![dec-04-2018 13-35-47](https://user-images.githubusercontent.com/404731/49473970-b2cf7a00-f7d0-11e8-995b-e1a5e2a2acba.gif)
2018-12-11 15:44:41 -07:00
Bill McConaghy
71a2478bf3
quick ILM fixes (#26966) (#26973)
* fix fatal IE 11 error with undefined TextEncoder

* fixing validation issue with hot phase

* fixing double scroll bar on IE11
:
2018-12-11 11:47:38 -05:00
Pete Harverson
9804209244
[ML] Do not pass datafeed query to Discover in custom URL (#26957) (#26972) 2018-12-11 16:32:40 +00:00
Larry Gregory
08ff0ef54e
[6.x] Improve wording when creating a space (#26915) (#26960)
Backports the following commits to 6.x:
 - Improve wording when creating a space  (#26915)
2018-12-11 09:31:02 -05:00
Bhavya RM
0dbf35bc7e
fixing a11y errors so we can add a11y rules to tslint (#26895) (#26936) 2018-12-11 09:12:21 -05:00
Larry Gregory
17b6fc7294
[6.x] Only show change password form when a password change is possible (#26779) (#26954)
Backports the following commits to 6.x:
 - Only show change password form when a password change is possible  (#26779)
2018-12-11 08:30:02 -05:00