Spencer
a9f27bbee0
[plugin-helpers] use multiple fixtures so parallel tests don't break each other ( #16624 )
2018-02-08 17:25:06 -07:00
CJ Cenizal
5a09763a34
Revert "Revert "Upgrade to EUI 0.0.19. ( #16576 )"" ( #16622 )
...
This reverts commit 73de529a00
.
2018-02-08 16:22:07 -08:00
Spencer
a512466e30
[plugin-helpers] update readme ( #16616 )
...
* [plugin-helpers] update the readme to describe changes now that it is in the Kibana repo
* [plugin-helpers/readme] add note about versions before 6.3
2018-02-08 14:45:40 -07:00
spalger
78844d6aaf
Re-merge branch 'implement/plugin-helpers-package' with history
2018-02-08 14:37:52 -07:00
spalger
ad6eb9b4e2
Revert "Move kibana-plugin-helpers to kbn-plugin-helpers package ( #16565 )"
...
This reverts commit 5ecdaa7e7b
.
2018-02-08 14:37:48 -07:00
Spencer
5ecdaa7e7b
Move kibana-plugin-helpers to kbn-plugin-helpers package ( #16565 )
...
* initial commit
Original commit: elastic/kibana-plugin-helpers@06c603d0d9
* simplify bin scripts and get them working
Original commit: elastic/kibana-plugin-helpers@1455f09194
* [npm] finish package.json
Original commit: elastic/kibana-plugin-helpers@c7b0e9d522
* [readme] inception
Original commit: elastic/kibana-plugin-helpers@5caa197ea7
* [npm] rename
Original commit: elastic/kibana-plugin-helpers@9fb16dd1c3
* [package.json] fix typo
Original commit: elastic/kibana-plugin-helpers@f135485c1a
* [npm] do not commit npm logs
Original commit: elastic/kibana-plugin-helpers@a1bf7505a7
* version 5.0.0-beta1
Original commit: elastic/kibana-plugin-helpers@5abf8ee2ac
* Fix start cmd on Windows
Original commit: elastic/kibana-plugin-helpers@7718cefd8a
* 5.0.0-beta2
Original commit: elastic/kibana-plugin-helpers@4e70c3e4d8
* added license files for better visiblity
Original commit: elastic/kibana-plugin-helpers@a3297e2728
* group task related files
Original commit: elastic/kibana-plugin-helpers@4a8ccce1ec
* [build] place the plugin contents under the kibana directory
Original commit: elastic/kibana-plugin-helpers@0a0f5fea0a
* [start] send extra args to the kibana process
Original commit: elastic/kibana-plugin-helpers@ce943ca67c
* 5.0.0
Original commit: elastic/kibana-plugin-helpers@42163ce240
* Correctly bundle dependencies if there is only one
Fixes elastic/kibana-plugin-helpers#8
Original commit: elastic/kibana-plugin-helpers@c46b2ca07c
* [test:server] include Kibana node_modules/.bin in path when running server tests
Original commit: elastic/kibana-plugin-helpers@bbda801351
* 5.0.1-pre
Original commit: elastic/kibana-plugin-helpers@2d26645117
* Pass pluginId and plugin-path values through correctly (elastic/kibana-plugin-helpers#11 )
Fixes elastic/kibana-plugin-helpers#10
Original commit: elastic/kibana-plugin-helpers@74defe4206
* 5.0.1-pre2
Original commit: elastic/kibana-plugin-helpers@0fd7d07558
* [build] ask for kibana version when set to "kibana"
Original commit: elastic/kibana-plugin-helpers@5fe34c47ae
* 5.0.1-pre3
Original commit: elastic/kibana-plugin-helpers@2e0e10106b
* Running main, corrected build, checking for no dependencies (elastic/kibana-plugin-helpers#15 )
* Updated if check if there are no dependencies
* Now running main()
* Build now uses the correct parameter.
Original commit: elastic/kibana-plugin-helpers@7cf31d26d2
* fix lint error
Original commit: elastic/kibana-plugin-helpers@06af5c3dd4
* support defining an alternate plugin root
Original commit: elastic/kibana-plugin-helpers@0e4d4fa501
* add an optional callback to the build action
Original commit: elastic/kibana-plugin-helpers@6a1012f96b
* run vinyl.src in the plugin.root directory
Original commit: elastic/kibana-plugin-helpers@8f3081b029
* add basic test for the build action
Original commit: elastic/kibana-plugin-helpers@52230f6c3b
* include nvmrc file for development
Original commit: elastic/kibana-plugin-helpers@f51115de11
* add circle-ci config file
Original commit: elastic/kibana-plugin-helpers@80505e1b0d
* 5.0.1
Original commit: elastic/kibana-plugin-helpers@e42d134e4c
* use a promise instead of a callback to track task completion
Original commit: elastic/kibana-plugin-helpers@c6dacf3507
* 5.0.1-patch1
Original commit: elastic/kibana-plugin-helpers@d49bb6ea73
* do not pass stdin to sub tasks, fixes elastic/kibana-plugin-helpers#19
Original commit: elastic/kibana-plugin-helpers@f872954888
* 5.0.1-patch2
Original commit: elastic/kibana-plugin-helpers@a754ef5b50
* Use json files to override default config values (elastic/kibana-plugin-helpers#21 )
* read json overrides, mix into defaults
* rename plugin config helper
* use the plugin config in start
Original commit: elastic/kibana-plugin-helpers@4cfbe28128
* allow browser tests to be runOnce
Original commit: elastic/kibana-plugin-helpers@ede52ece0e
* add a test/all task
Original commit: elastic/kibana-plugin-helpers@9b7c15cf32
* add test command to execute test/all
Original commit: elastic/kibana-plugin-helpers@e096ac55f3
* remove use of spread and default assignment
Original commit: elastic/kibana-plugin-helpers@17532f0fdd
* pass run method into tasks
don't reach into lib for it
Original commit: elastic/kibana-plugin-helpers@d92d2e979a
* use --dev flag for browser dev mode
Original commit: elastic/kibana-plugin-helpers@a790fdd338
* fix default command, no more use of call
Original commit: elastic/kibana-plugin-helpers@fe13b987c9
* Move require calls outside of task functions (elastic/kibana-plugin-helpers#23 )
* move require calls outside of task functions
* fix default command value
Original commit: elastic/kibana-plugin-helpers@846855e960
* add --include options to test:server
Original commit: elastic/kibana-plugin-helpers@d3b5e24207
* split and concat and included server test paths
Original commit: elastic/kibana-plugin-helpers@e7dffb6ffe
* add plugins option to browser tests
used to pass your own testsBundle.pluginIds to the test runner
Original commit: elastic/kibana-plugin-helpers@d370d74bd4
* if plugins are specified, use the option value instead of the default
Original commit: elastic/kibana-plugin-helpers@d610c9c9d6
* assign args in argument passing code
minor syntax change
Original commit: elastic/kibana-plugin-helpers@ce77d071d1
* make server test files an argument
Original commit: elastic/kibana-plugin-helpers@b043b423ef
* add not about custom tests executiong to the readme/help
Original commit: elastic/kibana-plugin-helpers@139221e5a6
* Separate the task runner and the command line parser (elastic/kibana-plugin-helpers#25 )
* remove conditionl require in runner
add tasks module to load all tasks, throw if task does not exist
* change task signatures and action handlers
- tasks get plugin, run, and an options object
- action handler controls what goes into each task
- taskRunner wrapper moves the command object to the first argument
* change test command signature
allow files to be passed in, and pass all options to test:server and test:browser
* simplify the task runner
* fix typo in unknownOptions
* expose the task runner as the module's main
this way tasks can be run programatically without going through a cli parser
* add tests for task runner
* remove file passing for testAll
* add serverTestPaths to the plugin config
useful for overriding the value via a config file
* [config] plugin.serverTestPaths -> plugin.serverTestPatterns
Original commit: elastic/kibana-plugin-helpers@82af4df64e
* 5.1.0
Original commit: elastic/kibana-plugin-helpers@6dd1407e81
* update the readme
Original commit: elastic/kibana-plugin-helpers@c650c4527e
* append build info to package.json
Original commit: elastic/kibana-plugin-helpers@504fd07f3c
* format the package.json file
Original commit: elastic/kibana-plugin-helpers@c474820bb5
* node4 support: const -> var
Original commit: elastic/kibana-plugin-helpers@19b607d954
* fix cli parsing of --dev flag
Original commit: elastic/kibana-plugin-helpers@3aa37c2dfc
* 5.1.1
Original commit: elastic/kibana-plugin-helpers@ad9a8e85b8
* Enable custom builds (elastic/kibana-plugin-helpers#27 )
* only modify root package.json file
previously this was modifying every package.json from node_modules as well
* refactor the build task
export the build, define helpers outside of the task
* allow custom kibana and build versions
both can be passed via flags
* allow custom build globs to be specified
* move build into its own module
* add simple option parsing tests
* update readme
* move dependency file appending into the action
* put source and target into variables
* move config file loading into a module
* refactor test_server_action slightly
be more explicit about the files option overwriting the plugin settings
* move default build patterns to plugin config
allows the setting to be overridden via the config file
* fix dirname on relative includes
trim any leading '../' off the path when moving it into the build target
* move node_module dirs into plugin_config module, use existing promises
* rename file_config => config_file
Original commit: elastic/kibana-plugin-helpers@743e4a37c2
* return the result of running the action
Original commit: elastic/kibana-plugin-helpers@9b819eeeb3
* Allow custom build target via --build-destination flag (elastic/kibana-plugin-helpers#30 )
* pass buildTarget into createBuild
allow override from options
* add cli option to override build destination
--build-destination
* fix tests
* resolve build destination from plugin.root
this allows both relative and absolute paths to be used
* add short option
* update the help
Original commit: elastic/kibana-plugin-helpers@6c9fb3464e
* 5.2.0
Original commit: elastic/kibana-plugin-helpers@8c2a547d9d
* Use npm/yarn to install build dependencies (elastic/kibana-plugin-helpers#28 )
* remove scripts and devDependencies from package
these are only useful in development, and serve no purpose in the build
* refactor the package rewriter
* clean up the buildTarget before building
* run npm install after build creation
* break apart the create_build module
* add create_package modules
call it from within the build_action
* add flag to skip package zip creation
* rename skip-package flag to skip-archive
* rename rewritePackage to rewritePackageJson
* include lock and shrinkwrap files if they exist
* add test for skipping zip creation
* add some tests to build creation
Original commit: elastic/kibana-plugin-helpers@ef6b9c6332
* 6.0.0
Original commit: elastic/kibana-plugin-helpers@9ee7b62e75
* Update URLs in package.json (elastic/kibana-plugin-helpers#31 )
The package.json URLs are still referencing @spalger's version, whilst development and collaboration happens on @elastic's version
Original commit: elastic/kibana-plugin-helpers@1f322c1cb1
* 6.0.1
Original commit: elastic/kibana-plugin-helpers@8eae537f9f
* [tasks/test/browser] fix --kbnServer.tests_bundle flag
Original commit: elastic/kibana-plugin-helpers@12e7552adb
* 6.0.2
Original commit: elastic/kibana-plugin-helpers@ff9d402245
* change let to var (elastic/kibana-plugin-helpers#35 )
allow helpers to run on pre-6.0 node
Original commit: elastic/kibana-plugin-helpers@91de9a84d3
* Fix running tasks on Windows (elastic/kibana-plugin-helpers#37 )
* create windows cmd wrapper
* use windows cmd wrapper on browser tests
* be explicit about the mocha command location
* use windows cmd wrapper on server tests
* use windows cmd wrapper on build
default to using npm as well
Original commit: elastic/kibana-plugin-helpers@35f80a08ce
* 6.0.3
Original commit: elastic/kibana-plugin-helpers@b4da11f899
* fix `build` task when yarn is not installed
Original commit: elastic/kibana-plugin-helpers@d48808f8d8
* 6.0.4
Original commit: elastic/kibana-plugin-helpers@0c0ee17a54
* Added helpers, KIBANA_ROOT environment override (elastic/kibana-plugin-helpers#41 )
* run is now a named export, added helpers for interacting with the kibana repo
* [config] override the kibana root config with KIBANA_ROOT envvar
Original commit: elastic/kibana-plugin-helpers@54a38cd9a2
* bump to version 7 snapshot
Original commit: elastic/kibana-plugin-helpers@0c1b2c1670
* [utils] use actual plugin config (with defaults)
Original commit: elastic/kibana-plugin-helpers@f3bfdb2689
* require node 6 (elastic/kibana-plugin-helpers#42 )
* switch to .node-version file
* require and validate node version 6+
Original commit: elastic/kibana-plugin-helpers@85655f230e
* Bump eslint rules, update code to match rules (elastic/kibana-plugin-helpers#43 )
* bump @elastic/eslint-config-kibana and deps
* eslint --fix
* fix unused vars
some exceptions for tests
* move eslint-config-kibana to dev
* rename create_package function
* make .node-version looser, match internal checks
Original commit: elastic/kibana-plugin-helpers@6fac14bd51
* 7.0.0
Original commit: elastic/kibana-plugin-helpers@2ff10e0a45
* commit yarn.lock file
Original commit: elastic/kibana-plugin-helpers@22bc67e613
* [utils/babelRegister] add support for changes in elastic/kibana#13973
Original commit: elastic/kibana-plugin-helpers@13f30fb4d5
* 7.0.1
Original commit: elastic/kibana-plugin-helpers@abb99896ad
* Feat: add translations to default build source paths (elastic/kibana-plugin-helpers#48 )
* feat: add translations path to build
included by default, to better match what's in the elastic products and even the plugin template
also add a translations path to the mock plugin for tests
* chore: add script to run tests with linting
Original commit: elastic/kibana-plugin-helpers@9871a4b11d
* chore: add yarn.lock file to repo
Original commit: elastic/kibana-plugin-helpers@4108fe6597
* v7.0.2
Original commit: elastic/kibana-plugin-helpers@dba9da1b3c
* Feat: add includePlugins setting (elastic/kibana-plugin-helpers#49 )
* observe includePlugins setting
* fix: move resolve up to config parser
this ensures that the path is resolved relative to the plugin root
Original commit: elastic/kibana-plugin-helpers@fd07d617a4
* Fix: readme include docs (elastic/kibana-plugin-helpers#50 )
* chore: add a simple version compat chart
* chore: document the settings and how to use them
* chore: use icon for license info
* chore: use matching badge for circleci status
Original commit: elastic/kibana-plugin-helpers@1f39e488a3
* v7.1.0
Original commit: elastic/kibana-plugin-helpers@11238b2697
* fix: read package file instead of using require
require uses a cache, so if the package.json file was changed before running build, the changes won't exist in the build runtime. using fs.readFileSync instead ensures that the information read from package.json is current.
Original commit: elastic/kibana-plugin-helpers@f78e891838
* v7.1.1
Original commit: elastic/kibana-plugin-helpers@b489c76b26
* Fix: Package use build target (elastic/kibana-plugin-helpers#52 )
* fix: pass build target into package task
use the build target for the zip output
* chore: change up the npm scripts
* chore: add create package tests
* chore: update eslint deps
* chore: fix linting issues, add engines
Original commit: elastic/kibana-plugin-helpers@51058fb7fc
* v7.1.2
Original commit: elastic/kibana-plugin-helpers@e314c21bf3
* Use scripts/kibana instead of bin if available (elastic/kibana-plugin-helpers#53 )
* Use scripts/kibana instead of bin if available
* semicolons
* Don't fallback to legacy bin/kibana start method
* chore: add 8.x version to compat chart
Original commit: elastic/kibana-plugin-helpers@fc72de53bd
* v8.0.0
Original commit: elastic/kibana-plugin-helpers@d538b32bc3
* chore: add kibanaRoot setting to readme
Original commit: elastic/kibana-plugin-helpers@3769efdb26
* [createToolingLog] update require path for toolingLog (elastic/kibana-plugin-helpers#54 )
Original commit: elastic/kibana-plugin-helpers@d968819d09
* v8.0.1
Original commit: elastic/kibana-plugin-helpers@2663befdc4
* Add support for passing in node options via environment variable (elastic/kibana-plugin-helpers#56 )
* Add support for passing in node options via environment variable
* Split node options
* semicolon
Original commit: elastic/kibana-plugin-helpers@3fc4ec0e87
* Update yarn.lock
Original commit: elastic/kibana-plugin-helpers@b3d62e5925
* v8.1.0
Original commit: elastic/kibana-plugin-helpers@fb979ff679
* Deprecate specifying kibana root location (elastic/kibana-plugin-helpers#59 )
Original commit: elastic/kibana-plugin-helpers@385fdede72
* Remove kibanaRoot option, require kibana-extra (elastic/kibana-plugin-helpers#58 )
* Remove kibanaRoot option, require kibana-extra
* Check location of Kibana on postinstall
* Fix eslint
* Remove 'process.env.KIBANA_ROOT'
Original commit: elastic/kibana-plugin-helpers@3511054dfb
* v9.0.0
Original commit: elastic/kibana-plugin-helpers@8d5af744bb
* [npm] upgrade gulp-zip (elastic/kibana-plugin-helpers#61 )
Original commit: elastic/kibana-plugin-helpers@94e7530e76
* chore: ignore yarn.lock file
Original commit: elastic/kibana-plugin-helpers@9cad57cd97
* [npm] upgraded eslint-related deps (elastic/kibana-plugin-helpers#62 )
* [npm] upgraded eslint-related deps
* [npm] reflect peer deps from @elastic/eslint-config-kibana
Original commit: elastic/kibana-plugin-helpers@1add265641
* v9.0.1
Original commit: elastic/kibana-plugin-helpers@140024adac
* [config] throw if config file has a syntax error (elastic/kibana-plugin-helpers#65 )
Original commit: elastic/kibana-plugin-helpers@487dd70bdb
* v9.0.2
Original commit: elastic/kibana-plugin-helpers@3bd57fbe5e
* [kbn-plugin-helpers] remove redundant configs
* [kbn-plugin-helpers/yarn] add yarn.lock file
* run kbn-plugin-helpers tests on ci
* [plugin-helpers] remove keywords from package.json
* [plugin-helpers] rely on kibana eslint
* [plugin-helpers/eslint] remove unused vars
* [eslint] allow kebab-case in any bin directory
* [plugin-helpers] replace last few uses of old package name
2018-02-08 12:48:23 -07:00
spalger
489e64ef7e
[plugin-helpers] replace last few uses of old package name
2018-02-08 11:57:08 -07:00
spalger
231dd966c8
[eslint] allow kebab-case in any bin directory
2018-02-08 11:57:08 -07:00
spalger
d2df52a68a
[plugin-helpers/eslint] remove unused vars
2018-02-08 11:57:08 -07:00
spalger
3a6be3580c
[plugin-helpers] rely on kibana eslint
2018-02-08 11:57:08 -07:00
spalger
6c64a4d77e
[plugin-helpers] remove keywords from package.json
2018-02-08 11:57:08 -07:00
spalger
f2924aa0e9
run kbn-plugin-helpers tests on ci
2018-02-08 11:57:08 -07:00
spalger
1678ab4466
[kbn-plugin-helpers/yarn] add yarn.lock file
2018-02-08 11:57:08 -07:00
spalger
9f6ebb12b6
[kbn-plugin-helpers] remove redundant configs
2018-02-08 11:57:08 -07:00
spalger
2ede1b11eb
Merge elastic/kibana-plugin-helpers into elastic/kibana repo
2018-02-08 11:56:08 -07:00
Chris Roberson
32f50b0a27
[Management] Highlight query in results for index pattern creation wizard ( #16529 )
...
* Highlight matches in the table
* Address issue with showing an error when the user types `.` which is invalid, but there shouldn't be an error
* Use strong
2018-02-08 13:47:28 -05:00
Nathan Reese
8664b55ac2
Nested input controls ( #16407 )
...
* add input to select parent control
* move lineage logic into seperate file for easier testing
* move parent candidate logic into seperate file
* decouple control factory and control initialization
* disable control if parent not set
* inherite search source from ancestors to have them filter values
* call fetch when query filter is updated for filter value changes
* delete filters when control has ancestor without value
* avoid fetching option list when ancestors have not changed
* add functional tests for nested controls
* remove unneeded file
* fix jest tests, add another test case to functional tests, update 'Parent' field copy
* add more jest test coverage
* fix useTimeFilter functionallity
* add better error message when fetch is not defined by subclass
* pass filters array instead of search source hierarchy
* only modify queryFilter when filters are submitted
* compare value array instead of concatinated string to determine if ancestors have changed
* use ES2016 syntax for array concatination
2018-02-08 10:30:45 -07:00
Chris Roberson
75c05459c9
Properly filter out system indices in CCS env ( #16536 )
2018-02-08 10:13:51 -05:00
Chris Roberson
bf14b4e3e0
[Management] Handle commas as separations in the query for CCS purposes ( #16535 )
...
* Handle commas as separations in the query for CCS purposes
* Add tests
* Limit this to ccs queries, which just means they contain a :
2018-02-08 10:13:18 -05:00
Court Ewing
73de529a00
Revert "Upgrade to EUI 0.0.19. ( #16576 )"
...
This reverts commit dddb906a83
.
2018-02-08 08:14:22 -05:00
Kim Joar Bekkelund
88c18d667f
Preinstall check that mentions 'yarn kbn' ( #16572 )
2018-02-08 13:40:57 +01:00
Kim Joar Bekkelund
3448f31e3d
[kbn-build/bootstrap] Test cleanup ( #16594 )
2018-02-08 13:20:21 +01:00
Tim Roes
e3f6af730b
Don't stretch Kibana logo ( #16524 )
2018-02-08 12:48:39 +02:00
CJ Cenizal
dddb906a83
Upgrade to EUI 0.0.19. ( #16576 )
2018-02-07 19:01:32 -08:00
Kim Joar Bekkelund
95a7435158
Run kbn:bootstrap
script after installing deps ( #16585 )
...
* 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 01:41:16 +01:00
Kim Joar Bekkelund
287c45e162
Use execFile
instead of exec
when installing deps in build ( #16587 )
...
* Clarify lockfile is used for resolution
* Use 'execFile' instead of 'exec'
2018-02-08 00:37:00 +01:00
Spencer
f7748072fb
[kbn-build/bootstrap] symlink executables from linked packages ( #16584 )
...
* [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 16:02:28 -07:00
Chris Roberson
f3b4ddf6da
Stop using the native event and use target.value ( #16553 )
2018-02-07 12:51:12 -05:00
Shaunak Kashyap
c5d41437e9
Removing flex-basis: 0 to make items size properly in IE11 ( #16557 )
2018-02-06 18:46:06 -08:00
CJ Cenizal
ca283c7763
Add icon directive which wraps EuiIcon. ( #16561 )
2018-02-06 16:07:28 -08:00
lcawley
213015ad08
Merge remote-tracking branch 'upstream/master'
2018-02-06 14:33:14 -08:00
Spencer
d58e46578f
Ignore config from disabled plugins ( #16474 )
...
* [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 13:35:03 -07:00
lcawley
1e67ea3cb4
Merge remote-tracking branch 'upstream/master'
2018-02-06 08:43:27 -08:00
Jonathan Budzenski
69cd433373
[console] Update cat/count API's ( #14761 )
...
* [console] Update cat api
* [console] autocomplete cat.tasks
* Revert autocompletion
* cat.aliases
* generate cat
* glob spec folder
* [console] generate count
* [console] remove leading slash from patterns
* [console] generate bulk
* [console] generate clear_scroll
2018-02-06 10:42:21 -06:00
Thomas Neirynck
6022fd8b5e
remove flaky test ( #16537 )
2018-02-06 10:57:28 -05:00
Chris Roberson
6e0d6a3721
[Management] Index pattern creation wizard in React! ( #16499 )
...
* Index pattern creation wizard shell
* PR feedback
2018-02-06 09:15:51 -05:00
Spencer
b596ad3d5d
[eslint] un-ignore .eslintrc.js ( #16542 )
2018-02-05 16:29:30 -07:00
Joe Fleming
37990e9cde
v9.0.2
...
Original commit: elastic/kibana-plugin-helpers@3bd57fbe5e
2018-02-05 15:53:23 -07:00
Spencer
608c9ff38b
[config] throw if config file has a syntax error ( elastic/kibana-plugin-helpers#65 )
...
Original commit: elastic/kibana-plugin-helpers@487dd70bdb
2018-02-05 15:37:22 -07:00
Court Ewing
2896a13f5b
bootstrap ui in script file rather than inline ( #15904 )
...
* 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 16:22:04 -05:00
Tim Roes
30acb3d1b6
Remove Angular and vislib vis type docs ( #16522 )
2018-02-05 21:15:36 +01:00
Chris Earle
c0a13431b4
[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:39:30 -05:00
lcawley
6952c7edba
Merge remote-tracking branch 'upstream/master'
2018-02-05 11:25:39 -08:00
Kim Joar Bekkelund
e58b43f744
Prettier + ESLint setup ( #16514 )
...
* 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 18:18:43 +01:00
Peter Pisljar
d5d9b9389b
moving legend inside vislib ( #16249 )
2018-02-05 17:42:39 +01:00
Tim Roes
45161b8f46
Fix typo in region map description ( #16515 )
2018-02-05 16:22:10 +01:00
Court Ewing
271a941621
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:38:37 -05:00
Kim Joar Bekkelund
43dfbf01dc
Babel preset package ( #16479 )
...
* [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-03 12:24:16 -07:00
Kim Joar Bekkelund
c8f3efd4ef
Rename @elastic/kbn-build to @kbn/build ( #16507 )
2018-02-03 12:04:35 +01:00
CJ Cenizal
e5a10edb38
Fix bug where ESC was closing the Console autocompletion suggestions menu, but then also exiting edit mode. ( #16500 )
2018-02-02 16:01:40 -08:00