Commit graph

665 commits

Author SHA1 Message Date
Chris Roberson
ae6ea6ec10
Ensure we probably init the route for the ccr page (#25050) 2018-11-05 10:01:30 -05:00
Nox911
666a1d752c Feature/translate license management (#24341)
Translate license management
2018-11-05 16:22:45 +03:00
Nox911
f10deb1b8a Feature/translate canvas plugin src elements (#23755)
translate canvas canvas_plugin_src elements
2018-11-05 10:13:27 +03:00
Brian Gaddis
733c9ec4f3 Added sort order to share menu options. (#25058)
* Added sort order to share menu options.

Sorts ascending on sort order first then ascending on name. Any menu item without a sort order gets set to zero.

* Moved new sortOrder property from node_modules

* Had to rerun the snapshot for the share menu with the sortOrder in it.
2018-11-03 08:18:59 -04:00
CJ Cenizal
dac01c81a2
[Rollups] Surface index pattern validation errors in Rollup Job wizard. (#25078)
* Show fatal error for unexpected errors.
2018-11-02 17:42:50 -07:00
Jen Huang
077634c483
Prepend ES endpoint with slash (#25073) 2018-11-02 15:16:06 -07:00
Joe Fleming
1cb1c25d41
Fix: socket setup (#24550)
PR fixes issues with the socket connection.

- handle socket failures 
  - previously would either leave Canvas in an infinite loading state, or load the app even when it wouldn't function
- upgrade socket.io
- add headers to socket connection and modify auth connection
2018-11-02 10:26:52 -07:00
Joe Fleming
f6fd86aa4d
Chore: fix canvas linting (#25024)
This fixes `yarn run lint` from within the Canvas plugin path.

- Point to the correct eslint config file
- Use absolute path for `packageDir`
- Remove extraneous `packageDir` settings
2018-11-02 11:24:11 -06:00
Jonathan Budzenski
fa8237d197
[build] Support version-qualifier flag (#21663)
* [build] Support version-qualifier flag

* add help description

* fix test

* is-release

* temp: re-add alpha1 to package.json

* use version qualifier in build

* fix merge

* Revert "temp: re-add alpha1 to package.json"

This reverts commit a70688542c.

* x-pack

* remove ci build flag

* remove ci build flag

* remove qualifier from canvas

* remove qualifier from infra

* fix x-pack argv

* update comment
2018-11-02 09:39:12 -05:00
Brandon Kobel
42b758c567
Adding support for single session cookies appearing in an Array (#24984)
* Adding support for single auth cookies appearing in an Array

* Removing redundant newline
2018-11-02 06:23:54 -07:00
nicknak
69b286b2fc
Show aliases in index details (#24048)
* Adds aliases to details for indicies.

* Lists aliases when there is more than one.

Fixes reload call using duplicate code atm.
Removes unintentional formatting change.

* Silly line ending removed by accident.

* Simplifies fetching aliases to single method/file.

* Adds superfluous logs statement.

* Uses the correct i18n translation variable for the header.

* Sets the translation variable to the correctly spelled variable.

* Simplifies building an array of aliases.

* Does not export fetchAliases as default.

* Makes the code more readable by destructing results.

* Adds test for expected results and no results.
2018-11-02 09:14:23 -04:00
Søren Louv-Jansen
e689afa7b3
[APM] Fix missing parent issue (#25029) 2018-11-02 11:08:47 +01:00
CJ Cenizal
6e63be54ef
Return wrapped unknown errors from rollup CRUD API. (#25032) 2018-11-01 18:35:36 -07:00
Catherine Liu
ffe24a8318
Fixes font picker when using custom fonts (#24937)
* Adds custom font as option in font picker

* Adjusted font sizes in ecommerce sample worpad

* Adjusted font sizes in sample flight workpad

* Adjusted font sizes in smaple web logs workpad
2018-11-01 14:16:26 -07:00
Brian Gaddis
8efd352912 Add png output to reports 65 (#24759)
* Changes for new PNG image output for reports

Change PNG button name from Download to Generate

Changes for new PNG image output for reports

Change PNG button name from Download to Generate

Remove compatabilityShim from PNG and move to PDF folders

Changed API parameters to contain only required parameters

Added test cases for PNG reporting and added title back into the PNG API call

Merge of security changes for PNG reporting

Fixed issues with test cases for both PDF and PNG

Updated test snapshots for PNG and PDF test changes

* Adding new security changes made for PDF into new PNG code

* Removed commented out lines that were not needed
2018-11-01 16:28:00 -04:00
CJ Cenizal
2a85ed492d
[Rollups] Disable deletion of started rollup jobs (#24878)
* Disable deletion of started rollup jobs.
* Update empty prompt icon.
* Add isUpdating selector and display a spinner instead of the action button when jobs are being updated.
* Localize Navigation component.
* Add noticeable delay of 300ms show spinner displays and doesn't flicker.
2018-11-01 09:49:14 -07:00
James Gowdy
38e200f11f
[ML] Fix for check for enabled xpack features (#24986) 2018-11-01 16:46:57 +00:00
Larry Gregory
e0b8cdf859
User management - email and name should be optional (#24842)
Fixes #17952
2018-11-01 08:58:01 -04:00
Brandon Kobel
8cbafdf5fe
Adding "Successfully logged out" page (#23890)
* Adding very basic place for the logged out page

* Redirecting to logged_out when we aren't using SLO

* Basing styles on the login styles

* Fixing linting errors

* Responding to PR feedback

* Fixing issue with the basepath and the login link

* Adding proper i18n prefix

* Updating unit tests
2018-11-01 05:33:32 -07:00
Brandon Kobel
70f1a4094e
Using Joi.object when configuring route validation (#24596)
* Using Joi.object when configuring route validation

* Adding forgotten API

* Fixing test
2018-11-01 05:32:12 -07:00
Maryia Lapata
157477a2d7 Fix/react intl testing helper functions (#24527)
update testing helper functions for react-intl

now we use real intl object passed by IntlProvider via context instead of mocking intl object.
so now data(strings, JSX) passed to FormattedMessage component via values are compiled and
are inserted in the output of FormattedMessage component
2018-11-01 13:54:22 +03:00
Søren Louv-Jansen
704cf6182f
[APM] Discover links with quoted values and use default 24h as time range (#24900)
* [APM] Discover links with quoted values

* Use 24h as default time range
2018-11-01 11:25:07 +01:00
Oliver Gupte
f05bb942fa
[APM] Fix divide by 0 bug in percentage duration (#24675)
* [APM] Fixes #40165 by consolidating logic where total duration could be 0 and handling it with a fallback value

* [APM] renamed file from .js to .ts and defined a default value for fallback

* [APM] Add type definitions for apm formatters

* [APM] add basic type definition for imported @elastic/numeral module

* [APM] rename getDurationPercent to asPercent

* [APM] Update tests with the renamed formatter function

* [APM] Pr feedback & typescript cleanup

* [APM] fix bucket & chart point type errors

* Fix typescript issue

* [APM] last minute code cleanup
2018-10-31 23:52:23 -07:00
Jen Huang
8491b2ee8e
[Rollups] Mark beta in rollup index pattern creation (#24805)
* Add beta UI tags to rollup index pattern creation

* Add test, update snapshots

* Address feedback, adjust copy, and localize rollup index pattern creation
2018-10-31 17:53:13 -07:00
Ryan Keairns
a55dfd0536
add css grid style to prevent calendar bounce (#24913) 2018-10-31 14:29:37 -05:00
Bhavya RM
dfd4917b3d
Disabling es lint for 3 of the canvas files (#24902)
disabling eslint for Canvas because we are adding in jsx-a11y rules to eslint and adding a missing copyright header
2018-10-31 15:23:38 -04:00
Bhavya RM
21bec215dd
adding alt tag with empty text to fix jsx-a11y errors (#24922) 2018-10-31 15:04:33 -04:00
Jen Huang
9527e0e7c7
[Rollups] Re-enable rollup support (#24888)
* Re-enable rollup support extension points

* [Rollups] Hide rollups consumption behind a feature flag in Advanced Settings. (#24698)
2018-10-31 11:54:37 -07:00
James Gowdy
62f82c96f6
[ML] Fixing issues when trying to import non-timestamp data (#24894)
* [ML] Fixing issues when trying to import non-timestamp data

* making results link time range optional

* small cleanup after fixing merge conflict
2018-10-31 18:06:49 +00:00
James Gowdy
fea42bada6
[ML] Fix for delimited data with whitespace in fields (#24899)
* [ML] Fix for delimted data with whitespace in fields

* rewriting to use papaparse transform function
2018-10-31 17:07:43 +00:00
Walter Rafelsberger
cc89c1ee03
[ML] Fixes bug with category filtering flag for rare/population charts. (#24901)
Fixes a bug where the filtering limit of categories for the rare chart was actually applied to the population chart variant.
2018-10-31 17:16:24 +01:00
Oliver Gupte
a0927f4bea
[APM] fixes #23808 by adding docs links for user/tags transaction apis for the java agent (#24869) 2018-10-31 08:38:12 -07:00
Felix Stürmer
c8b2e673fc
[InfraOps] Preserve time values when navigating from the waffle map to the logs and details pages (#24666)
This adds `time` and `from`/`to` parameters to the metrics and logs links of node context menu in the waffle map.
2018-10-31 15:57:53 +01:00
Walter Rafelsberger
6ac9a2fd23
[ML] Display a ordinal y axis for low cardinality rare charts. (#24852)
Introduces a categorical/ordinal y axis for rare charts with a cardinality of <= 10. This also adds unit tests for the rare/population chart which are the bulk of the PR.
2018-10-31 15:57:27 +01:00
Nox911
f8d0604050 Translations for Dev Tools (#23951)
translate dev-tools-console
2018-10-31 17:54:31 +03:00
Jason Rhodes
e13e47fc4e Fixes APM snapshot for CSS value (#24898) 2018-10-31 13:07:59 +01:00
Walter Rafelsberger
e97b019815
[ML] Set new index pattern as default one if no default index pattern exists yet. (#24337)
This replicates the behaviour of the management UI: If there's no default index pattern, the one created via file visualizer's import will be set as the default index pattern.
2018-10-31 12:04:23 +01:00
Søren Louv-Jansen
8f4b0e9bf8
[APM] Hoist loading of waterfall and flatten it (#24651)
* [APM] Hoist loading of waterfall and flatten it

Remove unused test

Convert to typescript

* Address feedback

* Make `totalDuration` optional

* Renamed rootTransaction to traceRoot

* [APM] Only show relevant service legends

* Adds services label to the service legend

* [APM] Clock skew fix

Only skew child spans from the same service

Take parent skew into account when finding diff

# Conflicts:
#	x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/waterfall_helpers/__snapshots__/waterfall_helpers.test.ts.snap
#	x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/waterfall_helpers/waterfall_helpers.test.ts
#	x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/waterfall_helpers/waterfall_helpers.ts

* Use switch statement
2018-10-31 10:27:57 +01:00
Jason Rhodes
be34592e68
Design clean-up for 6.5, Part Deux (#24862)
* Fixes active tab state

* Removes beta labels from ML and search bar

* Reverts visual regression with right-to-left timeline fix

* Creates space for agent marks beneath tick marks

* Fixes ordering problem with timeline transaction icons

* Updates string 0 to be an integer instead for CSS bottom value
2018-10-30 22:33:33 -04:00
Oliver Gupte
57d0e1d22a
[APM] fixes #24563 by de-duping the column field id 'sample' (#24690)
* [APM] fixes #24563 by replacing de-duping the twice-used column field id

* [APM] fixed issue with service column not sorting in ManagedTable

* [APM] make render field on ITableColumn optional and allowing it to use EUI's default value
2018-10-30 16:31:30 -07:00
CJ Cenizal
05bf7cd4d4
[Rollups] Fix i18n bugs (#23848)
* Internationalize job details tabs and wrap instances in EuiErrorBoundary to visually localize the error.
* Localize no default index pattern message.
* Localize es interval errors.
* Localize job action menu and confirm delete modal.
* Remove unnecessary use of injectI18n from tabs.
* Localize job status.
* Localize steps.
* Remove template literals from FormattedMessages.
2018-10-30 14:13:08 -07:00
Matt Apperson
8702792673
[BeatsCM] Change Index template name (#24835)
* [BeatsCM] Change Index template name

* Update x-pack/plugins/beats_management/server/management_server.ts

* Update x-pack/plugins/beats_management/server/lib/adapters/database/__tests__/test_contract.ts
2018-10-30 15:35:10 -04:00
CJ Cenizal
04568fcca6
Re-initialize Rollup Management userHasLeftApp state to fix bug with clearing URLjob deep-link when detail panel is closed. (#24841) 2018-10-30 11:06:15 -07:00
Chris Roberson
b80ab1cd83
Add onBrush functionality to APM monitoring ui graphs (#24840) 2018-10-30 12:25:34 -04:00
Walter Rafelsberger
a86998a0fc
[ML] Fixes missing y-axis description for rare chart. (#24823)
Fixes the missing y-axis description for rare charts in the form of y-axis event distribution split by {{fieldName}}. The intention is to briefly clarify that the type of chart is different than the other ones which have a count or metric based y-axis. This text is in addition to the text provided (but hidden without hovering) in the info icon tooltip.
2018-10-30 14:19:19 +01:00
Casper Hübertz
863cfb79ce
[APM] Added line-height to table cell (#24768)
Improved reading of the contents, especially in the Transaction Flyout.
2018-10-30 11:25:38 +01:00
James Gowdy
d400a797d3
[ML] Reducing risk of upload timeouts (#24677)
* [ML] Reducing risk of upload timeouts

* function rename

* removing hardcoded number

* fixing typo

* updating comment
2018-10-30 09:16:40 +00:00
James Gowdy
4201555a1d
[ML] Removing new ML job link in basic license (#24676) 2018-10-30 09:16:18 +00:00
Walter Rafelsberger
8b2ce42f3f
[ML] Fix a call stack size exception triggered by a negative tickInterval. (#24742)
In certain cases tickInterval mistakenly could end up being negative which made getTickValues() run into a call stack size exception. This PR fixes it by a) adding a check to getTickValues() that interval must not be 0 or smaller and b) changing the way the tickInterval is determined in the Anomaly Explorer Charts.
2018-10-30 09:31:15 +01:00
Catherine Liu
0c0444cd6e
Fixes unauthorized error in es datasources (#24624)
* Fixes check for security plugin

* Cleaned up security check logic. Fixed tests for create_handlers. Added TODOs

* Updated comment

* Added tests

* Updated variable names
2018-10-29 20:21:55 -07:00