Commit graph

14224 commits

Author SHA1 Message Date
Shaunak Kashyap
14ea5c3ff5
Adding server-side module for system APIs 2016-08-31 14:15:23 -07:00
Shaunak Kashyap
77d7e8d53c
Fixing module name 2016-08-31 14:14:38 -07:00
debadair
48da8246fb Docs: Reorganized setup topic to fix "missing" install instructions. 2016-08-31 13:14:39 -07:00
Shaunak Kashyap
9455755194 Merge branch 'master' into fwd-port-8043 2016-08-31 12:17:34 -07:00
Tim Sullivan
fdcd9a3167 Merge pull request #8014 from tsullivan/uuid-rewrite-datafile
uuid: rewrite using path.data file instead of .kibana index
2016-08-30 16:21:05 -07:00
Timothy Sullivan
56e4527006 doc: release notes: add uuid line 2016-08-30 16:11:43 -07:00
Timothy Sullivan
73cf57aee4 uuid: use server.config for hostname 2016-08-30 16:11:43 -07:00
Timothy Sullivan
fa6b33eba2 uuid: config key rename uuid => server.uuid 2016-08-30 16:11:43 -07:00
Timothy Sullivan
56e2532353 test/uuid: simplify test to not rely on elasticsearch 2016-08-30 16:11:43 -07:00
Timothy Sullivan
0515489092 uuid: rewrite using path.data file instead of .kibana index 2016-08-30 16:11:43 -07:00
Court Ewing
edf1ee89ba Merge pull request #8125 from LeeDr/defaultIndexPattern7496
Re-set default index pattern in navigateToApp
2016-08-30 17:32:37 -04:00
Tim Sullivan
ecc3df996e Merge pull request #8017 from tsullivan/notifications-banner-styling
Style fixes for banner notifications
2016-08-30 13:57:53 -07:00
LeeDr
cf67bb35d6 Merge branch 'defaultIndexPattern7496' of github.com:LeeDr/kibana into defaultIndexPattern7496 2016-08-30 15:11:46 -05:00
LeeDr
a66fc9d52d return promise from updateConfigDoc 2016-08-30 15:11:04 -05:00
LeeDr
4cad856136 Work-around #7496 and/or #7055 by re-setting default index pattern 2016-08-30 15:11:03 -05:00
Court Ewing
132dbdf774 Merge pull request #8127 from LeeDr/fixSideFieldBarExpandCollapse
Changed required field data pane width and increased window width for…
2016-08-30 16:04:35 -04:00
Timothy Sullivan
f0712586ca [Notifier] fix broken css helper class karma test 2016-08-30 12:32:33 -07:00
LeeDr
4bc86f4327 Changed required field data pane width and increased window width for changes in side bar. 2016-08-30 14:19:15 -05:00
Timothy Sullivan
36d11660a6 [Notifier] css cleanup and selector un-nesting 2016-08-30 12:18:42 -07:00
Timothy Sullivan
8ed14a2f2e [Notifier] helper classes: mapping between notif.type and classes 2016-08-30 12:18:42 -07:00
Timothy Sullivan
3b8067a856 banner notifications: new styling per design
- helper functions for dynamic css class names
- notifications: reposition the countdown button outside of the button group
- notifications/buttons: bootstrap primary/default button classes for custom actions
2016-08-30 12:18:42 -07:00
Court Ewing
401dea9ee3 Merge pull request #8123 from spalger/fix/configRaceInTests
remove config.set() call to avoid race
2016-08-30 14:40:18 -04:00
spalger
a1fb3239f1 remove config.set() call to avoid race
Several tests have been failing recently with "Error: Unexpected request: POST /api/kibana/settings/shortDots:enable, No more request expected" which seems to be caused by the field chooser tests calling `config.set('shortDots:enable', origValue)` in the test cleanup task. Rather than investigate it further I avoided the need to call `config.set()` by stubbing the `config.get()` method.
2016-08-30 11:11:54 -07:00
Rashid Khan
8e5ef7c5b2 Merge branch 'master' of github.com:elastic/kibana into migrate/timelion 2016-08-30 11:11:03 -07:00
Rashid Khan
e34d2c1e92 Add log function 2016-08-30 11:10:29 -07:00
LeeDr
6c668d7ae1 return promise from updateConfigDoc 2016-08-30 11:29:37 -05:00
LeeDr
e2b7aea899 Work-around #7496 and/or #7055 by re-setting default index pattern 2016-08-30 10:28:14 -05:00
Shaunak Kashyap
c74f1f46c4 Merge pull request #8072 from lukasolson/fix/kbn-base-url
Export Kibana base URL for use in other plugins
2016-08-30 06:37:49 -07:00
Lukas Olson
f27ac3c7d6 Re-add the leading slash I accidentally removed 2016-08-29 12:42:21 -07:00
Matt Bargar
5bbe02e66a Merge pull request #7700 from Bargs/painless
Set language for scripted field
2016-08-29 12:12:02 -04:00
Rashid Khan
1c47159939 Merge branch 'master' of github.com:elastic/kibana into migrate/timelion 2016-08-29 09:09:01 -07: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
ca58424290 Adding system API module 2016-08-25 17:22:07 -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