Commit graph

15728 commits

Author SHA1 Message Date
dave.snider@gmail.com
8e5fa56197 update favicons (#12774) 2017-07-11 14:47:24 -07:00
Chris Cowan
df40112846 Fixes #12757 - Fixing field fetching for index patterns. (#12771) 2017-07-11 13:49:29 -07:00
Tyler Smalley
0d502aec49 Use SavedObjectsClient for Courier Index Pattern (#12719)
* Index pattern is created, by default, with a random ID by Elasticsearch
* Updated all references requiring the pattern itself to use indexPattern.title
* Advanced options toggle added to index pattern creation page to provide a specified ID
* If an index pattern does not exist, the user is given a link to create a pattern with the referenced ID.
2017-07-11 13:18:26 -07:00
Peter Pisljar
dd80489c33 Fix TSVB UX flow (#12770)
Due to the visualize refactor, the default page-sequence of TSVB was no longer respected. This also removes the display of the query and filter bar from TSVB.
2017-07-11 15:34:33 -04:00
Tyler Smalley
44dedd6091 Uses SavedObjectsClient for UI Settings (#12747) 2017-07-11 12:33:58 -07:00
Nathan Reese
42fe210f20 add indexPatternId to sharing data (#12772) 2017-07-11 12:59:15 -06:00
Tyler Smalley
c1e5d542ed Saved objects compatibility layer (#12648)
Support for v5 and v6 index mappings
2017-07-11 10:53:15 -07:00
Lukas Olson
055080521c Make filter editor suggestions opt-in (#12710)
* Add shard_size to the suggestions terms agg request

* Make filter editor suggestions opt-in

* Add size parameter
2017-07-11 10:46:55 -07:00
Lukas Olson
9ab0fc90c3 Update regex used to detect IE for long length warnings (#12617) 2017-07-11 10:43:47 -07:00
Marius Dragomir
a388dddc41 Changed Console Docs images to Kibana master (#11545)
* Changed images to Kibana 5.x ones

* Update to images to make them smaller in width
2017-07-11 20:19:00 +03:00
Chris Cowan
4e13020701 Fixes #12763 - Add show_grid to the default vis structure (#12769) 2017-07-11 10:15:02 -07:00
Jim Unger
e951369398 Add breadcrumb-page-title to management-app (#12765)
* Adds breadcrumb-page-title to management-app

* Changes argument name to page-title
2017-07-11 11:36:55 -05:00
dave.snider@gmail.com
6572fb3823 [Design] Use alpha logo, retain branding in fullscreen mode (#12735)
[Design] Use alpha logo, retain branding in fullscreen dashboard mode.
2017-07-11 08:04:50 -07:00
Thomas Neirynck
6bfc46039d Should only run visualization on Discover page when the indexpattern is time-based (#12741) 2017-07-11 10:54:49 -04:00
Nathan Reese
9ee9d8e315 Remove event listener for resizeChecker when directive is destroyed (#12734)
* make sure  is only added one time and it is canceled on destroy

* unregister EventEmitter function

* remove cancel function for watcher in default.js

* visualization directive

* remove duplicate destroy

* use ResizeChecker destroy method instead of off to remove event handler
2017-07-11 08:35:44 -06:00
Felix Stürmer
b97a2650eb [Accessibility] Add button to skip past the discover doc table (#12539) 2017-07-11 15:23:22 +02:00
CJ Cenizal
fbb074a167 Update LocalNav layout to fix menu button hover state. (#12739) 2017-07-10 13:43:46 -07:00
Chris Cowan
08a43142c8 Fixes #12693 - Fixing a spelling error in TSVB (#12695)
* Fixes #12693 - Fixing a spelling error

* Changing from 'space separated' to 'space-delimited'
2017-07-10 12:35:31 -07:00
Brandon Kobel
3db8e3a3c4 ES Healthcheck v6 mapping compatibility (#12714)
* Beginning to update the healthcheck to use the SavedObjectsClient

Some tests are still broken
The sort method on the SavedObjectsClient isn't there yet

* Adding sort to create_find_query

* Fixing the tests

* Fixing upgrade_config tests

* Making the SavedObjectsClient be dependant on the mappings to enable
sorting

* Fixing disabled tests

* Fiixng test wording

* Passing the savedObjectsClient to the stats route handler

* Passing the savedObjectsClient to upgradeConfig from migratConfig

* Using array of keys with _.get instead of manual string concatenation
2017-07-10 15:15:04 -04:00
Court Ewing
d11b960994 bump version to 6.0.0-beta1 2017-07-10 13:53:05 -04:00
Kim Joar Bekkelund
04c8812629 [optimizer] remove support for .less extension (#12722) 2017-07-10 19:40:04 +02:00
Jonathan Budzenski
00cd9eaebc [logging] Downgrade hapi connection errors when connecting with the w… (#11209)
* [logging] Downgrade hapi connection errors when connecting with the wrong protocol

* [logging] Check for error code instead of message for requesting https when serving http errors
2017-07-10 18:22:22 +02:00
Chris Cowan
941e57fde2 Adding option for controlling if last bucket is dropped for TSVB (#12379)
* Adding option for dropping last bucket to TSVB

* updating tests to reflect new behaivor

* updating tests
2017-07-10 08:34:29 -07:00
Chris Cowan
0ec883d6ba Adding ability to configure grid for TSVB (#12385) 2017-07-10 08:32:51 -07:00
Thomas Neirynck
b86f97ce0f Visualize refactor (#12715)
This reorganizes the internals of Visualize. The main contributions are:
- separation of Editor from Visualization. This allows users to create editors separate from their Visualization. Both Timelion and TSVB are examples of visualizations not using the sidebar editor
- no longer restricted to just use angular as a rendering technology
- introduction of API object, which avoids the need to pull in modules directly, like time-filter or filter-bar
2017-07-09 09:51:29 -04:00
Spencer
1f5a9dcc83 [optimizer] remove support for .jsx extension (#12712) 2017-07-07 16:12:05 -07:00
Thomas Neirynck
c20a48cbc9 Revert "Visualize Refactor (#11786)" (#12711)
This reverts commit 3000221fac.

This change broke Xpack, due to some modules being moved to a different location.
2017-07-07 16:32:18 -04:00
Nathan Reese
363a06555c Expose field formatters in kibana server (#12625)
* move field formatters to common

* expose fieldFormats on server

* export Format class from field_formats/types

* remove use of window.atob in StringFormat

* fix test and move server register under directory field_formats

* cleanup

* expose uiSettingDefaults on server so fieldFormats knows how to parse uiSettings

* remove uiSettingDefaults decorator and clean up tests

* move field_formats_service out of kibana plugin

* make duration test more unstandable

* prefix internal member with underscore

* pass getConfig in constructor instead of methods

* move getParamsDefaults for DurationFormat

* add getInstance method to field_formats_server

* move FieldFormat class outside of kibana plugin
2017-07-07 11:47:25 -06:00
Spencer
7610d25aa0 [modifyUrl] only consume the meaningful keys (#12616) 2017-07-07 10:14:23 -07:00
Jonathan Budzenski
c79e22386c Revert same port http -> https redirect (#10930)
- httpolyglot is removed, we no longer automatically redirect from http to https
- server.ssl.redirectHttpFromPort option added to allow for http -> https redirect from one port to another
- We no longer start the dev server with tls by default, it can be turned on with the --ssl flag, npm start -- --ssl, or ./bin/kibana --dev --ssl
- There will currently be error log messages if you connect over the wrong protocol, we have #11209 for downgrading these
2017-07-07 17:15:56 +02:00
Peter Pisljar
3000221fac Visualize Refactor (#11786)
* converting Vis to es6 class

* <visualize>, <visualization> and <visualization-editor>

* editor, responseHandler and requestHandler registries

* updating visualize editor app

* vis, default editor, request handlers and vis types

* updating vis types

* updating kibana to work with new visualize

* migrating existing visualizations

* fixing bugs with rebase

fixing tests

fixing tsvb auto apply button

fix tsvb resizing issue

update scope.$apply for react editor components

re-render react component when vis.params are updated (#12347)

fixing heatmap

remove obsolete maps_renderbot indirection

remove cruft/ remove custom resizing and hook into global event

fixing brush event

fixing resize event for vislib_vis_type

fixing legend

changing based on nathans review

* fixing tests

* fixing renderComplete issues with editor

* map updates

* fixing maps zoom

* fixing based on nathans review

* fixing render complete issue and doulbe rendering with maps

* trying to get maps in order .... wip

* removing resize method from visualizations

* changing the rendering process a bit

* fixing metric chart type auto changing

* minor simplifications in coordinate map viz

* more simplications now we only have single render

* minor fixes

* do not recreate layer when not necessary

* minor changes

* fixing maps bounding box filter

* fixing desaturation option

* fix zoom settings when toggling between WMS/basemap

* adding status to the render method (to figure out what changed)

* fixing legend open icon going out of page

* skip index selection for timelion

* timelion brush fix

* fixing circular json issue

* fix faulty rebase

* fixing updateStatus

* removing timelion requesthandler registration

* removing double slash

* fixing maps

* add debug statement

* test CI with guard statement

* fixing rebase
2017-07-07 17:10:32 +02:00
Thomas Neirynck
5a20d44a08 Tidy up tile-service url in test code (#12690) 2017-07-07 10:13:32 -04:00
Spencer
74b5b7a0e3 [server] remove unused module (#12694) 2017-07-06 16:44:45 -07:00
Spencer
c1ef3d892f Fail to start if settings include unknown keys (#12554)
* [server/config/complete] parameterize test setup

* [server/config/complete] group tests into sub-suites

* [server/config/complete] fail startup if some settings are unused

* [cli/server] pretty-print InvalidConfig errors

* [cli/errors] allow startup errors to control process.exitCode

* [server/config/complete] update tests to check for throwing

* [server/config/complete] test deprecation support more generically

* [server/config/complete] test server.decorate() behavior

* [server/config/complete] test the shape of the thrown error

* [cli/serve] add integration test for invalid config handling

* [testUtils/kbnServer] add createServerWithCorePlugins()

* [uiExports/tests] fix bug this change exposed

* [server/config/complete] add special case for `env` config key

* [server/config/flattenWith] fail faster with less lodash

* [server/config/complete] add test for special "env" handling

* [server/config/complete] combine noun+verb creation

* [testUtils/kbnServer] fix typo

* [server/config/complete] use expressive sinon.assert helper

* [utils/getFlattenedObject] remove traverseArrays option
2017-07-06 16:44:15 -07:00
CJ Cenizal
476b00fd99 Interface changes to toggle directives, and add disabled state (#12655)
* Add kuiToggleButton disabled state.
* Add isDisabled attribute to toggleButton and togglePanel directives.
* Redesign toggleButton and togglePanel directive interfaces to use transclusion instead of attributes, and scope-bound attribute over DOM-bound attribute..
* Use attribute binding.
* Rename 'toggleButtonLabel' attribute to 'buttonText'.
2017-07-06 14:01:30 -07:00
Varun Sharma
411593c738 Fix #12656 aria-hidden without value (#12658) 2017-07-06 16:26:51 +02:00
Tyler Smalley
3ef5e78354 Fixes path to the functional test runner (#12651)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2017-07-06 00:02:35 -07:00
Nathan Reese
4bb759cde2 do not allow registation of undefined indexpatterns in dashboard state (#12628) 2017-07-05 16:40:11 -06:00
Court Ewing
580e0d2964 docs: setting up cross cluster search (#12599)
There isn't a whole lot to say about cross cluster search support in
Kibana other than how to set it up, which is by design.
2017-07-05 17:18:55 -04:00
CJ Cenizal
e375adb0b2 Make ui-select appearance match other inputs. (#12652)
* Make UI Select match other inputs.
* Add padding to right side of placeholder.
2017-07-05 11:49:15 -07:00
CJ Cenizal
0e6af88236 Refine getIndices() to return an empty array if there are no matching indices. (#12659)
- Fix bug that caused an array of the original query and undefined to be returned when the API response was a 404.
- Scope helper functions to getIndices function.
2017-07-05 11:43:06 -07:00
CJ Cenizal
48e403e2bb Replace brand-danger color with new global red color. (#12654) 2017-07-05 10:18:56 -07:00
Clinton Gormley
4d481a2ef8 Include shared/attributes.asciidoc directly from docs master 2017-07-03 18:27:50 +02:00
Stacey Gammon
17720b5b1b Extract url logic out from chrome.nav internals (#12479)
* Extract url logic out from chrome.nav internals

* Introduce new addQueryParameter function which wraps modifyUrl

* Use modifyUrl in a few more places

get tests passing

* Fix extractAppPathAndId tests

* remove unnecessary undefined check

* Pass port and hostname separately instead of host, use window.location.x to get hostname,protocol,port props

* remove deleted file and function references

* Fix refactor issue

* fix another refactor miss

* Only use hostname, protocol or port defaults if none are specified

Otherwise it’s a bit weird to specify a custom hostname but no port and
have the port be picked up from the current location.
2017-06-30 17:01:12 -07:00
Chris Earle
2d0e2e426d Toast Notification should handle connection failed (#12609) 2017-06-30 16:05:45 -04:00
CJ Cenizal
189747abf7 Allow kuiLocalNavRow to expand vertically if the content wraps. (#12606) 2017-06-30 12:21:36 -07:00
Chris Cowan
39b61c5869 Fixes #11721 - Fix bug with axis updating when data format is changed in TSVB (#12386)
* Fixes #11721 - Fix bug with axis updating when formatter is changed in TSVB

* Changing axis evaluation to use keys on yaxis instead of hash
2017-06-30 12:17:31 -07:00
CJ Cenizal
90834a5d5f Fix jsonify license check (#12615) (#12619)
- Alphabetize order of licenses and overrides.
- Fix jsonify override so that the license passes.
2017-06-30 12:06:26 -07:00
Brandon Kobel
fa8cddd753 Restoring the dashboard-grid padding to appease Gridster (#12613)
Gridster will occasionally throw an error after we updated the padding
to 20px of the dashboard-grid.
2017-06-30 14:21:18 -04:00
Peter Pisljar
3bde72a00d Allow to order percentiles freely (#12498) 2017-06-30 13:44:24 -04:00