Commit graph

22545 commits

Author SHA1 Message Date
Nathan Reese
cecd5daf04
[Maps] do not show joins UI for ES geo grid source (#30309) 2019-02-07 05:42:40 -07:00
Nathan Reese
3d8dcd5b56
remove left-over geohash grid code (#30312) 2019-02-07 05:40:27 -07:00
Peter Pisljar
b94d7a6711
updating webpack config to not bundle any public functions (#30057) 2019-02-07 04:19:12 -08:00
Jason Rhodes
eb798d4f7c
Adds processor filter to ML query (#30284) 2019-02-07 06:45:18 -05:00
Tim Roes
fb2f0569e2
Typings for saved object client (#29951)
* WIP typings for saved object client

* Move more files to TS

* type saved objects client

* clean up typings for saved object client

* tie typings form server and client for saved objects together

* add missing html import typing to x-pack

* Add missing buildSourcePatterns

* Removed accidental comma

* add typings for saved_object_client tests and fix test cases

* duplicate case_conversion helpers for the moment

* Address PR review

* Fix some documentation

* Replace ts-ignore by any imports

* Remove expect.js from test

* Add more typings to prevent CI failure
2019-02-07 12:43:17 +01:00
James Gowdy
ee6135feaa
[ML] Fixing position of job management search bar error (#30251)
* [ML] Style tweaks for job management in K7

* adjusting search bar error

* removing custom title style for EuiTitle
2019-02-07 10:21:40 +00:00
Joe Reuter
35d8a8ce58
correct label for OS vis in logs sample data (#30249) 2019-02-07 07:43:05 +01:00
Lukas Olson
d625087ada
Add autocomplete to TSVB (#30158)
* Add autocomplete to TSVB

* Remove unused imports

* Remove unnecessary ts-ignore
2019-02-06 20:03:22 -07:00
Court Ewing
6f2a1c1933
Revert "bump to 8.0.0 (#30246)" (#30337)
This reverts commit 661ac59116.
2019-02-06 21:16:01 -05:00
Matt Bargar
700135350e
Apply the same fix from 0076e430a7 to the (#30020)
filter context menu
2019-02-06 18:01:04 -05:00
Matt Bargar
af2da97974
Makes KQL the default query language for new searches (#27092)
Changes the default query language to KQL in all apps that respect the `search:queryLanguage` advanced setting.
2019-02-06 17:18:25 -05:00
Chris Davies
e1430a2b7b
Optimize Canvas REST calls via batching (#29847)
Optimize the expression interpreter by introducing batching of remote function calls.
2019-02-06 15:50:51 -05:00
CJ Cenizal
1c5c175e8d
Update settings docs with new xpack.rollup and xpack.license_management settings. (#30259) 2019-02-06 12:48:07 -08:00
James Gowdy
c96e83d149
[ML] Fixing the hiding of the timepicker on the settings and data visualizer landing page (#30200)
* [ML] Fixing the hiding of the timepicker on the settings page

* disabling timefilter on file data visualizer pages

* removing comment
2019-02-06 20:04:16 +00:00
Tim Sullivan
3bca5c03fc
[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+
2019-02-06 13:00:43 -07:00
Spencer
9ce8a7d131
[yarn] upgrade elasticsearch-js (#30294) 2019-02-06 13:58:02 -06:00
dave.snider@gmail.com
662a5abb9f
K7 Discover app cleanup (#30037)
Does some design cleanup in the discover application.
2019-02-06 10:12:17 -08:00
Jason Rhodes
a64ed95b84
[APM] Updates head title and fixes breadcrumb string issues (#29960)
* Solves several breadcrumb string/object problems, adds title to page

* Updates breadcrumb tests and adds title tests

* Removes switch logic from route config in favor of a single switch around all routes

* Adding draft version of withBreadcrumbs HOC with TS errors

* ProvideBreadcrumbs implemented

* Adds tests to provide breadcrumb logic

* Fixed up generics and tests
2019-02-06 12:04:12 -05:00
Tim Sullivan
4a148e6026
Fix date formatting on server for CSV export (#29977)
* Fix date formatting on server for CSV export

* remove stray console.log

* allow async to act in parallel

* Log a warning when "Browser" is the timezone
2019-02-06 09:42:17 -07:00
Mike Côté
66654f2106
Fix .backportrc.json to use 7.x instead of 7.1 (#30253) 2019-02-06 10:49:00 -05:00
Mike Côté
9bee5b1838
Add breaking changes documentation for references PR (#29963)
* Initial draft of breaking changes

* Add object structure change

* Make id attribute match

* Fix attribute name

* Remove relationships API notes
2019-02-06 10:41:44 -05:00
Sarah Hersh
43c031a2ad
[DOCS] Removes empty image link (#30125) 2019-02-06 10:35:55 -05:00
Court Ewing
59f22c1b06
add 7.1 and 7.0 to backport config (#30248) 2019-02-06 10:09:11 -05:00
Court Ewing
661ac59116
bump to 8.0.0 (#30246) 2019-02-06 10:04:54 -05:00
Brandon Kobel
012b6fe158
Fixing navDrawer's test-subj when it's animating (#30174)
Previously, when the navDrawer is animating, it's changing it's
data-test-subj immediately, so it appears either collapsed or expanded
before it's reached it's final state. When the navDrawer is animating,
it's not possible to read it's element values using .getVisibleText
(because it's not fully visible yet). This change makes it so that
neither expanded or collapsed is added to the data-test-subj until it's
finished animating.
2019-02-06 06:53:06 -08:00
Chris Roberson
7c376e95eb
[Monitoring] Restore mappings.json (#30153)
* Restore mappings json and update the incorrectly updated json test files

* Fix up these after merging in master
2019-02-06 09:07:59 -05:00
Walter Rafelsberger
3d4dc093f3
[ML] Adds jest tests for annotation_service. (#30193)
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-06 14:43:04 +01:00
Court Ewing
e9fe3da0cd
6.x -> 6.7 in backport tool (#30201) 2019-02-06 08:26:39 -05:00
Justin Kambic
5e39f92682
Add code to format the timeseries data to local time. (#30160) 2019-02-06 06:54:58 -05:00
Joe Reuter
1f2fe4d25b
Fix legend overflow bug on dashboard vis (#29948) 2019-02-06 11:44:58 +01:00
Walter Rafelsberger
0942332b0a
[ML] Remove key attribute from annotation before indexing. (#30183)
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 11:23:29 +01:00
Tim Roes
8b8f4c50df
Allow setting a class for top nav items (#30103) 2019-02-06 11:12:56 +01:00
Felix Stürmer
d64648641b
[Infra UI] Patch the log sample dataset to be compatible with default log sources (#30060)
This adds a `@timestamp` alias to the mapping of the builtin log sample dataset to make it compatible with other log indices. It also adds the index pattern `kibana_sample_data_logs*` to the default `logAlias` setting in order for the sample data to show up in a default setup.

fixes elastic/kibana#29450
2019-02-06 10:51:03 +01:00
Daniil Suleiman
5b4bffa4b2
TSVB search requests should have a timeout (#28843)
* 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 11:17:16 +03:00
Tyler Smalley
c16849dc3b
Support for reindexing APM indices (#29845)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-02-05 19:47:48 -08:00
Nathan Reese
6ad036b187
Replace angular timepicker with EuiSuperDatePicker (#29204)
* replace kbnTimepicker directive with EuiSuperDatePicker

* remove kbnTimepicker directive

* remove bootstrap datepicker

* Embed timepicker in query bar (#29130)

* replace kbnTimepicker directive with EuiSuperDatePicker

* remove kbnTimepicker directive

* remove bootstrap datepicker

* embed timepicker in query bar

* flesh out date picker in query bar for maps app

* wire up refresh config

* fix bug with way update function called by watcher

* get maps application functional tests working with new timepicker

* update setAbsoluteRange for EuiSuperDatePicker

* replace setQuickTime with calls to setAbsoluteTime

* remove open time picker button in discover empty results view

* pass config values to super-date-picker directive

* remove getPrettyDuration

* clean up typescript lint problems

* some functional test fixes

* try something else to fix I18n problems

* fix some more functional tests

* update query_bar jest test

* remove unused method in kbn_global_timepicker

* do not import removed timepicker styles

* remove mode from time state

* remove mode from time_history interface

* fix problem with ui_settings_defaults

* fix failing TSVB functional test

* another round to test fixes

* more functional test changes

* fixes for failing tests

* add retry block to flaky tsvb test

* styles/bootstrap_dark.less

* fix functional tests

* call fetch event even when times are the same

* add retry around flaky tsvb test

* fix timefilter jest test, attempt to fix another flaky functional test

* revert emitting fetch outside of areTimePickerValsDifferent check

* clean up time mode code that is no longer needed in dashboard

* fix timefilter tests changed by timefilter emit revert
2019-02-05 20:45:31 -07:00
Andrew Cholakian
ebe69ee4e5
[Uptime] Filter bar for type should actually be for scheme (#29854)
Functionally it already filters by scheme, but the label is misleading. The distinction is a particular issue when comparing the filter to the `type` column on the monitor list. Type indicates the monitor type, whereas scheme indicates the URL type. So, items with the `https` scheme have the `http` type because that's the name of the monitor.
2019-02-05 21:31:48 -06:00
Justin Kambic
31a0f81e3b
Migrate from i18n context to provider. (#30124) 2019-02-05 22:19:55 -05:00
Nathan Reese
eb59088bd8
[Maps] Clear missing style props on source change and join change (#30112)
* [Maps] clear missing style properyties

* add tests

* review feedback
2019-02-05 20:08:25 -07:00
Nick Peihl
95638a2000
Fix topojson featurecollection path (#30173) 2019-02-05 18:52:04 -08:00
Tyler Smalley
c20bb3a0d4
Reindexing prepends to index name instead of appending (#30114) (#30166)
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 18:48:54 -08:00
Caroline Horn
f8c7320277
EUI 6.10.0 & Background color fixes (#30136)
* First foray into turning .application background off

* Hopefully fixing the last few plugins

* Update EUI to 6.9.0

* removing hacks

* last fixes

* Remove a few more `100vh`

* Can I remember to copy & REPLACE

* EUI at 6.10.0
2019-02-05 21:29:30 -05:00
Aaron Caldwell
b84a65d415
[Maps] Set maps tab title using same pattern used elsewhere in Kibana (#29976)
* 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 18:01:40 -07:00
Tiago Costa
4cec19d9ea
Upgrade thread loader (#27518)
* 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 00:45:15 +00:00
CJ Cenizal
3f61ac67cf
Order Elasticsearch Management apps in order of most used to least used. (#30145) 2019-02-05 16:24:34 -08:00
Jonathan Budzenski
f60e17d2c6
Fix plugin deprecations (#29737) (#29985)
* [deprecations] convert flattened settings to nested settings

* [deprecations] reuse rename method for elasticsearch.url to elasticsearch.hosts

* newline

* add known issues to docs
2019-02-05 18:21:25 -06:00
gchaps
890b2c00ec
[DOCS] Adds descriptions and examples to spaces security doc (#30113) 2019-02-05 15:59:37 -08:00
Tim Sullivan
7bec93f1b9
[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
2019-02-05 16:55:16 -07:00
CJ Cenizal
d2e2be0e78
Disable flaky follower indices API integration tests. (#30157) 2019-02-05 15:29:53 -08:00
Bill McConaghy
b71144074a
fixing React warning about missing prop (#30147)
* fixing React warning about missing prop

* removing redundant aria-label
2019-02-05 18:14:40 -05:00