2014-02-07 00:29:19 +01:00
{
2014-06-17 01:52:19 +02:00
"name" : "kibana" ,
2015-01-07 21:48:58 +01:00
"description" : "Kibana is an open source (Apache Licensed), browser based analytics and search dashboard for Elasticsearch. Kibana is a snap to setup and start using. Kibana strives to be easy to get started with, while also being flexible and powerful, just like Elasticsearch." ,
"keywords" : [
"kibana" ,
"elasticsearch" ,
"logstash" ,
"analytics" ,
"visualizations" ,
"dashboards" ,
"dashboarding"
] ,
"private" : false ,
2017-08-02 02:43:42 +02:00
"version" : "7.0.0-alpha1" ,
2017-05-23 21:46:54 +02:00
"branch" : "master" ,
2015-07-29 22:11:04 +02:00
"build" : {
2015-08-31 20:14:09 +02:00
"number" : 8467 ,
"sha" : "6cb7fec4e154faa0a4a3fee4b33dfef91b9870d9"
2015-07-29 22:11:04 +02:00
} ,
2015-03-17 02:18:50 +01:00
"homepage" : "https://www.elastic.co/products/kibana" ,
2015-01-23 19:34:29 +01:00
"bugs" : {
2015-03-17 02:32:09 +01:00
"url" : "http://github.com/elastic/kibana/issues"
2015-01-23 19:34:29 +01:00
} ,
2015-06-08 23:17:22 +02:00
"license" : "Apache-2.0" ,
2015-03-17 02:18:50 +01:00
"author" : "Rashid Khan <rashid.khan@elastic.co>" ,
2015-01-07 21:48:58 +01:00
"contributors" : [
2015-03-17 02:18:50 +01:00
"Chris Cowan <chris.cowan@elastic.co>" ,
2015-10-26 22:19:32 +01:00
"Court Ewing <court@elastic.co>" ,
2016-03-30 21:16:01 +02:00
"Jim Unger <jim.unger@elastic.co>" ,
2015-03-17 02:18:50 +01:00
"Joe Fleming <joe.fleming@elastic.co>" ,
2016-03-30 21:16:01 +02:00
"Jon Budzenski <jonathan.budzenski@elastic.co>" ,
"Juan Thomassie <juan.thomassie@elastic.co>" ,
2015-10-26 22:26:16 +01:00
"Khalah Jones-Golden <khalah.jones@elastic.co>" ,
2016-06-14 17:41:37 +02:00
"Lee Drengenberg <lee.drengenberg@elastic.co>" ,
2015-03-17 02:18:50 +01:00
"Lukas Olson <lukas.olson@elastic.co>" ,
2016-03-30 21:16:01 +02:00
"Matt Bargar <matt.bargar@elastic.co>" ,
2016-03-30 21:14:27 +02:00
"Nicolás Bevacqua <nico@elastic.co>" ,
2015-04-01 19:40:13 +02:00
"Shelby Sturgis <shelby@elastic.co>" ,
2016-03-30 21:16:01 +02:00
"Spencer Alger <spencer.alger@elastic.co>" ,
2018-01-13 21:14:04 +01:00
"Tim Sullivan <tim@elastic.co>" ,
"Yuri Astrakhan <yuri@elastic.co>"
2015-01-07 21:48:58 +01:00
] ,
"scripts" : {
2018-02-08 13:40:57 +01:00
"preinstall" : "node ./preinstall_check" ,
2018-01-24 10:34:52 +01:00
"kbn" : "node scripts/kbn" ,
2018-03-20 16:30:15 +01:00
"es" : "node scripts/es" ,
"elasticsearch" : "echo 'use `yarn es snapshot -E path.data=../data/`'" ,
2016-06-21 20:23:40 +02:00
"test" : "grunt test" ,
2015-08-18 23:51:31 +02:00
"test:dev" : "grunt test:dev" ,
"test:quick" : "grunt test:quick" ,
"test:browser" : "grunt test:browser" ,
2015-09-02 21:07:20 +02:00
"test:ui" : "grunt test:ui" ,
2015-09-11 21:08:35 +02:00
"test:ui:server" : "grunt test:ui:server" ,
2017-05-09 19:53:10 +02:00
"test:ui:runner" : "echo 'use `node scripts/functional_test_runner`' && false" ,
2015-08-18 23:51:31 +02:00
"test:server" : "grunt test:server" ,
2015-08-25 02:10:21 +02:00
"test:coverage" : "grunt test:coverage" ,
2016-10-15 00:30:48 +02:00
"checkLicenses" : "grunt licenses" ,
2018-04-20 21:13:37 +02:00
"build" : "node scripts/build" ,
2017-11-22 19:49:37 +01:00
"start" : "node scripts/kibana --dev" ,
2018-05-18 21:15:05 +02:00
"debug" : "node --nolazy --inspect scripts/kibana --dev" ,
"debug-break" : "node --nolazy --inspect-brk scripts/kibana --dev" ,
2017-11-20 22:22:24 +01:00
"precommit" : "node scripts/precommit_hook" ,
2015-08-29 06:42:21 +02:00
"karma" : "karma start" ,
2018-05-22 23:00:02 +02:00
"lint" : "echo 'use `node scripts/eslint` and/or `node scripts/tslint`' && false" ,
"lintroller" : "echo 'use `node scripts/eslint --fix` and/or `node scripts/tslint --fix`' && false" ,
2017-05-09 19:53:10 +02:00
"makelogs" : "echo 'use `node scripts/makelogs`' && false" ,
"mocha" : "echo 'use `node scripts/mocha`' && false" ,
2016-12-13 02:54:56 +01:00
"sterilize" : "grunt sterilize" ,
2018-03-13 18:43:39 +01:00
"uiFramework:start" : "cd packages/kbn-ui-framework && yarn docSiteStart" ,
"uiFramework:build" : "cd packages/kbn-ui-framework && yarn docSiteBuild" ,
"uiFramework:createComponent" : "cd packages/kbn-ui-framework && yarn createComponent" ,
2018-03-26 17:54:40 +02:00
"uiFramework:documentComponent" : "cd packages/kbn-ui-framework && yarn documentComponent" ,
"kbn:watch" : "node scripts/kibana --dev --logging.json=false"
2015-01-07 21:48:58 +01:00
} ,
"repository" : {
"type" : "git" ,
2015-03-17 02:18:50 +01:00
"url" : "https://github.com/elastic/kibana.git"
2015-01-07 21:48:58 +01:00
} ,
"dependencies" : {
2018-05-22 18:29:51 +02:00
"@elastic/eui" : "v0.0.49" ,
2017-08-09 21:31:30 +02:00
"@elastic/filesaver" : "1.1.2" ,
2018-04-03 18:15:59 +02:00
"@elastic/numeral" : "2.3.2" ,
2017-08-09 21:31:30 +02:00
"@elastic/ui-ace" : "0.2.3" ,
2018-02-05 18:18:43 +01:00
"@kbn/babel-preset" : "link:packages/kbn-babel-preset" ,
2018-02-13 21:49:55 +01:00
"@kbn/datemath" : "link:packages/kbn-datemath" ,
2018-03-09 23:20:00 +01:00
"@kbn/pm" : "link:packages/kbn-pm" ,
2018-02-13 19:34:47 +01:00
"@kbn/test-subj-selector" : "link:packages/kbn-test-subj-selector" ,
2018-03-13 18:43:39 +01:00
"@kbn/ui-framework" : "link:packages/kbn-ui-framework" ,
2018-03-09 23:20:00 +01:00
"JSONStream" : "1.1.1" ,
Kibana Globalization - Phase 1 (#7545)
* Add low level i18n plugin
Manages languages that are available and is responsible for loading translated
content at the granularity of a plugin.
To be done:
- APIs for store and retrieval
* Use Kibana install as root for the translation store directory
Setting the path for storing the bundled language translation files to
<KIBANA_INSTALL>/data/store_translations/<PLUGIN_NAME>
* Updated i18n core plugin APIs to be asynchronous
To be done:
- Better error handling in APIs
- Fix threading issue with storePluginLanguageTranslations API
* Fix thread synchroization issue in storePluginLanguageTranslations
* Update error handling in i18n core plugin
* Change to use NodeJS mkdirp function for creating directories recursively
Updates with review comments from @srl295. Changed export syntax to show the
exported functions at end of file.
* Add REST API for getting translations of a language for a plugin
To be done:
- Add algorithm to decide on the language for a plugin by comparing the accept languages
from the REST call and the plugin supported languages
- Add REST API tests
* Add algorithm for determining plugin language when retrieving translations
Client would pass languages used in the 'accept-language' header. These
languages would then be compared against the plugin supported languages
and best compared language would be selected.
To be done:
- Add REST API tests
* Add API to return all registered plugin language translations
* Add HAPI API to get all plugins translation files
* Update register translations API to be independent of plugin name and language
The register API is updated to be independent of plugin name and language. The API will now
traverse the path given and create language bundles as per language files it traverses.
The translations files structure has also been simplified to be just key/value objects.
To be done:
- Add hapi API to get translations
- Extend the API tests to test responses
* Update API test
* Add eslint fix for API test
* Update with review comments
From review https://github.com/elastic/kibana/pull/7545#issuecomment-231147435
following comments updated:
- README, .gitignore, and .eslintrc are not needed in a core plugin
- package.json only needs name and version
- unit tests need to go in a tests directory otherwise they won't get picked up
by the grunt tasks. Also our convention is to name the test file with the same
name as the module it's testing (so i18n_tests.js should just be i18n.js)
- For consistency with the rest of the code base, rename the data directory to fixtures.
- Prefer const (or let if necessary). Don't use var.
- Use ES6 imports/exports rather than commonjs style
- Only export the i18n module's public API. For instance, I don't think getPluginTranslationDetails is used outside of the i18n module, so it shouldn't be exposed publicly. If you want to expose it for testing purposes, I would recommend creating an i18n directory with an index.js file that exports the module's public API, and a separate i18n.js file with the "private" API. index.js will be for public use, i18n.js will be for private internal use.
* Update after review comments
From review (https://github.com/elastic/kibana/pull/7545#issuecomment-231884490):
- i18n module API should return promises for async operations instead of using
callbacks
- All filesystem access should be async
- Unit tests need to be updated based on new proposed plugin structure
(single language file, not split by view)
From design (https://github.com/elastic/kibana/issues/6515#issuecomment-231400097):
- Removed API as will consider in later phase
TODO:
- Make write function async
* Update after review comments
Updated write function to be asynchronous
* Update registerTranslations API to take absolute translation file as argument
The API originally took the directory as the argument but following reviews it
was decided to change to absolute file because it will be less brittle
since it is more explicit.
* Translate the Kibana welcome message
Translates the start-up message (“Kibana is loading ...”)in the Jade template.
To be done:
- Means to register the core plugin translations. They are currently added
in the fixtures directory as static files. Need to be generated on the fly.
* Add build task to generate core plugin translations
Task which calls registerTranslations API and then a task which copies the
regsitered translations to <kibana_root>/build/kibana
* Add hook to optimize module to add registration during dev startup
Registration of the core plugin translations during development start of
Kibana server. The translations include the welcome message and server error
startup message.
* Handle scenario when the user preferred language header is not passed
The UI when loading asks i18n plugin which language translation to use
depending on the user preferred language header 'accept-language'.
This commit is to handle scenario where header is not passed. The algorithm
then chooses the default language.
* Replace registering of translations at plugin install time to the plugin init phase
This change follows review comments in:
https://github.com/elastic/kibana/issues/6515#issuecomment-236237218
* Update after review comments
Comments:
- https://github.com/elastic/kibana/pull/7545#discussion-diff-72890673
- https://github.com/elastic/kibana/pull/7545#discussion-diff-72894762
* Update after plugin folder layout changes in Kibana
This require to use <kibana_root>/data for registered translations
and i18n plugin moved to core_plugins from plugins.
Refer to PR for more details:
https://github.com/elastic/kibana/pull/7562
* Update translation registration to file path rather than bundling
After review discussions it was agreed to just register the absolute paths
to translation files rather than bundling each file into one central file
at registration.
* Update review comments
This commit contains the following review comments:
- https://github.com/elastic/kibana/pull/7545#discussion-diff-74661282
- https://github.com/elastic/kibana/pull/7545#discussion-diff-74661392
- https://github.com/elastic/kibana/pull/7545#discussion-diff-74662271
- https://github.com/elastic/kibana/pull/7545#discussion-diff-74663235
- https://github.com/elastic/kibana/pull/7545#discussion-diff-74669201
- https://github.com/elastic/kibana/pull/7545#discussion-diff-74669269
- https://github.com/elastic/kibana/pull/7545#discussion-diff-74669419
- https://github.com/elastic/kibana/pull/7545#discussion-diff-74669628
- https://github.com/elastic/kibana/pull/7545#discussion-diff-74799382
* Update review comments
The following review comments are included in the commit:
- https://github.com/elastic/kibana/pull/7545#discussion_r74663515
- https://github.com/elastic/kibana/pull/7545#discussion_r74666995
- https://github.com/elastic/kibana/pull/7545#discussion_r74805552
* Expose the i18n APIs in the server object for plugin access
Plugins should call the i18n plugin APIs through the server object
and not directly from the module.
This closes he following comments:
- https://github.com/elastic/kibana/pull/7545#discussion_r74662598
- https://github.com/elastic/kibana/pull/7545#discussion_r74669327
- https://github.com/elastic/kibana/pull/7545#discussion_r74669765
* Update accept-language-parser module to 1.2.0
Module version 1.2.0 fixes issue:
https://github.com/opentable/accept-language-parser/issues/8
This commit updates review comments:
https://github.com/elastic/kibana/pull/7545#discussion-diff-75525214
https://github.com/elastic/kibana/pull/7545#issuecomment-240290461
* Add i18n default locale as a configurable item
Adds 'defaultLocale' configurable item to the i18n plugin configuration.
The default locale is used for translations if the locale specified by user
is not supported.
This commit satisfies the review comment:
- https://github.com/elastic/kibana/pull/7545#discussion-diff-74669970
* Move UI i18n wrapper functionality into a module
This commit better structures the i18n capability so that it can be called
in UI code in a clearly defined fashion with minimum code. It also fixes
potential race conditions.
This commit updates review comments:
- https://github.com/elastic/kibana/pull/7545#discussion-diff-74804791
- https://github.com/elastic/kibana/pull/7545#discussion-diff-74801802
- https://github.com/elastic/kibana/pull/7545#discussion-diff-74670457
* Fill any missing translations using translations from default locale
The default language translations are loaded and are compared against the selected
language translations. The comparison can then highlight any missing translation
keys and can load the default translations keys as needed. This helps to unsure
where possible that a translation string is available in most scenarios even if not
in the locale requested.
This commit resolves review comments:
- https://github.com/elastic/kibana/pull/7545#issuecomment-239202583
- https://github.com/elastic/kibana/pull/7545#issuecomment-239203734
* Add unit tests for the i18n UI wrapper functions
* Fix issues after rebase with master
* Add translation keys verification tool
This tool helps to check that translation keys are translated. This tool can be
used for non-angular translation constructs like the Jade templates.
* Updates after review comments
Updates for review comments:
https://github.com/elastic/kibana/pull/7545#pullrequestreview-3748114
* Update after review comments
Update for review comments:
https://github.com/elastic/kibana/pull/7545#pullrequestreview-3937958
To be done:
- Update of unit tests for UI and server
- Call of verify translations
* Update unit tests after review changes
There was a number of changes to the i18n module and the ui i18n wrapper
following review comments. This commit is to update the unit tests with
respect.
* Add build task for verify translations
* Update the kibana i18n IDs to be prefixed with kibana
* Update verify translations to test registered translations
It was testing the static translation files. It is now updated to
test the translations registered when Kibana server is started and
the plugins have initialized.
* Update after review comments
Updates following review comments:
https://github.com/elastic/kibana/pull/7545#pullrequestreview-5529711
* Update after review
This commit contain updates after the following review:
https://github.com/elastic/kibana/pull/7545#pullrequestreview-5707951
* Updates after review
Updates for review comments:
https://github.com/elastic/kibana/pull/7545#pullrequestreview-6656571
* Update after review
Updates for the following review comments:
https://github.com/elastic/kibana/pull/7545#pullrequestreview-6911265
* Update after review
Updates after the following review comments:
https://github.com/elastic/kibana/pull/7545#pullrequestreview-7084765
* Update unit tests to use expect throwError
* Update after rebase with master
Loading message changed following merge of commit
https://github.com/elastic/kibana/commit/26c53e8a8d62e0714feedf883ab066362ae9ae17#diff-e25d7fee746a4f249e17f87c02fd95f8R55
This required update to the welcome message and how it is called.
* Update following review
Updated the following review comments:
https://github.com/elastic/kibana/pull/7545#pullrequestreview-9297662
* Update the algorithm to return the locale
The algorithm to return which locale to use for translations based on the user
locale list and the regsitered locales is updated in this commit. The algorithm
previously did an exact match on all the user locales first before (by priority)
then checking for best case match. The algorithm is now modified to check each
user locale starting with the highest priority first for an exact match and then
for best case match. If no match it then moves to the next user locale with
the next highest priority. This is to follow the priority list that a user
browser is configured for where there maybe a locale translation available
but might not be the exact match with regard to the locale code and/or script.
An example of this is that the highest priority locale of the user is 'en-US'
but the locale translation available is 'en'. It is better select the 'en'
locale rather than select the next highest locale which is an exact match.
* Update after review comments
Updates after the following reviews:
https://github.com/elastic/kibana/pull/7545#pullrequestreview-9785665
https://github.com/elastic/kibana/pull/7545#pullrequestreview-9786404
* Fix after merge with master
Change in the flo and layout of ui index meant that acceptLanguages were not
being passed. This commit is an update to fix this so that the welcome
messages are loaded.
* Update after review comments
This commit is for updates after the following review:
https://github.com/elastic/kibana/pull/7545#pullrequestreview-10435175
* Fix issue when unit test run in CI as core translations are registered
When unit tests are run on a test server (like in the CI), it will start
Kibana server and register the core translations. This means that the i18n
unit tests need to be able to store the existing registration prior to
testing and replace after testing.
* [server/ui] move i18n into ui module
* [server/ui] restore renderApp() method signature
* [server/ui] unify i18n logic in UiI18n class
* [server] move translation files into "translations" dir
* Update i18n module to loaded by multiple server instances within the one process
* Update i18n module to a class
Moving the i18n module into a class so as to encapsulate the registered
translations which means there can be different and distinct instances per process.
This is to accomodate the user case where there might be multiple Kibana server
instances in a process and the localization should be at the server level.
* Identify private members in a class with underscore-prefix convention
* Remove redundant translation from core translation file
Message starting with 'Give me a moment...' is no longer part of loading
message folowing a rebase with master.
* [ui/i18n] reject translations files that do not use absolute paths
* Update config item locale to defaultLocale
* Update after review comments
- Update after following review: https://github.com/elastic/kibana/pull/7545#pullrequestreview-12775161
- Also, fix syntax mess following rebase with master of src/optimize/index.js
* Fix rebase with master error
* Add task for verifying translations in CI
* Fix lint errors
2016-12-14 01:55:48 +01:00
"accept-language-parser" : "1.2.0" ,
2018-04-12 17:42:45 +02:00
"angular" : "1.6.9" ,
2017-11-17 09:33:11 +01:00
"angular-aria" : "1.6.6" ,
2015-07-28 02:13:45 +02:00
"angular-elastic" : "2.5.0" ,
2018-04-05 22:58:06 +02:00
"angular-recursion" : "^1.0.5" ,
2015-10-15 15:32:20 +02:00
"angular-route" : "1.4.7" ,
2016-07-21 20:44:47 +02:00
"angular-sanitize" : "1.5.7" ,
2016-12-16 00:11:42 +01:00
"angular-sortable-view" : "0.0.15" ,
"autoprefixer" : "6.5.4" ,
2017-02-09 22:48:55 +01:00
"babel-core" : "6.21.0" ,
2017-11-01 00:31:22 +01:00
"babel-loader" : "7.1.2" ,
2017-02-09 22:48:55 +01:00
"babel-polyfill" : "6.20.0" ,
"babel-register" : "6.18.0" ,
2015-09-05 10:49:36 +02:00
"bluebird" : "2.9.34" ,
2016-09-09 23:10:50 +02:00
"body-parser" : "1.12.0" ,
2017-08-09 02:55:36 +02:00
"boom" : "5.2.0" ,
2018-05-15 22:31:26 +02:00
"brace" : "0.11.1" ,
2016-03-09 19:40:43 +01:00
"bunyan" : "1.7.1" ,
2017-11-01 00:31:22 +01:00
"cache-loader" : "1.0.3" ,
2017-12-15 21:35:10 +01:00
"chalk" : "2.3.0" ,
2016-10-29 17:10:46 +02:00
"check-hash" : "1.0.1" ,
2017-03-02 21:07:28 +01:00
"color" : "1.0.3" ,
2015-09-05 10:49:36 +02:00
"commander" : "2.8.1" ,
2018-01-13 21:14:04 +01:00
"compare-versions" : "3.1.0" ,
2017-11-01 00:31:22 +01:00
"css-loader" : "0.28.7" ,
2018-01-25 15:38:16 +01:00
"custom-event-polyfill" : "^0.3.0" ,
2015-09-05 10:49:36 +02:00
"d3" : "3.5.6" ,
2016-11-21 23:03:25 +01:00
"d3-cloud" : "1.2.1" ,
2016-05-12 11:46:34 +02:00
"dragula" : "3.7.0" ,
2018-03-19 19:49:52 +01:00
"elasticsearch" : "^14.2.1" ,
"elasticsearch-browser" : "^14.2.1" ,
2016-09-10 00:39:57 +02:00
"encode-uri-query" : "1.0.0" ,
2016-06-01 22:26:09 +02:00
"even-better" : "7.0.2" ,
2018-05-25 20:57:40 +02:00
"execa" : "^0.10.0" ,
2015-09-05 10:49:36 +02:00
"expiry-js" : "0.1.7" ,
2017-11-01 00:31:22 +01:00
"extract-text-webpack-plugin" : "3.0.1" ,
2018-05-15 00:10:40 +02:00
"fetch-mock" : "^5.13.1" ,
2017-11-01 00:31:22 +01:00
"file-loader" : "1.1.4" ,
2017-04-12 00:01:06 +02:00
"font-awesome" : "4.4.0" ,
2016-09-09 23:10:50 +02:00
"glob" : "5.0.13" ,
2016-02-12 04:01:14 +01:00
"glob-all" : "3.0.1" ,
2015-09-05 10:49:36 +02:00
"good-squeeze" : "2.1.0" ,
2016-09-13 21:20:22 +02:00
"h2o2" : "5.1.1" ,
2017-03-20 14:06:12 +01:00
"handlebars" : "4.0.5" ,
2016-09-13 21:20:22 +02:00
"hapi" : "14.2.0" ,
2018-01-13 21:14:04 +01:00
"hjson" : "3.1.0" ,
2018-05-01 22:52:55 +02:00
"http-proxy-agent" : "^2.1.0" ,
"https-proxy-agent" : "^2.2.1" ,
2016-09-13 21:20:22 +02:00
"inert" : "4.0.2" ,
2015-09-05 10:49:36 +02:00
"jade" : "1.11.0" ,
2017-11-01 00:31:22 +01:00
"jade-loader" : "0.8.0" ,
2017-05-18 03:53:45 +02:00
"joi" : "10.4.1" ,
2018-02-02 11:53:28 +01:00
"jquery" : "^3.3.1" ,
2015-09-05 10:49:36 +02:00
"js-yaml" : "3.4.1" ,
2018-01-13 21:14:04 +01:00
"json-stringify-pretty-compact" : "1.0.4" ,
2015-09-05 10:49:36 +02:00
"json-stringify-safe" : "5.0.1" ,
"jstimezonedetect" : "1.0.5" ,
2017-08-23 01:26:30 +02:00
"leaflet" : "1.0.3" ,
"leaflet-draw" : "0.4.10" ,
"leaflet-responsive-popup" : "0.2.0" ,
2018-04-26 00:31:16 +02:00
"leaflet-vega" : "^0.8.6" ,
2018-04-09 20:08:53 +02:00
"leaflet.heat" : "0.2.0" ,
2016-12-16 00:11:42 +01:00
"less" : "2.7.1" ,
2017-11-01 00:31:22 +01:00
"less-loader" : "4.0.5" ,
2015-09-05 10:49:36 +02:00
"lodash" : "3.10.1" ,
2017-10-03 10:51:59 +02:00
"lru-cache" : "4.1.1" ,
2018-05-28 16:52:04 +02:00
"markdown-it" : "^8.4.1" ,
2015-09-05 10:49:36 +02:00
"minimatch" : "2.0.10" ,
"mkdirp" : "0.5.1" ,
2018-01-31 19:16:36 +01:00
"moment" : "^2.20.1" ,
"moment-timezone" : "^0.5.14" ,
Kibana Home page - phase two (#14749)
* add tutorial directory and home promo section
* tutorial components
* use KuiCodeEditor for displaying instruction code
* move spec files to server so joi can be used. Fetch via rest API
* Adding more tutorials (#4)
* More edits on the Apache logs tutorial
* Added nginx, mysql, and sytem modules for FB
* Moved apache to apacheLogs and added an apacheMetrics tutorial
* Added mysqlMetrics, nginxMetrics, systemMetrics tutorials
* Reduce duplication in the tutorials
This uses common objects for the install and start steps for Filebeat.
Same can be done for MB.
* fix windows path for config file
* add markdown parsing
* use mustache to replace config.kibana.version with kibana version
* add image preview to tutorial introduction
* fix css class name
* add param types constants
* add docs variables
* [WIP] Logstash Netflow module tutorial (#5)
* First draft of Logstash Netflow module tutorial
* Incorporated writing style suggestions
* pass params to template replace logic
* parameter inputs
* use isReadOnly flag from ui-framework for KuiCodeEditor
* dedemorton commits on netflow
* remove trailing slash from base links
* add config.docs.logstash and fix vertical spacing between Content component and commands
* Use logstash docs config variable
* Starting to add Deb instructions
* Fix Logstash documentation link
* Make commands optional
* Refactor: extract common LS instructions
* Edits for the existing tutorials
* change schema to support three instruction types
* [Netflow tutorial] Simplify OSX instructions
* replace axios with fetch
* pass credentials to tutorial fetch
* display cloud instructions when cloud set
* RadioButtonGroup component
* update copy
* add tutorial component jest tests
* content component test
* load isCloudEnabled in home_app
* add functional test ensuring add data tutorials are fetch and displayed
* rename card btns to 'Add data', fix type in tutorial directory tab, remove 'Set up index pattern from tutorial directory'
* move parameters form to right of instruction set title
* add copy snippet button, remove line numbers from command block
* add breadcrumb to tutorial view
* update tutorial jest snapshot
* use componentDidMount and ignore async results if componenent has been unmounted
* define shape of prop for instructionVariants and params. Create NumberParameter and StringParameter components
* add bread crumb to add data directory page
* Add cloud version of the apache_logs tutorial (#16)
* Add cloud version of the apache_logs tutorial
* Added onprem-cloud version as well
* fix styling broken by EUI rebase
* add artifacts to tutorial schema
* fix styling for code block
* [Tutorials] Netflow: instructions for onPremCloud (#18)
* Extract common on-prem cloud instructions so LS and Beats can share them
* Extracting common instructions; adding onPremCloud instructions
* fix copy bug where copy would only contain previously selected text
* make string parameter input type be text
* Implementing Elastic Cloud tutorial for Netflow module (#19)
* More tutorial edits (#20)
* More tutorial edits
This updates the on prem instructions with a step that installs the GeoIP and
UA plugins in ES. It also makes the on-prem steps more consistent with the cloud
instructions which results in less redundancy in the code.
* Show config step for all variants
* More DRY in the tutorial content
* Updated screenshot for apache_logs
* wrap markdown content in markdown-body class
* use EuiFlexGroup to remove wasted space with 'copy snippet' button and instruction text
* change OSX to macOS, use Computed property names for instruction_variant DISPLAY_MAP, replace /app/kibana with kbnBaseUrl, remove unneeded if check in copy_to_clippboard, put getTutorials mixin on server instead of request
* capitilize 'C' in Elastic Cloud
* remove try/catch from copy_to_clipboard
* Removing unrelated instructions
* Copy editing fixes
* Multiply edits to the Beats tutorials (#21)
* Updated Nginx module
* Updated MySQL logs module
* Updated system logs module
* Correct the on_prem_cloud enable steps
* Updated the Nginx metrics tutorial and added screenshot
* Updated the Apache metrics module + screenshot
* Updated the MySQL metrics module + screenshot
* Updated the system metrics module + screenshot
* prevent 'Copy snippet' button text from wrapping
* [Netflow tutorial] Windows instructions (#22)
* [Netflow tutorial] Adding onPrem instructions for Windows
* Removing unrelated/superfluous instructions
* Adding Windows instructions for onPremElasticCloud and elasticCloud
* use EuiImage so tutorial images are clickable to view in full screen
* fix jest tests
* set fullScreenIconColor and alt options for EuiImage, add space between command block and instruction text
2018-01-10 15:20:38 +01:00
"mustache" : "2.3.0" ,
2018-01-10 20:26:02 +01:00
"ngreact" : "0.5.1" ,
2016-11-21 23:03:25 +01:00
"no-ui-slider" : "1.2.0" ,
2016-09-09 23:10:50 +02:00
"node-fetch" : "1.3.2" ,
"pegjs" : "0.9.0" ,
2017-11-01 00:31:22 +01:00
"postcss-loader" : "2.0.6" ,
2017-05-03 15:44:31 +02:00
"prop-types" : "15.5.8" ,
2017-08-09 21:31:30 +02:00
"proxy-from-env" : "1.0.0" ,
2016-09-09 23:10:50 +02:00
"querystring-browser" : "1.0.4" ,
2015-09-05 10:49:36 +02:00
"raw-loader" : "0.5.1" ,
2018-05-14 14:05:17 +02:00
"react" : "^16.3.0" ,
2018-03-16 16:59:59 +01:00
"react-addons-shallow-compare" : "15.6.2" ,
2018-03-28 21:33:17 +02:00
"react-anything-sortable" : "^1.7.4" ,
2018-01-17 10:14:12 +01:00
"react-color" : "^2.13.8" ,
2018-05-14 14:05:17 +02:00
"react-dom" : "^16.3.0" ,
2018-01-17 10:14:12 +01:00
"react-grid-layout" : "^0.16.2" ,
"react-input-range" : "^1.3.0" ,
"react-markdown" : "^3.1.4" ,
"react-redux" : "^5.0.6" ,
2017-11-02 19:58:46 +01:00
"react-router-dom" : "4.2.2" ,
2018-01-17 10:14:12 +01:00
"react-select" : "^1.2.0" ,
"react-sizeme" : "^2.3.6" ,
2017-12-11 22:02:39 +01:00
"react-toggle" : "4.0.2" ,
"reactcss" : "1.2.3" ,
2017-10-23 22:39:23 +02:00
"redux" : "3.7.2" ,
"redux-actions" : "2.2.1" ,
"redux-thunk" : "2.2.0" ,
2017-10-25 00:45:57 +02:00
"regression" : "2.0.0" ,
2018-04-17 19:57:52 +02:00
"request" : "^2.85.0" ,
2018-03-09 17:09:54 +01:00
"reselect" : "^3.0.1" ,
2017-03-03 23:33:07 +01:00
"resize-observer-polyfill" : "1.2.1" ,
2015-09-05 10:49:36 +02:00
"rimraf" : "2.4.3" ,
2016-04-15 23:58:20 +02:00
"rison-node" : "1.0.0" ,
2017-10-03 10:51:59 +02:00
"rxjs" : "5.4.3" ,
2017-11-01 00:31:22 +01:00
"script-loader" : "0.7.2" ,
2018-05-25 19:43:01 +02:00
"semver" : "^5.5.0" ,
2017-11-01 00:31:22 +01:00
"style-loader" : "0.19.0" ,
2015-09-05 10:49:36 +02:00
"tar" : "2.2.0" ,
2016-09-09 23:10:50 +02:00
"tinygradient" : "0.3.0" ,
2018-04-11 23:06:28 +02:00
"tinymath" : "0.2.1" ,
2018-01-16 21:30:52 +01:00
"topojson-client" : "3.0.0" ,
2016-04-05 23:56:45 +02:00
"trunc-html" : "1.0.2" ,
"trunc-text" : "1.0.2" ,
2017-11-01 00:31:22 +01:00
"uglifyjs-webpack-plugin" : "0.4.6" ,
2017-03-31 20:37:10 +02:00
"ui-select" : "0.19.6" ,
2017-11-01 00:31:22 +01:00
"url-loader" : "0.5.9" ,
2017-06-07 00:15:53 +02:00
"uuid" : "3.0.1" ,
2018-05-03 21:18:50 +02:00
"val-loader" : "^1.1.0" ,
2016-03-04 16:31:58 +01:00
"validate-npm-package-name" : "2.2.2" ,
2018-04-26 00:31:16 +02:00
"vega-lib" : "^3.3.1" ,
"vega-lite" : "^2.4.0" ,
2018-01-13 21:14:04 +01:00
"vega-schema-url-parser" : "1.0.0" ,
2018-05-18 19:54:57 +02:00
"vega-tooltip" : "^0.9.14" ,
2016-09-13 21:20:22 +02:00
"vision" : "4.1.0" ,
2017-11-01 00:31:22 +01:00
"webpack" : "3.6.0" ,
"webpack-merge" : "4.1.0" ,
2018-01-10 20:26:02 +01:00
"whatwg-fetch" : "^2.0.3" ,
2017-09-15 03:46:55 +02:00
"wreck" : "12.4.0" ,
2018-04-20 21:13:37 +02:00
"x-pack" : "link:x-pack" ,
2017-04-11 21:58:38 +02:00
"yauzl" : "2.7.0"
2015-01-07 21:48:58 +01:00
} ,
2014-02-11 00:09:04 +01:00
"devDependencies" : {
2018-01-24 10:34:52 +01:00
"@elastic/eslint-config-kibana" : "link:packages/eslint-config-kibana" ,
"@elastic/eslint-plugin-kibana-custom" : "link:packages/eslint-plugin-kibana-custom" ,
2018-03-20 16:30:15 +01:00
"@kbn/es" : "link:packages/kbn-es" ,
2018-04-12 00:21:29 +02:00
"@kbn/eslint-import-resolver-kibana" : "link:packages/kbn-eslint-import-resolver-kibana" ,
2018-04-20 21:13:37 +02:00
"@kbn/eslint-plugin-license-header" : "link:packages/kbn-eslint-plugin-license-header" ,
2018-02-12 20:23:23 +01:00
"@kbn/plugin-generator" : "link:packages/kbn-plugin-generator" ,
2018-05-10 01:23:49 +02:00
"@kbn/test" : "link:packages/kbn-test" ,
2018-05-22 23:00:02 +02:00
"@types/eslint" : "^4.16.2" ,
"@types/execa" : "^0.9.0" ,
"@types/getopts" : "^2.0.0" ,
"@types/glob" : "^5.0.35" ,
"@types/listr" : "^0.13.0" ,
2018-05-18 19:54:57 +02:00
"@types/minimatch" : "^2.0.29" ,
2018-05-23 21:05:08 +02:00
"@types/react" : "^16.3.14" ,
"@types/react-dom" : "^16.0.5" ,
2015-10-19 15:39:34 +02:00
"angular-mocks" : "1.4.7" ,
2017-12-30 10:03:28 +01:00
"babel-eslint" : "8.1.2" ,
2018-04-18 22:51:19 +02:00
"babel-jest" : "^22.4.3" ,
2017-12-08 10:20:36 +01:00
"backport" : "2.2.0" ,
2016-08-15 20:29:17 +02:00
"chai" : "3.5.0" ,
2018-05-14 19:33:04 +02:00
"chance" : "1.0.10" ,
2016-11-18 18:35:30 +01:00
"cheerio" : "0.22.0" ,
2016-07-21 00:00:30 +02:00
"chokidar" : "1.6.0" ,
2018-03-19 20:09:03 +01:00
"chromedriver" : "2.36" ,
2016-12-13 02:54:56 +01:00
"classnames" : "2.2.5" ,
2018-04-20 21:13:37 +02:00
"dedent" : "^0.7.0" ,
2017-12-11 22:02:39 +01:00
"enzyme" : "3.2.0" ,
2018-01-17 10:14:12 +01:00
"enzyme-adapter-react-16" : "^1.1.1" ,
2018-05-14 19:33:04 +02:00
"enzyme-to-json" : "3.3.1" ,
2017-12-30 10:03:28 +01:00
"eslint" : "4.14.0" ,
2018-02-05 18:18:43 +01:00
"eslint-config-prettier" : "^2.9.0" ,
2017-11-15 02:16:59 +01:00
"eslint-plugin-babel" : "4.1.2" ,
"eslint-plugin-import" : "2.8.0" ,
2018-01-16 09:26:34 +01:00
"eslint-plugin-jest" : "^21.6.2" ,
2017-11-15 02:16:59 +01:00
"eslint-plugin-mocha" : "4.11.0" ,
2018-05-24 20:36:59 +02:00
"eslint-plugin-no-unsanitized" : "^3.0.2" ,
2017-10-10 14:50:56 +02:00
"eslint-plugin-prefer-object-spread" : "1.2.1" ,
2018-02-05 18:18:43 +01:00
"eslint-plugin-prettier" : "^2.6.0" ,
2017-12-30 10:03:28 +01:00
"eslint-plugin-react" : "7.5.1" ,
2016-04-06 22:56:23 +02:00
"event-stream" : "3.3.2" ,
2015-09-05 10:49:36 +02:00
"expect.js" : "0.3.1" ,
"faker" : "1.1.0" ,
2018-04-06 21:19:50 +02:00
"geckodriver" : "1.11.0" ,
2017-11-20 22:22:24 +01:00
"getopts" : "2.0.0" ,
2018-05-24 20:38:42 +02:00
"globby" : "^8.0.1" ,
2016-07-21 00:00:30 +02:00
"grunt" : "1.0.1" ,
2015-06-05 01:19:31 +02:00
"grunt-cli" : "0.1.13" ,
2018-03-22 00:42:23 +01:00
"grunt-contrib-watch" : "^1.0.0" ,
2016-07-21 00:00:30 +02:00
"grunt-karma" : "2.0.0" ,
2018-03-22 00:42:23 +01:00
"grunt-peg" : "^2.0.1" ,
2017-06-02 16:15:45 +02:00
"grunt-run" : "0.7.0" ,
2018-04-20 21:13:37 +02:00
"gulp-babel" : "^7.0.1" ,
2016-10-13 23:09:12 +02:00
"gulp-sourcemaps" : "1.7.3" ,
2015-09-05 10:49:36 +02:00
"husky" : "0.8.1" ,
2016-06-08 19:27:49 +02:00
"image-diff" : "1.6.0" ,
2017-11-01 00:31:22 +01:00
"istanbul-instrumenter-loader" : "3.0.0" ,
2018-04-18 22:51:19 +02:00
"jest" : "^22.4.3" ,
"jest-cli" : "^22.4.3" ,
2017-12-13 19:41:40 +01:00
"jimp" : "0.2.28" ,
2017-03-02 21:07:28 +01:00
"jsdom" : "9.9.1" ,
2017-05-16 01:46:52 +02:00
"karma" : "1.7.0" ,
"karma-chrome-launcher" : "2.1.1" ,
"karma-coverage" : "1.1.1" ,
"karma-firefox-launcher" : "1.0.1" ,
"karma-ie-launcher" : "1.0.0" ,
2017-12-06 01:29:48 +01:00
"karma-junit-reporter" : "1.2.0" ,
2017-05-16 01:46:52 +02:00
"karma-mocha" : "1.3.0" ,
"karma-safari-launcher" : "1.0.0" ,
2018-04-06 21:19:50 +02:00
"leadfoot" : "1.7.5" ,
2018-01-19 08:49:55 +01:00
"license-checker" : "^16.0.0" ,
2018-05-22 23:00:02 +02:00
"listr" : "^0.14.1" ,
2016-07-21 00:00:30 +02:00
"load-grunt-config" : "0.19.2" ,
2018-03-29 00:38:25 +02:00
"makelogs" : "^4.0.5" ,
2016-07-21 00:00:30 +02:00
"marked-text-renderer" : "0.1.0" ,
2018-05-19 03:05:27 +02:00
"mocha" : "3.3.0" ,
2018-03-06 01:19:02 +01:00
"mock-fs" : "^4.4.2" ,
2016-09-02 00:02:43 +02:00
"murmurhash3js" : "3.0.1" ,
2016-03-18 01:05:15 +01:00
"ncp" : "2.0.0" ,
2016-09-06 22:10:54 +02:00
"nock" : "8.0.0" ,
2017-08-23 01:26:30 +02:00
"pixelmatch" : "4.0.2" ,
2018-04-20 11:48:37 +02:00
"prettier" : "^1.12.1" ,
2018-05-14 19:33:04 +02:00
"proxyquire" : "1.7.11" ,
2016-06-10 06:36:09 +02:00
"simple-git" : "1.37.0" ,
2018-05-22 12:13:38 +02:00
"sinon" : "^5.0.7" ,
2016-07-21 00:00:30 +02:00
"source-map" : "0.5.6" ,
"source-map-support" : "0.2.10" ,
2017-05-11 21:07:23 +02:00
"strip-ansi" : "^3.0.1" ,
2017-05-18 03:53:45 +02:00
"supertest" : "3.0.0" ,
2018-05-14 19:33:04 +02:00
"supertest-as-promised" : "4.0.2" ,
"tree-kill" : "^1.1.0" ,
2018-05-18 19:54:57 +02:00
"ts-jest" : "^22.4.6" ,
"ts-loader" : "^3.5.0" ,
"ts-node" : "^6.0.3" ,
2018-05-22 23:00:02 +02:00
"tslint" : "^5.10.0" ,
"tslint-config-prettier" : "^1.12.0" ,
"tslint-plugin-prettier" : "^1.3.0" ,
2018-05-18 19:54:57 +02:00
"typescript" : "^2.8.3" ,
2018-04-04 18:12:44 +02:00
"vinyl-fs" : "^3.0.2" ,
2018-05-14 19:33:04 +02:00
"xml2js" : "^0.4.19" ,
2018-03-13 18:43:39 +01:00
"xmlbuilder" : "9.0.4"
2015-06-06 01:20:49 +02:00
} ,
"engines" : {
2018-03-28 23:53:37 +02:00
"node" : "8.11.0" ,
2018-04-17 18:53:12 +02:00
"yarn" : "^1.6.0"
2015-01-07 21:48:58 +01:00
}
2014-02-07 00:29:19 +01:00
}