Commit graph

1185 commits

Author SHA1 Message Date
renovate[bot] 996431ae7d Update dependency @types/fetch-mock (#37761) 2019-06-01 08:08:42 -07:00
renovate[bot] 55292e2f52 Update dependency @microsoft/api-documenter to v7.2.1 (#37759) 2019-06-01 08:08:12 -07:00
Dmitry Lemeshko f82e92a077 FTR: add support for Firefox browser (#32509)
* skip and adjust functional tests for Firefox

* downgrade geckodriver to 0.22.0

* [ftr] add firefox specific config file

* remove hard coded firefox adjustments

* remove firefox specific screenshot directory

* run functional tests in firefox in x-pack

* pass the logger to readConfigFile()

* rename local var

* skip xpack firefox config

* run xpack firefox functional tests in separate command

* update report name for XPack firefox results

* adjust viz shared item test

* skip shared item test

* [test/feature_controls] increase timeout to 20 sec & use forceLogout

* FF timeout on TSVB, refresh page on failure for url navigation

* [feature_controls/visualize_security] increase timeout to 20 sec

* skip dev_tools_spaces tests on FF

* run all groups 3 times

* skip more func tests

* skip more tests

* skip all feature controls tests for Firefox

* revert back changes in feature controls tests

* rename xpack report for chrome

* skip tile map for FF, wait for render before saving

* Revert "run all groups 3 times"

This reverts commit 12b4f69627.

* revert refresh on login

* apply feedback
2019-05-31 15:49:18 -07:00
renovate[bot] 4a94aeeb4c Update dependency compare-versions to v3.4.0 (#37729) 2019-05-31 14:45:34 -07:00
renovate[bot] 35597b2d02 Update dependency dragula to v3.7.2 (#37732) 2019-05-31 14:44:48 -07:00
renovate[bot] 76fe38d49e Update dependency commander to v2.20.0 (#37715) 2019-05-31 13:11:02 -07:00
renovate[bot] 2a297432e7 Update dependency chance to v1.0.18 (#37713) 2019-05-31 13:10:28 -07:00
renovate[bot] 295466cffa Update dependency classnames to v2.2.6 (#37714) 2019-05-31 13:09:52 -07:00
renovate[bot] 58b47d9ac3 Update dependency bluebird to v3.5.5 (#37633) 2019-05-31 08:45:27 -07:00
renovate[bot] a8cdcabd77 Update dependency angular-sortable-view to v0.0.17 (#37611) 2019-05-31 01:53:27 -07:00
renovate[bot] 6fcfff969c Update dependency angular-elastic to v2.5.1 (#37610) 2019-05-31 01:53:12 -07:00
renovate[bot] 72dd2b8f6e Update dependency JSONStream to v1.3.5 (#37609) 2019-05-31 01:52:27 -07:00
renovate[bot] 3c6efd4efa Update dependency handlebars to v4.1.2 (#37595) 2019-05-30 21:51:06 -07:00
renovate[bot] cad3af7f5f Update karma related packages (#37556) 2019-05-30 21:19:10 -07:00
renovate[bot] d182198ac1 Update grunt related packages (#37554) 2019-05-30 15:23:54 -07:00
renovate[bot] c60e3491a2 chore(deps): update dependency del to v4 (#37466)
* chore(deps): update dependency del to v4

* remove @types/del since they ship with the package now
2019-05-30 13:40:35 -07:00
renovate[bot] 62893ec0bc Update gulp related packages (#37456) 2019-05-30 13:40:06 -07:00
renovate[bot] 0416dd8920 Update dependency mocha to v3.5.3 (#37458) 2019-05-30 01:26:16 -07:00
renovate[bot] 9256c74fdf Pin dependencies (#37406)
* Pin dependencies

* include core-js in babel packages

* specify core-js version when using `useBuiltIns`

* dedupe @babel/types to avoid "range of null" problem
2019-05-30 00:31:01 -07:00
renovate[bot] fa597135bc Pin dependencies (#37404)
* Pin dependencies

* [eslint] ignore large files that take a long time to parse

* [eslint-plugin-import] force `querystring` to be considered a core module

* [eslint-plugin-import] auto-fix import order issues
2019-05-29 20:34:52 -07:00
Matthew Kime 8f693be770
bump github-checks-reporter to delay 60s on retries and retry 10x (#37358) 2019-05-29 14:03:04 -05:00
Daniil Suleiman f6e91ccaaa Upgrade enzyme and enzyme-adapter-react-16 to the latest (#37064)
* Upgrade enzyme and enzyme-adapter-react-16 to the latest

* Skip failed expectation

* Update yarn.lock

* Update snapshot
2019-05-29 12:56:55 +03:00
Angela Chuang ac3eb8566b
[SIEM] Replace Eui chart with elastic charts for siem kpis (#36660)
* move charts to separate components

* replace areachart

* apply custom styles

* customize barchart color

* customize color for areachart

* move reusable functions into common

* exchange x & y value in barchart dataset

* replace pure component with react memo and upgrade enzyme adapter
2019-05-29 14:57:38 +08:00
Matthew Kime b5006f1d70
fix github checks with long runs (#36953) 2019-05-23 07:43:54 -05:00
Marco Vettorello c75dc2c311
Update elastic-chart dependency to 4.2.6 (#36753) 2019-05-21 13:57:16 -04:00
Greg Thompson 671760e924 EUI@10.4.1 (#36711)
* update eui to 10.4.1

* revert lock
2019-05-20 18:10:32 -04:00
Spencer e091de9e1c
[dev/precommitHook] add support for --fix flag (#36717)
* [dev/precommitHook] add support for --fix flag

* describe new --fix flag in precommit error text
2019-05-20 14:23:15 -07:00
Todd Kennedy 5f56c30ffd
[chore] upgrade wreck (#36527)
wreck has been deprecated and will receive no further security updates
in favor of @hapi/wreck
2019-05-13 15:36:22 -07:00
Søren Louv-Jansen 672a12039c
Bump backport to v4.5.5 (#36408)
**v4.5.5**
 - Support Github Enterprise by allowing custom Github hostname

**v4.5.4**
 - Add ability to customize PR title (`--prTitle`)

**v4.5.0 - 4.5.3**
 - Add ability to append text to PR description: (`--prDescription`)
 - More helpful message for handling conflict resolution
 - Gracefully handle invalid access tokens
 - Drop ssh keys requirement and use access token for everything
 - Create an official Docker image, which allows users without Node.js and/or git to use Backport

**v4.4.2:**
 - Update all dependencies to latest version
2019-05-10 14:49:50 +02:00
Chris Cowan f632bda105
[Infra UI] Metrics Explorer (#35846)
* Returning live data

* Adding TSVB data population

* adding tests

* Adding UI

* Adding rough draft of metrics control

* Breaking out metric component; adding useCallback to callbacks; adding intl strings

* seperating out form

* Break metrics form out; change to custom color picker; create custom color palette;

* fixing bug with color picker

* changes to color palette; fix callback issue

* Fixing count label

* Fix chart label to truncate

* Changing by to graph per

* Making the metric popover wider to ease field name truncation

* critical changes to the import order

* Changing metrics behavior

* Hide metrics when choosing document count

* Updating chart tooltip; fixing types;

* Setting intial state to open metrics; Tweaking toolbar sizes

* fixing linting issues

* Allow users to filter by a grouping by clicking on the title

* Change rate to rateMax; add rateMin and rateAvg; fix title text-align

* Use relative paths to fix base path bug

* fixing typescript errors; removing rateAvg and rateMin; removing extranious files;

* Fixing formatting issues

* Fixing i18n linting errors

* Changing to elastic-charts

* fixing typing errors with charts

* Moving afterKey out of URL to fix bug with pagination

* Adding support for multiple axises

* Adding tests for useMetricsExplorerData hook

* breaking up the charting code; removing multi-axis support; changing color palette to use blue and red for first two color

* Adding drop down menu to charts for filtering and linking to TSVB

* Adding more tests for useMetricsExplorerData hook; adding error message; adding chart options to non-groupby charts

* only display groupings that have the metric fields

* Refactor page level state into custom hook; add test for options handlers;

* Fixing linting

* removing color picker

* removing useInterval

* Changing group by to use the pills; Changing context menu button; adding icons to context menu.

* Adding test for color palette

* Adding test for createFormatterForMetric()

* removing tsx extension; adding tests for createMetricLabel()

* removing tsx extension; adding tests for createMetricLabel()

* re-organizing helpers

* Moving helpers from libs to helpers; adding test for metricToFormat

* Fixing bug in tsvb link fn; adding timeRange props; adding createTSVBLink() test

* fixing timeRange fixture import; fixing aria label for action button

* removing some unecessary useCallbacks

* Adding test for MetricsExplorerChartContextMenu component

* Fixing linting issues

* Optimizing test

* Adding empty prompts for no metrics and no data

* Removing duplicate sereis def

* tcs has lost it's mind so I had to copy enzyme_helpers.tsx into our plugin

* Appeasing prettier

* Update x-pack/plugins/infra/public/components/metrics_exploerer/metrics.tsx

Co-Authored-By: simianhacker <chris@chriscowan.us>

* fixing path typo

* Adding supportFiltering to dependicy; change options to be more specific

* remove typo

* Fixing typo

* Adding logColumns to source fixture; fixing typo

* Fixing path to be more sane
2019-05-08 09:23:45 -07:00
Eli Perelman a8d1a31a82
Revert "Handle encoding and decoding of angular route url components (#34300)" (#36226)
This reverts commit ed97dc6952.
2019-05-08 10:12:50 -05:00
Matthew Kime 272e0b3f19
github-checks-reporter repeat all failures (#36152)
* bump github-checks-reporter
2019-05-07 07:36:55 -05:00
Matthew Kime efe1a471c8
github-checks-reporter retry (#36115)
* bump github-checks-reporter for http retry
2019-05-06 13:22:24 -05:00
Rudolf Meijering 92b7cbbb4d
[Core] Fix core api changes exit code (#36053)
* Bump api-extractor to fix missing warning bug

* Fix api-extractor not failing build on api changes

Workaround for upstream bug

* Don't fail build for api-extractor warnings

Warnings like forgotten exports won't fail the build. Instead these
will be added as comments to the api review files. Thus even though
the build won't break, these warnings will show up in code review and
should be fixed by the author.

This is to allow us to merge the workaround for the upstream bugs
without breaking master until we've addressed all the warnings.
2019-05-06 10:15:40 +02:00
dave.snider@gmail.com d1b189442c
EUI@10.4.0 (#36085)
* EUI@10.4.0

* Fix TS typing in src/legacy/ui/public/chrome/directives/header_global_nav/components/header.tsx
2019-05-05 21:37:07 -07:00
Spencer 1e57e6565c
Revert "Relative cache loader (#35406)" (#36022)
This reverts commit b0e2ab0de9.
2019-05-03 06:15:14 -07:00
Chandler Prall d449ff4e3f
Update EUI 10.1.0 -> 10.3.1 (#35970) 2019-05-02 12:27:36 -06:00
Larry Gregory ff46f19d1d
Update archiving dependencies (#35896)
* update tar to latest (4.4.8)

* remove unused bz2 extraction code

* update geckodriver to latest (1.16.2)

* update untar to ensure destination exists
2019-05-02 13:14:10 -04:00
Alexey Antonov 5b6bc86815
Replace react-anything-sortable with maintained alternative (#35356) 2019-05-02 13:37:45 +03:00
Tyler Smalley 3b3e6447c6
Upgrade jQuery to 3.4.1 (#35908)
Fixes #35419
Fixes #35392

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-05-01 21:44:35 -07:00
Tyler Smalley 31d02926e3 Bump elasticsearch-js to 15.5.0 (#35910)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-05-01 17:47:49 -07:00
Matthew Kime e7290e3490
implementing github checks - second attempt (#35757)
implement github checks in ci
2019-05-01 16:02:33 -05:00
Rudolf Meijering eb17289602
Unlink destination before copy-on-write (#34852)
* Unlink destination before copy-on-write

* Catch unlink exception if destination file doesn't exist

* Add link to upstream node issue

* Add .node_binaries to kbn cleanup

* Remove unlink call

* Remove fs.copy()

* Fix extract_node_builds_task test

* Remove copy from build/lib exports
2019-05-01 20:13:58 +02:00
Peter ae01c5fc36
update style it version to use MIT license version of react-lib-adler32 (#35754) 2019-04-30 19:51:42 -07:00
Eli Perelman ed97dc6952
Handle encoding and decoding of angular route url components (#34300)
* Fork angular for use in Kibana

* Remove custom URL codec logic in favor of fixed forked angular behavior

* Remove legacy angular URL route encoding

* Revert changes to APM plugin to give back control of corrective codecing
2019-04-30 11:16:42 -05:00
Brandon Kobel e1c3903860
Upgrading handlebars to 4.0.14 (#35755) 2019-04-29 12:59:54 -07:00
Tiago Costa b0e2ab0de9
Relative cache loader (#35406)
* chore(NA): first efforts to enable cache-loader relative paths and disable babel-register cache. chore(NA): allow to use cache-loader results everywhere as a persistent cache.

* chore(NA): last change to support cache loader across envs.

* fix(NA): cache-loader config generator function scope.

* refact(NA): static cache config for dll compiler.

* chore(NA): support for force writable cache flag. use built assets for cache on distributable.

* chore(NA): update cache-loader to last version. fix(NA): logic bug with force writable cache flag.

* chore(NA): move optimize cache to built_assets.

* chore(NA): relative paths for sourcemap configurations.

* chore(NA): remove redudant check for process.env var.

* refact(NA): simplify double negated expression.

* chore(NA): remove webpack prefix from devtoolModuleFilenameTemplate.

* chore(NA): rename cache write force flag to KBN_CACHE_LOADER_WRITABLE.

* chore(NA): readd babel register cache.

* chore(NA): change .cache to .ui_bundles_cache

* chore(NA): change .ui_bundles_cache to cache/ui_bundles

* chore(NA): update gitignore with .babel_register_cache.json
2019-04-29 15:08:56 +01:00
Chandler Prall 352971eb3d
Force EUI's corejs to resolve to kibana's (#35600) 2019-04-26 09:41:53 -06:00
spalger 3b71d997e4 update chromedriver 2019-04-24 09:45:05 -07:00
spalger 76834031aa Revert "implementing github checks (#34673)"
This reverts commit 7e81413572.
2019-04-23 15:47:05 -07:00
Fuyao Zhao 4676aea527 Merge branch 'feature/merge-code' 2019-04-23 11:18:03 -07:00
Dmitry Lemeshko 8a7d570ce3
bump chromedriver to 73 (#35395) 2019-04-23 16:23:07 +02:00
spalger fc534e53fb Merge branch 'master' of github.com:elastic/kibana into pr/33438 2019-04-23 06:24:58 -07:00
Brandon Kobel 77b6a9ae9b
Adding hapi-auth-cookie to Kibana's root package.json (#35420)
With the introduction of https://github.com/elastic/kibana/pull/34631
OSS Kibana now has a dependency on hapi-auth-cookie, but it's missing
from the package.json
2019-04-22 11:32:15 -07:00
Fuyao Zhao 91cb4c739d Merge remote-tracking branch 'origin/master' into feature/merge-code 2019-04-22 09:11:17 -07:00
Chandler Prall dc9b299903
Update EUI to v10.1.0 (#35402) 2019-04-22 09:41:51 -06:00
Fuyao Zhao a86477d2f1 Merge remote-tracking branch 'origin/master' into feature/merge-code 2019-04-19 15:54:33 -07:00
Matthew Kime 7e81413572
implementing github checks (#34673)
implement github checks with github-checks-reporter
2019-04-19 15:33:48 -05:00
Jason Rhodes 29dfbd39d5
[APM] Refactors property tables into single metadata table (#35150)
* Refactors property table usage with new components and tests

* Changes default tab for transaction detail view

* Small refactors to property table

* Review feedback

* Updates translations

* Refactors metadata and adds tests

* Rearranges documentation links to prefer declarative component

* Removes unused component

* Improves metadata component tests and removes giant snapshots
2019-04-18 16:27:53 -04:00
Nathan Reese 68b67e5a80
bump numeral.js to fix negative time formatting bug (#35298)
* bump numeral.js to fix negative time formatting bug

* update x-pack dependency
2019-04-18 11:42:16 -06:00
Vitali Haradkou 25f825951f
[FTR] tsfy find & webdriver (#33494)
* migrated find and browser services to typescript
2019-04-18 10:19:11 +03:00
Fuyao Zhao deb5881ad7 Merge remote-tracking branch 'origin/master' into feature/merge-code 2019-04-17 21:47:00 -07:00
Bill McConaghy e16bb422ba
adding spec to console utility as Kibana script (#35232)
* adding spec to console utility as Kibana script

* fixing yarn.lock

* aligning dep versions with Kibana

* fixing test
2019-04-17 20:40:32 -04:00
Greg Thompson e05098dd27
Upgrade EUI to v10.0.1 (#35112)
* eui@10.0.0; tsconfig update

* limit key lookups to strings

* Search Profiler hightlight details flyout classes

* bump

* snapshot updates

* x-pack snapshot updates
2019-04-17 09:16:34 -05:00
Spencer c2a1f92591
[dev/run] add ability to register callback for clean up (#35119)
* [dev/run] add ability to register callback for clean up

* remove old onExit option

* update docs to mention `addCleanupTask`

* update yarn.lock
2019-04-16 16:21:12 -07:00
Brandon Kobel 8bd06fc370
Updating jQuery to 3.4.0 (#35177) 2019-04-16 14:16:23 -07:00
Rudolf Meijering 764bf252fb
[new-platform] Explicitly define core setup types (#34817)
* Explicitly define BasePathSetup type

* Explicitly define I18nSetup type

* Explicitly define InjectedMetadataSetup type

* Explicitly define FatalErrorSetup type

* Fix lint errors

* Fix BasePathSetup types

* Fix lint errors

* Clarify basePath add() docs

* Upgrade api-documenter for 'do not edit' header

* Use @link references on CoreSetup to improve doc navigation

* Add comment that links to upstream api-documenter issue

* PR Comments: make FatalErrorsService.add() private

* Revert "PR Comments: make FatalErrorsService.add() private"

This reverts commit fe9e6e62df.
2019-04-16 22:19:13 +02:00
Mikhail Shustov a202232438
[New platform] HTTP & Security integration (#34631)
* Add Auth session

* add lifecycles

* add types for hapi-auth-cookie

* expose interceptors from http service

* add integration tests

* update tests

* session storage cleanup

* get SessionStorage type safe

* add redirect, clear cookie security integration tests

* add tests for onRequest

* add tests for onAuth

* register Auth interceptor only once

* refactor redirect tests

* fix typings, change error message, test suit naming

* add integration test for session validation

* add tests for cookie session storage

* update docs

* add integration tests for onRequest

* update docs

* cleanup onRequest integration tests

* Generate docs for AuthToolkit & OnRequestToolkit

* add test for an exception in interceptor

* add test OnRequest interceptors dont share request object

* cleanup

* address comments from @eli

* improve typings for onRequest

* improve plugin typings

* re-generate docs

* only server defines cookie path

* cookieOptions.password --> cookieOptions.encryptionKey

* CookieOption --> SessionStorageCookieOptions

* address comments @joshdover

* resolve conflict leftovers

* update @types/hapi-auth-cookie deps

* update docs
2019-04-16 20:47:20 +02:00
Fuyao Zhao fdab56a869 Merge remote-tracking branch 'origin/master' into feature/merge-code 2019-04-16 11:22:07 -07:00
Spencer cce64060d0
[npm] upgrade getopts (#34603)
getopts added the `string` option in a recent version, which I didn't realize when I made updates to src/dev/run/run.ts, which rely on this option. To make sure it is available this updates getopts in all projects from `2.x` to `^2.2.4`
2019-04-15 14:39:34 -07:00
Fuyao Zhao a17a9e9dbf Merge remote-tracking branch 'origin/master' into feature/merge-code 2019-04-15 08:27:05 -07:00
Larry Gregory a3093adcfa
Revert "Upgrade js-yaml to 3.13.1" (#35026)
Reverts elastic/kibana#34987
2019-04-14 11:02:36 -04:00
Rudolf Meijering 3bf8cd5e08
[new-platform] Core docs: bump api-extractor (#34925)
* Bump api-extractor

* Update docs with latest api-extractor

* Fix lint errors

* Update docs after master merge
2019-04-13 09:50:09 +02:00
Dmitry Lemeshko 7a910632c0
bump chromedriver to 2.46.0 (#27302)
* bump chromedriver up to 2.46.0

* print chromedriver version

* [services/web_element_wrapper] use js to clear input field

* add clearValueWithKeyboard

* fix clearing datePattern input

* fix scripted fileds preview tests
2019-04-12 19:33:45 +02:00
Larry Gregory 83b8ff3713
Upgrade js-yaml to 3.13.1 (#34987) 2019-04-12 10:15:33 -04:00
Fuyao Zhao 4357686db5 Merge remote-tracking branch 'origin/master' into feature/merge-code 2019-04-10 22:23:54 -07:00
Tyler Smalley b9f81edffe
No longer package X-Pack as a node module (#32722)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-04-10 13:07:23 -07:00
Fuyao Zhao ef0e01e8a9 Merge remote-tracking branch 'origin/master' into feature/merge-code 2019-04-09 18:08:00 -07:00
dave.snider@gmail.com ce6c33a3e4
Upgrade eui@9.9.0 (#34824) 2019-04-09 15:44:02 -07:00
Fuyao Zhao 2b0e73d15a Merge remote-tracking branch 'origin/master' into feature/merge-code 2019-04-08 13:04:19 -07:00
Rudolf Meijering 7a8301e43b
[new-platform] Core API Review process documentation (#34735)
* Core API Review process documentation

* Add links to public/server api docs and migration guide
2019-04-08 21:14:15 +02:00
Fuyao Zhao 0e69d70440 Merge remote-tracking branch 'origin/master' into feature/merge-code 2019-04-05 10:35:58 -07:00
Tiago Costa ed795d28ee
Migrate from tslint (#33826)
* chore(NA): remove tslint dependencies, configs and enable eslint typescript parser.

* fix(NA): apply recommend eslint typescript rule.s

* chore(NA): upgrade eslint package versions.

* chore(NA): split javascript eslint config in an override section.

* chore(NA): split all eslint configs with overrides.

* chore(NA): remove missing console.log.

* chore(NA): change eslint splits and overrides order.

* chore(NA): replace tslint disable comments with eslint ones.

* chore(NA): solve eslint typescript errors for elastic/kibana-custom/no-default-export

* chore(NA): fixed multiple eslint typescript rule failures.

* chore(NA): add tarfet folder to the eslint ignore.

* chore(NA): apply prettier rule to ts type file.

* chore(NA): remove last mentions to tslint

* chore(NA): add old defined rules

* chore(NA): missing port rules website

* chore(na): ordered rules

* chore(NA): solved eslint typescript problems.

* chore(NA): fix spaced comment problems.

* chore(NA): fix some more eslint typescript rules: import/order no-empty-interface

* chore(NA): fix last rules and comment out what are the ones still failing.

* chore(NA): comment out camelcase rule.

* chore(NA): regenerate kbn pm dist.

* chore(NA): updated snapshots.

* chore(NA): updated snapshots.

* chore(NA): disabled sort-keys rule.

* chore(NA): remove rule prefer-arrow/prefer-arrow-functions.

* chore(NA): fix for @typescript-eslint/no-var-requires rule.

* chore(NA): fixes for @typescript-eslint/camelcase rule.

* chore(NA): fix typo on eslint config kibana typescript.

Co-Authored-By: mistic <tiagoffcc@hotmail.com>

* chore(NA): remove legacy note after the intellij upgrade to 2019.1

* fix(NA): import order plugin.

* chore(NA): fix ts ignore positions after auto fix.

* fix(NA): performance issue with typescript eslint.

* refact(NA): eslint configs organization.

* chore(NA): apply resticted paths to ts files too.

* chore(NA): split comment from eslint ignore.
2019-04-05 17:45:23 +01:00
Fuyao Zhao f808112424 Merge remote-tracking branch 'origin/master' into feature/merge-code 2019-04-04 09:08:35 -07:00
Greg Thompson 865e6739fd
Upgrade EUI to 9.8.0 (#34486)
* upgrade eui to 9.8.0

* test selector updates
2019-04-03 17:25:10 -05:00
Larry Gregory bb568e7ebe
Upgrade jimp to 0.6.0 (#27206) 2019-04-03 08:10:13 -04:00
Rudolf Meijering 5c457972d4
Generate core API docs from TSDoc comments (#32148)
* Generate core API docs from TSDoc comments

Uses api-extractor and api-documenter to generate documentation for
the Kibana core API from TSDoc comments in the source code.

Documentation can be generated using `npm run docs:api`.

I used --no-verify to ignore the following pre-commit hook errors:
1. Filenames MUST use snake_case - api-extractor.json
   It's possible to specify a different config file, but I prefer to keep the "standard" config file name.
2. UNHANDLED ERROR: Unable to find tsconfig.json file selecting "common/core_api_review/kibana.api.ts". Ensure one exists and it is listed in "src/dev/typescript/projects.ts"
   This is not a source file, so safe to ignore.

* Flesh out API docs a little bit

* Ignore snake_case check for api-extractor.json

* Ignore api-extractor's review file from pre-commit check

* Try to fix build failing by using masters yarn.lock

* I'm being stupid

* Found a better home for ignoring common/core_api_review/kibana.api.ts

* Node script for detecting core API changes

I initially wanted to include this as a precommit hook, but it takes
quite long to execute (~12s) so might be better suited as a test or
as part of the release process.

The script currently fails because api-extractor uses an older version
of typescript.

* Fix tslint precommit hook ignore condition

* Write tsdoc-metadata.json into ./build

* Add LogMeta and ElasticSearch to exported types & docs

* Suppress logging when running api-extractor from script

* Improve check_core_api_changes script and run as test

* Inline api-extractor.json config

* Fix check_core_api_changes --help flag

* LogMeta TSDoc comments

* check_core_api_changes: fail if api-extractor produces warnings or errors

And print more useful messages to the console

* Move ignored ts files list into dev/file

* Add back build:types since api-exporter cannot operate on source files

* Upgrade api-exporter/documenter

* api-extractor: independantly analyze core/public and core/server

Becasue of https://github.com/Microsoft/web-build-tools/issues/1029
api-extractor can't use core/index.ts as a single entry point for
analyzing the public and server API's as isolated namespaces.

Instead we analyze these projects separately. This introduces other
problems like the api review files and documentation always being
called "kibana." from the package.json filename.

* Build types as part of build task

* Include types in typescript browser compilation

* Force inclusion of core/public for building types

* Fix api review filename in api-exporter errors

* Update docs and API review files

* Fix api-extractor warnings

* Remove ts file ignored list since it's no longer necessary

* Rename exported api package name

* Review comments

* Export other missing types

* Upgrade api-documenter to latest beta

* Export more missing types

* Fix warnings and add api-exporter to Jenkins tests

* Correctly handle runBuildTypes() exceptions

* Fix another swallowed exception

* Fix api-extractor warnings after master merge
2019-04-03 12:26:00 +02:00
Fuyao Zhao 2263207bac Merge remote-tracking branch 'origin/master' into feature/merge-code 2019-04-01 13:07:47 -07:00
Spencer 7202398c01
[geckodriver] use cached archive if it matches the dep (#34214)
We've seen a good number of geckodriver download failures recently, so we should treat it the same way as chromedriver and cache the download in the packer cache and reuse it when possible.

See https://github.com/vladikoff/node-geckodriver/pull/62
2019-03-31 15:29:36 -07:00
Spencer 41e49cf93f
[yarn] upgrade geckodriver (#34216) 2019-03-29 21:05:24 -07:00
Fuyao Zhao 4aea4e5247 Merge remote-tracking branch 'origin/master' into feature/merge-code 2019-03-29 11:32:39 -07:00
Brandon Kobel b21f048df9
Upgrading less to ^2.7.3 (#34168) 2019-03-29 10:21:39 -07:00
Fuyao Zhao dc8dfbf6bd Merge remote-tracking branch 'origin/master' into feature/merge-code 2019-03-28 20:03:17 -07:00
dave.snider@gmail.com d2c077ae59
eui 9.7.1 (#34098) 2019-03-28 12:27:35 -07:00
Søren Louv-Jansen 30c63f57fd
[APM] useFetcher: Replace react-redux-request with hooks and Context API (#33392) 2019-03-28 14:56:56 +01:00
dave.snider@gmail.com 786423a85a
EUI@9.7.0 (#34011) 2019-03-27 16:21:40 -07:00
Greg Thompson 3acebd9d57 Upgrade EUI to 9.6.0 (#33873)
* eui to 9.6.0

* update snapshots related to onClick
2019-03-27 13:49:52 -07:00
Fuyao Zhao 725189df56 [Code]: Upgrade dependencies 2019-03-26 23:44:48 -07:00
Fuyao Zhao aa8ab4544c Merge remote-tracking branch 'origin/master' into feature/merge-code 2019-03-26 23:30:36 -07:00
CJ Cenizal 33fa8c0c6b
Add eslint rule for checking React Hooks best practices. (#33901)
* Rename Console's useResizeChecker to applyResizeCheckerToEditors, to bypass greedy react-hooks lint rule.
2019-03-26 20:18:14 -07:00