Commit graph

13682 commits

Author SHA1 Message Date
Jim Unger
a35aac2c5d Removed pipelines from ingest endpoint, and import csv wizard 2016-08-31 12:36:55 -05:00
Matt Bargar
5bbe02e66a Merge pull request #7700 from Bargs/painless
Set language for scripted field
2016-08-29 12:12:02 -04:00
Matthew Bargar
2aca107e95 Enable additional scripted field languages
This commit allows Kibana scripted fields to be written in any language
that has been enabled for inline scripting in ES. By default, that's
expression and painless in 5.0. Groovy and other languages can be
enabled in the Elasticsearch config. However, I've spent the most time
trying to optimize the experience for painless and expression since
those are the two sandboxed languages we should be encouraging people
to use.

Field type options are limited per language based on what makes sense
for that language and for scripte fields in general. For instance,
expression scripts can only be number fields because expressions only
return numbers. No scripted fields can be geo_points, because the geo
aggregations Kibana uses don't support scripts.

This UI enhancement uses the new script languages API added in the
previous commit to get the list of inline scripting languages
dynamically.
2016-08-29 11:37:33 -04:00
Matthew Bargar
6c8ec66b3a Add a new GET script languages API endpoint
To provide additional language options for scripted fields, Kibana needs
to know what languages are available for inline scripting in
Elasticsearch. This new Kibana API grabs up to date information from
Elasticsearch and provides it in an easy to digest format for the UI.

The response body from the API is a simple JSON array with a list of
languages that are enabled for inline scripting. The API also filters
out languages that don't make sense in scripted fields, like 'mustache'.

An example request might look like this:

`GET /api/kibana/scripts/languages`

200 OK
`['expression', 'painless']`
2016-08-29 11:26:27 -04:00
Court Ewing
c6d9ed96d4 Ignore the generated html_docs directory
This directory is created by default when generating docs, so it's not
something we want to add to the repo.
2016-08-26 18:51:34 -04:00
Spencer
8044c840b0 Merge pull request #8078 from spalger/cleanup/remove2.2CompatCode
[compat] remove es 2.2 compat code
2016-08-26 10:45:09 -07:00
Shaunak Kashyap
78cc0d9702 Merge pull request #8096 from ycombinator/disable-button-for-real
Adding defaults and fixing unit tests
2016-08-25 16:43:42 -07:00
Shaunak Kashyap
5ca6ad149e
Removing redundant defaults 2016-08-25 16:30:14 -07:00
Shaunak Kashyap
8c7a2b2f32 Merge branch 'master' into disable-button-for-real 2016-08-25 16:26:56 -07:00
Shaunak Kashyap
9939be453f
Adding defaults and fixing unit tests 2016-08-25 16:16:52 -07:00
Shaunak Kashyap
a95554f394 Merge pull request #8084 from ycombinator/disable-button-for-real
Don't call top-nav button's run function if disabled
2016-08-25 14:47:01 -07:00
Shaunak Kashyap
71f8bca4f2
Make disableButton, hideButton, and tooltip responsive to model changes 2016-08-25 14:05:02 -07:00
Shaunak Kashyap
4002bd0188
Encapsulating click logic in handleClick helper method 2016-08-25 13:54:02 -07:00
Shaunak Kashyap
a5206b2b64
Removing outline rule and focus selector because focus is orthogonal to enabled/disabled state 2016-08-25 13:43:58 -07:00
Tyler Smalley
20b96b8f02 Merge pull request #7920 from tylersmalley/7772-node6.3
Upgrade to Node 6.4.0
2016-08-25 13:36:20 -07:00
Thomas Neirynck
f49bf0277c Merge pull request #8013 from thomasneirynck/enh/7196
Bind Kibana server to localhost.

This is a breaking change. Now, Kibana will not be accessible to remote users by default. To enable this, the server.host parameter needs to be configured.
2016-08-25 13:23:10 -04:00
Thomas Neirynck
e702c6d404 Improve doc 2016-08-25 12:41:45 -04:00
Thomas Neirynck
549293d2b1 Bind Kibana server to localhost
This is a breaking change. The default behaviour will now be that
connections from remote users will be rejected.
2016-08-25 12:41:45 -04:00
Tyler Smalley
ad97552c03 Upgrade to Node 6.4.0
* Updated dependencies to include graceful-fs ~4.0
* Replaced deprecated grunt-s3 package with suggested grunt-aws-s3
* Update licenses task to better support npm 3

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2016-08-25 08:40:14 -07:00
Shaunak Kashyap
3b0ccfb66b
Do not show outline when disabled buttons are focussed 2016-08-25 07:53:15 -07:00
chenryn
99a30ee7ad modify for eslint
delete self.scriptingLangs value assign and correct a typo
2016-08-25 10:31:50 -04:00
chenryn
f32eb2636f add scripting language selection 2016-08-25 10:31:50 -04:00
Court Ewing
bfb81efb15 Merge pull request #8085 from tylersmalley/fix-ingest-tests
Specify API version for Elasticsearch client in ScenarioManager
2016-08-25 10:29:07 -04:00
Tyler Smalley
2cf97d6c24 Specify API version for Elasticsearch client in ScenarioManager
This change specifically comes after the deprecation of POST for creating an index

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2016-08-25 06:54:54 -07:00
Shaunak Kashyap
266333844e
Only call the click function if the item is not disabled 2016-08-25 05:17:48 -07:00
Shaunak Kashyap
7e7a89e129
Disable button using ng-disabled
This prevents the menuItem.run() function from being executed if the button is clicked.
2016-08-24 15:39:52 -04:00
spalger
718ddf0029 [compat] remove es 2.2 compat code, closes #6363 2016-08-24 11:25:10 -07:00
Spencer
aa20d83063 Merge pull request #8036 from spalger/fix/testDevOptimizeDir
[dev] write test:dev optimize output to its own dir
2016-08-24 10:59:19 -07:00
Spencer
19a8738e20 Merge pull request #8034 from spalger/implement/ignoreCertErrorsInDev
Do not verify certs when using custom host and default certs
2016-08-23 15:50:42 -07:00
CJ Cenizal
c08c29363a Merge pull request #8058 from cjcenizal/improvement/sidebar-open-by-default
The global nav is expanded by default for the initial experience.
2016-08-23 10:06:20 -07:00
CJ Cenizal
4bd286a60d The global nav is expanded by default for the initial experience. 2016-08-23 09:48:05 -07:00
Tim Sullivan
9e3e8e884b Merge pull request #8037 from tsullivan/revert-7903
Revert notifications: allow custom truncation length #7903
2016-08-22 16:15:56 -07:00
spalger
5183efd843 [cli/serve] check for dev cert specifically 2016-08-22 15:12:12 -07:00
CJ Cenizal
187da4d63c Merge pull request #7911 from cjcenizal/improvement/kibana-5-favicon
Add updated Kibana 5 favicons.
2016-08-22 12:31:04 -07:00
Jonathan Budzenski
a254b7ea99 Merge pull request #8002 from jbudz/issues/7992
[build] Sign debs with sha512
2016-08-22 09:43:35 -05:00
Peter Pisljar
0d1762cd3f Merge pull request #7931 from ppisljar/fix/legendPosition
Ability to set the position of legends
2016-08-21 10:02:03 +02:00
Court Ewing
0eae35b561 Merge pull request #7867 from BigFunger/decompress-zip-strip-tests
Add tests for decompress-zip to check strip functionality
2016-08-20 12:23:34 -04:00
Court Ewing
9c432ef277 Merge pull request #8033 from spalger/fix/collapseExpandButton
Fix collapse/expand button
2016-08-20 11:31:16 -04:00
Timothy Sullivan
1bd8967a0f Revert notifications: allow custom truncation length #7903
Revert "notifications: allow custom truncation length"
This reverts commit 72c2f667ab.

Revert "notifications: put defaultTruncationLength in Notifier.config"
This reverts commit a35c6ef7af.
2016-08-19 17:29:03 -07:00
spalger
51ea45cd37 [dev] write test:dev optimize output to its own dir
Currently, `npm start` and `npm run test:dev` use the same webpack "working directory". This allows them to share assets, which seems great, but when webpack writes it's record-keeping files to disk it can lead to difficult to debug "Property call of undefined is not a function" errors. By writing it's optimization output to a different directory we prevent those collisions so that both the test server and the dev server can be run side-by-side
2016-08-19 17:15:06 -07:00
Tyler Smalley
4051bfad7e Merge pull request #8035 from cjcenizal/improvement/local-ie-testing-on-osx
Add notes on how to test on an IE VM on OS X.
2016-08-19 17:12:25 -07:00
CJ Cenizal
244d88e6e5 Add notes on how to test on an IE VM on OS X. 2016-08-19 16:57:58 -07:00
spalger
d1dc303252 [basePathProxy] do not verify certs when using custom host and default certs 2016-08-19 15:50:51 -07:00
Tyler Smalley
a66b1571c5 Merge pull request #8031 from elastic/8028-bump-esjs
Bump elasticsearch and elasticsearch-browser
2016-08-19 12:57:48 -07:00
spalger
321aee09b4 [globalNav] fix the path to the collapse circle icon 2016-08-19 10:26:44 -07:00
spalger
0cd3c3674f [chrome/addBasePath] treat // as a host, like the browser does 2016-08-19 10:24:42 -07:00
Court Ewing
bca4732465 Merge pull request #7996 from epixa/7964-esclientheaders
Configurable headers for all elasticsearch requests
2016-08-19 13:14:55 -04:00
Tyler Smalley
dad5195bfe Bump elasticsearch and elasticsearch-browser
Resolves issue with Elasticsearch breaking change introduced in https://github.com/elastic/elasticsearch/pull/20001

Fixes #8028

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2016-08-19 10:00:58 -07:00
Spencer
21b11f238c Merge pull request #8026 from spalger/restore/timedEventLogging
[notifier] revert removal of status reporting
2016-08-19 09:15:18 -07:00
Spencer
c398603bd7 Merge pull request #8030 from spalger/remove/unusedStateSync
[state] remove unsed code
2016-08-19 07:58:34 -07:00