Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP Accessibility palette swap #11610

Closed
wants to merge 169 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
169 commits
Select commit Hold shift + click to select a range
78902a6
grayscale, get links and buttons on acceptable contrast
snide May 4, 2017
1de77a2
variable color bingo for accessibility, still grayscale
snide May 4, 2017
86d093b
more variable / coloring
snide May 5, 2017
d8e240a
Merge remote-tracking branch 'upstream/master' into 11521/colors
snide May 5, 2017
d651f63
more reskin coloring, adding some blue
snide May 8, 2017
8e134ce
more reskinning / palette swaps
snide May 8, 2017
fef75b5
filter bar retheme
snide May 9, 2017
55ec70e
more reskinning / palette swaps
snide May 9, 2017
524c7f3
reskinned typeahead and tooltips
snide May 9, 2017
7793fc8
visualization sidebars mostly cleaned up / normalized
snide May 10, 2017
660d108
more reskinning
snide May 10, 2017
2b0cf26
better animation against login
snide May 12, 2017
6ef8923
switch to colored kibana logo
snide May 15, 2017
e4d96ca
flat blue
snide May 16, 2017
2e00993
coloring
snide May 24, 2017
09effb2
more coloring
snide May 26, 2017
4776668
some colors for visualizations
snide May 26, 2017
fcb181d
more coloring
snide May 30, 2017
cd41c9b
Improve Dashboard screen-reader accessibility. (#11600)
cjcenizal May 5, 2017
7cf90e7
[tasks/ftr] downgrade log level to `debug`
spalger May 5, 2017
414b162
[ftr/chromedriver] actually wait between pings (#11634)
spalger May 5, 2017
e8ff0d0
test support (#11477)
stacey-gammon May 6, 2017
5d2a435
move pointseries test module (#11635)
thomasneirynck May 8, 2017
15fea3e
Hide the second toast when adding a new visualization straight from d…
stacey-gammon May 8, 2017
eaa4bad
Don't kill an entire dashboard because of one bad request (#11337)
stacey-gammon May 8, 2017
779bd5d
Testbed for aiding development in Kibana (#11571)
ycombinator May 8, 2017
8a617dc
Static Series for Time Series Visual Builder (#11496)
simianhacker May 8, 2017
a1ce219
[babel] tweak babel options for performance and debugging (#11535)
spalger May 8, 2017
54217ae
docs: Kibana 6.0.0-alpha1 release notes
jpfxgood May 8, 2017
3c5158b
docs: set release state to prerelease
jpfxgood May 9, 2017
88c66aa
bump version to 6.0.0-alpha2
jpfxgood May 9, 2017
e7e3d30
Add Lucene query syntax help (#10928)
Bargs May 9, 2017
5095c9d
Add support for timelion:min_interval (#11476)
May 9, 2017
d368a53
move visualization spy page to visualization chapter (#11623)
nreese May 9, 2017
3ac69f5
docs: remove deprecation section
jpfxgood May 9, 2017
fa126ca
Don't prevent filterable rows from being filterable (#11628)
lukasolson May 9, 2017
8412135
Convert makelogs and mocha npm scripts (#11665)
spalger May 9, 2017
3bc5b9e
[UI Framework] Improve navigability of the docs (#11666)
cjcenizal May 9, 2017
86e5e36
[DOCS] Changed settings table formatting to vertical to fix overlap.
debadair May 9, 2017
ff74b51
Improve Discover screen-reader accessibility: (#11598)
cjcenizal May 9, 2017
8da813d
Make Discover field chooser items keyboard accessible. (#11591)
cjcenizal May 9, 2017
6a477fd
Add Elastic logo to UI Framework doc site. (#11686)
cjcenizal May 9, 2017
5d02126
Fix default time field selection (#11664)
spalger May 9, 2017
c8ae90c
upgrade makelogs to support single-type es limitations (#11684)
spalger May 9, 2017
53bb5af
Selenium Test for TagCloud Visualization (#11636)
rashmivkulkarni May 9, 2017
60175e3
[uiFramework/docSite] reuse kibana babel config (#11688)
spalger May 10, 2017
0d52e04
Lock chromedriver and tree-kill (#11660)
jbudz May 10, 2017
8f5fedb
[Typo] Change all indicies to indices (#11564)
archanid May 10, 2017
378e09c
Remove jenkins_build_snapshot. Closes #10973 (#11203)
jbudz May 10, 2017
f9664a4
Rebuild modulePath correctly if on Windows (#11439)
colmose May 10, 2017
a42c4cd
fix duplicate chart title (#11594)
ppisljar May 10, 2017
777a906
[console] Properly check for existence of deprecated console configs …
jbudz May 10, 2017
1fece4b
Improve Management screen-reader accessibility. (#11601)
cjcenizal May 10, 2017
b4c3b25
Fix suggestions in Timelion Visualization. (#11638)
cjcenizal May 10, 2017
c7af1f2
Adding check-box component (#11550)
ycombinator May 10, 2017
fc8136d
Return Boom errors directly to the browser for Time Series Visual Bui…
simianhacker May 10, 2017
f778fb2
Make Discover table keyboard accessible. (#11604)
cjcenizal May 10, 2017
a0ec2bb
should not throw error when fitting on empty data (#11620)
thomasneirynck May 10, 2017
4bbb317
[UI Framework] Improve UI Framework Home Page and 404 Page. (#11715)
cjcenizal May 10, 2017
b2a89ea
Fix some flexbox errors with the UI Framework docs. (#11719)
cjcenizal May 11, 2017
74c6e81
When using WMS, the zoom settings of the manifest should not be used …
thomasneirynck May 11, 2017
a49e6b2
geo_centroid should not be available as a metric (#11630)
thomasneirynck May 11, 2017
a14437d
[console] If using an https agent, set rejectUnauthorized in the agen…
jbudz May 11, 2017
fd5f4d3
Fix bug in dashboard Add panel pager where it always said `x of x` (#…
stacey-gammon May 11, 2017
9373141
[ftr] take screenshots on failure (#11709)
spalger May 11, 2017
4399213
Improve Console screen-reader accessibility: (#11602)
cjcenizal May 11, 2017
a8b99d3
Improve accessibility by adding alternative text for screen-readers. …
cjcenizal May 11, 2017
6dedb16
[ci] only build kibana once (#11717)
spalger May 11, 2017
eecf2fc
[UI Framework] Display React logo next to React components in the nav…
cjcenizal May 11, 2017
07e716e
[UI Framework] Wrap Cards within a non-united CardGroup. (#11704)
cjcenizal May 11, 2017
fd663d5
Improve Visualize screen-reader accessibility: (#11599)
cjcenizal May 11, 2017
f6f7f7d
Update CardGroup component example to exhibit stacking on smaller scr…
cjcenizal May 11, 2017
72bea79
[metricVis] Fix html support (#11008)
spalger May 12, 2017
68efea9
Update tutorial-load-dataset.asciidoc (#11703)
bhavyarm May 12, 2017
a4f3648
Call out latitude/longitue in map tooltip (#11718)
JacobBrandt May 12, 2017
277cf0c
Add .aggregate() function (#11556)
May 12, 2017
dc656c2
Getting Started page (#11673)
ycombinator May 12, 2017
a64cc44
Cleanup on aisle testbed! (#11765)
ycombinator May 12, 2017
202bb85
Add a space instead of an   (#11767)
ycombinator May 12, 2017
6485e97
Adding WTFPL OR ISC to the list of valid licenses (#11768)
kobelb May 12, 2017
bfa4c2e
remove default WMS settings (#11573)
thomasneirynck May 12, 2017
3b2d53c
Add support for date math in Timelion's .movingaverage() (#11555)
May 12, 2017
653c8e2
Removing HTML support from Markdown in Time Series Visual Builder (#1…
simianhacker May 15, 2017
b014c0d
Revert "Getting Started page (#11673)" (#11788)
epixa May 15, 2017
089cf42
Update contributing guidelines due to recent npm script changes (#11794)
chrisronline May 15, 2017
22b6492
Remove legacy npm script that is no longer used or supported (#11796)
chrisronline May 15, 2017
f5ed375
[server/validate] respond with all validation errors (#11776)
spalger May 15, 2017
02589e2
Getting Started page (#11805)
ycombinator May 15, 2017
ae8ecb4
Implement/timestamps in log (#11781)
spalger May 15, 2017
04e2ed4
[indexedArray] es6-ify (#11800)
spalger May 15, 2017
dac46e2
[tests/functional] stop setting the default test timeout everywhere (…
spalger May 15, 2017
41ce607
[npm] upgrade karma (#11806)
spalger May 15, 2017
621a3e2
Tooltip gets cutoff when tooltip is larger than chart container (#11769)
nreese May 16, 2017
ace1701
disable save button if visualization is dirty (#11576)
scampi May 16, 2017
ffd35a1
heatNormalizeData is true/false, not a float (#11799)
trevan May 16, 2017
3e046a3
[Index pattern creation] Move the error message to below the input fi…
chrisronline May 16, 2017
f3f8c08
Changing shakespeare bulk upload command for 6.0 (#11795)
bhavyarm May 16, 2017
5bd0de6
Upgrading elasticsearch dependency to 13.0.1 (#11784)
kobelb May 16, 2017
5a894ab
Fix React Warning in Demo Site (#11822)
tsullivan May 16, 2017
8727f48
Remove ng-scope from markup. (#11755)
cjcenizal May 16, 2017
fdbddbb
Improve Visualize sidebar accessibility. (#11754)
cjcenizal May 16, 2017
d3ffe60
Add aggregation size to Advanced Settings (#11818)
thomasneirynck May 16, 2017
914275c
Remove unnecessary use of kbn-accessible-click from heatmap options. …
cjcenizal May 16, 2017
94049d6
Fix modals in react (#11714)
stacey-gammon May 17, 2017
26277a8
Show bucket size for Time Series Visual Builder on X-Axis (#11639)
simianhacker May 17, 2017
53d408b
Update Notice sandbox to use correct classes. (#11869)
cjcenizal May 17, 2017
d3a3f6e
Update UI Framework build task to not compile source maps. (#11868)
cjcenizal May 17, 2017
7e125aa
Fix bug with UI Framework background height not expanding to fit cont…
cjcenizal May 17, 2017
c2e1f18
Only use day, month, year provided by datepicker (#11773)
Bargs May 17, 2017
76b44d2
[ftr] make room for more projects (#11848)
spalger May 18, 2017
caaca35
[UI Framework] Add several kuiLocalNav-related components (#11725)
weltenwort May 18, 2017
3077335
[context view] Apply filters to the context query (#11466)
weltenwort May 18, 2017
dd162fb
Upgrade to Jest 20 (#11642)
kimjoar May 18, 2017
b52affa
[ftr] upgrade log level for chromedriver pings
spalger May 18, 2017
2347e8c
Prevent refresh fields error from breaking index patterns management …
chrisronline May 18, 2017
245b5fb
Show long index pattern names (#11907)
lukasolson May 18, 2017
23d9dd3
[UI Framework] Add KuiInfoButton component (#11811)
tsullivan May 18, 2017
b136c4a
[fieldFormat] make formatted output non-bindable (#11911)
spalger May 19, 2017
b6168e2
[dev/server] ignore irrelevant changes in plugins (#11884)
spalger May 19, 2017
7254d51
[tests/functional] opt out of getting started on navigation (#11881)
spalger May 19, 2017
35f01b6
remove animation on legend tooltip (#11910)
nreese May 19, 2017
5bfd957
Introduce Clone feature in view mode (#10925)
stacey-gammon May 19, 2017
1b4a4dc
Adding table_info component (#11778)
ycombinator May 19, 2017
34eb68c
Improve accessibility of the Datepicker. (#11753)
cjcenizal May 19, 2017
2b95621
Adding sortable-column component (#11780)
ycombinator May 19, 2017
917097e
Allow creating different index patterns with different time fields (#…
May 19, 2017
0551917
Add new config option to control the amount of items in listing pages…
trevan May 21, 2017
fba4750
Update broken import and fix missing link (#11912)
Bargs May 22, 2017
4f88ae5
Disable scroll zooming on the map. (#11825)
thomasneirynck May 22, 2017
f89c051
Removing the auto-apply feature from Time Series Visual Builder (#11460)
simianhacker May 22, 2017
5a0f00a
[ftr] log async init errors right when they happen (#11898)
spalger May 22, 2017
1ad230d
Functional tests for the Getting Started page (#11850)
ycombinator May 23, 2017
c15d341
[UI Framework] Add KuiKeyboardAccessible component to UI Framework. (…
cjcenizal May 23, 2017
5b180e4
Prevent flicker on Getting Started page (#11826)
ycombinator May 23, 2017
a06d51f
Change the way dynamic doc links are built so they work in dev and pr…
Bargs May 23, 2017
9fbf197
Adds an API for managing saved objects (#11632)
tylersmalley May 23, 2017
918b9bb
[indexPatterns] update field in place (#11966)
spalger May 24, 2017
b882418
Remove use of `npm ls` in grunt tasks (#11965)
spalger May 24, 2017
55f609d
[indexPatterns/create] Rename newIndexPattern to formValues (#11988)
spalger May 24, 2017
e0ed322
[indexPatterns/create] track loading state independently (#11990)
spalger May 24, 2017
da6da99
[utils] add util for converting between es and kibana types (#11967)
spalger May 24, 2017
259bd97
Fix merge failure
spalger May 25, 2017
9870bb4
Store the doc page on app scope instead of directive scope (#11962)
May 25, 2017
91923f9
Move management sections around. No visual changes in this PR (#11928)
stacey-gammon May 25, 2017
002e084
Allow plugins to hide write controls in the dashboard app (#11537)
stacey-gammon May 25, 2017
78e6d4c
Making tweaks. (#12003)
ycombinator May 25, 2017
85ec396
[indexPatterns/field] remove indexed/analyzed/doc_values awareness (#…
spalger May 25, 2017
5f5deda
Show Timelion function reference after user dismisses tutorial. (#12006)
cjcenizal May 25, 2017
1857bc1
build: remove 32 bit builds (#11941)
epixa May 25, 2017
6896040
[tests/functional] catch and ignore errors during stabilization (#11906)
spalger May 25, 2017
76f833f
[indexPatterns/create] refactor time field options (#11996)
spalger May 26, 2017
765c972
Fixed a minor typo (#8904)
navaneeth-kesavan May 26, 2017
3ee1afd
Don't skip the resize if newWidth or newHeight is < 1 (#12002)
stacey-gammon May 26, 2017
57c1986
Always set NODE_ENV to production (#12010)
epixa May 26, 2017
4e7ca80
Adding help text to calculation (#11936)
simianhacker May 26, 2017
3737349
Fixes #11763 - Fixes error in Percentile for Time Series Visual Build…
simianhacker May 26, 2017
5ea2f61
Fix a type error from the default to named conversion (#12021)
stacey-gammon May 26, 2017
cf8adbc
[UI Framework] Rename "type" property to "buttonType" (#11878)
nreese May 26, 2017
093b1b8
When on an embedded page, bypass Getting Started gate check (#12040)
ycombinator May 26, 2017
e94c682
Remove node resolve algorithm reference (#12023)
gillyb May 26, 2017
64f0372
[esvm] bump, remove outdated config (#12043)
spalger May 26, 2017
1f99b89
[tests] remove unused visual_regression suite (#12046)
spalger May 26, 2017
0c7f1d7
Move drag handle attribute onto the button element itself within Dash…
cjcenizal May 26, 2017
9eea91e
[grunt/jest] fail task when jest fails (#12049)
spalger May 27, 2017
a0cf6ad
Work around #11959 for now (#12051)
spalger May 27, 2017
af28362
Switch to Yarn (#11637)
spalger May 27, 2017
b45249c
Revert "Switch to Yarn (#11637)"
epixa May 27, 2017
b590a5c
config: remove legacy pre-4.2 configurations (#12013)
epixa May 29, 2017
dce17b9
[indexPatterns/create] disable time-based options when needed (#12011)
spalger May 30, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 6 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ target
.idea
*.iml
*.log
/test/screenshots/diff
/test/screenshots/failure
/test/screenshots/session
/test/screenshots/visual_regression_gallery.html
/test/*/screenshots/diff
/test/*/screenshots/failure
/test/*/screenshots/session
/test/*/screenshots/visual_regression_gallery.html
/html_docs
/esvm
.htpasswd
Expand All @@ -33,5 +33,6 @@ selenium
*.swp
*.swo
*.out
ui_framework/doc_site/build/*.js*
ui_framework/doc_site/build
!ui_framework/doc_site/build/index.html
yarn.lock
16 changes: 8 additions & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ npm run elasticsearch
If you're just getting started with `elasticsearch`, you could use the following command to populate your instance with a few fake logs to hit the ground running.

```bash
npm run makelogs
node scripts/makelogs
```

> Make sure to execute `npm run makelogs` *after* elasticsearch is up and running!
> Make sure to execute `node scripts/makelogs` *after* elasticsearch is up and running!

Start the development server.
```bash
Expand Down Expand Up @@ -208,13 +208,13 @@ npm run test:server
When you'd like to execute individual server-side test files, you can use the command below. Note that this command takes care of configuring Mocha with Babel compilation for you, and you'll be better off avoiding a globally installed `mocha` package. This command is great for development and for quickly identifying bugs.

```bash
npm run mocha <file>
node scripts/mocha <file>
```

You could also add the `:debug` target so that `node` is run using the `--debug-brk` flag. You'll need to connect a remote debugger such as [`node-inspector`](https://github.com/node-inspector/node-inspector) to proceed in this mode.
You could also add the `--debug` option so that `node` is run using the `--debug-brk` flag. You'll need to connect a remote debugger such as [`node-inspector`](https://github.com/node-inspector/node-inspector) to proceed in this mode.

```bash
npm run mocha:debug <file>
node scripts/mocha --debug <file>
```

With `npm run test:browser`, you can run only the browser tests. Coverage reports are available for browser tests by running `npm run test:coverage`. You can find the results under the `coverage/` directory that will be created upon completion.
Expand Down Expand Up @@ -265,7 +265,7 @@ npm run test:ui
```


In order to start the server required for the `test:ui:runner` tasks, use the following command. Once the server is started `test:ui:runner` can be run multiple times without waiting for the server to start.
In order to start the server required for the `node scripts/functional_test_runner` tasks, use the following command. Once the server is started `node scripts/functional_test_runner` can be run multiple times without waiting for the server to start.

```bash
npm run test:ui:server
Expand All @@ -274,7 +274,7 @@ npm run test:ui:server
To execute the front-end browser tests, enter the following. This requires the server started by the `test:ui:server` task.

```bash
npm run test:ui:runner
node scripts/functional_test_runner
```

To filter these tests, use `--grep=foo` for only running tests that match a regular expression.
Expand All @@ -294,7 +294,7 @@ export TEST_ES_HOSTNAME=aaa5d22032d76805fcce724ed9d9f5a2.us-east-1.aws.found.io
export TEST_ES_PORT=9200
export TEST_ES_USER=elastic
export TEST_ES_PASS=<your password here>
npm run test:ui:runner
node scripts/functional_test_runner
```

##### Browser Automation Notes
Expand Down
1 change: 0 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ module.exports = function (grunt) {
plugins: __dirname + '/src/core_plugins',
server: __dirname + '/src/server',
target: __dirname + '/target', // location of the compressed build targets
testUtilsDir: __dirname + '/src/test_utils',
configFile: __dirname + '/src/config/kibana.yml',

karmaBrowser: (function () {
Expand Down
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Kibana 6.0.0-alpha1
# Kibana 6.0.0-alpha2

Kibana is your window into the [Elastic Stack](https://www.elastic.co/products). Specifically, it's
an open source ([Apache Licensed](LICENSE.md)),
Expand Down Expand Up @@ -40,14 +40,13 @@ out an open PR:

### Snapshot Builds

For the daring, snapshot builds are available. These builds are created nightly and have undergone no formal QA, so they should never be run in production.
For the daring, snapshot builds are available. These builds are created nightly and have undergone no formal QA, so they should never be run in production. All builds are 64 bit.

| platform | |
| --- | --- |
| OSX | [tar](https://snapshots.elastic.co/downloads/kibana/kibana-6.0.0-alpha1-SNAPSHOT-darwin-x86_64.tar.gz) |
| Linux x64 | [tar](https://snapshots.elastic.co/downloads/kibana/kibana-6.0.0-alpha1-SNAPSHOT-linux-x86_64.tar.gz) [deb](https://snapshots.elastic.co/downloads/kibana/kibana-6.0.0-alpha1-SNAPSHOT-amd64.deb) [rpm](https://snapshots.elastic.co/downloads/kibana/kibana-6.0.0-alpha1-SNAPSHOT-x86_64.rpm) |
| Linux x86 | [tar](https://snapshots.elastic.co/downloads/kibana/kibana-6.0.0-alpha1-SNAPSHOT-linux-x86.tar.gz) [deb](https://snapshots.elastic.co/downloads/kibana/kibana-6.0.0-alpha1-SNAPSHOT-i386.deb) [rpm](https://snapshots.elastic.co/downloads/kibana/kibana-6.0.0-alpha1-SNAPSHOT-i686.rpm) |
| Windows | [zip](https://snapshots.elastic.co/downloads/kibana/kibana-6.0.0-alpha1-SNAPSHOT-windows-x86.zip) |
| OSX | [tar](https://snapshots.elastic.co/downloads/kibana/kibana-6.0.0-alpha2-SNAPSHOT-darwin-x86_64.tar.gz) |
| Linux | [tar](https://snapshots.elastic.co/downloads/kibana/kibana-6.0.0-alpha2-SNAPSHOT-linux-x86_64.tar.gz) [deb](https://snapshots.elastic.co/downloads/kibana/kibana-6.0.0-alpha2-SNAPSHOT-amd64.deb) [rpm](https://snapshots.elastic.co/downloads/kibana/kibana-6.0.0-alpha2-SNAPSHOT-x86_64.rpm) |
| Windows | [zip](https://snapshots.elastic.co/downloads/kibana/kibana-6.0.0-alpha2-SNAPSHOT-windows-x86_64.zip) |

## Documentation

Expand Down
2 changes: 1 addition & 1 deletion bin/kibana
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ if [ ! -x "$NODE" ]; then
exit 1
fi

exec "${NODE}" $NODE_OPTIONS --no-warnings "${DIR}/src/cli" ${@}
NODE_ENV=production exec "${NODE}" $NODE_OPTIONS --no-warnings "${DIR}/src/cli" ${@}
2 changes: 1 addition & 1 deletion bin/kibana-plugin
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ if [ ! -x "$NODE" ]; then
exit 1
fi

exec "${NODE}" $NODE_OPTIONS --no-warnings "${DIR}/src/cli_plugin" "$@"
NODE_ENV=production exec "${NODE}" $NODE_OPTIONS --no-warnings "${DIR}/src/cli_plugin" "$@"
2 changes: 2 additions & 0 deletions bin/kibana-plugin.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ for %%I in ("%SCRIPT_DIR%..") do set DIR=%%~dpfI

set NODE=%DIR%\node\node.exe

set NODE_ENV="production"

WHERE /Q node
IF %ERRORLEVEL% EQU 0 (
for /f "delims=" %%i in ('WHERE node') do set SYS_NODE=%%i
Expand Down
2 changes: 2 additions & 0 deletions bin/kibana.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ for %%I in ("%SCRIPT_DIR%..") do set DIR=%%~dpfI

set NODE=%DIR%\node\node.exe

set NODE_ENV="production"

WHERE /Q node
IF %ERRORLEVEL% EQU 0 (
for /f "delims=" %%i in ('WHERE node') do set SYS_NODE=%%i
Expand Down
4 changes: 1 addition & 3 deletions docs/development/core/development-modules.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ Kibana uses Webpack to bundle Kibana's dependencies.

Here is how import/require statements are resolved to a file:

NOTE: if you're familiar with the node.js algorithm, the changes are in *2.ii* and *3.i.f* to *3.i.g*

. Pick an algorithm
. Check the beginning of the module path
* if the path starts with a '.'
** append it the directory of the current file
** proceed to *3*
Expand Down
56 changes: 30 additions & 26 deletions docs/getting-started/tutorial-load-dataset.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
The tutorials in this section rely on the following data sets:

* The complete works of William Shakespeare, suitably parsed into fields. Download this data set by clicking here:
https://download.elastic.co/demos/kibana/gettingstarted/shakespeare.json[shakespeare.json].
https://download.elastic.co/demos/kibana/gettingstarted/shakespeare_6.0.json[shakespeare.json].
* A set of fictitious accounts with randomly generated data. Download this data set by clicking here:
https://download.elastic.co/demos/kibana/gettingstarted/accounts.zip[accounts.zip]
* A set of randomly generated log files. Download this data set by clicking here:
Expand Down Expand Up @@ -60,36 +60,35 @@ field's searchability or whether or not it's _tokenized_, or broken up into sepa

Use the following command in a terminal (eg `bash`) to set up a mapping for the Shakespeare data set:

[source,shell]
curl -H 'Content-Type: application/json' -XPUT http://localhost:9200/shakespeare -d '
[source,js]
PUT /shakespeare
{
"mappings" : {
"_default_" : {
"properties" : {
"speaker" : {"type": "string", "index" : "not_analyzed" },
"play_name" : {"type": "string", "index" : "not_analyzed" },
"line_id" : { "type" : "integer" },
"speech_number" : { "type" : "integer" }
"mappings": {
"doc": {
"properties": {
"speaker": {"type": "keyword"},
"play_name": {"type": "keyword"},
"line_id": {"type": "integer"},
"speech_number": {"type": "integer"}
}
}
}
}
';

//CONSOLE

This mapping specifies the following qualities for the data set:

* The _speaker_ field is a string that isn't analyzed. The string in this field is treated as a single unit, even if
there are multiple words in the field.
* The same applies to the _play_name_ field.
* Because the _speaker_ and _play_name_ fields are keyword fields, they are not analyzed. The strings are treated as a single unit even if they contain multiple words.
* The _line_id_ and _speech_number_ fields are integers.

The logs data set requires a mapping to label the latitude/longitude pairs in the logs as geographic locations by
applying the `geo_point` type to those fields.

Use the following commands to establish `geo_point` mapping for the logs:

[source,shell]
curl -H 'Content-Type: application/json' -XPUT http://localhost:9200/logstash-2015.05.18 -d '
[source,js]
PUT /logstash-2015.05.18
{
"mappings": {
"log": {
Expand All @@ -105,10 +104,11 @@ curl -H 'Content-Type: application/json' -XPUT http://localhost:9200/logstash-20
}
}
}
';

[source,shell]
curl -H 'Content-Type: application/json' -XPUT http://localhost:9200/logstash-2015.05.19 -d '
//CONSOLE

[source,js]
PUT /logstash-2015.05.19
{
"mappings": {
"log": {
Expand All @@ -124,10 +124,11 @@ curl -H 'Content-Type: application/json' -XPUT http://localhost:9200/logstash-20
}
}
}
';

[source,shell]
curl -H 'Content-Type: application/json' -XPUT http://localhost:9200/logstash-2015.05.20 -d '
//CONSOLE

[source,js]
PUT /logstash-2015.05.20
{
"mappings": {
"log": {
Expand All @@ -143,22 +144,25 @@ curl -H 'Content-Type: application/json' -XPUT http://localhost:9200/logstash-20
}
}
}
';

//CONSOLE

The accounts data set doesn't require any mappings, so at this point we're ready to use the Elasticsearch
{es-ref}docs-bulk.html[`bulk`] API to load the data sets with the following commands:

[source,shell]
curl -H 'Content-Type: application/x-ndjson' -XPOST 'localhost:9200/bank/account/_bulk?pretty' --data-binary @accounts.json
curl -H 'Content-Type: application/x-ndjson' -XPOST 'localhost:9200/shakespeare/_bulk?pretty' --data-binary @shakespeare.json
curl -H 'Content-Type: application/x-ndjson' -XPOST 'localhost:9200/shakespeare/doc/_bulk?pretty' --data-binary @shakespeare_6.0.json
curl -H 'Content-Type: application/x-ndjson' -XPOST 'localhost:9200/_bulk?pretty' --data-binary @logs.jsonl

These commands may take some time to execute, depending on the computing resources available.

Verify successful loading with the following command:

[source,shell]
curl 'localhost:9200/_cat/indices?v'
[source,js]
GET /_cat/indices?v

//CONSOLE

You should see output similar to the following:

Expand Down
Binary file added docs/images/spy-open-button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/spy-panel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion docs/index.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//////////
release-state can be: released | prerelease | unreleased
//////////
:release-state: unreleased
:release-state: prerelease
:version: 6.0.0-alpha1
:major-version: 6.x
:branch: master
Expand Down Expand Up @@ -44,3 +44,5 @@ include::plugins.asciidoc[]
include::development.asciidoc[]

include::limitations.asciidoc[]

include::release-notes.asciidoc[]
1 change: 1 addition & 0 deletions docs/management/advanced-options.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ adapt to the interval between measurements. Keys are http://en.wikipedia.org/wik
`metaFields`:: An array of fields outside of `_source`. Kibana merges these fields into the document when displaying the
document.
`discover:sampleSize`:: The number of rows to show in the Discover table.
`discover:aggs:terms:size`:: Determines how many terms will be visualized when clicking the "visualize" button, in the field drop downs, in the discover sidebar. The default value is `20`.
`doc_table:highlight`:: Highlight results in Discover and Saved Searches Dashboard. Highlighting makes request slow when
working on big documents. Set this property to `false` to disable highlighting.
`doc_table:highlight:all_fields`:: Improves highlighting by using a separate `highlight_query` that uses `all_fields` mode on
Expand Down
27 changes: 25 additions & 2 deletions docs/migration/migrate_6_0.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
This section discusses the changes that you need to be aware of when migrating
your application to Kibana 6.0.


[float]
=== Removed option to use unsupported scripting languages
*Details:* Kibana 5.x allowed users to create scripted fields using any scripting language enabled in Elasticsearch.
Expand All @@ -12,6 +13,7 @@ Kibana 6.0 will only support Painless and Lucene expression based scripts.

*Impact:* You will need to migrate your groovy, python, javascript, etc. scripted fields to Painless or Lucene expressions.


[float]
=== Changed response format of status API
*Details:* In an effort to align with our style guidelines and provide a digestible response,
Expand All @@ -22,10 +24,31 @@ the status API has changed:

*Impact:* You will need to update anything using the status API and expecting the previous response format.


[float]
=== Timelion requires comma to separate queries
*Details:* Kibana 5.x allowed users to use spaces as a query separator in timelion `.es(400) .es(500)`.
*Details:* Kibana 5.x allowed users to use spaces as a query separator in timelion `.es(400) .es(500)`.
This is no longer the case. Now, only commas are a valid query separator: e.g. `.es(400), .es(500)`


*Impact:* You will need to migrate your stored timelion queries to the new syntax.


[float]
=== Requires 64 bit operating system
*Details:* Kibana 6.0.0 and onward only support 64 bit operating systems.

*Impact:* You will need to install Kibana 6.x on a 64 bit operating system. No extra data migration steps are necessary when moving from 32 bit to 64 bit.


[float]
=== NODE_ENV no longer has an impact on Kibana
*Details:* Setting the NODE_ENV environment variable can break Kibana processes in unexpected ways, which is especially unfortunate since it is a common environment variable to have configured on a system, and you wouldn't expect it to break anything in Kibana. Kibana will now effectively ignore NODE_ENV entirely.

*Impact:* If you're developing a custom plugin that depends on NODE_ENV, you will need to update it to use a different, custom environment variable.


[float]
=== Kibana 4.x configuration names using `_` instead of `.` have been removed
*Details:* In Kibana 4.2, we renamed all configuration names in kibana.yml to use `.` as a separator instead of `_`, though the legacy configurations would still continue to work. In 5.0, we started logging deprecation notices whenever the legacy configurations were encountered. In 6.0 onward, legacy configuration names that use an underscore instead of a dot will no longer work.

*Impact:* Any usages of underscore separated configuration names in kibana.yml need to be updated to their modern equivalents. See <<settings,Configuring Kibana>> for accepted configurations.
11 changes: 11 additions & 0 deletions docs/release-notes.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[[release-notes]]
= Release Notes

[partintro]
--
This section summarizes the changes in each release.

* <<release-notes-6.0.0-alpha1>>

--
include::release-notes/6.0.0-alpha1.asciidoc[]
Loading