Commit graph

43 commits

Author SHA1 Message Date
Lee Drengenberg 5603706023
Support 1 Kibana and 1 Elasticsearch URL as input params (#9760) (#17808)
* Support 1 Kibana and 1 Elasticsearch URL as input params

* Revert a previous change to test char substitution

* Allow setting TEST_KIBANA_URL and TEST_ES_URL for Cloud testing

* cleanup comment

* Update docs

* Refactor after PR review

* Changes from review

* fix default Kibana port to 5620

* Change es_test_config.js similar to kibana_test_server_url_parts.js
2018-05-08 17:42:26 -05:00
Court Ewing f7d0db12ed docs: pull request review guidelines (#17101)
Outlines the general goals/philosophy behind our pull request review
process.
2018-04-19 12:37:30 -04:00
Fabien Baligand f0d1c010c4
fix plugin.js link (#17710) 2018-04-18 15:06:20 -05:00
Tim Roes 1a2fc68fee
Remove filterManager and kuery from vis.API (#17659) (#17714) 2018-04-16 15:21:03 +02:00
Tim Roes 5b22bbb007
Fix visualization individual timeranges (#17123) (#17383)
* Fix visualization individual timeranges

* Make Vega request handler use passed in timeRange

* Remove unneeded private variable

* Use timeRange for courier caching check

* Fix developer documentation

* Fix date_histogram

* Fix issue

* Fix broken tests

* Fix issue in discover visualization

* Fix vega tests

* Fix issue with saved search visualizations

* Update timeRange correctly in editor
2018-03-26 09:00:29 +02:00
CJ Cenizal 7ec8cbe65d
Add link to the EUI docs to Kibana docs (#11835) (#17316)
* Add 'Developing Plugins' section to the docs, with a link to the EUI Framework docs.
2018-03-21 14:18:45 -07:00
Tim Roes 030b5ba577
Fix update status documentation (#16885) (#16886) 2018-02-23 12:21:25 +01:00
Spencer d141b33e12
[kbn-plugin-generator] add plugin generator to the repo (#16655) (#16686)
* [kbn-plugin-generator] add plugin generator to the repo

* [plugin-generator] use snake_case plugin name for directory name

* [plugin-generator] fix typo

* [plugin-generator] remove translation support until we resume i18n efforts

* [yarn] update lockfile

* [mocha] remove plugin-generator selector from mocha tests

* [plugin-generator] update generated readme to recommend yarn

* [plugin-generator] add readme to generator pacakge

* [plugin-generator] link from plugin-resource docs

* [plugin-generator] mention very important `kbn bootstrap` script

* [plugin-generator] rework some parts of the README

* [plugin-generator] log actual directory name with system separators

* [plugin-generator] include bootstrap/yarn preinstall check script
2018-02-12 17:46:46 -07:00
spalger 0247b33878 [plugin-helpers] replace last few uses of old package name 2018-02-08 14:36:49 -07:00
spalger 5759140039 Revert "Move kibana-plugin-helpers to kbn-plugin-helpers package (#16565) (#16617)"
This reverts commit 4dcee04197.
2018-02-08 14:32:16 -07:00
Spencer 4dcee04197
Move kibana-plugin-helpers to kbn-plugin-helpers package (#16565) (#16617)
* 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 13:56:00 -07:00
Tim Roes 30cab80669
Remove Angular and vislib vis type docs (#16522) (#16532) 2018-02-06 13:44:21 +01:00
Court Ewing 9f76635fdf
Remove angular-translate (#13066) (#16015)
* remove angular translate

* remove angular-translate deps from yarn.lock
2018-01-27 10:47:35 -08:00
Nathan Reese febcb397da
documentation on how to create new Add Data tutorials. (#16257) (#16326)
* tutorial docs

* fixes from ycombinator review

* ElasticSearch -> Elasticsearch

* move out of style guide and into README under server/tutorials

* move to asciidocs

* add new line so list is rendered correctly

* changes from gchaps review
2018-01-26 16:00:23 -07:00
Kim Joar Bekkelund 49d2ffd038
Updates for kibana-extra folder (#15471) (#15985)
* Update docs to handle kibana-extra

* Add info about plugin directory structure to docs
2018-01-11 21:18:30 +01:00
Kim Joar Bekkelund a817517574
[6.x] Switch to Yarn (#15485) (#15955)
* Switch to Yarn (#15485)

* switch to yarn

* cleanup misc references to npm

* [yarn] loosen dependency ranges so yarn will merge more deps

* fix linting error now that moment uses ESM

* [licenses] font-awesome changed the format of its license id

* Use local yarn

* Misc fixes

* eslintignore built yarn file

* Remove mkdir which doesn't do what it should do

* Check build without upgrading lots of versions

* Fix license check

* too many moments

* Better description

* Review fixes

* Lock to angular@1.6.5

* More specific version locks

* Revert "More specific version locks"

This reverts commit 11ef81102e.

* Revert "Lock to angular@1.6.5"

This reverts commit 3ade68c14c.

* rm yarn.lock; yarn

* Forcing a specific version of React, Angular, Moment

* Using vendored version of yarn in ci

* Use --frozen-lockfile

* fixes

* Update lockfile
2018-01-10 16:54:20 +01:00
Nathan Reese 45ce09c05c
add time to visualization status (#15856) (#15894)
* add time to visualization status

* account for custom time on visualization

* update docs
2018-01-08 10:55:00 -07:00
Yuri Astrakhan 3edd4a87db
Doc fix: editorController -> editor (#15607) (#15705)
There is no `editorController` param in createBaseVisualization.
I think `editor` was meant instead.
2017-12-19 21:14:54 -05:00
Thomas Neirynck a03f0de88a
fixed param order (#15518) (#15596) 2017-12-13 16:14:32 -05:00
Matt Bargar 756df36f77
minor indent fix (#15520) (#15584) 2017-12-13 11:33:22 -05:00
Thomas Neirynck b58beede63
Use async keyword instead of Promises (#15526) 2017-12-11 15:47:17 -05:00
Tim Roes b24ac9c814
Refactor and improve Visualize Loader (#15157) (#15362)
* Simplify promise setup logic

* Import template from own file

* Use angular.element instead of jquery

* Add documentation for loader methods

* Add params.append

* Remove params.editorMode

* Clarify when returned promise resolves

* Add element to handler

* Allow setting CSS class via loader

* Use render-counter on visualize

* Use Angular run method to get access to Private service

* Allow adding data-attributes to the vis element

* Refactor loader to return an EmbeddedVisualizeHandler instance

* Use this.destroy for previous API

* Remove fallback then method, due to bugs

* Reject promise from withId when id not found

* Add tests

* Change developer documentation

* Revert "Use Angular run method to get access to Private service"

This reverts commit 160e47d7709484c0478415436b3c2e8a8fc8aed3.

* Rename parameter for more clarity

* Add more documentation about appState

* Fix broken test utils

* Use chrome to get access to Angular

* Move loader to its own folder

* Use a method instead of getter for element

* Add listeners for renderComplete events

* Use typedef to document params

* Fix documentation
2017-12-05 12:56:19 +01:00
Court Ewing fa3c2d5e83 Revert "Refactor and improve Visualize Loader (#15157) (#15359)"
This reverts commit bead35811f.

This backport was botched, so a bunch of inline diffs were committed.
2017-12-02 14:13:41 -05:00
Tim Roes bead35811f
Refactor and improve Visualize Loader (#15157) (#15359)
* Simplify promise setup logic

* Import template from own file

* Use angular.element instead of jquery

* Add documentation for loader methods

* Add params.append

* Remove params.editorMode

* Clarify when returned promise resolves

* Add element to handler

* Allow setting CSS class via loader

* Use render-counter on visualize

* Use Angular run method to get access to Private service

* Allow adding data-attributes to the vis element

* Refactor loader to return an EmbeddedVisualizeHandler instance

* Use this.destroy for previous API

* Remove fallback then method, due to bugs

* Reject promise from withId when id not found

* Add tests

* Change developer documentation

* Revert "Use Angular run method to get access to Private service"

This reverts commit 160e47d7709484c0478415436b3c2e8a8fc8aed3.

* Rename parameter for more clarity

* Add more documentation about appState

* Fix broken test utils

* Use chrome to get access to Angular

* Move loader to its own folder

* Use a method instead of getter for element

* Add listeners for renderComplete events

* Use typedef to document params

* Fix documentation
2017-12-02 11:36:01 +01:00
Peter Pisljar d68bc2aedb
Introduce lab mode for visualizations (#15050) (#15092)
* apply patch

add styling

remove cruft

split up concept of experimental and labs

adjust wording

* improve wording

* improve wording & punctuation. remove concept of feedback-url

* remove duplicate labeling between labs/experimental; resolve some typos

* merging isExperimental and isLabs flags to a stage setting

* adding the option to override feedback message back (and improving it)

* updating the docs

* change text labs to lab

* visualize:enableLabsVisualizations to visualize:enableLabs

* fixing github link
2017-11-21 22:11:22 +01:00
Peter Pisljar 9c1f955a35 extending and updating documentation for visualize (#14441)
* extending and updating documentation for visualize

* updating based on review
2017-11-21 20:57:27 +01:00
Peter Pisljar 39b14bed02 adding documentation for visualization development (#14252)
* adding documentation for  visualization development
2017-11-21 20:54:54 +01:00
Spencer 4a5ba237df
[6.x] Upgrade to webpack 3 (#14315) (#14824)
* [timelion] remove last remaining amd modules

* [eslint-config-kibana] remove env.amd

* [webpack] use absolute loader names

* [webpack] remove absolute node_modules/ imports

* [webpack] upgrade to webpack 3

* [uiFramework] make webpack build compatible with v3

* [eslint-import-resolver] use https://github.com/elastic/eslint-import-resolver-kibana/pull/21

* [baseOptimizer] don't break when pkg has no dependencies

* [optimize] remove unnecessary json-loader

* [optimize] remove local references to webpack vars

* [eslint] upgrade to eslint-import-resolver-kibana 0.9.0

* [baseOptimizer] comment tweaks

* [baseOptimizer] remove loader pinning

In webpack 1 the loaders defined here were resolved relative to the file they were going to load, which meant that plugins in other projects could accidentally overwrite the loaders Kibana was trying to use, which is why the aliases were used to enforce proper resolution.

In webpack 2 loaders are now resolved relative to the webpackConfig.context, which is set to the root of the Kibana repo. See https://webpack.js.org/configuration/module/#useentry

* [webpack] rely on kibana webpack shims before checking node_modules

(cherry picked from commit f60639fccb)
2017-11-07 15:54:48 -07:00
archana e672b3f49c Complete doc on running functional tests (#13035)
* Complete doc on running functional tests

* Update development-functional-tests.asciidoc

* Fix section title
2017-08-29 16:51:50 -05:00
Matt Bargar 6a9a20f9ec Remove esAdmin mention from docs since it no longer exists (#13449) (#13450)
The angular service was removed in #13000
2017-08-10 12:33:40 -04:00
Kim Joar Bekkelund 04c8812629 [optimizer] remove support for .less extension (#12722) 2017-07-10 19:40:04 +02:00
Spencer 1f5a9dcc83 [optimizer] remove support for .jsx extension (#12712) 2017-07-07 16:12:05 -07:00
Deb Adair d88227eafc [DOCS] Fixed xref to JS client doc. 2017-06-26 17:16:28 -07:00
Court Ewing 2876f1fdf6 Revert "Switch to Yarn (#11637)"
This reverts commit 71a9b8b6bc.

Until we get all the relevant infra configured with yarn as well.
2017-05-27 08:51:19 -04:00
Spencer 71a9b8b6bc Switch to Yarn (#11637) 2017-05-26 19:32:03 -07:00
Gilly Barr 3849712d85 Remove node resolve algorithm reference (#12023) 2017-05-26 13:02:18 -07:00
debadair fcf1f5089a [DOCS] Fixed cross doc link issues. 2017-04-26 21:45:31 -07:00
spalger b79334b964 [functional_test_runner] tweak doc styling 2017-04-11 15:26:28 -07:00
Spencer 90434765c0 [functionalTestRunner] replace intern (#10910)
* [functional_test_runner] replace functional testing tools with custom/pluggable solution

* [functional_test_runner] Convert unit tests to commonjs format

* [functional_test_runner] Fix dashboard test in wrong mode

* [functional_test_runner] Add dashboardLandingPage test subject

* [functional_test_runner] Get Visualize page object

* [functional_test_runner] Fix outdated references

* [functional_test_runner] Fix more outdated refs

* [functional_test_runner] Remove duplicate tests

* [functional_test_runner] Improve test readability

* [functional_test_runner] 😞 So many duplicate methods

* [functional_test_runner] Move mgmt `before` outside toplevel describe

* [functional_test_runner] Settings page obj missing methods

* [functional_test_runner] Add improvements from @gammon

* [functional_test_runner] Fix return statements in async funcs

* [functional_test_runner] Move before() to correct scope

* [functional_test_runner] Add after() hooks to remove index patterns

* [functional_test_runner] Attempt to fix vertical bar chart tests

* [functional_test_runner] Clean up

* [functional_test_runner] Reinstate unit tests

* [functional_test_runner] Set default loglevel back to info

* [functional_test_runner] Replace `context`s with `describe`s

* [functional_test_runner] Better error handling

* [functional_test_runner] Add in new Tile Map tests

* Incorporate changes from master

* [functional_test_runner] validate that every test file has a single top-level suite

* Update contributing doc with link to full doc

* [docs] Spelling and grammar fixes

* docs: writing and running functional tests

* [docs] Move plugin doc to plugin area

* [docs] Housekeeping. Doc in wrong place

* [docs] Remove dup doc file

* [grunt] Only run mocha_setup when running tests, not every grunt task
2017-04-11 17:01:06 -05:00
Martin Hickey 3aa5938daa Kibana Globalization - Phase 2 (#8766)
* Integrate angular-translate globalization framework with i18n engine
* Provide template for enabling translations in an AngularJS view by translating a view
* Verification tool for translation keys used in angular-translate
* Documentation
2017-03-20 14:09:06 -04:00
Jonathan Budzenski 840df9a231 Tribe docs (#9690)
* [tribe] Init docs

* [docs] Init es client section

* [docs] Link to client api, move client library docs to core development section

* [docs] Add tribe server settings

* [tribe] Link to elasticsearch tribe docs

* [tribe] Document which nodes server configuration points towards

* [docs] Add index link to elasticsearch clients section
2017-01-12 16:34:01 -06:00
Court Ewing bff1533503 docs: branch is now a variable
This makes our docs less brittle and fixes a broken link for pull
requests against known plugins.
2016-12-14 10:34:36 -05:00
Court Ewing 68baabe72f docs: kibana developer and known plugin docs (#9477)
* docs: kibana developer docs

This is the beginning of developer-focussed docs for Kibana. The content
is mostly pulled directly from the old wiki in the github repo.

* docs: known plugins for 5.x
2016-12-13 22:37:55 -05:00