Commit graph

18718 commits

Author SHA1 Message Date
Leanid Shutau
99a8488f8b
[Tools] Fix js multiline parsing in angular expressions (#24812) (#25053)
* [Tools] Fix js multiline parsing in angular expressions

* Add test
2018-11-05 10:46:52 +03:00
CJ Cenizal
03b6de2b10
[Rollups] Surface index pattern validation errors in Rollup Job wizard. (#25078) (#25094)
* Show fatal error for unexpected errors.
2018-11-02 22:08:05 -07:00
Spencer
6898032816
[ftr] allow filtering suites by tag (#25021) (#25075)
Closes #22840

In the functional tests we want a better way to include/exclude certain tests, especially as we move forward with #22359. This PR allows us to decorate suite objects with "tags", which won't clutter up the test names and can be used to filter out specific tests within a single test config. The functional test runner supports defining `--include-tag` and `--exclude-tag` CLI arguments, and multiple can be defined.

The method of filtering out tests for running against cloud has been updated to use this approach and I plan to do the same to #22359 once this is merged.
2018-11-02 18:28:51 -07:00
Josh Dover
b206ac6ffd
Fix error log formatting (#24788) (#24929) 2018-11-02 17:31:29 -05:00
Stacey Gammon
5b7ea4cac9
skip png screenshot comparison tests, they will fail on certain jenkins agents (#25028) (#25067) 2018-11-02 17:14:39 -04:00
CJ Cenizal
e74f92a0a9
Return wrapped unknown errors from rollup CRUD API. (#25032) (#25037) 2018-11-02 12:18:50 -07:00
Brandon Kobel
5fb4a2b0c1
Adding support for single session cookies appearing in an Array (#24984) (#25057)
* Adding support for single auth cookies appearing in an Array

* Removing redundant newline
2018-11-02 11:08:21 -07:00
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