Commit graph

12474 commits

Author SHA1 Message Date
Tyler Smalley
f8587ee209
[migrations] Disable replicas (#25274) (#25357)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-11-07 19:40:27 -08:00
Tyler Smalley
5691b6952e
[build] Uses node-archive to zip/tar packages (#25335) (#25356)
Started digging into an issue where compressing library didn't include empty
directories, which tar/zip should. After investigating the issue I feel it's
best to use a more established project.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-11-07 18:26:26 -08:00
Tyler Smalley
3e74a2c80b
[migration] Retry attempts for ES service unavailable (#25255) (#25338)
Resolves a race condition where ES is technically up, but the Kibana
index is not.

Closes #25027

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-11-07 16:15:06 -08:00
Andrew Cholakian
8b43fae3d1
Remove extra period for heartbeat add data (#25221) (#25299) 2018-11-07 15:14:42 -06:00
Jen Huang
e161dc724b
Move call to standard index pattern fields for wildcard from client to server (#25270) (#25308) 2018-11-07 10:44:13 -08:00
Peter Pisljar
bfd422294e
remove vis dependency from request handlers (#24119) (#25287) 2018-11-07 18:09:04 +01:00
Matt Bargar
759a2b64f3
Add hacky workaround for getDerivedStateFromProps change in react 16.4 (#25142) (#25245) 2018-11-07 11:18:43 -05:00
Aleh Zasypkin
9dbc08b32f
[6.x] Implement new platform plugin discovery. (#25275) 2018-11-07 12:44:15 +01:00
Marco Vettorello
35e61520e0
Fix missing TSVB markdown variables (#25132) (#25231)
* Move fieldsFetch logic into the vis editor

* Add annotations index pattern change detection

* Fix async update of state. Add functional test

* Add missing data archive

* Force fetch when component mount the first time

* Fix parameters naming

* Refactoring indexPatterns to fetch

* Add observables and pipe data updates to markdown panel config

* Fix jest test
2018-11-07 10:48:33 +01:00
Søren Louv-Jansen
b2e62cd9a4
[APM] Show message for missing transaction sample (#25141) (#25261) 2018-11-07 10:27:51 +01:00
Aaron Caldwell
13b99ba393
Ensure baselayers display in region maps (#22609) (#25232)
* Add tmsLayers placeholder array to collections. Bind collections to wms-options scope

* Move tmsLayers attribute declaration to base visualization creation

* Add test to verify presence of road_map base layer option
2018-11-06 14:09:41 -07:00
Tiago Costa
e3916bd007
Add timestamps for logs into the functional tests reports (#24509) (#25238)
* feat(NA): first version to add logs to the functional test runner when running on dev.

* fix(NA): change timestamp position.

* test(NA): add unit test for tooling log text writer with timestamp.

* test(NA): update test and snapshots

* fix(NA): only apply timestamp logs for the jenkins test reports.

* test(NA): update jest snapshots correctly.

* fix(NA): only add timestamp for the test results cached chunk logs.

* fix(NA): rollback bad changes.

* refact(NA): change comments on code to be more clear with the purpose.

* refact(NA): rename chunk to line.

* feat(NA): log the relative time info since the start time of the task instead of the absolute time.
2018-11-06 18:46:05 +00:00
CJ Cenizal
81bfe017d5
Fix aria attribute of icons on status page. (#25179) (#25187) 2018-11-06 10:40:53 -08:00
Peter Pisljar
ff4e773c52
other bucket filter for table and vislib legend (#24473) (#25220) 2018-11-06 18:55:48 +01:00
Peter Pisljar
2268c594dd
remove inspector from Vis (#24112) (#25203) 2018-11-06 16:37:15 +01:00
Leanid Shutau
93054ad205
[Tools] Exclude node_modules folders from i18n_check (#25112) (#25206)
* [Tools] Exclude node_modules folders from i18n_check

* Make node_modules be ignored by default

* Update exclusion patterns
2018-11-06 18:24:47 +03:00
Leanid Shutau
f0bbb66bd6
[Tools] Rename i18n context field to description field (#25105) (#25204)
* [Tools] Rename React i18n context field to description field

* Rename context to description in all i18n use cases
2018-11-06 18:11:32 +03:00
Leanid Shutau
33cbfd76b5
[I18n] Migrate enzyme helpers to TypeScript (#25108) (#25205)
* [I18n] Migrate enzyme helpers to TypeScript

* Migrate src enzyme helpers

* Remove eslint comments
2018-11-06 18:09:13 +03:00
Marco Vettorello
78b9441c0a
Remove console.log (#25207) (#25208) 2018-11-06 14:48:18 +01:00
Marco Vettorello
cb364b49b7
Fix TSVB state updates when changing indexpatterns (#24832) (#25200)
* Move fieldsFetch logic into the vis editor

* Add annotations index pattern change detection

* Fix async update of state. Add functional test

* Add missing data archive

* Force fetch when component mount the first time

* Fix parameters naming

* Refactoring indexPatterns to fetch
2018-11-06 14:19:19 +01:00
Peter Pisljar
6a36a77f79
remove dashboardContext (#23227) (#25188) 2018-11-06 10:53:33 +01:00
Spencer
3ee118dffe
[6.x] [InputControlVis] React 16.4+ compatibility (#25164) (#25180)
Backports the following commits to 6.x:
 - [InputControlVis] React 16.4+ compatibility  (#25164)
2018-11-05 19:27:13 -08:00
Bill McConaghy
9df114bf9b fixing issue with deleting scripted field in index pattern section (#25122) (#25146) 2018-11-05 14:40:08 -08:00
Maryia Lapata
d6a5c69e05
Translations for ui/vis (#23694) (#25138)
* Translate default editor

* Translate aria-labels, update ids

* Fix review comments

* Revert deletion of NOT

* Use one-time binding

* Translations for ui/vis

* Revert changes

* Fix a typo

* Refactoring

* Revert translations since they aren't displayed on ui

* resolve review comments
2018-11-05 22:09:03 +03:00
Jen Huang
9fcaba6ecb
[Rollups] Fix invalid date histogram interval warning (#25066) (#25086)
* Fix invalid date histogram interval warning

* Remove erroneous line
2018-11-05 09:46:22 -08:00
Stacey Gammon
4668af30e5
Added sort order to share menu options. (#25058) (#25096)
* 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-05 11:28:37 -05:00
pavel06081991
fa4e4480ac
Translate vis color schema labels (#23603) (#25107)
Translate color schemas labels
2018-11-05 16:26:27 +03:00
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
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
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
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
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
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
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
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
Bhavya RM
41193fc3d9
adding alt tag with empty text to fix jsx-a11y errors (#24922) (#24942) 2018-11-01 07:20:13 -04: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
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
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
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
Sébastien Loix
b63b53de6d
refactor: Convert utils/collection to Typescript (#23992) (#24889) 2018-10-31 11:24:25 +01:00
pavel06081991
eb1009c3d4
Vega translations (#23677) (#24890)
add vega translations
2018-10-31 12:29:16 +03:00