Commit graph

21404 commits

Author SHA1 Message Date
Spencer
c122fa96a0
[eslint] use disallow license header rule (#26309)
Fixes #26295

There are several places where we have accidentally added new license headers with linters but failed to remove old license headers manually. This prevents that by applying the an inverted version of the license headers rule that removed invalid license headers when files are moved.
2018-11-27 16:49:17 -08:00
spalger
aeb5a141ec [kbn-pm] update build 2018-11-27 15:37:52 -08:00
Larry Gregory
5ebca61186 support standard license (#26294) 2018-11-27 13:48:25 -08:00
Gil Raphaelli
29fb9e2655
apm: add ECS fields to index pattern (#26214) 2018-11-27 16:37:04 -05:00
Lisa Cawley
02a1db2ad6
[DOCS] Clarify monitoring dependencies (#26229) 2018-11-27 11:15:06 -08:00
Tiago Costa
17ed1993a2
Extend precommit hook script to support git GUI apps (#25883)
* feat(NA): extend support from precommit hook to git GUI apps.

* docs(NA): more descriptive error message.
2018-11-27 19:02:17 +00:00
Jonathan Budzenski
e1258ed2da
[config] fix logging.useUTC deprecation unset (#26053) 2018-11-27 12:20:29 -06:00
Spencer
c6ce1a6ca0
[kbn/pm] allow packages to define extra paths to clean (#26132)
I noticed some discussion about how kbn clean should probably clear out the `.eslintcache` file, since it doesn't handle changes in related modules (for things like the import plugin) and it would be nice if `yarn kbn clean` took care of the issue. I figured it's not a bad idea, but adding `.eslintcache` directly to `@kbn/pm` felt wrong, so instead I've added another config options that can go in the package.json file, `clean.extraPatterns`. This array of patterns is passed into `del()` so that it can include things like negation.

As the name suggests this doesn't override the initial paths, just adds some extras that will be checked and cleared when `yarn kbn clean` is run.
2018-11-27 10:04:57 -08:00
Tim Sullivan
34d7a3bd3b
[Reporting] Better logging for waitForSelector failure (#25762)
* [Reporting] Better logging for waitForSelector failure

* break waitForSelector

* experimental changes

* cleanup/consistency

* fix some test report title strings

* test disable chromium

* roll back test code

* take out non-working phantom changes

* roll back disable chromium test

* allow logger to use curried tags

* temporarily re-do report failure-causing change for test

* replace newline with escaped for single log line

* undo test change

* remove obsolete test
2018-11-27 10:57:00 -07:00
Tyler Smalley
286c6a7416
[migrations] Throw error if reindex task fails (#26062)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-11-27 09:24:53 -08:00
Tim Roes
b172649f34
Add description for vis types (#26243) 2018-11-27 18:01:19 +01:00
Tim Sullivan
55a9b22d45
Job Info button in Reporting Listing (#25421)
* Job Info button in Reporting Listing

* use lodash directly

* start of flyout use

* description list in flyout

* capitalize

* undefined guard

* expire info on close

* add jest test

* better at error handling + messaging
2018-11-27 09:50:08 -07:00
Larry Gregory
d99aa2d86f
Fix spaces license check (#26270)
## Summary

Allows the public spaces API to work with a gold license

Resolves https://github.com/elastic/kibana/issues/26271
2018-11-27 11:37:43 -05:00
Oliver Gupte
6e06bfbe87
[APM] fixes #20145 by displaying span.context.http.url in the span details flyout (#26238) 2018-11-27 08:34:36 -08:00
Walter Rafelsberger
6c1fd91875
[ML] Wrap controller initialization in assertions. (#26265)
- The controller tests introduced in #25382 had a flaw: If a controller initialization would fail and throw an error, that test suite wouldn't be able to clean up any stubs. So tests using the same stubs would report and error because the stubs couldn't be wrapped again.
- This PR wraps every controller initialization inside an assertion and catches those errors properly as part of the test.
2018-11-27 17:03:04 +01:00
pavel06081991
e93b1fba1e
translate sample data (#26069)
translate sample data
2018-11-27 18:25:06 +03:00
Pete Harverson
8791856654
[ML] Fix alignment of filter icons in anomalies table (#26253)
* [ML] Fix alignment of filter icons in anomalies table

* [ML] Teak y position of icons in expanded row of table
2018-11-27 13:32:03 +00:00
Pete Harverson
d97609eaeb
[ML] Aggregate anomalies table data using configured Kibana timezone (#26192)
* [ML] Aggregate anomalies table data using configured Kibana timezone

* [ML] Move dataFormatTz prop out of controller scope
2018-11-27 11:49:47 +00:00
Nox911
51a418ea43
[i18n] Translate Agg_types(part_3) (#26118)
* Translate agg_types - metrics

* Fix issues
2018-11-27 14:44:47 +03:00
tibmt
624f060316
translate InfraOps visualization component (Part 3) (#25213)
* translate InfraOps visualization component (Part 3 - part of folder components)

* update translation of Infra Ops vizualization component (Part 3)

* update translation of Infra Ops vizualization component (Part 3)

* change some ids and add pluralization

* update Infra Ops Part 3 - change some ids, change some intl.formatMessage() to <FormattedMessage> and directly wrap some classes by injectI18n()

* update Infra-III - add static to displayName
2018-11-27 13:11:56 +02:00
Oliver Gupte
fa7518fab1
[APM] Changed 'Response Time' to 'Duration' in transactions screens (#25990) 2018-11-27 01:27:57 -08:00
Oliver Gupte
b13399b2c0
[APM] Fix horizontal scrollbar being visible in windows 8.1 (#25988) 2018-11-27 01:26:48 -08:00
Catherine Liu
4d906f39ae
Made docs link version specific (#26201) 2018-11-26 16:01:43 -07:00
CJ Cenizal
47ae90c033
Show loading state in Rollup Job detail panel. (#25752) 2018-11-26 14:44:24 -08:00
Brandon Kobel
0dd87332ea
Upgrading npm-run-all to ^4.1.5 (#26200) 2018-11-26 14:17:42 -08:00
Spencer
4fd68064cf
[dev/build] use --prefer-offline flag when installing modules (#26198)
When installing modules in the build we should use the `--prefer-offline` flag to use the offline cache if it's setup (like on CI).
2018-11-26 14:12:01 -08:00
lcawl
6ae391e362 [DOCS] Fix monitoring links 2018-11-26 13:57:48 -08:00
Larry Gregory
e7fd20cdf8
Adds debug logging for spaces management (#26197)
## Summary

Adds debug logging to help diagnose authorization issues when retrieving and creating Spaces. See: https://discuss.elastic.co/t/error-saving-spaces/157118

The logging is rather targeted, based on the user reports. We can consider expanding this if we want to keep this logging around long term.
2018-11-26 15:59:13 -05:00
Aleh Zasypkin
1f7d03d27f
Handle deprecated SSL config settings. (#26196) 2018-11-26 21:38:28 +01:00
Spencer
44414c68b3
[ci] cache reporting browsers in packer (#26195) 2018-11-26 10:33:33 -08:00
Spencer
76635eb985
[inspector/dataView] only reset state if adaptors are updated (React 16.4+ compat) (#26138) 2018-11-26 10:24:00 -08:00
Brandon Kobel
d61786fbbc
Deleting no longer used privileges (#24873)
* We can now delete old privileges

* Logging message when error deleting specific privilege
2018-11-26 09:30:13 -08:00
Larry Gregory
b0a13c9828
adds manage_follow_index index privilege for CCR (#25720) 2018-11-26 12:27:47 -05:00
Larry Gregory
5bba27efbd
Makes short urls space-aware (#26181)
## Summary

Short URLs were using the `config.get(server.basePath)` instead of the space-aware `request.getBasePath()` when building the redirect URL.

Fixes #25991
2018-11-26 12:25:00 -05:00
Peter Pisljar
9ded760b1f
kbn-interpreter package should not import from ui (#26161) 2018-11-26 16:37:17 +01:00
Lisa Cawley
a3414c98f0
[DOCS] Adds screenshots for CCR monitoring (#25979) 2018-11-26 07:28:09 -08:00
Nathan Reese
13eccd522a
add timestamp to inspector request stats (#25667)
* add timestamp to inspector request stats

* remove if wrapper, internationalize
2018-11-26 08:04:43 -07:00
Nox911
8f871f941c
[i18n] Translate Agg_types(part_1) (#24259)
* translate ui-agg_types-bucket

* Fix name of id

* Delete extra i18n import

* Rename some parameters
2018-11-26 17:34:31 +03:00
Nox911
cc7070df84
[i18n] Translate Visual Builder(part_3) (#25923)
* Translate visual builder part_3

* Add two minor translations

* Add two minor translations from server folder

* Fix issues from  comments

* Fix issues
2018-11-26 15:32:23 +03:00
tibmt
876d7c3864
translate InfraOps visualization component (Part 4 - server part) (#25217)
* translate InfraOps visualization component (Part 4 - server part)

* update translation of Infra Ops vizualization component (Part 4)

* remove unnessesary translations

* change some ids

* change some ids

* change one id
2018-11-26 13:12:42 +03:00
Maryia Lapata
6b897487d9 Translations for Visual Builder (part 1) (#23988)
* Translations for Aggregations in Visual Builder

* Refactoring

* Translate agg_lookup

* Update ids

* Add translation

* Replace namespace metrics to tsvb

* Change order in i18nrc file

* Fix issues

* Fix issues

* Fix label calculating

* Fix minor issue
2018-11-26 13:10:42 +03:00
Nox911
28556bf605
[i18n] Translate Visual Builder(part_2) (#25800)
* Translate visual_builder(part_2)

* Replace namespace metrics to tsvb

* Fix issues
2018-11-26 11:44:47 +03:00
Court Ewing
6efd51e44a
readme: remove erroneous snapshot builds link
The snapshot builds were removed from the readme in #25747,
so there should be no link to them.
2018-11-25 14:34:00 -05:00
Spencer
54f1a739cd
[@kbn/interpreter] improve build/packaging (#26096)
Summary of changes:

 - move all build artifacts under `target` directory
 - run babel and webpack in parallel
 - support optional watch and sourcemaps in build
 - expose /common /public /plugin /server sub-exports as index.js
 - avoid importing deeply from `@kbn/interpreter`
 - move a couple missed dependencies from x-pack to kibana
 - remove custom babel-register implementation
2018-11-23 14:16:38 -07:00
Nathan Reese
f90f534eae
Controls Visualization - Dates shown in milliseconds AFTER dates selection (#25654)
* use field format to create label

* make sure labels are strings so sort does not throw exceptions

* move map out of jsx block
2018-11-23 13:15:01 -07:00
Spencer
18ae6a49cb
[dev/build] use more performant copy implementation (#26109)
* [dev/build] use more performant copy implementation

* [dev/build] cleanup coments, install task
2018-11-23 09:50:39 -07:00
Tiago Costa
2b10887248
fix(NA): prettier throw rule error ocurring on master. (#26071) 2018-11-23 16:36:31 +00:00
Sébastien Loix
3717ff89f0
[Typescript]: Move elastic/eui typings to single file
* [Typescript]: Move elastic/eui typings to single file

* [Typescript]: Add typings folder to copyTask when building distributable
2018-11-23 16:36:12 +01:00
Pete Harverson
445ac2f12f
[ML] Adds support for kuery to job wizards (#26094)
* [ML] Adds support for kuery to job wizards

* [ML] Pass combined query and filters to multi metric model mem calc

* [ML] Edits following review
2018-11-23 14:45:39 +00:00
Leanid Shutau
56e27e6c8c Fix quotes in kbn-i18n build scripts (#26120)
**Bug**
`packages/kbn-i18n/package.json`:
```
...
scripts: {
  "kbn:bootstrap": "run-p 'build:babel:** --quiet' build:tsc",
  "kbn:watch": "run-p 'build:** --watch'",
},
...
```
These commands throw errors on Windows because of wrong command line arguments parsing (`'build:babel:**`, `--quiet'` and `build:tsc`):
```
@kbn/i18n: $ run-p 'build:babel:** --quiet' build:tsc
× @kbn/i18n: ERROR: Invalid Option: --quiet'
```
So `yarn kbn bootstrap` fails on Windows

**Fix**
Use cross-platform escaped double quotes instead of single quotes:
```
...
scripts: {
  "kbn:bootstrap": "run-p \"build:babel:** --quiet\" build:tsc",
  "kbn:watch": "run-p \"build:** --watch\"",
},
...
```
2018-11-23 06:24:30 -08:00