* [npm] upgrade elasticsearch/elasticsearch-browser packages
* [es/patchKibanaIndex] update tests to expect indices.getMapping
* [npm] use ^ version range for elasticsearch(-browser) packages
* [es/patchKibanaIndex/tests] expand assertion
* WIP - add shakespeare data for getting started guide
* Refactor of getLineChartData, getBarChartData, getAreaChartData
* Added changing extents and test
* Fix opening axis options
* Change precision from 8 to 7
* lower precision to 6
* Fix index pattern creation
* update from review, remove comments, add others
* When failure, log URL and save page source
* log Taking screenshot at info level
* Force a failure, then revert this
* [ftr/failureDebugging] create failure debugging service
* Cleanup and create the failure_debug/html dir, strip special chars from filenames
* Remove a debugging log
* refactored replacing invalid filename chars
* Revert forced failing tests
* upgrade EUI to 0.0.25
* remove last reference to TooltipTrigger
* upgraded to EUI 0.0.26
* fix warning, EuiKeyboardAccessible child must have onClick defined
* add launch application to footer, update APM tutorial with applicaton artifacts when APM xpack is enabled
* remove launch and dashboard logic from footer to external component
* return null when url not provided to footer
* make url and label props required
* remove eslint comment
* change dashboard linkLabel
* change panel height from 100 to 20
* scale default height
* change number of grid columns to 48 so there is better control of panel width
* remove input controls resize test since its using EUI components and no longer needs to be functionally tested
* fix dashboard_grid_container test
* clean up rebase artifacts
* scale x and y in panel_state test
* make DASHBOARD_GRID_HEIGHT a constant
* Source filters table
* Updates
* Handle no source filters
* PR feedback
* Fix merge issues
* PR feedback
* PR feedback
* PR feedback
* Upgrade to 3.3.0 which allows us to use Fragments in enzyme tests
* Use EuiInMemoryTable instead
* Remove dead code and simplify some tests
* Dynamically update the matches as the user edits the filter
* Apparently, this has been using the wrong parameter name
* Restructure to stop storing computed data and add reselect helper
* Reselect is tiny, just use that
* PR feedback
* Fix merge issues
* PR feedback
* Fix bugs with Create Index Pattern wizard loading state and createReasonableWait UX helper.
* Fix snapshots and refactor tests for clarity.
* Rename createReasonableWait to ensureMinimumTime, refactor for clarity, and support a time argument.
* Update form error copy.
* Convert EuiTableOfRecords to EuiBasicTable in scripted fields table.
* Convert from EuiBasicTable to EuiInMemoryTable.
* Fix bug with filtering and show 'no items' message when the filter doens't match any scripted fields.
* Filter out any empty items
Registry providers expose a `register` method to allow registration of items into the registry. This method expects as its sole argument an "item registration" function that returns an object representing the item to be registered into the registry. The arguments to this function can be other providers, allowing for dynamic construction of the item object to be returned.
This change will filter out any empty item objects before they are added to the registry. This allows the item registration function to return a falsy value if it needs to decide, dynamically at runtime, not to register an item.
* Adding unit test
* Adding skipEmptyItems spec param
* Using skipEmptyItems spec param when creating FeatureCatalogueRegistry
* Using a more generic approach instead
Now the spec takes an optional `filter` function that can be defined as per the requirements of the specific registry rather than baking in logic for skipping items for all registries into ui/registry itself.
* Renaming var to be more descriptive
* kbn history
* put Add Data section in panel and move to seperate component
* RecentlyAccessed component
* complete circle with recently accessed dashboards
* record visualizations in recent accessed history
* render recently accessed
* do not show recently accessed panel when no recently accessed history
* add test cases for home feature panels
* render dropdown when more than 5 items
* only add saved search when id is provided
* remove border around add data cards, move set up index patterns to under cards
* add dot icon to seperate recently accessed items
* fix white space issues
* add timelion sheet to recently accessed
* fix spelling errors, better name space styles, enhance dropdown label
* avoid cutting off bottom of letters, do not display separators with small screen
* wrap separator (EuiIcon) in EuiText component so it is even link text
* track history by object id to avoid duplicate entries when saved object is renamed
* align link dropdown on right side
* shift popover placement for small screens
* update recently_accessed tests to look for nodes insted of using snapshots
* move id to variable
* change 'Recently accessed' to 'Recently viewed'
* change more dropdown label
* add max-width to flex item
* include /app in link path, use arrow functions to remove bind in react props
* add to recently accessed when saved object is saved
* address cjcenizal's comments on test assertion order and react imports
* Fix one bug with input controls
* Fixed the bug, without tests.
Unfortunately adding a jest test for this would require a bit of
refactoring which I think would fit better in a separate PR, and might
not be worthwhile right now…. so just fixing it to get it in.
* remove left over console log
Previous code passed the index parameter from lodash.map to
readFileSync, so it was essentially the same thing as:
```
map(config.get('server.ssl.certificateAuthorities'), (file, index) => {
return readFileSync(file, index);
})
```
The upgrade to node8 seems to change the behavior and this was causing
an error:
```
FATAL TypeError: "options" must be a string or an object, got number instead.
at getOptions (fs.js:75:11)
at fs.readFileSync (fs.js:549:13)
at server.connection._extends.tls.ca.config.get.map (/Users/tsullivan/code/kibana/src/server/http/setup_connection.js:43:76)
at Array.map (<anonymous>)
at KbnServer.exports.default (/Users/tsullivan/code/kibana/src/server/http/setup_connection.js:43:59)
at KbnServer.mixin (/Users/tsullivan/code/kibana/src/server/kbn_server.js:97:16)
at KbnServer.exports.default (/Users/tsullivan/code/kibana/src/server/http/index.js:20:19)
at KbnServer.mixin (/Users/tsullivan/code/kibana/src/server/kbn_server.js:97:16)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
at Function.Module.runMain (module.js:686:11)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3
optimizer crashed with status code 1
```
This PR fixes the issue by making the mapping through the
certificateAuthorities files with a more explicit handling of the map
items, as well as remove the unnecessary lodash import
* Increase test runs to reliably trigger failure
* Determine where dashboard is failing to pop into view mode
* Drop down to only one check
* Go back to only one run of state tests
* add failing test that would have caught this situation
* Implement onEmbeddableConfigChanged to pick up url changes from soft refreshes
* Add tests for legend and pie slice color as well as removing uiState keys to ensure it resets the config values
* address removing state from url as well as setting it.
* Fix up tests and add a link to the legend issue
* only emit once
* use for in, use better mocked clearAllKeys function
* Remove switch to setSilent
* Adjust test so it fails because of bug found where two charts will both have their slice colors updated
* Embeddable should only listen for changes to their panel's config state
* Default embeddable config to an empty object when creating a new embeddable