Commit graph

2806 commits

Author SHA1 Message Date
Larry Gregory
e18bfc1497
Feature Controls - Allow telemetry to be toggled with advancedSettings feature privilege (#35250)
* Allow telemetry to be toggled with feature privileges
2019-04-25 11:43:42 -04:00
Pete Harverson
43b9c7ad89
[ML] Adds Metricbeat System data recognizer module (#35580)
* [ML] Adds Metricbeat System data recognizer module

* [ML] Edit description of Metricbeat System module
2019-04-25 16:24:39 +01:00
Sébastien Loix
63975b84ca
Convert testBed to Typescript + refactor client integration tests (#34981) 2019-04-25 08:28:17 +02:00
igoristic
b2dfcc4ba1
Showing node name instead of uid in breadcrumbs (#35553) 2019-04-24 19:48:44 -04:00
Tim Roes
40fad359c0
Make time_zone parameter properly volatile (#35536)
* Move all time_zone logic to write method

* Add more comments
2019-04-24 21:13:33 +02:00
Walter Rafelsberger
ab7a14b76b
[ML] Improved error handling for data frame pivot wizard (#35490)
Improves the error handling of the form elements and requests in the data frame pivot wizard.
2019-04-24 20:43:29 +02:00
Jason Rhodes
1794c8b01c
[APM] useUrlParams as separate hook + removes redux 🎉 (#34792)
* Exploring a useUrlParams hook separate from useLocation

* Refactors url params hook into context + hook

* Fixes unmount async bugs in some components

* Rewrites datepicker tests

* Fixes some import reference problems

* Moves urlParams logic out of store and into context directory, updates references

* Makes urlParams context update itself on location changes

* Adds url params tests

* Removed left-over debug additions

* Small improvement for types based on review feedback 👍

* Converts url params to hooks for ErrorGroupDetails component

* Converts url params to hooks for ServiceDetails component

* Converts url params to hooks for ServiceOverview component

* Converts url params to hooks for TraceOverview component

* Converts url params to hooks for TransactionDetails component

* Converts url params to hooks for KueryBar component (plus TS convert)

* Cleanup removing redux

* Fixes tests after removing redux

* Updates type reference to use ui/ import

* Moves selectors folder into public and deletes store folder

* Removes unnecessary mountWithRouterAndStore

* Correctly orders imports to satisfy lint gods

* Removes unused imports
2019-04-24 10:00:53 -04:00
Søren Louv-Jansen
4f05920f53
[APM] Hide ml data when kuery is active (#34984) 2019-04-24 11:55:04 +02:00
Alexey Antonov
562d8cb04a
[TSVB] The problem with fast changing the panel settings (#35142)
* [TSVB] The problem with fast changing the panel settings

Fix: #35136

* [TSVB] The problem with fast changing the panel settings #35142

* [TSVB] The problem with fast changing the panel settings

* [TSVB] The problem with fast changing the panel settings - fix PR comments
2019-04-24 12:14:57 +03:00
Pete Harverson
4543af9fad
[ML] Use KQL as the query language for custom URLs to Kibana pages (#35469)
* [ML] Use KQL as the query language for custom URLs to Kibana pages

* [ML] Create buildAppStateQueryParam function for building Kibana URLs
2019-04-24 09:11:44 +01:00
Oliver Gupte
180867cb8c
[APM] Closes #35158 by adding subtype & action tooltip to span icons in the trace waterfall (#35447) 2019-04-23 15:15:51 -07:00
Davey Holler
82f068be9f
Updating the font sizes on the directory view. (#35507)
* Updating the font sizes on the directory view.

* Adding less left margin to the recent commits heading.
2019-04-23 15:08:54 -07:00
spalger
e5f7a1f15f [core/ftr] disable tests by commenting out test file 2019-04-23 14:57:09 -07:00
Fuyao Zhao
92b15398c5 [Code]: fix the capabilities type (#35499)
* [Code]: fix the capabilities type

* [Code] disable the functional test
2019-04-23 14:44:02 -07:00
Oliver Gupte
ef5925b5d2
Closes #34441 by increasing the default page size of the services list (#35440) 2019-04-23 13:43:13 -07:00
igoristic
172a91d794
Added sorting to all columns (#35410)
* Added sorting to all columns

* Added sorting to table wrapper instead

* Fixed condition

* Removed default sorting value

* Removed a log statement

* Converted beats directive into a controller
2019-04-23 15:52:26 -04:00
Fuyao Zhao
4676aea527 Merge branch 'feature/merge-code' 2019-04-23 11:18:03 -07:00
Melissa Alvarez
4b00087a6b
[ML] Anomaly Explorer filter - ensure special characters escaped when creating regex pattern (#35182)
* Escape special chars when creating regex pattern

* escape double quotes in fieldValue to keep valid KQL syntax
2019-04-23 11:16:56 -07:00
Søren Louv-Jansen
74caa21963
[APM] Fix bug in ML transaction type selector and minor cleanup (#34930)
* [APM] Fix bug in ML transaction type selector

* Remove buggy tooltip

* Fix translation file
2019-04-23 19:49:35 +02:00
Fuyao Zhao
b486992db1 [Code]: Improve code setup guide text 2019-04-23 10:09:44 -07:00
Josh Dover
c2f4123b8c
Introduce start lifecycle event to client (#35269) 2019-04-23 11:50:08 -05:00
Søren Louv-Jansen
e97ea46407
[APM] Reduce loading indicator flickering (#34701)
* [APM] Reduce progress bar flickering

* Make private methods private

* Fix eslint issue with console.log
2019-04-23 17:31:08 +02:00
WangQianliang
b66b922871 fix(code/frontend): fix blank left to blame (#35449) 2019-04-23 08:10:57 -07:00
Mengwei Ding
5c2ab34a9a [Code] Add a security flag for git certificate check (#35445) 2019-04-23 08:10:24 -07:00
Walter Rafelsberger
d316dca98a
[ML] Data Frame UI (#33427) 2019-04-23 16:46:52 +02:00
James Gowdy
57276b5c6c
[ML] Fix for field loading in advanced job wizard (#35457)
* [ML] Fix for field loading in advanced job wizard

* fixing indentation
2019-04-23 14:43:14 +01:00
spalger
fc534e53fb Merge branch 'master' of github.com:elastic/kibana into pr/33438 2019-04-23 06:24:58 -07:00
Robert Oskamp
e43fb2f05a
[ML] Add data-test-subj to some job management elements (#35284)
This PR adds a `data-test-subj` attribute with a descriptive value to the following elements of the ML job management page:
- Create new job button
- Refresh job list button
- Job list filter bar
- Jobs table
- Delete job modal

This will help locate these elements during UI automation more reliably.
2019-04-23 11:08:20 +02:00
WangQianliang
17eae3efea fix(code/frontend): source view page, click line number should stay in the same side tab (#35396) 2019-04-23 12:04:13 +08:00
Mengwei Ding
9b99b0f2f1
[Code] apply git clone/update cert check for production env (#35399) 2019-04-23 12:00:43 +08:00
Fuyao Zhao
a960185f23
[Code]: fix icon for module and namespace (#35428) 2019-04-22 19:00:07 -07:00
Nathan Reese
70fddc87e6
[Maps] Maintain style on source change when creating new layer (#34755)
* [Maps] Maintain style on source change when creating new layer

* clear layer when source type changes

* removed unused state members

* review feedback
2019-04-22 18:49:33 -06:00
Davey Holler
d42c73a1b0
Updating the markdown rendering to use EUI styles. (#35439) 2019-04-22 17:10:03 -07:00
Matt Bargar
03624a1c12
Add esTypes property to index pattern field (#35251)
Adds an array property to the Field object containing all of the types the field is mapped as across ES indices.
2019-04-22 19:10:08 -04:00
Oliver Gupte
609d75103c
[APM] Optimize idx calls to native optional chaining (#34841)
* [APM] Add new kibana package '@kbn/babel-plugin-apm-idx' based on
'babel-plugin-idx' to work with the APM implementation of the deep
object property helper function. Configure it as a babel plugin in the
common babel preset.

* [APM] modified the expanded output code to handle null checking correction for nested properties and added tests.

* [APM] use same versions of babel and jest as core kibana. fixes broken tests.

* [APM] created namespaced package `@kbn/elastic-idx`. Made available the
apm/common/idx and the corresponding babel plugin under this package.
Modified all imports of apm/common/idx to @kbn/elastic-idx.

* [APM] add typescript build to the @kbn/elastic-idx package

* [APM] fix idx import and linting failures

* [APM] make @kbn/elastic-idx/babel plugin detect idx calls as member functions from the bound scope
2019-04-22 13:37:07 -07:00
Fuyao Zhao
91cb4c739d Merge remote-tracking branch 'origin/master' into feature/merge-code 2019-04-22 09:11:17 -07:00
Chandler Prall
dc9b299903
Update EUI to v10.1.0 (#35402) 2019-04-22 09:41:51 -06:00
CJ Cenizal
893b941a88
Retrieve paused state of follower index from ES instead of depending upon the client to provide it. (#35342) 2019-04-22 08:27:56 -07:00
Oliver Gupte
49a40b6334
[APM] Automatically create APM index pattern (#34665)
* Closes #33119 by automatically creating the apm index pattern on server startup if one isn't found.

* [APM] Move lib/saved_objects/client -> lib/helpers/saved_objects_client

* [APM] moved apm index pattern from legacy tutorial directory to apm/common & moved index creation call to top level plugin initialization

* [APM] moved the apm index_pattern.json back to the core kibana side of
things so that it doesn't break the oss only build by requireing a
non-existent module.

* [APM] fixed wrong path import for index_pattern
2019-04-21 01:30:28 -07:00
Yulong
9d9359b917 [Code] pagination for history (#35329) 2019-04-19 22:24:00 -07:00
Fuyao Zhao
a86477d2f1 Merge remote-tracking branch 'origin/master' into feature/merge-code 2019-04-19 15:54:33 -07:00
Oliver Gupte
3b9bfeaeb7
[APM] closes #34781 by rendering a different set of service navigation tabs when a rum agent is detected (#35124) 2019-04-19 14:14:06 -07:00
Joe Fleming
cf7f71a892
chore: apply redux devtools via compose (#35326)
makes dispatching from devtools trigger other middleware
2019-04-19 12:21:03 -07:00
Brandon Kobel
65ac8d6ecc
Feature Controls - either base or feature (#35321)
* Only allowing either base or feature privileges

* Get roles route return transform error if base and feature privileges

* Treating [] and {} as undefined

* Updating the role api integration tests
2019-04-19 11:58:15 -07:00
Davey Holler
c5f56cd4f4
Removing the focusring from the items in the file_tree. (#35364) 2019-04-19 11:38:16 -07:00
Nathan Reese
4c21ccf693
[Maps] only show fields that can be used in terms agg in join right field select (#35098)
* [Maps] only show fields that can be used in terms agg in join right field select

* move filter to JoinExpression to avoid filtering metric fields

* use same filter on ES fields for left and right join fields
2019-04-19 10:09:10 -06:00
Rudolf Meijering
bb121ef98f
docs: Add test file location -> test runner table (#34986)
* docs: Add test file location -> test runner table

* Use scripts/mocha instead of if yarn test:mocha and clarify arguments

* docs: add some examples of running tests suites with grep patterns

* Split out x-pack testing docs, add test runner column

* Split out x-pack testing docs, add test runner column #2

* Use node scripts for jest and split functional runner/server
2019-04-19 09:06:25 +02:00
CJ Cenizal
cc9dea12a8
[CCR] Allow user to use CCR when security is not enabled. (#35333) 2019-04-18 17:50:03 -07:00
Spencer
16f798aced
[reporting] increase timeout of esqueue tests (#35325)
Fixes https://github.com/elastic/kibana/issues/35129

We've seen a single timeout in the reporting tests, and since it uses setTimeout I assume it's just getting a little delayed. Hoping that switching from a 2sec to 10sec timeout should solve this. These tests should be gone soon anyway once we move to the task manager for reporting job management.
2019-04-18 15:20:52 -07:00
Davey Holler
fad5a41ec8
[Code] Removing styled components & SCSS cleanup (#35107)
* Removing the sidebar class from the project container and replacing styled component eui buttons with a className.

* Renaming scss includes.

* Moving admin.scss content into _buttons.scss.

* Refactor project_item removing styled components

* Refactor admin.tsx to remove styled components

* Refactor import_project.tsx to remove styled components

* Refactor lang server tab to remove styled components

* Refactor project settings modal removing styled components

* Refactoring setup_guide to remove styled components

* Cleanup sidebar.scss: follow convention for classes

* Refactor codeblock css naming conventions

* Resolving an issue with the monaco scss file name

* Editor file cleanup. Renaming css classes

* Cleaning up the file_tree component.

* Hover widget cleanup.

* Blame cleanup.

* Breadcrumb cleanup.

* Cleaning up clone status — removing ProgressContainer export. Didn't seem to be used anywhere. You can use the codeContainer__progress class to apply those styles now.

* Cleaning up commit history styles

* Putting the indentation back in the file tree.

* Refactoring the main content window.

* Cleaning up the directory component.

* Reducing spacing between directory and file lists.

* Removing styled components from the error panel.

* Reducing the font size of buttons in the source view button groups.

* Removing styled components from main.tsx

* CSS naming & removing styled components from not_found.tsx

* CSS naming & removing styled components from not_found.tsx

* Removing styled components from search_bar and top_bar.

* Removing styled components from query_bar components.

* Removing styled components from search_page components.

* removing styled components from code_symbol_tree

* Fixing a few css issues.

* Updating test snapshots.

* Removing a stray '>' symbol from the search tabs.

* Condensing the spacing of the EUI facets on the search page.

* class name of the flyout container.

* Revert "class name of the flyout container."

This reverts commit 35e9d5c16fd20db5ef15a686eda79bb0fd3f40a6.

* class name tweaks.

* Fixing type errors.

* Putting back an accidental deletion in file_tree.tsx.

* Updating file_tree snapshot.

* Implementing changes from 604e4d1173 to address failing tests.

* Adding in additional classes deleted during merge

* Updating test snapshots.
2019-04-18 14:59:23 -07:00