Commit graph

18761 commits

Author SHA1 Message Date
Joe Fleming 0999ebf273 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:39:36 -07:00
Joe Fleming b684eaae49 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 10:25:57 -07:00
Matt Bargar cc3092af29
Generate the correct bucket keys regardless of query type (#25002) (#25055)
1. filter's query is a plain string
2. filter's query is a query_string query
3. filter's query is some other query DSL object
2018-11-02 13:04:13 -04:00
Stacey Gammon cae5a0da45
[6.x] Add png output to reports 65 (#24759) (#25018)
* 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

* fix unmarked file
2018-11-02 11:39:27 -04:00
Brandon Kobel 1804a8c5f4
Using Joi.object when configuring route validation (#24596) (#24978)
* Using Joi.object when configuring route validation

* Adding forgotten API

* Fixing test
2018-11-02 06:20:31 -07:00
Brandon Kobel bae635f7cb
Upgrading deep-extend to 0.6.0 (#22817) (#24947)
* Upgrading deep-extend to 0.6.0

* Upgrading deep-extend again
2018-11-02 06:20:08 -07:00
Søren Louv-Jansen c6957b3391
[APM] Fix missing parent issue (#25029) (#25043) 2018-11-02 13:30:54 +01:00
Aleh Zasypkin 7fcf32e26c
[6.x] Simplify pseudo localization for React components. (#25042) 2018-11-02 11:34:37 +01:00
James Gowdy f81d0a6fdd
[ML] Fix for check for enabled xpack features (#24986) (#24993) 2018-11-02 09:10:50 +00:00
Catherine Liu 509a1ef76f
Fixes font picker when using custom fonts (#24937) (#25025)
* 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 19:04:15 -07:00
CJ Cenizal de8bd3b9bf
[Rollups] Add noOpSearchStrategy to handle rollup searches when rollups are disabled (#24798) (#25014)
* Surface error within Dashboard panel.
2018-11-01 15:10:29 -07:00
Spencer 219bc53591
[esArchiver] auto-create the default space object when necessary (#24953) (#24999)
* [esArchiver] auto-create the default space object when necessary

* [esArchiver] check for spaces plugin to create default space
2018-11-01 14:50:59 -07:00
Brandon Kobel 1ef606e4cc
Adding "Successfully logged out" page (#23890) (#24981)
* 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 14:38:14 -07:00
Brandon Kobel 84dfa9b21f
Reverting 22816, upgrading mocha is breaking the custom reporter (#24951) (#24956) 2018-11-01 14:37:51 -07:00
Nathan Reese 50c25cf43f
Unable to filter saved objects by single type (#24950) (#25010)
* display danger toast when savedObjectClient.find fails

* move toast notification out of is mounted check

* add test case for savedObjectsClient.find exeception

* compare query to current activeQuery from state to ignore out of order requests
2018-11-01 15:30:16 -06:00
Larry Gregory e7a3bbacec
[6.x] User management - email and name should be optional (#24842) (#24982)
Backports the following commits to 6.x:
 - User management - email and name should be optional  (#24842)
2018-11-01 16:09:00 -04:00
Jonathan Budzenski f91ac474bf
[config] transform plugin deprecations before checking for unused settings (#21294)
* transform plugin deprecations before checking for unused settings

* async deprecations provider

* refactor

* assign

* async tests
2018-11-01 15:01:33 -05:00
CJ Cenizal 9b11cb3838
Duplicate search strategy errors to correspond to the number of original requests. This fixes a bug in which more than one search request error would result in a fatal error. (#24952) (#24997) 2018-11-01 12:09:31 -07:00
CJ Cenizal 35cea77c81
[Rollups] Disable deletion of started rollup jobs (#24878) (#24995)
* 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 12:09:15 -07:00
Bhavya RM be0f898c58 backport of Adding jsxa11y into eslint rules #23932 2018-11-01 13:32:41 -04:00
Jen Huang 2aee3bb3be
[Rollups] Mark beta in rollup index pattern creation (#24805) (#24957)
* Add beta UI tags to rollup index pattern creation

* Add test, update snapshots

* Address feedback, adjust copy, and localize rollup index pattern creation
2018-11-01 09:05:57 -07:00
pavel06081991 ce355247af
Fix/react intl testing helper functions (#24527) (#24975)
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 16:59:54 +03:00
James Gowdy 1dd6dbab5f
[ML] Fixing issues when trying to import non-timestamp data (#24894) (#24932)
* [ML] Fixing issues when trying to import non-timestamp data

* making results link time range optional

* small cleanup after fixing merge conflict
2018-11-01 13:50:26 +00:00
Matt Bargar 3ff4f71e94
More accurate info on scripted field querying 2018-11-01 09:14:52 -04:00
Walter Rafelsberger 40a0bcebfd
[ML] Fixes bug with category filtering flag for rare/population charts. (#24901) (#24919)
Fixes a bug where the filtering limit of categories for the rare chart was actually applied to the population chart variant.
2018-11-01 14:11:30 +01:00
Søren Louv-Jansen 994e8c7fee
[APM] Discover links with quoted values and use default 24h as time range (#24900) (#24971)
* [APM] Discover links with quoted values

* Use 24h as default time range
2018-11-01 13:49:54 +01:00
Ryan Keairns 40b6f481f4
add css grid style to prevent calendar bounce (#24913) (#24944) 2018-11-01 07:34:09 -05:00
Bhavya RM d3478eff88
Disabling es lint for 3 of the canvas files (#24902) (#24943)
disabling eslint for Canvas because we are adding in jsx-a11y rules to eslint and adding a missing copyright header
2018-11-01 07:20:44 -04:00
Bhavya RM 41193fc3d9
adding alt tag with empty text to fix jsx-a11y errors (#24922) (#24942) 2018-11-01 07:20:13 -04:00
Leanid Shutau b24ab5226d
[I18n] Sanitize angular directive message before inserting it to DOM (#24830) (#24967)
* [I18n] Sanitize message before inserting it to DOM

* Add tests
2018-11-01 13:54:01 +03:00
Walter Rafelsberger 789d3345b8
[ML] Display a ordinal y axis for low cardinality rare charts. (#24852) (#24910)
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-11-01 11:49:27 +01:00
Oliver Gupte 8fcf917124 [APM] Fix divide by 0 bug in percentage duration (#24675) (#24965)
* [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-11-01 11:25:53 +01:00
pavel06081991 a0a0b29284
Translations for Dev Tools (#23951) (#24909)
translate dev-tools-console
2018-11-01 11:31:57 +03:00
Jason Rhodes 573b74b6a2
Reorders agents for on prem tutorial (#24872) (#24945) 2018-10-31 21:33:40 -04:00
Jen Huang 4eb49b1cab
[Rollups] Re-enable rollup support (#24888) (#24940)
* Re-enable rollup support extension points

* [Rollups] Hide rollups consumption behind a feature flag in Advanced Settings. (#24698)
2018-10-31 17:52:10 -07:00
Spencer 9a5a053ca4
[dev/build] avoid building packages twice (#24696) (#24954) 2018-10-31 17:07:44 -07:00
James Gowdy 0ff6999e4a
[ML] Fix for delimited data with whitespace in fields (#24899) (#24927)
* [ML] Fix for delimted data with whitespace in fields

* rewriting to use papaparse transform function
2018-10-31 21:43:03 +00:00
liza-mae bb02c8bcd1
Update CI setup for windows to install yarn in global path (#24558) (#24938)
* Update windows ci setup to install yarn global

* Keep formatting consistent

* Update yarn installation for linux

* Updating paths and removing cache folder
2018-10-31 14:47:08 -06:00
Bill McConaghy 64ef1a3c39
console: add ignore_failure to ingest common auto complete (#24915) (#24934) 2018-10-31 16:42:31 -04:00
Oliver Gupte 5f94cea820
[APM] fixes #23808 by adding docs links for user/tags transaction apis for the java agent (#24869) (#24917) 2018-10-31 13:16:41 -07:00
Jason Rhodes f2d988af1b
[6.x] Design clean-up for 6.5, Part Deux (#24862) (#24883)
* 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

* Fixes APM snapshot for CSS value (#24898)
2018-10-31 16:13:19 -04:00
Josh Dover f5ebb5c4d4
Fix reporting typo in 6.0 migration doc (#24848) 2018-10-31 14:57:32 -05:00
Felix Stürmer ed9843a0af
[6.x] [InfraOps] Preserve time values when navigating from the waffle map to the logs and details pages (#24666) (#24911)
Backports the following commits to 6.x:
 - [InfraOps] Preserve time values when navigating from the waffle map to the logs and details pages  (#24666)
2018-10-31 20:28:46 +01:00
Lisa Cawley 8f9e176dd2 [DOCS] Updates monitoring diagram (#24851) 2018-10-31 09:51:22 -07:00
Tyler Smalley fc213d9304
Allows build to be ran on Windows (#24374) (#24885)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-10-31 09:49:43 -07:00
Oliver Gupte 8f321ed415
[APM] fixes #24563 by de-duping the column field id 'sample' (#24690) (#24876)
* [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-31 08:38:30 -07:00
Walter Rafelsberger 5e60b2ce77
[ML] Set new index pattern as default one if no default index pattern exists yet. (#24337) (#24895)
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 16:03:42 +01:00
Matt Bargar fd039cf227
Fix Wildcard Queries Against The Default Field (#24778) (#24860)
When querying against the default field (i.e. querying without specifying a field) we weren't correctly handling values with wildcards in them.
2018-10-31 09:35:35 -04:00
Chris Roberson fe99bc155c
[Monitoring] Use the cluster name from metadata if it exists (#24495) (#24766)
* Use the cluster name from metadata if it exists

* PR comments
2018-10-31 09:01:24 -04:00
Stacey Gammon eda918a61e
Check for toast before waiting for page to finish loading to avoid mi… (#24424) (#24857)
* Check for toast before waiting for page to finish loading to avoid missing the toast by the time the page finishes

* turn test back on
2018-10-31 08:30:24 -04:00