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

[4.x] callWithRequest: do not pass content length header #7693

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
559 commits
Select commit Hold shift + click to select a range
a99fd76
Merge pull request #5965 from LeeDr/backport5959
Jan 21, 2016
5e9df52
Configurable shield credentials for tests
epixa Jan 21, 2016
6d2a11c
8 new discover tests, _field_data
Jan 21, 2016
a070252
Merge pull request #5977 from LeeDr/merge5979moreDiscoverTests
Jan 22, 2016
9dc5d55
fix active search source hover background issue
Jan 21, 2016
37a1016
Revert "[savedObjects] change the number mappings to be 'long'"
spalger Jan 22, 2016
45ed4a2
fixes embed links to re-add qs parameter
BigFunger Jan 13, 2016
48662fd
Add 5 tests for Discover shared links
Jan 26, 2016
cfce1be
Share expectedToastMessage variable between tests, and comment about …
Jan 26, 2016
fa6b59c
Allow either old Firefox Ctrl + C or new Firefox clipboard message.
Jan 26, 2016
746fb01
Missing a period.
Jan 26, 2016
3d703e4
Improve baseUrl function.
Jan 27, 2016
4fbdb63
Merge pull request #6023 from LeeDr/discoverSharedLinkTests4x
Jan 27, 2016
f1d2d9f
Closes #5860. Adding spyPerPage param to .spy.params instead of on th…
stormpython Jan 19, 2016
7dadb0c
Config -> config
spalger Jan 9, 2016
97662f2
Backport Worker -> worker rename #5864
Jan 27, 2016
3eb1598
New tests for expand/collapse discover tab legend and sidebar.
Jan 26, 2016
39a7330
Merge pull request #6037 from LeeDr/expandCollapse4.x
Jan 29, 2016
98b15db
backport a4088bba
Jan 28, 2016
e954d2e
snake_casing
Jan 28, 2016
b6ed9a2
Fix ./Common to ./common
Jan 28, 2016
87be63f
more snakyness
Jan 29, 2016
a03f67a
Merge pull request #6042 from LeeDr/snake_case_v4.x
Jan 29, 2016
fad4b93
Updates release notes
Feb 1, 2016
ee81bb6
Tell users how to tell if they're running init or systemd.
Jan 29, 2016
e5615c9
upgrade babel-eslint to fix https://github.com/babel/babel-eslint/iss…
spalger Feb 1, 2016
ebf954a
avoid https://github.com/babel/babel-eslint/issues/245
spalger Feb 1, 2016
7b6bf2e
Create os packages on jenkins
jbudz Jan 20, 2016
61a5883
Only build on core
jbudz Jan 20, 2016
a2dd4e8
Updates release notes for 4.4
Feb 2, 2016
ce6fb7f
Minor last minute fixes
Feb 2, 2016
c665daa
minor copy improvements (typos)
Jan 26, 2016
4c61892
Lint for attempts to override const variables
epixa Jan 26, 2016
30e7d5a
Use const/let in devMode plugin
epixa Feb 2, 2016
5e81248
Use const/let in elasticsearch plugin
epixa Feb 2, 2016
43d3416
Use const/let in kbn_vislib_vis_types plugin
epixa Feb 2, 2016
736b460
Use const/let in kibana plugin
epixa Feb 2, 2016
f89de6b
Use const/let in markdown_vis plugin
epixa Feb 2, 2016
bd1e23b
Use const/let in metric_vis plugin
epixa Feb 2, 2016
4a0396c
Use const/let in spyModes plugin
epixa Feb 2, 2016
78cb6aa
Use const/let in statusPage plugin
epixa Feb 2, 2016
44700a6
Use const/let in table_vis plugin
epixa Feb 2, 2016
6b61e49
Merge pull request #6063 from epixa/4.x-es6ify
epixa Feb 2, 2016
f29b7af
Disable browser auto-complete in favor of module autocomplete
RubieV Jan 29, 2016
4fb5e48
Add description
jbudz Feb 3, 2016
0ec2dcf
Escape spaces instead of quoting description
jbudz Feb 4, 2016
b276336
Set os-packages flag on jenkins
jbudz Feb 4, 2016
0af5708
Added labels for metrics aggregations in Kibana.
Oct 19, 2015
271baaa
Check that $scope.vis is defined for testing env.
Oct 19, 2015
e5be6a8
Labels now working in all visualizations. Some issues pending in Pie …
Nov 27, 2015
febff90
Use the same approach than "JSON input" to add a "Custom label" param…
Dec 2, 2015
b9a4582
Don't use customLabel if it is not defined.
Jan 20, 2016
eeb3581
[Aggregations labels] Address epixa comments about redundant check an…
Jan 21, 2016
b2068a4
[AgType tests] Update tests so the new customLabel param is supported.
Feb 2, 2016
ce80eb8
[AggType tests] Check the param name for customLabel.
Feb 2, 2016
54d7e51
[Tests AggConfig#makeLabel] Add tests for AggConfig.prototype.makeLabel.
Feb 2, 2016
5556f1a
Allow customLabels to be disabled on a per-agg basis
Feb 3, 2016
5ad249a
Merge branch '4.x' of https://github.com/elastic/kibana into 4.x-metr…
Feb 5, 2016
7ef9407
Merge pull request #6123 from grimoirelab/4.x-metric-label
epixa Feb 5, 2016
91111be
added missing word
scampi Feb 8, 2016
d951a87
Add url, maintainer, vendor, license metadata
jbudz Feb 4, 2016
094c495
Set deb-priority to optional
jbudz Feb 5, 2016
d821b5b
Add www to metadata url
jbudz Feb 8, 2016
28ee92f
Refactor archive type checks to be more DRY
epixa Feb 3, 2016
7524d81
Plugin installer treats .tgz as a tar file
epixa Feb 3, 2016
62bfef9
Rename type_from_filename to file_type
epixa Feb 3, 2016
8fa59c3
Make saved object list length configurable
Feb 5, 2016
e769f25
Merge pull request #6147 from epixa/4.x-6074-tgz-plugins
epixa Feb 8, 2016
c4c6fe3
Bump node to 0.12.10 for security fixes
epixa Feb 10, 2016
700842d
Merge pull request #6179 from epixa/4.x-bumpnode
epixa Feb 10, 2016
7f71cae
replace the active http requests spinner
spalger Feb 11, 2016
c5ced4e
Fix typo in CONTRIBUTING.md
martiansnoop Feb 20, 2016
de46487
Fix another typo in contributing doc
martiansnoop Feb 20, 2016
0e99e7d
Fix typos in style guide
martiansnoop Feb 20, 2016
93feb51
[ui/promises] rejection values should be instances of Error
epixa Feb 25, 2016
a752d36
Using dedicated repository list file
haizaar Feb 23, 2016
c6e522c
Fixed typo in dec-src removal instructions
haizaar Feb 26, 2016
a5ca3f1
Forgot "a" at the end of "kibana"
haizaar Feb 26, 2016
54137fa
Merge branch '4.x' of github.com:elastic/kibana into backport/5532
stormpython Feb 29, 2016
758146a
troubleshooting test failures
stormpython Feb 29, 2016
214d3c4
Bump node to 4.3.1
epixa Feb 29, 2016
e84af32
Bump npm to 2.14.21
epixa Feb 29, 2016
09da3d2
[elasticsearch] Bump requires version to 2.3
jbudz Feb 29, 2016
58f5317
Makelogs as a dev dependency
epixa Feb 29, 2016
8f1882b
troubleshooting test failures, replacing a html div that was removed.
stormpython Feb 29, 2016
ce5e8b0
adding back div class
stormpython Feb 29, 2016
8ffc8f5
Merge pull request #6359 from epixa/4.x-makelogs
epixa Feb 29, 2016
45589d9
reverting metric chart test
stormpython Feb 29, 2016
75f5ece
Longer timeout in es routes test setup
epixa Feb 29, 2016
e20c0a2
Merge pull request #6357 from epixa/4.x-bump-node
spalger Feb 29, 2016
97e9caf
[vis/editor] auto select the options when appropriate
spalger Feb 23, 2016
1b5ee4a
[visualize/editor] expose the savedVis object to the editor options
spalger Feb 25, 2016
f405b9a
[build] Update node download path for Windows
jbudz Jan 5, 2016
8fbb2b8
Add base path
jbudz Feb 29, 2016
abb329a
Merge pull request #5877 from stormpython/backport/5532
epixa Feb 29, 2016
f4388f9
Merge pull request #6355 from jbudz/issues/6349
jbudz Feb 29, 2016
a20b65a
backport PR 5236
w33ble Mar 1, 2016
41b32cd
remove use of parseInt
w33ble Mar 1, 2016
5f52d74
Merge pull request #6371 from w33ble/backport/5236
epixa Mar 1, 2016
a5b5cae
bump to 4.6.0-snapshot
spalger Mar 1, 2016
ed4bb3b
Add a stacking context for .vis-editor-content.
patrickfournier Mar 1, 2016
7a41ce6
changed elasticsearch requestTimeout default to 300000
Feb 24, 2016
bfec231
Elasticsearch requestTimeout
Feb 24, 2016
c7faec0
added esRequestTimeout to the default injected test values
Feb 24, 2016
9992c37
set socket timeout in listen()
Feb 26, 2016
9bdca03
use requestTimeout and pingTimeout on exposed client
w33ble Feb 26, 2016
8ae2a84
use requestTimeout setting for health check
w33ble Feb 26, 2016
25364f3
set proxy socket timeout
w33ble Feb 29, 2016
6e04331
fall back to pingTimeout setting for health check
w33ble Feb 29, 2016
daae976
reverted timeout padding and default requestTimeout default
Mar 1, 2016
cfdcd4d
remove server listener timeout
w33ble Mar 2, 2016
367d355
fix default value for elasticsearch.requestTimeout
w33ble Mar 2, 2016
d91044f
[backport] PR #6228
spalger Mar 2, 2016
2aebfbf
Merge pull request #6392 from spalger/backport/6228/4.x
spalger Mar 3, 2016
0a19a74
Fix typo in histogram visualization description
tatellos Mar 1, 2016
3aee33a
Merge pull request #6418 from epixa/4.x-backport-6367-typo
epixa Mar 4, 2016
3656eb3
Bump node to 4.3.2
epixa Mar 4, 2016
f9ba933
Bump npm to 2.14.22
epixa Mar 4, 2016
679bdbc
Merge pull request #6439 from epixa/4.x-node-4.3.2
epixa Mar 7, 2016
704b7f1
Expose callWithRequestFactory and plugins option so that plugins can …
lukasolson Jan 14, 2016
55d3a0c
Closes #6283. Fixes date format error for millisecond intervals.
stormpython Mar 3, 2016
f5e2490
Squashed commits from opacity fix #6346
repocho Feb 27, 2016
2afe641
Merge pull request #6472 from Bargs/backport/6346-4.x
stormpython Mar 8, 2016
03fd107
callWithRequest should pass the context that the API method would get…
Bargs Jan 28, 2016
924386e
Merge pull request #6483 from spalger/backport/6027
spalger Mar 9, 2016
b701bce
Bump bunyan version to 1.7.1
epixa Mar 9, 2016
60cafb1
Rename proxy restriction function for clarity
epixa Mar 8, 2016
88c10b9
Typo in reference to labelbutton.png icon image
msgre Mar 4, 2016
c82d7cd
Closes #6516. Fixes issue with query string not being added to base p…
stormpython Mar 11, 2016
5113db2
test that chrome.addBasePath() keeps querystring
spalger Mar 15, 2016
f02b6e1
expand dot-notated keys in yaml arrays
spalger Mar 11, 2016
59d53ef
when bulk fails, report errors
spalger Feb 8, 2016
acd933c
Update error timeout and test
Mar 8, 2016
804b7d3
Merge pull request #6569 from spalger/backport/6150/4.x
spalger Mar 17, 2016
dd60efb
Set es version to 2.3
jbudz Mar 16, 2016
729afd3
bump grunt-esvm for master compat
spalger Mar 18, 2016
a4acbaf
use jdk8 on jenkins
spalger Feb 6, 2016
bf941af
ensure that JDK8 is in PATH
spalger Mar 21, 2016
f8a872e
Backport PR #6581 to 4.x
epixa Mar 22, 2016
3ed5902
Merge pull request #6596 from elastic/jasper/backport/6581-4.x-issues…
epixa Mar 22, 2016
240efec
fixing typo
simianhacker Mar 23, 2016
e291e10
Merge pull request #6628 from simianhacker/4.x
Mar 23, 2016
858bfd7
Backport PR #6632
epixa Mar 23, 2016
2be8934
Merge pull request #6634 from elastic/jasper/backport/6632/6632/4.x
epixa Mar 24, 2016
6ac2c36
Backport PR #6651
epixa Mar 28, 2016
baa1d8a
Merge pull request #6673 from elastic/jasper/backport/6651/4.x
spalger Mar 28, 2016
d05672d
Backport PR #6653
epixa Mar 29, 2016
6985ba4
Merge pull request #6690 from elastic/jasper/backport/6653/4.x
epixa Mar 29, 2016
e94c04f
Backport PR #6692
elastic-jasper Mar 29, 2016
fdacfc4
Merge pull request #6695 from elastic/jasper/backport/6692/4.x
epixa Mar 29, 2016
ed774c5
Backport PR #6706
epixa Apr 1, 2016
ae0776a
Merge pull request #6724 from elastic/jasper/backport/6706/4.x
epixa Apr 1, 2016
2f3ce70
Backport PR #6736
spalger Apr 1, 2016
fc9fec8
Merge pull request #6742 from elastic/jasper/backport/6736/4.x
spalger Apr 1, 2016
be9fd81
Backporting pr #6654 to 4.x branch
stormpython Apr 4, 2016
c60f047
Merge pull request #6763 from stormpython/backport/6654
w33ble Apr 5, 2016
7425979
Backport PR #6792
Apr 6, 2016
ac91e97
selenium version
Apr 6, 2016
3a36b4b
Merge pull request #6802 from elastic/jasper/backport/6792/4.x
Apr 6, 2016
fe8ae16
pin the loader-utils version to 0.2.11
w33ble Apr 12, 2016
794e031
Merge pull request #6887 from w33ble/fix/loader-utils
w33ble Apr 13, 2016
84726c3
Backport PR #6865
epixa Apr 13, 2016
e683b1d
Backport PR #6882
epixa Apr 13, 2016
b4e3167
Backport PR #6881
epixa Apr 13, 2016
f0655da
Merge pull request #6893 from elastic/jasper/backport/6865/4.x
epixa Apr 13, 2016
cd66a00
Merge pull request #6904 from elastic/jasper/backport/6881/4.x
epixa Apr 13, 2016
ee20b9f
Merge pull request #6895 from elastic/jasper/backport/6882/4.x
epixa Apr 13, 2016
711a22f
Backport PR #6911
epixa Apr 14, 2016
c72140e
Backport PR #6909
epixa Apr 14, 2016
8c553bd
Backport PR #6908
epixa Apr 14, 2016
0500028
Backport PR #6907
epixa Apr 14, 2016
beb2791
Merge pull request #6918 from elastic/jasper/backport/6911/4.x
epixa Apr 14, 2016
bf6b612
Merge pull request #6922 from elastic/jasper/backport/6909/4.x
epixa Apr 14, 2016
2f57d1f
Merge pull request #6926 from elastic/jasper/backport/6908/4.x
epixa Apr 14, 2016
b7cf34c
Merge pull request #6927 from elastic/jasper/backport/6907/4.x
epixa Apr 14, 2016
c3e6ead
Backport PR #6921
epixa Apr 14, 2016
7b9ed64
[internal] Do not reassign value in visualize_legend
epixa Apr 14, 2016
d654a7c
Merge pull request #6934 from elastic/jasper/backport/6921/4.x
epixa Apr 14, 2016
bec02dc
Backport PR #6936
epixa Apr 15, 2016
63e3776
Merge pull request #6945 from elastic/jasper/backport/6936/4.x
epixa Apr 15, 2016
a9e3cfe
Backport PR #6951
epixa Apr 18, 2016
c4110cd
Merge pull request #6967 from elastic/jasper/backport/6951/4.x
epixa Apr 18, 2016
92279ad
Backport PR #7148
epixa May 10, 2016
28a4e5c
Merge pull request #7164 from elastic/jasper/backport/7148/4.x
epixa May 10, 2016
6a534c4
Backport PR #7168
elastic-jasper May 10, 2016
079d880
Merge pull request #7169 from elastic/jasper/backport/7168/4.x
epixa May 10, 2016
38d007e
[status] Allow unauthenticated users to see status
lukasolson May 17, 2016
296f76a
Merge pull request #7223 from lukasolson/backport/7085/4.x
lukasolson May 18, 2016
5bfa4be
Backport PR #6676
epixa May 19, 2016
34532e7
Merge pull request #7242 from elastic/jasper/backport/6676/4.x
epixa May 19, 2016
ee898ed
Backport PR #7248
jbudz May 20, 2016
b14822c
Merge pull request #7252 from elastic/jasper/backport/7248/4.x
jbudz May 20, 2016
e0b1be7
Backport PR #7257
jbudz May 20, 2016
42a19d2
Merge pull request #7258 from elastic/jasper/backport/7257/4.x
jbudz May 20, 2016
ec6f80d
Backport PR #7289
ycombinator May 26, 2016
4ca9383
Merge pull request #7294 from elastic/jasper/backport/7289/4.x
ycombinator May 26, 2016
51be8e9
Removing duplicate section on building OS packages
ycombinator May 26, 2016
f5094b9
Add version to status output [4.x]
pickypg May 31, 2016
a52a9bc
Backport - uiExports navbarExtensions
w33ble Jan 14, 2016
111dbc5
Backport - render directive
w33ble Jan 15, 2016
1b1479d
Backport - update navbar directive
w33ble Jan 19, 2016
ea603d0
[uiExports] add uiExport type "injectDefaultVars"
w33ble Jun 2, 2016
90f3cc0
Create sections setting registry
w33ble Jun 3, 2016
31bdad8
Merge pull request #7359 from w33ble/backport/navbar-injection
epixa Jun 6, 2016
08fd599
Merge pull request #7362 from w33ble/backport/inject-default-vars
epixa Jun 6, 2016
6979734
Merge pull request #7363 from w33ble/backport/settings-registry
epixa Jun 6, 2016
29cd8ba
remove debugging console.log
w33ble Jun 6, 2016
56016e8
Bump es requirement to 2.{x,4}
jbudz Jun 8, 2016
bc7bc22
Merge pull request #7394 from jbudz/version-check
jbudz Jun 8, 2016
54e763c
Backport PR #6674
jbudz Jun 9, 2016
a965ec2
Merge pull request #7405 from jbudz/backport/6674
jbudz Jun 9, 2016
431f2fa
Backport PR #7202
elastic-jasper Jun 15, 2016
00cc365
Backport PR #7458
elastic-jasper Jun 15, 2016
888e720
Backport PR #7308
jbudz Jun 15, 2016
9730592
Merge pull request #7470 from elastic/jasper/backport/7202/4.x
jbudz Jun 15, 2016
cfb2f4f
Merge pull request #7473 from elastic/jasper/backport/7458/4.x
jbudz Jun 15, 2016
6c71dbd
[build] Undo install path changes
jbudz Jun 16, 2016
f368c47
Merge pull request #7484 from jbudz/backport-package-config
jbudz Jun 16, 2016
f8b9722
Backport PR #7431
elastic-jasper Jun 16, 2016
5a8ce05
Backport PR #7387
jbudz Jun 16, 2016
d1df2c5
Merge pull request #7486 from elastic/jasper/backport/7431/4.x
jbudz Jun 16, 2016
6ccfc95
Merge pull request #7487 from elastic/jasper/backport/7387/4.x
jbudz Jun 16, 2016
2fd18ad
Build task for creating os packages creates target
epixa Jun 16, 2016
a61e91f
Target directory created from config value
epixa Jun 16, 2016
5099549
Merge pull request #7491 from epixa/backport-7485
epixa Jun 16, 2016
ee39b00
Backport PR #7009
elastic-jasper Jun 17, 2016
0d7c0df
Merge pull request #7497 from elastic/jasper/backport/7009/4.x
BigFunger Jun 17, 2016
2da2f4f
Backport PR #7422
jbudz Jun 17, 2016
8bbbfe4
Merge pull request #7498 from elastic/jasper/backport/7422/4.x
jbudz Jun 17, 2016
677a6c1
Switch from Firefox to Chrome
Jun 17, 2016
589cb71
fix chromedriver.path
Jun 20, 2016
056294b
More selenium cleanup
Jun 20, 2016
b85d919
Put task intern:dev back in!
Jun 20, 2016
8a9178c
temporary screenshots fix
Jun 20, 2016
929f30c
Add screenshots dir
Jun 20, 2016
dfacedb
Add getSpinnerDone on clickNewSearch to fix failures
Jun 20, 2016
fe9f34c
Backport screenshots 'session' and 'failure' folders
Jun 20, 2016
06d70e6
gitignore *.png in failures and session
Jun 20, 2016
603f503
Update .gitignore
Jun 20, 2016
da702b4
Merge pull request #7502 from LeeDr/chromeMerge7442To4x
Jun 20, 2016
4cff3db
Backport PR #7457
jbudz Jun 21, 2016
145f24f
Merge pull request #7522 from elastic/jasper/backport/7457/4.x
jbudz Jun 21, 2016
f1e39f2
[4.x] Bump node to 4.4.7 and npm to 2.15.8
epixa Jun 29, 2016
dcf9a82
Merge pull request #7579 from epixa/4.x-node447
epixa Jun 29, 2016
7a23e8b
Pass through all headers, not just authorization if it is set
ycombinator Jun 30, 2016
71fd41a
Adding unit test to ensure all headers are being passed through
ycombinator Jun 30, 2016
21e1d19
Backport PR #7593
jbudz Jul 1, 2016
e369175
Merge pull request #7603 from elastic/jasper/backport/7593/4.x
jbudz Jul 1, 2016
9f85332
Merge pull request #7592 from ycombinator/call-with-request/passthru-…
ycombinator Jul 1, 2016
60a8468
Omit Content-Length header
ycombinator Jul 8, 2016
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
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ rules:
no-bitwise: 0
no-caller: 2
no-cond-assign: 0
no-const-assign: 2
no-debugger: 2
no-empty: 2
no-eval: 2
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.aws-config.json
.signing-config.json
.DS_Store
.node_binaries
node_modules
Expand All @@ -10,7 +11,8 @@ target
.idea
*.iml
*.log
/test/output
/test/screenshots/failure/*.png
/test/screenshots/session/*.png
/esvm
.htpasswd
.eslintcache
Expand Down
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.12.7
4.4.7
35 changes: 23 additions & 12 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,32 +111,43 @@ The standard `npm run test` task runs several sub tasks and can take several min

#### Running tests using npm task:

*The Selenium server that is started currently only runs the tests in Firefox*
*The ChromeDriver that is started currently only runs the tests in Chrome browser*

To runt the functional UI tests, execute the following command:
To run the functional UI tests, execute the following command:

`npm run test:ui`

The task above takes a little time to start the servers. You can also start the servers and leave them running, and then run the tests separately:

`npm run test:ui:server` will start the server required to run the selenium tests, leave this open
`npm run test:ui:server` will start the server required to run the UI tests, leave this open

`npm run test:ui:runner` will run the frontend tests and close when complete

#### Running tests locally with your existing (and already running) ElasticSearch, Kibana, and Selenium Server:

Set your es and kibana ports in `test/intern.js` to 9220 and 5620, respecitively. You can configure your Selenium server to run the tests on Chrome,IE, or other browsers here.

Once you've got the services running, execute the following:

`npm run test:ui:runner`

#### General notes:

- Using Page Objects pattern (https://theintern.github.io/intern/#writing-functional-test)
- At least the initial tests for the Settings, Discover, and Visualize tabs all depend on a very specific set of logstash-type data (generated with makelogs). Since that is a static set of data, all the Discover and Visualize tests use a specific Absolute time range. This gaurantees the same results each run.
- At least the initial tests for the Settings, Discover, and Visualize tabs all depend on a very specific set of logstash-type data (generated with makelogs). Since that is a static set of data, all the Discover and Visualize tests use a specific Absolute time range. This guarantees the same results each run.
- These tests have been developed and tested with Chrome and Firefox browser. In theory, they should work on all browsers (that's the benefit of Intern using Leadfoot).
- These tests should also work with an external testing service like https://saucelabs.com/ or https://www.browserstack.com/ but that has not been tested.
- https://theintern.github.io/
- https://theintern.github.io/leadfoot/module-leadfoot_Element.html

#### Building OS packages

Packages are built using fpm, pleaserun, dpkg, and rpm. fpm and pleaserun can be installed using gem. Package building has only been tested on Linux and is not supported on any other platform.
```sh
apt-get install ruby-dev rpm
gem install fpm -v 1.5.0 # required by pleaserun 0.0.16
gem install pleaserun -v 0.0.16 # higher versions fail at the moment
npm run build:ospackages
```

To specify a package to build you can add `rpm` or `deb` as an argument.
```sh
npm run build:ospackages -- --rpm
```

Distributable packages can be found in `target/` after the build completes.

### Submit a pull request

Expand Down
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ module.exports = function (grunt) {

grunt.config.merge(config);

config.userScriptsDir = __dirname + '/build/userScripts';
config.packageScriptsDir = __dirname + '/tasks/build/package_scripts';
// ensure that these run first, other configs need them
config.services = require('./tasks/config/services')(grunt);
config.platforms = require('./tasks/config/platforms')(grunt);
Expand Down
24 changes: 16 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,28 @@
# Kibana 4.4.0-snapshot
# Kibana 4.6.0-snapshot

[![Build Status](https://travis-ci.org/elastic/kibana.svg?branch=master)](https://travis-ci.org/elastic/kibana?branch=master)

Kibana is an open source ([Apache Licensed](https://github.com/elastic/kibana/blob/master/LICENSE.md)), 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.

## Requirements

- Elasticsearch version 2.1.0 or later
- Elasticsearch version 2.4.0 or later
- Kibana binary package

## Installation

* Download: [http://www.elastic.co/downloads/kibana](http://www.elastic.co/downloads/kibana)
* Extract the files
* Run `bin/kibana` on unix, or `bin\kibana.bat` on Windows.
* Visit [http://localhost:5601](http://localhost:5601)


## Upgrade from previous version

* Move any custom configurations in your old kibana.yml to your new one
* Reinstall plugins
* Start or restart Kibana

## Quick Start

You're up and running! Fantastic! Kibana is now running on port 5601, so point your browser at http://YOURDOMAIN.com:5601.
Expand All @@ -35,9 +43,9 @@ Visit [Elastic.co](http://www.elastic.co/guide/en/kibana/current/index.html) for

For the daring, snapshot builds are available. These builds are created after each commit to the master branch, and therefore are not something you should run in production.

| platform | | |
| --- | --- | --- |
| OSX | [tar](http://download.elastic.co/kibana/kibana-snapshot/kibana-4.4.0-snapshot-darwin-x64.tar.gz) | [zip](http://download.elastic.co/kibana/kibana-snapshot/kibana-4.4.0-snapshot-darwin-x64.zip) |
| Linux x64 | [tar](http://download.elastic.co/kibana/kibana-snapshot/kibana-4.4.0-snapshot-linux-x64.tar.gz) | [zip](http://download.elastic.co/kibana/kibana-snapshot/kibana-4.4.0-snapshot-linux-x64.zip) |
| Linux x86 | [tar](http://download.elastic.co/kibana/kibana-snapshot/kibana-4.4.0-snapshot-linux-x86.tar.gz) | [zip](http://download.elastic.co/kibana/kibana-snapshot/kibana-4.4.0-snapshot-linux-x86.zip) |
| Windows | [tar](http://download.elastic.co/kibana/kibana-snapshot/kibana-4.4.0-snapshot-windows.tar.gz) | [zip](http://download.elastic.co/kibana/kibana-snapshot/kibana-4.4.0-snapshot-windows.zip) |
| platform | | | | |
| --- | --- | --- | --- | --- |
| OSX | [tar](http://download.elastic.co/kibana/kibana-snapshot/kibana-4.6.0-snapshot-darwin-x64.tar.gz) | [zip](http://download.elastic.co/kibana/kibana-snapshot/kibana-4.6.0-snapshot-darwin-x64.zip) | | |
| Linux x64 | [tar](http://download.elastic.co/kibana/kibana-snapshot/kibana-4.6.0-snapshot-linux-x64.tar.gz) | [zip](http://download.elastic.co/kibana/kibana-snapshot/kibana-4.6.0-snapshot-linux-x64.zip) | [deb](https://download.elastic.co/kibana/kibana-snapshot/kibana_4.6.0-snapshot_amd64.deb)| [rpm](https://download.elastic.co/kibana/kibana-snapshot/kibana-4.6.0_snapshot-1.x86_64.rpm) |
| Linux x86 | [tar](http://download.elastic.co/kibana/kibana-snapshot/kibana-4.6.0-snapshot-linux-x86.tar.gz) | [zip](http://download.elastic.co/kibana/kibana-snapshot/kibana-4.6.0-snapshot-linux-x86.zip) | [deb](https://download.elastic.co/kibana/kibana-snapshot/kibana_4.6.0-snapshot_i386.deb) | [rpm](https://download.elastic.co/kibana/kibana-snapshot/kibana-4.6.0_snapshot-1.i386.rpm) |
| Windows | [tar](http://download.elastic.co/kibana/kibana-snapshot/kibana-4.6.0-snapshot-windows.tar.gz) | [zip](http://download.elastic.co/kibana/kibana-snapshot/kibana-4.6.0-snapshot-windows.zip) | | |
12 changes: 6 additions & 6 deletions STYLEGUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ Use slashes for both single line and multi line comments. Try to write
comments that explain higher level mechanisms or clarify difficult
segments of your code. **Don't use comments to restate trivial things**.

***Exception:*** Comment blocks describing a function and it's arguments (docblock) should start with `/**`, contain a single `*` at the begining of each line, and end with `*/`.
***Exception:*** Comment blocks describing a function and its arguments (docblock) should start with `/**`, contain a single `*` at the beginning of each line, and end with `*/`.

*Right:*

Expand Down Expand Up @@ -656,7 +656,7 @@ function ClassName() {
var ClassName = function () {};
```

### Inhertiance should be done with a utility
### Inheritance should be done with a utility

While you can do it with pure JS, a utility will remove a lot of boilerplate, and be more readable and functional.

Expand Down Expand Up @@ -685,7 +685,7 @@ Square.prototype = Object.create(Shape);

### Keep Constructors Small

It is often the case that there are properties that can't be defined on the prototype, or work that needs to be done to completely create an object (like call it's Super class). This is all that should be done within constructors.
It is often the case that there are properties that can't be defined on the prototype, or work that needs to be done to completely create an object (like call its Super class). This is all that should be done within constructors.

Try to follow the [Write small functions](#write-small-functions) rule here too.

Expand Down Expand Up @@ -775,7 +775,7 @@ Several already exist, and can be found in `src/kibana/utils/_mixins.js`

## Filenames

All filenames should use `snake_case` and *can* start with an underscore if the module is not intended to be used outside of it's containing module.
All filenames should use `snake_case` and *can* start with an underscore if the module is not intended to be used outside of its containing module.

*Right:*
- `src/kibana/index_patterns/index_pattern.js`
Expand Down Expand Up @@ -856,7 +856,7 @@ app.service('CustomService', function(Promise, otherDeps) {

### Routes

Angular routes are defined using a custom require modules named `routes` that remove much of the required boilerplate.
Angular routes are defined using a custom require module named `routes` that remove much of the required boilerplate.

```js
require('ui/routes')
Expand All @@ -869,7 +869,7 @@ require('ui/routes')

## Multiple attribute values

When a node has multiple attributes that would cause it to exceed the line character limit, each attribute including the first should be on its own line with a single indent. Also, when a node that is styled in this way has child nodes, there should be a blank line between the openening parent tag and the first child tag.
When a node has multiple attributes that would cause it to exceed the line character limit, each attribute including the first should be on its own line with a single indent. Also, when a node that is styled in this way has child nodes, there should be a blank line between the opening parent tag and the first child tag.

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

exec "${NODE}" "${DIR}/src/cli" ${@}

exec "${NODE}" $NODE_OPTIONS "${DIR}/src/cli" ${@}
10 changes: 7 additions & 3 deletions bin/kibana.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,23 @@ set SCRIPT_DIR=%~dp0
for %%I in ("%SCRIPT_DIR%..") do set DIR=%%~dpfI

set NODE=%DIR%\node\node.exe
for /f "delims=" %%i in ('WHERE node') do set SYS_NODE=%%i

WHERE /Q node
IF %ERRORLEVEL% EQU 0 (
for /f "delims=" %%i in ('WHERE node') do set SYS_NODE=%%i
)

If Not Exist "%NODE%" (
IF Exist "%SYS_NODE%" (
set NODE=%SYS_NODE%
set "NODE=%SYS_NODE%"
) else (
Echo unable to find usable node.js executable.
Exit /B 1
)
)

TITLE Kibana Server
"%NODE%" "%DIR%\src\cli" %*
"%NODE%" %NODE_OPTIONS% "%DIR%\src\cli" %*

:finally

Expand Down
9 changes: 4 additions & 5 deletions config/kibana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@
# The host to bind the server to.
# server.host: "0.0.0.0"

# A value to use as a XSRF token. This token is sent back to the server on each request
# and required if you want to execute requests from other clients (like curl).
# server.xsrf.token: ""

# If you are running kibana behind a proxy, and want to mount it at a path,
# specify that path here. The basePath can't end in a slash.
# server.basePath: ""

# The maximum payload size in bytes on incoming server requests.
# server.maxPayloadBytes: 1048576

# The Elasticsearch instance to use for all your queries.
# elasticsearch.url: "http://localhost:9200"

Expand Down Expand Up @@ -55,7 +54,7 @@

# Time in milliseconds to wait for responses from the back end or elasticsearch.
# This must be > 0
# elasticsearch.requestTimeout: 300000
# elasticsearch.requestTimeout: 30000

# Time in milliseconds for Elasticsearch to wait for responses from shards.
# Set to 0 to disable.
Expand Down
2 changes: 2 additions & 0 deletions docs/area.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ For example, a chart of dates with incident counts can display dates in chronolo
priority of the incident-reporting aggregation to show the most active dates first. The chronological order might show
a time-dependent pattern in incident count, and sorting by active dates can reveal particular outliers in your data.

include::color-picker.asciidoc[]

You can click the *Advanced* link to display more customization options for your metrics or bucket aggregation:

*Exclude Pattern*:: Specify a pattern in this field to exclude from the results.
Expand Down
4 changes: 4 additions & 0 deletions docs/color-picker.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
You can customize the colors of your visualization by clicking the color dot next to each label to display the
_color picker_.

image::images/color-picker.png[An array of color dots that users can select]
9 changes: 7 additions & 2 deletions docs/dashboard.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,13 @@ in your Web page.

NOTE: A user must have Kibana access in order to view embedded dashboards.

Click the *Share* button to display HTML code to embed the dashboard in another Web page, along with a direct link to
the dashboard. You can select the text in either option to copy the code or the link to your clipboard.
To share a dashboard, click the *Share* button image:images/share-dashboard.png[] to display the _Sharing_ panel.

image:images/sharing-panel.png[]

Click the *Copy to Clipboard* button image:images/share-link.png[] to copy the native URL or embed HTML to the clipboard.
Click the *Generate short URL* button image:images/share-short-link.png[] to create a shortened URL for sharing or
embedding.

[float]
[[embedding-dashboards]]
Expand Down
18 changes: 13 additions & 5 deletions docs/getting-started.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@ yellow open logstash-2015.05.20 5 1 4750 0 16.4mb
[[tutorial-define-index]]
=== Defining Your Index Patterns

Each set of data loaded to Elasticsearch has an <<settings-create-pattern,index pattern>>. In the previous section, the Shakespeare data set has an index named `shakespeare`, and the accounts
Each set of data loaded to Elasticsearch has an <<settings-create-pattern,index pattern>>. In the previous section, the
Shakespeare data set has an index named `shakespeare`, and the accounts
data set has an index named `bank`. An _index pattern_ is a string with optional wildcards that can match multiple
indices. For example, in the common logging use case, a typical index name contains the date in MM-DD-YYYY
format, and an index pattern for May would look something like `logstash-2015.05*`.
Expand All @@ -211,6 +212,9 @@ The Logstash data set does contain time-series data, so after clicking *Add New*
set, make sure the *Index contains time-based events* box is checked and select the `@timestamp` field from the
*Time-field name* drop-down.

NOTE: When you define an index pattern, indices that match that pattern must exist in Elasticsearch. Those indices must
contain data.

[float]
[[tutorial-discovering]]
=== Discovering Your Data
Expand Down Expand Up @@ -288,8 +292,10 @@ This shows you what proportion of the 1000 accounts fall in these balance ranges
we're going to add another bucket aggregation. We can break down each of the balance ranges further by the account
holder's age.

Click *Add sub-buckets* at the bottom, then select *Split Slices*. Choose the *Terms* aggregation and the *age* field from the drop-downs.
Click the green *Apply changes* button image:images/apply-changes-button.png[] to add an external ring with the new results.
Click *Add sub-buckets* at the bottom, then select *Split Slices*. Choose the *Terms* aggregation and the *age* field from
the drop-downs.
Click the green *Apply changes* button image:images/apply-changes-button.png[] to add an external ring with the new
results.

image::images/tutorial-visualize-pie-3.png[]

Expand Down Expand Up @@ -321,7 +327,8 @@ as well as change many other options for your visualizations, by clicking the *O
Now that you have a list of the smallest casts for Shakespeare plays, you might also be curious to see which of these
plays makes the greatest demands on an individual actor by showing the maximum number of speeches for a given part. Add
a Y-axis aggregation with the *Add metrics* button, then choose the *Max* aggregation for the *speech_number* field. In
the *Options* tab, change the *Bar Mode* drop-down to *grouped*, then click the green *Apply changes* button image:images/apply-changes-button.png[]. Your
the *Options* tab, change the *Bar Mode* drop-down to *grouped*, then click the green *Apply changes* button
image:images/apply-changes-button.png[]. Your
chart should now look like this:

image::images/tutorial-visualize-bar-3.png[]
Expand Down Expand Up @@ -371,7 +378,8 @@ Write the following text in the field:
The Markdown widget uses **markdown** syntax.
> Blockquotes in Markdown use the > character.

Click the green *Apply changes* button image:images/apply-changes-button.png[] to display the rendered Markdown in the preview pane:
Click the green *Apply changes* button image:images/apply-changes-button.png[] to display the rendered Markdown in the
preview pane:

image::images/tutorial-visualize-md-2.png[]

Expand Down
Binary file added docs/images/color-picker.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/share-dashboard.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/share-link.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/share-short-link.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/sharing-panel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading