This adjusts the `config.get` method to honor the default value passed in by the caller regardless of whether the setting already existed or not.
Now, if the method is called without the second parameter (the default value), then it will return the statically defined default value. If a default parameter is supplied, then it will be used instead of the
statically defined default value.
* Remove tribe node support
Tribe node is being removed from Elasticsearch since it has been
superseded by Cross-Cluster-Search.
* console: remove unnecessary isEnabled
The default behavior for the plugin is to be disabled when its `enabled`
configuration is set to false, so this custom isEnabled function is not
necessary any longer.
Previously when patching types we would provide update_all_types to update all fields with the same name in the index. This setting has been deprecated in 7.0 and no longer necessary since we only use a single type (doc).
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
* update jest tests as best as possible - found some bugs that need to be addressed
* use EuiAccordion to hide/show control editor
* set control editor to be open on load
* small changes
* fix editor jest tests
* update visualization components to EUI
* fix jest tests and updated range control to EUI
* fix bug in range control input logic
* fix button layout
* fix dashboard grid resize test
* add space between panels, change button order, switch to sort icons
* remove style attribute from component, fix spelling of id
Many moons ago I fixed an issue in the date picker where it was doing unnecessary timezone conversion due to the fact that it relies on native JS Date objects. I fixed it by chopping off the time portion of the date passed in/out of the date picker since we didn't need it. However, I didn't update the min-date and max-date values passed into the date picker for validation purposes, so these dates still received the timezone conversion, leading to an apples-to-oranges comparison between the model value and the validation value. That created issue #14664 because the date picker is a form element which would mark the entire form as invalid if it did not pass validation. To fix that issue, I'm simply passing in the time-chopped value for min/max-date for an apples-to-apples comparison.
* [Config] config.get should not change the config doc
* exception message update
* test for not persisting unknown property
* clean up copy/paste, rename vars for intention
Two things were broken:
* The "System logs" instructions contained a Windows version but actually
the Filebeat system module doesn't support Windows at the moment
* s/Service-Start/Start-Service for starting the service
Fixes#16314.
* tutorial docs
* fixes from ycombinator review
* ElasticSearch -> Elasticsearch
* move out of style guide and into README under server/tutorials
* move to asciidocs
* add new line so list is rendered correctly
* changes from gchaps review
* Introduce `kbn`, the Kibana build tool
* yarn kbn
* Make all deps devDeps
* Exclude __fixtures__ folder from Jest to avoid warnings
* Review fixes
* Update readme
* Use 'yarn kbn'
* Consistent rootPath
* Link to kbn tool
* Unsupported URL 'debug help' in contributing guide