Commit graph

19955 commits

Author SHA1 Message Date
Chandler Prall
3e224eb445
Upgrade EUI to 6.10.1 (#30404) (#30440) 2019-02-08 09:05:36 -07:00
Walter Rafelsberger
6bb1b10cee
[ML] Fix double escaping. (#30492) (#30499)
Because the info tooltip has been migrated to React, the escaping necessary for the previous jQuery based tooltip resulting in a double escaping and special character visible in the tooltip. This fixes it by removing the now unnecessary escaping.
2019-02-08 14:29:43 +01:00
Nathan Reese
ab34ca30c5
deconflict yarn.lock (#30465) 2019-02-07 20:58:09 -07:00
Thomas Neirynck
273549eca5
[Maps] Correctly handle single-feature joins (#30409) (#30471) 2019-02-07 22:38:31 -05:00
Aaron Caldwell
2ea8c33834
Default scroll wheel zoom to false on vega maps. Update docs (#21169) (#30449) 2019-02-07 20:03:16 -07:00
dave.snider@gmail.com
177537a80e
back to navyish (#28697) (#30320)
* back to navyish

* Update src/ui/public/chrome/directives/global_nav/_global_nav.scss
2019-02-07 18:37:19 -08:00
Luke Elmers
57e8b773a2
Don't trigger autorefresh when autofetch false (#30405) (#30425) 2019-02-07 19:18:18 -07:00
Thomas Neirynck
e16f98bd06
[Maps] Fix tileload error messaging / Fix heatmap error message (#30327) (#30444) 2019-02-07 19:49:23 -05:00
James Gowdy
252a09971f
[ML] Fixing position of job management search bar error (#30251) (#30361)
* [ML] Style tweaks for job management in K7

* adjusting search bar error

* removing custom title style for EuiTitle
2019-02-07 19:57:18 +00:00
Caroline Horn
eb77967d76
[6.7] EUI 6.10.0 & Background color fixes (#30136) (#30323) 2019-02-07 12:44:26 -05:00
Court Ewing
8f7444b1fa
[6.7] Allow running Kibana against the next major of Elasticsearch (#30390)
To support rolling major upgrades of Elasticsearch, Kibana no longer
fails to start when it encounters an Elasticsearch cluster that is one
major version higher. This change requires that the version of Kibana in
which it ships be compatible with the next major version of
Elasticsearch.
2019-02-07 10:51:04 -05:00
Tim Sullivan
a2dff171b8
[6.7] [Task Manager] Provide "include_type_name: true" in put template (#30261) (#30304)
* [Task Manager] Provide "include_type_name: true" in put template (#30261)

* [Task Manager] Provide "include_type_name: true" in put template

* fix for 7.0+

* fix for 6.7
2019-02-07 08:17:29 -07:00
Nathan Reese
a2576c1598
merge conflicts (#30376) 2019-02-07 07:50:31 -07:00
Walter Rafelsberger
c139d4ecab
[6.7] [ML] Adds jest tests for annotation_service. (#30193) (#30205)
This adds tests to `server/models/annotation_service`. The tests include a check if the `.key` attribute of an annotation is properly removed from an annotation before indexing it.
2019-02-07 09:41:54 +01:00
Walter Rafelsberger
06d9def36c
[ML] Fixes dragSelect regression. (#29577) (#29589)
Some SCSS still used ml-explorer-swimlane (note the selector without the dot) for rules which referenced the angularjs tag <ml-explorer-swimlane /> which wrapped the swimlane. This element no longer exists in the DOM after the migration to React. Because the selector didn't match anymore, cells in the swimlanes would get a gray border when drag-selecting even if the feature to select a range of cells was turned off.

This fixes it by updating the SCSS to match the corresponding elements again. The referenced classes have been renamed to camelCase + ml-prefix and moved out of the deeply nested code. But no further SCSS refactoring is done in this PR, this is just about fixing this regression. Some legacy CSS from the ml-explorer-swimlane rule has been removed too.
2019-02-07 09:37:55 +01:00
Silvia Mitter
7beb98dd56
[APM] Update index pattern. (#30206) 2019-02-07 09:28:04 +01:00
Chris Roberson
55aae40598
[6.7] [Monitoring] Restore mappings.json (#30153) (#30244)
* Backport #30153

* Upgrade elasticsearchjs to 15.4

* Bump consistently

* Default to 6.7

* Revert "Default to 6.7"

This reverts commit 4f9de6ee46.

* Revert "Bump consistently"

This reverts commit 9588431aba.

* Revert "Upgrade elasticsearchjs to 15.4"

This reverts commit 8ea162d624.
2019-02-06 22:05:02 -05:00
Spencer
3f97d4b8e4
[6.7] [yarn] upgrade elasticsearch-js (#30298)
Backports the following commits to 6.7:
 - [yarn] upgrade elasticsearch-js (#30294)
2019-02-06 18:11:06 -08:00
James Gowdy
689f22db66
[ML] Fixing the hiding of the timepicker on the settings and data visualizer landing page (#30200) (#30307)
* [ML] Fixing the hiding of the timepicker on the settings page

* disabling timefilter on file data visualizer pages

* removing comment
2019-02-06 21:54:00 +00:00
liza-mae
4b4e1de5c7
Enable reporting tests on 6.x (#29666)
* Unskip reporting tests

* Remove phantom
2019-02-06 09:44:32 -07:00
Mike Côté
e51c3c1c1f
Fix .backportrc.json to use 7.x instead of 7.1 (#30253) (#30256) 2019-02-06 10:51:58 -05:00
Justin Kambic
cbebb9030e
[Uptime] Responsive snapshot histogram chart (#29649) (#30198)
* [Uptime] Responsive snapshot histogram chart (#29649)

* Resize snapshot histogram chart.

* Update busted tests.

* Update test snapshot after merge.
2019-02-06 10:14:04 -05:00
Court Ewing
8560600bf9 add 7.1 and 7.0 to backport config (#30248) 2019-02-06 10:11:17 -05:00
Felix Barnsteiner
d2225bfbf3
Remove beta warning from Java agent instructions (#29532) 2019-02-06 15:50:23 +01:00
Joe Reuter
0c5fca7934
Fix legend overflow bug on dashboard vis (#29948) (#30189) 2019-02-06 15:13:30 +01:00
Court Ewing
5588435597 6.x -> 6.7 branch variables 2019-02-06 08:37:51 -05:00
Justin Kambic
ec9f0b18ad
Add code to format the timeseries data to local time. (#30160) (#30194) 2019-02-06 07:59:12 -05:00
Justin Kambic
6acd31f085
[Uptime] Use EUI color palette for charts/histograms (#29439) (#30178)
* Add hardcoded eui primary/danger to charts/histograms.

* Use EUI JSON vars for color values.
2019-02-06 06:53:54 -05:00
Walter Rafelsberger
3d565603d0
[ML] Remove key attribute from annotation before indexing. (#30183) (#30187)
The UI adds a `key` attribute to annotation objects to store the letter used for labels in the chart and tables. When editing and saving an annotation that `key` could end up being saved to the annotations index. This isn't necesseary since the `key` attribute is just a dynamic label used within the UI. This fixes it by deleting an eventual `key` attribute from the annotations object before saving it to the index.
2019-02-06 12:17:25 +01:00
Felix Stürmer
ea8042042f
[6.x] [Infra UI] Patch the log sample dataset to be compatible with default log sources (#30060) (#30184)
Backports the following commits to 6.x:
 - [Infra UI] Patch the log sample dataset to be compatible with default log sources  (#30060)
2019-02-06 11:57:11 +01:00
Daniil Suleiman
1d1a4f63d9
TSVB search requests should have a timeout (#28843) (#30182)
* Fix TSVB search requests should have a timeout

* Add unit test

* Refactor code, add timeout on table data

* Add a check for esShardTimeout greater than 0
2019-02-06 12:13:34 +03:00
Nathan Reese
2080a2bced
[Maps] Clear missing style props on source change and join change (#30112) (#30176)
* [Maps] clear missing style properyties

* add tests

* review feedback
2019-02-05 21:10:12 -07:00
Tim Sullivan
c32e4434c9
[6.x] [Task Manager] Ensure putTemplate will only create/update the index template (#28540) (#30163)
* [Task Manager] Ensure putTemplate will only create/update the index template (#28540)

* get template version

* ensure putTemplate only creates/updates the template

* fix tests

* new test for throwing error re old template

* note comment

* clean up test

* test clarification

* store kibana metadata in scheduled task doc

* map `dynamic: false`

* logging

* add kibana uuid

* fix tests

* last todo

* fetching available task uses apiVersion in the query

* scheduledAt

* ts fix

* ts fix

* fix snapshot

* await to fail test if snapshot does not match

* fix bad merge

* remove _.get

* fix typeError happening in tests

* undo merged 7.0 changes
2019-02-05 21:08:41 -07:00
Nick Peihl
abd49fa46f
Fix topojson featurecollection path (#30173) (#30175) 2019-02-05 19:56:31 -08:00
Tiago Costa
757470e786
Upgrade thread loader (#27518) (#30168)
* chore(NA): update thread-loader version.

* chore(NA): upgrade to thread-loader 2.1.0.

* chore(NA): update thread-loader to 2.1.1

* chore(NA): bump thread loader version to 2.1.2
2019-02-06 02:58:51 +00:00
Jen Huang
85572227f2
[6.x] [CCR] Follower index CRUD (#27936) (#30148)
* [CCR] Follower index CRUD (#27936)

* [CCR] Refactor redux for Auto-follow pattern detail panel (#27491)

* [CCR] Refactor redux for Auto-follow pattern detail panel

* [CCR] Small refactor

* [CCR] Change to present tense

* [CCR] Display auto-follow pattern name even if it does not exist

* [CCR] Use href to edit auto-follow pattern + remove middelware to update "pattern" query params

* [CCR] Fix navigation back bug + set 2 ids for detail and edit an auto-follow pattern

* [CCR] Replace api middleware with redux-thunk action

* [CCR] Show detail footer close button even when cluster is not valid

* [CCR] Add endpoints for fetching and creating follower indices (#27646)

* Add GET /follower_indices endpoint with deserialization logic and tests.

* Add POST /follower_indices endpoint with serialization logic and tests.

* [CCR]  Add unit tests for RemoteClusterForm, RemoteClusterList, and RemoteClusterTable (#27647)

* Use componentDidUpdate instead of getDerivedStateFromProps.

* Add unit tests for RemoteClusterForm, RemoteClusterList, and RemoteClusterTable.

* Add jest mock for eui `makeId()` utility and get deterministic aria IDs for snapshots

* Update snapshot for Remote Cluster list test

* [CCR] Follower indices table and detail panel (#27804)

* Store for follower indices

* Initial work for follower indices table and detail panel

* Fix load auto-follow stats load as middleware was removed

* [CCR] Create follower index UI form (#27864)

* Initial setup Follower Index form

* Working form without client validation

* Add client side validation for follower index

* Add client validation to check if index already exist

* Improve error message when leader index does not exist

* Remove update method for follower index

* Clear api error on field change

* Fix i18n error

* Update snapshots

* [CCR] Add pause, resume, and unfollow actions for follower indices (#28305)

* Add pause and resume follower index routes

* Add unfollow route

* Add api methods for new routes

* Adjust routes to have bulk capabilities, add corresponding actions

* Refresh list after pausing/resuming, remove items after unfollowing

* First pass at UI for pause and unfollow (and resume, but that is not visible due to ES stats response)

* Handle additional conditions needed for unfollowing leader index, add placeholder code to deduce paused status

* PR feedback

* [CCR] Advanced settings UI for follower indices (#28267)

* Add client side validation of advanced settings form
* Move form entry row to separate component
* Add server side serialization for advanced settings
* Ignore advanced settings input when that section is hidden.
  - Cache and restore input when the section is shown again.

* [CCR] Show remote cluster validation in CCR forms, and add edit follower index (#28778)

* [CCR] Advanced settings component

* Remove preview active on toggle settings

* Add client side validation of advanced settings form

* Move form entry row to separate component

* Add title to panel

* Add i18n translation of advanced settings

* Update Follower index form with toggle for advanced settings

* Add server side serialisation for advanced settings

* Make code review changes

* Fix test: mock constant dependency

* Add section to edit follower index

* Show confirm modal before updating follower index

* Add edit icon in table + update server endpoint to pause / resume

* [CCR] Show remote cluster validation in follower index form & auto-follow pattern form

* PR feedback, cleanup form sizes, add redirect to edit remote cluster

* Fix routing, remove unused code, adjust auto follow pattern edit loading error page

* Adjust error messages and make remote cluster not found edit page the same

* Fix functionality as result of merge

* Fix validation, reorder actions, fix tests, and address feedback

* PR feedback and fix validation pt 2

* Adjust remote cluster validation

* Fix i18n

* Fix api error not showing on add follower form

* [CCR]  Integrate new follower index info ES API (#29153)

* Integrate new follower index info ES API

* Collate data from follower stats and info apis when retrieving all followers and single follower
* Add follower settings info to detail panel
* Add paused/active UI state
* Surface follower default settings to UI

* Adjust tests

* Address PR feedback

* Update snapshots

* [CCR] Surface license errors in-app and refine permissions error UI. (#29228)

* Fix camelcasing bug in XPackInfo.
* Silently swallow API error when checking for index name availability.
* Fix typo in followerIndexForm fatal error.
* Add permissions check before allowing user to access the app.

* Refine wording of CCR permission denied page, to specify cluster privileges. (#29533)

* [CCR] Improve form error handling and general UX (#29419)

* Remove unnecessary eslint disable-line

* [CCR] Implement Advanced Settings design feedback (#29543)

* Use EuiSwitch to toggle advanced settings in Create Follower Index form.
* Move 'optional' from each Advanced Setting field to the section heading.
* Change Advanced Settings switch label and description to emphasize that you can customize them or use the defaults.
* Prepopulate Advanced Settings fields with default values.
* When editing a follower index, check if advanced settings have been edited and open them if so.
* Add 'Reset to default' button below advanced settings fields if their values are different than the default.
* Remove 'Default' copy from Advanced Settings descriptions.
* Simplify toggleAdvancedSettings function, add comments, and fix React console error.

* [CCR] Follower index list fixes from design feedback (#29484)

* Delete remote cluster settings before updating

* Fix detail panel z-index

* Remove default descriptor from follower index detail panel setting values

* Follower index confirm action copy adjustments

* Change z-index styling to use EUI vars

* [CCR] Improve remote clusters test coverage (#29487)

* Add Jest test for RemoteClusterForm validation state.
* Extract validation functions out of RemoteClusterForm and add unit tests.
  - Return null instead of undefined from validators.
* Add unit tests for different types of remote clusters in RemoteClusterTable.
* Add unit test for RemoteClusterList empty prompt.
* Add tests verifying behavior for row link, row delete button, and detail panel delete button.
  - Use getRouterLinkProps to assign onClick and href to edit buttons in row and detail panel.

* [CCR] Adjust spacing around descriptions in list views, link to transport port docs, etc (#29789)

* Adjust spacing around description around descriptions in list views so that it's even on top and bottom.
* Add link to transport port docs from Remote Cluster form.
* Move 'View in Index Management' link from the detail panel body into the footer.

* Re-order follower index form sections: remote cluster, leader index, follower index. (#29885)

* Fix deep-linking to follower index after creating/updating it. (#29865)

* [CCR] Copy edits (#29676)

* Use 'Resume/pause data replication' in context menu and row actions.
* Update copy of 'Update' confirm modal for a paused follower index.
* Update copy of 'Update' confirm modal for an active follower index.
* Update copy of 'Pause data replication' confirm modal.
* Update copy of 'Resume data replication' confirm modal.
* Update copy for permissions check.
* Update copy of table empty state.
* Update copy around tables.
* Update form copy.
* Update copy for RemoteClustersFormField callouts.
* Convert 'data replication' -> 'replication'.
* Update copy for Unfollow confirm modal.
* Update copy for form API error and Auto-follow Patterns table.
* Update form save button labels to be 'Create' and 'Update'.
* Move API errors to bottom of form, into same position as sync validation errors. Remove spacer from SectionError implementation.

* [CCR] Open index after unfollowing leader (#29887)

* Open index after unfollowing leader, fix some variable names

* Fix typo

* Add comment

* [CCR] IE and Screen reader accesibility (#29731)

* Fix api endpoit for auto-follow stats

* Prevent letter wrapping in IE for the Remote cluster "connection" table column

* Move inline style to CSS class to fix IE flex bug

* [CCR] Add callout to paused follower index detail panel (#30013)

* Add callout to paused follower index detail panel

* Update copy

* Skip call to ccr stats api if follower index is paused (#30027)

* [CCR] Add integration tests for follower indices (#30064)

* [CCR] Add integration tests for follower indices

* Import advanced settings value from app constants

* Disable flaky follower indices API integration tests.
2019-02-05 18:47:51 -08:00
CJ Cenizal
cde31bfe42
Order Elasticsearch Management apps in order of most used to least used. (#30145) (#30165) 2019-02-05 18:47:12 -08:00
Aaron Caldwell
b62f4efac9
[Maps] Set maps tab title using same pattern used elsewhere in Kibana (#29976) (#30172)
* Set maps tab title using same pattern used elsewhere in Kibana

* Include current map title in document title when open

* Only update doc title on /map/:id route. Update doc title on save action

* Remove fluffy formatting

* Remove string literal formatting
2019-02-05 19:34:05 -07:00
gchaps
3bf33a6e68 [DOCS] Adds descriptions and examples to spaces security doc (#30113) 2019-02-05 16:53:20 -08:00
Tyler Smalley
d9301dd962
Reindexing prepends to index name instead of appending (#30114)
Similar to what is done in the Index Lifecycle Management, we prepend as to
avoid possible issues with conflicts in index patterns, templates, etc.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-02-05 16:12:15 -08:00
Walter Rafelsberger
94b97e1145
[ML] User Annotations V2 (#29448) (#30130)
- Fixes a bug where it's not possible to start dragging to create an annotation over a chart tick element.
- Adds an option to edit annotations via the annotations table.
2019-02-06 00:20:55 +01:00
Bill McConaghy
139a6a968a
fixing React warning about missing prop (#30147) (#30156)
* fixing React warning about missing prop

* removing redundant aria-label
2019-02-05 18:15:34 -05:00
Jen Huang
0fbf0c9035
Enable orderBy and orderAgg in vis editor for rollup visualizations (#29894) (#30142) 2019-02-05 14:41:33 -08:00
Bill McConaghy
e9229cfe95
improving a11y for activating phases (#30101) (#30135) 2019-02-05 17:15:38 -05:00
Jonathan Budzenski
a28627993a
Bump node to 10.15.1 (#27918)
* Bump node to 10.15.0

* newline

* -1 newline

* bump max header size to 64kb

* fix quotes

* s

* space

* Bump node to 10.15.1

* fix flag arg
2019-02-05 16:08:00 -06:00
Tim Sullivan
d89a8e08b4
[OSS-Telemetry] Make the plugin have the right config prefix (#30005) (#30132) 2019-02-05 14:58:35 -07:00
Tim Sullivan
a90e6f5e5f
[Reporting] Copy Post URL: track layoutID in state (#30029) (#30137)
* [Reporting] Post URL: track layoutID in state

* I think this code was not supposed to be here

* ts fix

* revert some diff

* Revert "I think this code was not supposed to be here"

This reverts commit b2e5f60afb.

* static getAbsoluteReportGenerationUrl

* ts fix
2019-02-05 14:58:17 -07:00
Larry Gregory
3fe125b951
[6.x] Support allow_restricted_indices on PUT role api (#30077) (#30140)
Backports the following commits to 6.x:
 - Support allow_restricted_indices on PUT role api  (#30077)
2019-02-05 16:54:31 -05:00
Justin Kambic
afbcc0d637
Re-add missing loading states for filter bar and snapshot components. (#30122) (#30134) 2019-02-05 16:31:39 -05:00
Aleh Zasypkin
83c63ce944
[6.7] Introduce Chinese translations (#29616) 2019-02-05 21:47:24 +01:00