Commit graph

21097 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
Maryia Lapata
40d78865ed Translate vis color schema labels (#23603)
Translate color schemas labels
2018-11-05 11:48:59 +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
4fe2f1de51
[Rollups] Fix invalid date histogram interval warning (#25066)
* Fix invalid date histogram interval warning

* Remove erroneous line
2018-11-02 16:43:56 -07:00
Jen Huang
077634c483
Prepend ES endpoint with slash (#25073) 2018-11-02 15:16:06 -07:00
Spencer
84e72d3ef6
[ftr] allow filtering suites by tag (#25021)
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 13:06:25 -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
Matt Bargar
cd274558d6
Generate the correct bucket keys regardless of query type (#25002)
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 10:42:59 -04: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
Stacey Gammon
d92cbea5b4
skip png screenshot comparison tests, they will fail on certain jenkins agents (#25028) 2018-11-02 10:09:15 -04:00
Leanid Shutau
bdb8dfeeb2
[Tools] Fix js multiline parsing in angular expressions (#24812)
* [Tools] Fix js multiline parsing in angular expressions

* Add test
2018-11-02 17:08:27 +03: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
Aleh Zasypkin
415be6bf91
Simplify pseudo localization for React components. (#24903) 2018-11-02 08:57: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
Jonathan Budzenski
d451d6b7f3
[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 14:59:56 -05:00
CJ Cenizal
2e590a8a64
[Rollups] Add noOpSearchStrategy to handle rollup searches when rollups are disabled (#24798)
* Surface error within Dashboard panel.
2018-11-01 12:48:20 -07:00
Nathan Reese
50d3596e35
Unable to filter saved objects by single type (#24950)
* 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 13:14:26 -06: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
CJ Cenizal
0ec2950800
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) 2018-11-01 09:48:41 -07:00
Bhavya RM
4c0a5e5a67
Adding jsxa11y into eslint rules (#23932) 2018-11-01 12:47:16 -04:00
James Gowdy
38e200f11f
[ML] Fix for check for enabled xpack features (#24986) 2018-11-01 16:46:57 +00:00
Spencer
df69626a30
[esArchiver] auto-create the default space object when necessary (#24953)
* [esArchiver] auto-create the default space object when necessary

* [esArchiver] check for spaces plugin to create default space
2018-11-01 09:41:09 -07:00
Matt Bargar
c21b2ee73f
Add more accurate details on scripted field querying 2018-11-01 09:13:37 -04: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
Leanid Shutau
2fb2bda157
[I18n] Sanitize angular directive message before inserting it to DOM (#24830)
* [I18n] Sanitize message before inserting it to DOM

* Add tests
2018-11-01 11:37:19 +03: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
Brandon Kobel
6c95237e89
Reverting 22816, upgrading mocha is breaking the custom reporter (#24951) 2018-10-31 17:41:07 -07:00
Spencer
9cf22cbc99
[dev/build] avoid building packages twice (#24696) 2018-10-31 14:51:21 -07:00
Brandon Kobel
84e77de924
Upgrading deep-extend to 0.6.0 (#22817)
* Upgrading deep-extend to 0.6.0

* Upgrading deep-extend again
2018-10-31 13:18:19 -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
liza-mae
2ce57a5e6e
Update CI setup for windows to install yarn in global path (#24558)
* 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 12:16:58 -06:00
Jake Landis
191335cf91 console: add ignore_failure to ingest common auto complete (#24915) 2018-10-31 14:07:05 -04: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
Josh Dover
27aea12c08
Fix error log formatting (#24788) 2018-10-31 12:16:53 -05:00