Commit graph

16942 commits

Author SHA1 Message Date
jimgoodwin
5eb11150a8 Release notes for 6.2.1 2018-02-08 06:51:38 -05:00
Kim Joar Bekkelund
6e393901cf
Use execFile instead of exec when installing deps in build (#16587) (#16589)
* Clarify lockfile is used for resolution

* Use 'execFile' instead of 'exec'
2018-02-08 09:00:57 +01:00
Kim Joar Bekkelund
b8083c3b87
Run kbn:bootstrap script after installing deps (#16585) (#16590)
* Run 'kbn:bootstrap' scripts at the end of bootstrapping

* Add bootstrap command tests

* resetAllMocks

* Use 'absolutePathSnaphotSerializer'

* Mock console.log calls

* Strip ansi snapshot serializer

* reset in afterEach

* Log before running 'kbn:bootstrap' scripts

* mock linkProjectExecutables in bootstrap tests
2018-02-08 09:00:47 +01:00
CJ Cenizal
2ddedaaea8
Upgrade to EUI 0.0.19. (#16576) (#16591) 2018-02-07 19:03:06 -08:00
Spencer
55395270a9
[kbn-build/bootstrap] symlink executables from linked packages (#16584) (#16588)
* [kbn-build/bootstrap] symlink executables from linked packages

* [kbn-build/bootstrap] use snapshots for tests

* [kbn-build/jest] add absolute path serializer
2018-02-07 17:06:33 -07:00
Chris Roberson
05f2ab5755
Stop using the native event and use target.value (#16553) (#16578) 2018-02-07 13:51:49 -05:00
Shaunak Kashyap
2f26f51748 Removing flex-basis: 0 to make items size properly in IE11 (#16557) 2018-02-06 18:47:52 -08:00
CJ Cenizal
22157b85d2
Add icon directive which wraps EuiIcon. (#16561) (#16562) 2018-02-06 16:08:41 -08:00
Spencer
4721088475
[6.x] Ignore config from disabled plugins (#16474) (#16558)
* [server/plugins] collect disabled plugin specs

* [pluginsDiscovery] fix pluralization of disabledPlugin$

* [pluginDiscovery] fix invalid assertion

* [server/config] ignore config from disabled plugins
2018-02-06 14:25:57 -07:00
Thomas Neirynck
e3f49f8895
remove flaky test (#16537) (#16551) 2018-02-06 14:52:34 -05:00
Chris Roberson
e2d249e273
[Management] Index pattern creation wizard in React! (#16499) (#16547)
* Index pattern creation wizard shell

* PR feedback
2018-02-06 10:42:26 -05:00
jimgoodwin
e03469d684 Release notes for 6.2.0 2018-02-06 08:39:26 -05:00
Tim Roes
30cab80669
Remove Angular and vislib vis type docs (#16522) (#16532) 2018-02-06 13:44:21 +01:00
Spencer
634fbf41db
[6.x] [eslint] un-ignore .eslintrc.js (#16542) (#16543) 2018-02-05 16:35:33 -07:00
Joe Fleming
29fdf58329 v7.1.5
Original commit: elastic/kibana-plugin-helpers@99687d4af0
2018-02-05 15:44:27 -07:00
Spencer
ef3cb80e04 [config] throw if config file has a syntax error (elastic/kibana-plugin-helpers#65)
(cherry picked from commit elastic/kibana-plugin-helpers@487dd70bdb)

Original commit: elastic/kibana-plugin-helpers@04026d9322
2018-02-05 15:40:24 -07:00
Court Ewing
e9d95b806e
bootstrap ui in script file rather than inline (#15904) (#16541)
* bootstrap ui in script file rather than inline

There's no good reason to bootstrap the UI within the browser using an
inline script tag rather than a separate dynamically created bootstrap
script.

Having this bootstrapping logic in its own file allows us to cache this
separately from the main HTML payload, and it is required if we want to
disable inline scripts entirely.

* cleanup from review 1

* fix status page bootstrap

* do not require auth for app bootstrap files

We do not require auth for the rest of our static JS files, and this
file should not be treated differently than those. That this file is
created dynamically rather than pulled directly from the file system
is just an implementation detail.
2018-02-05 17:15:03 -05:00
Chris Earle
1b4fab3968 [Config] Acknowledge when Advanced Settings respond (#16485)
This adds a return value to the `Promise` returned by `config.set`, which allows callers to `await` it  and verify that their setting was applied without checking the settings (which is a race condition).
2018-02-05 14:42:17 -05:00
Kim Joar Bekkelund
f5b3b46170
Prettier + ESLint setup (#16514) (#16528)
* Move .eslintrc (yaml) to .eslintrc.js (js)

* Add Prettier setup to ESLint

* Run Prettier on @kbn/build

* Update style guide with Prettier
2018-02-05 20:00:01 +01:00
Peter Pisljar
421a594f12
moving legend inside vislib (#16249) (#16526) 2018-02-05 19:35:36 +01:00
Thomas Neirynck
1748893ecd
Add enableLabs to docs (#16301) (#16401) 2018-02-05 12:57:00 -05:00
Tim Roes
005db3bbbd
Fix typo in region map description (#16515) (#16519) 2018-02-05 17:21:52 +01:00
Spencer
73ad7e0545
[6.x] Babel preset package (#16479) (#16511)
* [babel-preset] turn into a package

* switch to @kbn namespace

* [babel] pin babel-preset-env to 1.4.0, newer versions don't shim symbols

* [yarn] update lockfile
2018-02-05 08:49:10 -07:00
Chris Roberson
e845247f13
[Management] Time field step in React! (#16129) (#16517)
* Time field step in React

* Tests start

* Modularizing the step and adding tests

* More tests

* More clean up

* Fix test

* Update tests

* Fix bug where use can't select 'No Time Field' option

* Fix test

* Disabled button state bug fix with test

* UX improvement: early warning of index pattern collision

* More composable StepTimeField component for more readability

* PR feedback

* Remove debug

* Ensure the node exists and add back tests

* Update time field loading state

* PR feedback

* Update tests
2018-02-05 10:35:18 -05:00
Court Ewing
d896576632 lint: error on innerHTML and family (#16477)
* lint for innerHTML and family

Browser apis like innerHTML and document.write are dangerous when used
incorrectly, so we should not be using them unless we explicitly opt-out
of the linting rule on a case by case basis.

* add no-unsanitized to eslint peerDependencies
2018-02-04 08:40:29 -05:00
Kim Joar Bekkelund
20d8d8c15d
Rename @elastic/kbn-build to @kbn/build (#16507) (#16508) 2018-02-03 13:39:40 +01:00
CJ Cenizal
84ee546929
Fix bug where ESC was closing the Console autocompletion suggestions menu, but then also exiting edit mode. (#16500) (#16503) 2018-02-02 17:05:06 -08:00
Kim Joar Bekkelund
e65012cbc3
Handle Yarn not forwarding -- to kbn-build (#16497) (#16501) 2018-02-03 01:40:26 +01:00
Kim Joar Bekkelund
96d8995315
Build multiple Kibana packages for production (#16313) (#16496)
* Build packages before running ESLint on CI

* Add production task to kbn-build

* Ensure packages are bootstrapped before running the build

* Run ESLint on kbn-build
2018-02-02 22:47:18 +01:00
Chris Roberson
43ea098107
[Management] Fix importing objects connected to saved searches that contain conflicts (#16004) (#16492)
* Handle cases of importing objects that are connected to searches, but error out due to the searches index pattern not found

* Add tests and fix flaky ones
2018-02-02 16:17:35 -05:00
Kim Joar Bekkelund
c9b602b395
Handle licenses for 'private: true' packages (#16480) (#16494) 2018-02-02 21:55:34 +01:00
Kim Joar Bekkelund
08115ed77c Update lockfile with eui@0.0.18 2018-02-02 20:58:46 +01:00
CJ Cenizal
ba4f222797
Upgrade EUI to 0.0.18. (#16486) (#16489) 2018-02-02 10:15:36 -08:00
Yuri Astrakhan
dd91d8544b
Bump jquery to ^3.3.1 (#16472) (#16476)
* Bump jquery to ^3.3.1
2018-02-02 11:06:33 -05:00
Chris Earle
005c1ab64d Create Global Banner Area (#16340)
This is a follow up to work done to add a `GlobalToastList` and it adds a `GlobalBannerList` that serves a similar role: a singleton class that can be modified as needed to display useful information to the user.

The major difference between this area and the toast notifications is that this is completely self-managed. A good example of this is the `createFirstIndexPatternPrompt` banner, which this PR fits into the global banner list.

This area is not intended to be a common area to display information, but it is useful for the rare, globally useful information.
2018-02-02 10:32:24 -05:00
Spencer
d056e2d625
[6.x] [eslint] lint packages, but not eslint-* ones (#16470) (#16471) 2018-02-01 17:04:59 -07:00
Spencer
9697a83947
[6.x] [precommitHook/caseCheck] require that pacakges directories use kebab-case (#16452) (#16468) 2018-02-01 17:00:20 -07:00
Lisa Cawley
d990f26e50 [DOCS] Build Kibana Guide from kibana repo (#16450) 2018-02-01 10:42:50 -08:00
liza-mae
f5a15ef1f8
Adding data test subj for global nav (#16451) (#16453) 2018-01-31 18:09:28 -07:00
Nathan Reese
7a7cf08fc0
fix dashboard listing table layout in firefox and IE (#16437) (#16449) 2018-01-31 15:41:05 -07:00
Matt Bargar
4fbf28b362
Include 'true' and 'false' in casting (#16371) (#16433) 2018-01-31 15:59:44 -05:00
Spencer
1040316bb3
[6.x] [yarn] remove locked angular resolution (#16422) (#16444) 2018-01-31 13:48:40 -07:00
Spencer
688c591e07
[6.x] [yarn] remove locked moment resolution (#16418) (#16442)
* [yarn] remove locked moment resolution

* [yarn] upgrade moment to latest minor upgrade

* [kibana/fieldFormats/date] fix test, see https://github.com/elastic/kibana/pull/16256#issuecomment-360592151

* [ui/timepicker] fix test to have valid date
2018-01-31 12:54:47 -07:00
Chris Earle
a0328f2e44 [Config] Honor the defaultValueForGetter parameter (#16327)
This adjusts the `config.get` method to honor the default value passed in by the caller regardless of whether the setting already existed or not.

Now, if the method is called without the second parameter (the default value), then it will return the statically defined default value. If a default parameter is supplied, then it will be used instead of the
statically defined default value.
2018-01-31 11:13:21 -05:00
Peter Pisljar
e8d96c010a
postFlightRequest should only run if the main request did (#16248) (#16428) 2018-01-31 14:54:04 +01:00
Tim Roes
418b38a56d
Optimize rendering of the markdown component (#16276) (#16427)
* Optimize rendering of the markdown component

* Check the usage of params directly

* Change tests for new behavior
2018-01-31 13:26:54 +01:00
Jen Huang
82e1cf27c9
Hide caret when no time fields, remove object containing unused string (#16412) (#16414) 2018-01-30 14:20:33 -08:00
Tim Roes
046a262f2c
Fix metric contrast (#16296) (#16410)
* Update EUI to 0.0.14

* Make metrics text white when on dark color
2018-01-30 20:10:20 +01:00
CJ Cenizal
8b6ca9f6f7
Remove GlobalToastList wrapper directive. Add onChange callback. (#16375) (#16405)
* Remove GlobalToastList wrapper directive. Add onChange callback.
* Skip flaky tag cloud test.
2018-01-30 10:34:00 -08:00
Nathan Reese
154b096d4c
EUI input controls visualization (#16210) (#16404)
* update jest tests as best as possible - found some bugs that need to be addressed

* use EuiAccordion to hide/show control editor

* set control editor to be open on load

* small changes

* fix editor jest tests

* update visualization components to EUI

* fix jest tests and updated range control to EUI

* fix bug in range control input logic

* fix button layout

* fix dashboard grid resize test

* add space between panels, change button order, switch to sort icons

* remove style attribute from component, fix spelling of id
2018-01-30 11:19:23 -07:00