* [server/logging] make use of UTC configurable
* [server/logging/tests] try removing TZ from moment
* [server/log/formatJson] use strict equality checks
* [server/log/format] note in method name that time is extracted
(cherry picked from commit b79ba98889)
* [timelion] remove last remaining amd modules
* [eslint-config-kibana] remove env.amd
* [webpack] use absolute loader names
* [webpack] remove absolute node_modules/ imports
* [webpack] upgrade to webpack 3
* [uiFramework] make webpack build compatible with v3
* [eslint-import-resolver] use https://github.com/elastic/eslint-import-resolver-kibana/pull/21
* [baseOptimizer] don't break when pkg has no dependencies
* [optimize] remove unnecessary json-loader
* [optimize] remove local references to webpack vars
* [eslint] upgrade to eslint-import-resolver-kibana 0.9.0
* [baseOptimizer] comment tweaks
* [baseOptimizer] remove loader pinning
In webpack 1 the loaders defined here were resolved relative to the file they were going to load, which meant that plugins in other projects could accidentally overwrite the loaders Kibana was trying to use, which is why the aliases were used to enforce proper resolution.
In webpack 2 loaders are now resolved relative to the webpackConfig.context, which is set to the root of the Kibana repo. See https://webpack.js.org/configuration/module/#useentry
* [webpack] rely on kibana webpack shims before checking node_modules
(cherry picked from commit f60639fccb)
* add a test that will fail due to the current TSVB bug
* add a test to catch the latest bug with saved searches
* reorder array so tests pass
* Update tests since the first panel is TSVB and won't have a spy pane toggle
* get rid of funneling map entry updates through
This was one of the suggestions in the redux discussion but after
sitting with it, I decided I don’t like it. I think it is too much
overhead and makes the code more difficult to read. There are not so
many actions at both levels (touching the whole mapping vs touching a
single mapping object) that justifies this, IMO.
* small refactor of merging panel data logic.
* Fix react proptype warning
React expects panelIndex to always be a string type.
* Add tests to catch panelIndex as a number issue, clean some stuff up.
* Don't update panels in state one at a time when layout changes
* Add test that would have caught the bug
* fix test
Hmmm, I thought grabbing the panels the second time would change their
order predictably but seems no. Still unsure if the order is
garaunteed.
* Need to split out merging panel updates action and setting panels
Tests caught this issue, woot.
* Fix remaining setState warnings by not calling getEmbeddableHander in render
* Fix issue where event isn't set
This method is called from onSubmit without pasing an event which
crashes Kibana.
* Fix broken open buckets
If you leave one side open of an interval, the from/to in the bucket
range will be undefined but null in the config, why this check failed.
* Pass submit event
* arguments suggestions for timelion
* argument_value suggestions
* add incompleteArgument parse failure
* sort suggestions list in domain so index matches selected
* clean up argument replace error, and rename some variables to reflect that suggestions can things other than functions
* add tests for suggestions
* add types text to argument suggestions view
* cjcenizal review updates
* updates from timroes review
* fix raw loader for webpack 3
* make cursor be pointer in timelion expresson textarea
* Show the x-axis value when hovering over a Timelion graph
* Update legend tests
* provide class name for caption styles, reuse single caption element instead of removing/adding
* provide class name for caption styles dark theme
* Add an option to add margins between panels
Make it a boolean useMargins to make this even simpler
* Fix issue with undefined not matching false and triggering a dirty state
* add some test helpers and css for plugin use-age
* default to margins on for new dashboards.
* use const variable syntax for margins
* Fix issue with older dashboards being bumped into useMargins: true mode
* Refactor panel header and menu options (#14652)
* Refactor panel header and menu options
- Makes them containers to avoid passing more props down
- Will make it easier to add/update actions in the header and options.
This will eventually need to be pluggable as well and I think this
setup will work better.
* Don't expose Container semantics externally
* remove unused props
* add comments and proptypes to containers
* Clean up and pass less props through to container
* Fix breakages after merge with selectors file change
* don't lost last change after merge with master
* Revert "don't lost last change after merge with master"
This reverts commit 27d303aa30.
* Add tests to catch error
* Fix test
* Don't store column and sort state in panel uiState unless explicitly overridden in a dashboard.
* add debug messages
* Elements can go stale between the find by and the click event so wrap in a retry
* fix bad merge with master
* make kibana home app default when defaultAppId not set
* make kibana icon link to home page, add react-router for routing within home app
* directory registry
* add href to directory listings
* add tabs to directory page
* add promo section to home page
* home page styling
* use kuiFlex components to display directory in columns
* fix react array missing key warning
* add icons
* remove feature directory title from home page, change data sources to integrations
* add tutorials registry
* fix rebase mistake
* start tutorial component
* wrap tutorial registration in helper function to hide implemenation details
* add constants for categry and instruction variant ids
* filter tutorial directory by tab category
* remove later phase stuff
* clean-up feature directory styling
* add kbnDirectory to uiExports
* remove unused file
* cleanup timelion plugin definition
* fix lint errors
* css work recommended by formgeist review
* cleanup from pairing session with snide
* rename kbnDirectory registry to featureCatalogue, rename kbnDirectory uiExports to home
* update kibana index uses name to match ui-exports name
* remove carot from package versions
* remove kuiViewContent--constrainedWidth from feature directory view
* updates from Stacey-Gammon review
* import FeatureCatalogueCategory instead of passing as parameter
* wrap KuiButton in href to fix button click bug
* remove conditional check for ADMIN and DATA feature category tabs
* consider apps for the 'OTHER' tab as anything not in ADMIN or DATA
* remove temp variable tabs and just store in this
* avoid overwriting kui class styles
* prefix class names with home
* updates from timroes review
* Remove search strategy abstraction
Unnecessary ever since doc strategy was removed and there was only ever
one strategy type. Reduces complexity in the courier.
* Remove unnecessary Provider abstraction for courierNotifier
* Remove unused fetch.search and fakeFetchThese functions
* Remove unneccessary provider abstraction for RequestStatus consts
* Rename fetch and fetchThese to better distinguish their differences
* Remove unnecessary use of defer - just pass the function in directly
* RequestStatus does not need to be an object, it's just used as an enum
* Remove unnecessary transformResponse function
* Use Array.isArray instead of lodash's _.isArray
* add RequestFetchParamsToBody tests
most are in jest, one is in mocha because I needed IndexPattern class
via the Provider wrapped in private and I’m not sure if we can use
ngMock in jest.
* fix test
* Remove accidentally cached values in the provider for indexToListMapping and timeBounds
* Rename debouncedFetchThese => debouncedFetchNow
* Remove test that only checks our mock
* add getInactive tests
* Make sure self.close is only called once after a fatal error - no need to call multiple times.
Update Docker docs for 6.0.0 and image flavours
* Use Compose v2 in Docker examples
* Use US spelling in Docker docs
* Link to www.docker.elastic.co in docs
* Don’t use prevent default on IE unless the user pressed enter
* Implament ie fix on number fields too
* share the ie detection lib
* change file names and export types
* [es/clusters] automatically close all clusters on server close
* [es/cluster] track and close all created clients
* [es/clusters] remove old close tests
* Refactor selectors and use them in place of a few spots that accessed state directly
* Add some more action/reducer/selector tests
* Move jest tests out of __tests__ folder
Without a better idea, i put them in reducers folder, even though they
really span reducers, selectors and actions. They can’t be in the
__tests__ folder or the mocha build breaks.
* rename state param into specific part of state tree, add jsdocs to make this clearer