Commit graph

16322 commits

Author SHA1 Message Date
Tyler Smalley
359ce96105
Fixes issue with Keystore's stdin option (#15221)
Fixes issue preventing stdin option from being used
Using create to overwrite should reset keystore
2017-11-29 15:59:17 -08:00
Stacey Gammon
455cdf0955
Add disabled option for kuiContextMenuItems (#15119)
* Add disabled option for kuiContextMenuItems

* add jest test to make sure onclick isn't called when disabled is set to tru.
2017-11-29 16:51:10 -05:00
Bhavya RM
215d567f46
Kibana home page tests (#15098)
Couple of tests to make sure Kibana home page isn't breaking.
2017-11-29 16:24:00 -05:00
Peter Pisljar
1f4ae7f29e
fix colors of pie labels (for dark theme) (#15266) 2017-11-29 20:14:04 +01:00
Nathan Reese
c579677bf9
[input controls] Horizontal layout (#14918)
* input controls horizontal layout

* fix controlWidth calculation

* add functional test to ensure panel resizing changes layout

* use all caps for consts, add more comments about where values came from

* replace sleeps in functional tests with retry

* use KuiFlexGroup with wrap option instead of manually calculating widths

* remove no longer used min width constants
2017-11-29 10:28:07 -07:00
Stacey Gammon
cd92cff665
Remove uiState from dashboard - communicate via the panelState instead (#14949)
* Remove uiState from dashboard - communicate via the panelState instead

* migrate old app state from the url

* Add comment about migration and why the unused uiStateJSON field is kept around still
2017-11-29 11:26:14 -05:00
Peter Pisljar
1bc1516009
removes left over code from the gauge-metric (#15142)
removes left over code from the gauge-metric
2017-11-29 17:21:21 +01:00
Matt Bargar
f6b0623b37
Revert #15169 (#15220)
Fixes #14159
2017-11-29 11:06:10 -05:00
Chris Roberson
d06ee13ab8
Prepend relative urls (#14994)
* Add url whitelist

* Use .some

* Add/fix tests

* Add browser tests

* Initial pass

* Different approach, and more tests

* Fix linting issues

* Special case relative urls starting with `#`

* Handle root relative link too

* Try this another way

* Reapply my changes
2017-11-29 10:28:30 -05:00
Peter Pisljar
e9bd952f9b
fixing field formatters for gauge (#15145)
* fixing field formatters for gauge

* fixing the if statement

* using lodash _.has for the if statement

* adding selenium test
2017-11-29 13:18:45 +01:00
Peter Pisljar
b787206986
allows to hide warnings in gauge (#15139)
* allows to hide warnings in gauge

* should default to true if option is not set

* fixing based on review

* default for isDisplayWarning needs to be applied, else it fails
2017-11-29 13:17:08 +01:00
Peter Pisljar
ed4fab7b1a
visualize loader fails in IE (#15150) 2017-11-29 13:08:21 +01:00
Peter Pisljar
f36e13fa47
uses maximum space for arc gauge and center aligns it (#15140) 2017-11-29 12:16:27 +01:00
Chris Cowan
b883271d43
Fixing typo where OPERATORS was created as an array instead of an object (#15222) 2017-11-28 20:19:02 -07:00
CJ Cenizal
4539449ac5
[UI Framework] Fix IE11 bug which caused kuiToolBarSearch to grow too wide when there is only a single kuiToolBarSection sibling. (#15215)
* Fix IE11 bug which caused kuiToolBarSearch to grow too wide when there is only a single kuiToolBarSection sibling.
* Fix bugs with KuiListingTableToolBar rendering empty sections. Update docs example to demonstrate a tool bar with a search and a section.
2017-11-28 14:45:50 -08:00
Jonathan Budzenski
4de1bbd334
Bump react-grid-layout (#15067)
* Bump react-grid-layout

* Restore getSelection mock after test
2017-11-28 14:27:22 -06:00
Matt Bargar
c7ce51b5f8
Query the index defined default_field when a field isn't explicitly provided (#15101)
In 7.0 ES put a limit on the number of fields that a query can expand to. Since a search term without an explicit field selection hits all fields by default, a kibana user could get an error if the index they're searching against has more than 1024 fields. With lucene, the ES admin could fix this by changing the default_field in their index settings. Kuery still had a problem though, because multi_match did not support default_field. The ES team kindly added default_field support to multi_match for us, so this PR updates Kuery to rely on default_field when a user submits a query without an explicit field.
2017-11-28 13:51:19 -05:00
Søren Louv-Jansen
f343059597
[Chrome] Bootstrap Angular into document.body (#15158) 2017-11-28 19:44:33 +01:00
Stacey Gammon
b81fd782c7
Fix issue with storing the error object, not string, add tests (#15085) 2017-11-28 12:07:39 -05:00
Nathan Reese
074d7cef8c
[timelion] provide argument suggestions when argument name not provided (#15081)
* get wiring done for timelion application functional tests

* add tests for expression type ahead functions, arguments, and argument values

* provide argument suggestions when argument name not provided

* updates from cjcenizal review
2017-11-28 08:51:11 -07:00
Thomas Neirynck
50a53729ef
fix comparison (#15176)
This fixes the labs behavior.
2017-11-28 10:39:53 -05:00
Tim Roes
4f69c7a4b8
Add tests and docs for the updateOldState function (#15112)
* Add tests for updateOldState function

* Document the updateOldState method

* Add TODO for 'old' updateVisualizationConfig
2017-11-28 12:42:16 +01:00
Tim Roes
6584c6d5b2
Add functional tests, that banner is shown (#15121) 2017-11-28 10:16:00 +01:00
Matt Bargar
2911418677
Temporarily disable scripted field filter tests (#15169)
Commenting out 4 tests that are failing due to elastic/elasticsearch#26760 so we can bump ESVM snapshots. We'll need to revert this PR once elastic/elasticsearch#26760 is fixed.
2017-11-27 16:30:02 -05:00
Chris Cowan
a258f1af44
[TSVB] Add params._interval to mathjs (#14944)
* [TSVB] Add params._interval to mathjs

* Fixing tests
2017-11-27 11:23:51 -07:00
Chris Cowan
0d92568229
[TSVB] Stacked series should not contain null values (#14923) 2017-11-27 11:20:37 -07:00
Tim Sullivan
0e7c426867
[Logging] more tests and added robustness to log formatting (#15035)
* [Logging] more tests and added robustness to log formatting

* empty string for default error message, along with TODO question comment

* try to use stack trace from error when there is no error message

* simplify using the stack as the default error message

* destructure get from lodash

* default no-message to static string instead of error stack

* fix tests
2017-11-27 09:43:20 -07:00
Jonathan Budzenski
ee4828b726
Remove node fallback from kibana-keystore (#15066) 2017-11-27 10:11:38 -06:00
CJ Cenizal
8a79f25b83
Fix spacing beneath Visualize Wizard step 1 title. (#15136) 2017-11-22 21:01:21 -08:00
trevan
33c8111d02 Grab the default index pattern and use it in TSVB (#14739) 2017-11-22 17:17:19 -07:00
Chris Cowan
3b9cb50c10
[TSVB] Changing the behaivor of getLastValue to get the actual last value (#14919) 2017-11-22 16:20:51 -07:00
Fabien Baligand
0420cd70eb add support for number format internationalization (#14019) 2017-11-22 15:33:11 -07:00
Brandon Kobel
ef609ae656
Revert "Adding libesvm@3.8.8 as a devDependnecy to workaround a bug in 3.8.9 (#15113)" (#15118)
This reverts commit a5c6fb443c.
2017-11-22 16:27:29 -05:00
CJ Cenizal
a2f08677e5
[UI Framework] Add support for wrap prop to FlexGroup (#15009)
* Migrate KuiFlexItem numeric grow prop from EUI.
* Loop through FlexGroup gutter size modifiers.
* Add wrap prop to FlexGroup.
2017-11-22 11:19:45 -08:00
CJ Cenizal
3fb3511563
Create toggleEditingQueryDsl and isQueryDslEditorVisible methods for clarity. Fix bug with Query DSL Editor not initially displaying due to Ace editor not being updated. (#15087) 2017-11-22 11:14:18 -08:00
Jonathan Budzenski
218986c07e
Create separate startup scripts for development and production (#13806)
* Use separate startup scripts for development and production

* build kibana directly

* [build] Use downloaded node when pre-optimizing

* clearer variable name

* Add breaking changes docs
2017-11-22 12:49:37 -06:00
Brandon Kobel
a5c6fb443c
Adding libesvm@3.8.8 as a devDependnecy to workaround a bug in 3.8.9 (#15113) 2017-11-22 09:28:23 -05:00
Tim Roes
b31f736084
Update brace to 0.10.0 (#15060) 2017-11-22 12:01:14 +01:00
Tim Roes
2452206a42
Fix broken function call (#15107) 2017-11-22 09:05:55 +01:00
Chris Roberson
a2737cdccf
[Management] Handle CCS better in index pattern creation (#15064)
* Handle ccs better

* Fix test

* Even safer

* Use lodash get
2017-11-21 20:13:14 -05:00
trevan
6c751f9b46 Improve performance of sort_prefix_first for large arrays (#14974) 2017-11-21 17:11:31 -07:00
Spencer
90e2aa001b
[savedObjects] Use index template (#14271)
* [es][savedObjects/index] put template on each savedObject write

The elasticsearch plugin currently checks for the Kibana index on each iteration of the healthCheck, and creates it if it does not exist. This removes that step from the healthCheck and instead, before each savedObject is written to elasticsearch, ensures that Elasticsearch has the necessary index template should the write result in index creation.

The healthCheck still has the `patchKibanaIndex()` logic, which checks the type in the Kibana index and adds any missing types. This step now does nothing when the Kibana index does not exist, and does what it has always done when it does.

* [ftr] remove unused kibanaIndex service

(cherry picked from commit b1ef897dafeb6d43fe279776e44a9d793a389dc3)

* [savedObjects/integration] create now creates kibana index

* [es/healthCheck] remove use of format()

* [es/healthCheck/tests] use sinon assertions

* [es/patchKibanaIndex] test for kibana index missing behavior

* [savedObjects/errors] add tests for EsAutoCreateIndexError

* [savedObjects/config] deprecate and remove savedObjects.indexCheckTimeout config

* use dangling commas consistently

* [ui/error_auto_create_index] fix class names

* [ui/savedObjectsClient] no need to specify basePath

* [eslint] fix linting issue
2017-11-21 17:05:46 -07:00
Lukas Olson
cd1a49c392
Show nothing for match all query (#14644) 2017-11-21 15:53:39 -07:00
gchaps
28a736aa0b
Change may to might in Readme (#15099)
For localization, might is a better term than may.
2017-11-21 14:18:42 -08:00
Spencer
e1f2336674
Fix fieldFormat plugins (#14984)
* [ui/registry] allow custom provider invokation

* [fieldFormats] define custom formats as functions of FieldFormat class

* [fieldFormats/registerFieldFormat] call format creator to get class

* [fieldFormats/fieldFormatsService] fix tests

* [fieldFormats/registerFieldFormat] add tests

* [metrics/tickFormatter] fix import from test
2017-11-21 13:32:27 -07:00
Nathan Reese
16de1e863d
feature directory copy (#15047)
* feature directory copy

* update home page copy

* icons - ya

* saved objects icon
2017-11-21 13:24:59 -07:00
Nathan Reese
c584123abe
IndexedArray - ignore case when ordering array (#15069)
* update IndexedArray sorting to ignore case

* remove _.cloneDeep because it removes functions from objects

* use slice to avoid sorting original array

* use spread operator for copying arrays

* Convert all values into strings to avoid complicated logic
2017-11-21 13:24:45 -07:00
Stacey Gammon
45eaa09b9a
add some new tests that the uiState migration in the url will benefit from (#15063) 2017-11-21 15:07:58 -05:00
Peter Pisljar
4e982c0a6d
Introduce lab mode for visualizations (#15050)
* apply patch

add styling

remove cruft

split up concept of experimental and labs

adjust wording

* improve wording

* improve wording & punctuation. remove concept of feedback-url

* remove duplicate labeling between labs/experimental; resolve some typos

* merging isExperimental and isLabs flags to a stage setting

* adding the option to override feedback message back (and improving it)

* updating the docs

* change text labs to lab

* visualize:enableLabsVisualizations to visualize:enableLabs

* fixing github link
2017-11-21 20:49:24 +01:00
Tim Roes
6e1faea678
Adding scope to all table headers, fix #12401 (#15079)
* Add scope for all th in Kibana

* Add scope to <th> in ui framework

* Update jest snapshots with scope

* Fix wrong usage of colgroup
2017-11-21 20:48:58 +01:00