Commit graph

16320 commits

Author SHA1 Message Date
Spencer
91777d20e3
[6.x] add support for number format internationalization (#14019) (#15132) 2017-11-30 15:42:13 -07:00
Stacey Gammon
3c9fef9620
set last saved filters when a dashboard is saved. (#15311) (#15324) 2017-11-30 17:16:38 -05:00
Spencer
920b5ae716
[6.x] [precommit/casingCheck] enhance casing check for less false-positives (#15102) (#15306)
* [precommit/casingCheck] enhance casing check for less false-positives

* [dev/File] add tests
2017-11-30 14:32:19 -07:00
Stacey Gammon
1f25c56ece
attempt to fix flaky edit visualization link (#15265) (#15312) 2017-11-30 16:27:00 -05:00
Aleh Zasypkin
d3eec6c2b7
Expose angularized debounce through provider function. (#15296) 2017-11-30 20:55:48 +01:00
Spencer
7e1709964f
[6.x] [dev/ci_setup] generalize jenkins_setup script for other CI environments (#15178) (#15303)
* [dev/ci_setup] generalize jenkins_setup script for other CI environments

* [dev/ci_setup] accept more general `CACHE_DIR` env arg

* [dev/ci_setup] node.js install might not be invalid
2017-11-30 10:59:22 -07:00
Tim Roes
3cb873f3c0
Give access to angular $injector via chrome (#15267) (#15292)
* Implement getActiveInjector

* Fix typo in comments

* Rename method to sound more frightening

* Move test utils

* Add more documentation

* Fix typo in comment

* Fix name of method in comments
2017-11-30 15:53:48 +01:00
Stacey Gammon
1c7066d0a5
Add disabled option for kuiContextMenuItems (#15119) (#15271)
* Add disabled option for kuiContextMenuItems

* add jest test to make sure onclick isn't called when disabled is set to tru.
2017-11-30 08:54:40 -05:00
Peter Pisljar
d779fbe745
fixes pie labels for firefox and IE (#15268) (#15284)
fixes pie labels for firefox and IE
2017-11-30 09:27:34 +01:00
Peter Pisljar
9130805235
fix colors of pie labels (for dark theme) (#15266) (#15269) 2017-11-30 08:06:57 +01:00
Peter Pisljar
2ad742f251
removes left over code from the gauge-metric (#15142) (#15258)
removes left over code from the gauge-metric
2017-11-30 08:05:58 +01:00
Thomas Neirynck
dc7345a558
reverts metric visualization (#14052) (#15177) (#14882)
Uses the previous html/css rendering code instead of the svg-based rendering for simple metrics.

This backport required manual edits and js-linting.
2017-11-29 14:40:56 -05:00
Stacey Gammon
7d9d441377
Remove uiState from dashboard - communicate via the panelState instead (#14949) (#15260)
* 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 12:31:07 -05:00
Chris Roberson
daab94b704
Prepend relative urls (#14994) (#15249)
* 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 11:41:54 -05:00
Matt Bargar
cc2ad44e77
Revert #15169 (#15220) (#15256)
Fixes #14159
2017-11-29 11:09:02 -05:00
Peter Pisljar
d8af7cbd06
fixing field formatters for gauge (#15145) (#15242)
* fixing field formatters for gauge
2017-11-29 16:07:27 +01:00
Peter Pisljar
aacd23403a
allows to hide warnings in gauge (#15139) (#15238)
* 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 16:05:16 +01:00
Peter Pisljar
af6a2fc6e2
visualize loader fails in IE (#15150) (#15236) 2017-11-29 16:02:26 +01:00
Peter Pisljar
499199c518
uses maximum space for arc gauge and center aligns it (#15140) (#15232) 2017-11-29 13:38:02 +01:00
Chris Cowan
9705983e07 Fixing typo where OPERATORS was created as an array instead of an object (#15222) 2017-11-28 20:20:49 -07:00
CJ Cenizal
855fe9f200
[UI Framework] Fix IE11 bug which caused kuiToolBarSearch to grow too wide when there is only a single kuiToolBarSection sibling. (#15215) (#15224)
* 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:52:19 -08:00
Søren Louv-Jansen
5ddc824284
[Chrome] Bootstrap Angular into document.body (#15158) (#15207) 2017-11-28 23:13:06 +01:00
Matt Bargar
3cf1a89221
Query the index defined default_field when a field isn't explicitly provided (#15101) (#15210)
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 16:35:22 -05:00
Nathan Reese
375c0764c3
[timelion] provide argument suggestions when argument name not provided (#15081) (#15193)
* 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 13:59:30 -07:00
Stacey Gammon
048e7a922f
Clean up dashboard padding and coloring (#14811) (#15205)
Fixes some coloring issues with dashboards with the new margin settings. Makes everything consistent between mode / theme.
2017-11-28 15:45:31 -05:00
Jonathan Budzenski
5ad0cda0d7
Bump react-grid-layout (#15067)
* Bump react-grid-layout

* Restore getSelection mock after test
2017-11-28 14:28:09 -06:00
Stacey Gammon
958a4f6026
Fix issue with storing the error object, not string, add tests (#15085) (#15199) 2017-11-28 13:03:49 -05:00
Thomas Neirynck
536903aeeb
fix comparison (#15176) (#15192)
This fixes the labs behavior.
2017-11-28 11:52:10 -05:00
Tim Roes
eebf5cb9a3
Update brace to 0.10.0 (#15060) (#15111) 2017-11-28 14:13:57 +01:00
Tim Roes
781ce559cc
Add tests and docs for the updateOldState function (#15112) (#15183)
* Add tests for updateOldState function

* Document the updateOldState method

* Add TODO for 'old' updateVisualizationConfig
2017-11-28 14:13:38 +01:00
Tim Roes
3bdcb21c47
Add functional tests, that banner is shown (#15121) (#15181) 2017-11-28 12:40:12 +01:00
Tim Sullivan
b228008b53
[Logging] more tests and added robustness to log formatting (#15035) (#15161)
* [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 16:35:59 -07:00
Matt Bargar
3ada261d98
Temporarily disable scripted field filter tests (#15169) (#15173)
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:57:58 -05:00
Chris Cowan
1183f35bc3 [TSVB] Add params._interval to mathjs (#14944)
* [TSVB] Add params._interval to mathjs

* Fixing tests
2017-11-27 11:24:26 -07:00
Chris Cowan
5c87ab8fa1 [TSVB] Stacked series should not contain null values (#14923) 2017-11-27 11:21:04 -07:00
Brandon Kobel
855b424cae
Revert "Adding libesvm@3.8.8 as a devDependnecy to workaround a bug in 3.8.9 (#15113)" (#15118) (#15129)
This reverts commit a5c6fb443c.
2017-11-27 09:07:51 -05:00
CJ Cenizal
6dc4130627
Fix spacing beneath Visualize Wizard step 1 title. (#15136) (#15137) 2017-11-22 21:03:41 -08:00
trevan
e7ca60014a Grab the default index pattern and use it in TSVB (#14739) 2017-11-22 17:17:49 -07:00
Chris Cowan
9308497c8d [TSVB] Changing the behaivor of getLastValue to get the actual last value (#14919) 2017-11-22 16:21:43 -07:00
CJ Cenizal
4e2832d061
[UI Framework] Add support for wrap prop to FlexGroup (#15009) (#15128)
* Migrate KuiFlexItem numeric grow prop from EUI.
* Loop through FlexGroup gutter size modifiers.
* Add wrap prop to FlexGroup.
2017-11-22 12:27:39 -08:00
CJ Cenizal
1f6af2e792
Fixes require statements to use explicit loader statements (#14725) (#15126) 2017-11-22 12:11:45 -08:00
jimgoodwin
891a1818b6 bump version to 6.2.0 2017-11-22 14:46:02 -05:00
Chris Roberson
b86e5c5516
[Management] Handle CCS better in index pattern creation (#15064) (#15105)
* Handle ccs better

* Fix test

* Even safer

* Use lodash get
2017-11-22 14:23:22 -05:00
Spencer
1b3072d269
[6.x] Improve performance of sort_prefix_first for large arrays (#14974) (#15104) 2017-11-22 12:21:15 -07:00
CJ Cenizal
8c12c6b24f
Create toggleEditingQueryDsl and isQueryDslEditorVisible methods for clarity. Fix bug with Query DSL Editor not initially displaying due to Ace editor not being updated. (#15087) (#15123) 2017-11-22 11:18:20 -08:00
lcawley
8ac2661b67 [DOCS] Updated version to 6.2 2017-11-22 09:13:00 -08:00
Brandon Kobel
3877f5f3d1
Adding libesvm@3.8.8 as a devDependnecy to workaround a bug in 3.8.9 (#15113) (#15115) 2017-11-22 09:31:10 -05:00
Tim Roes
d415c36935
Fix broken function call (#15107) (#15108) 2017-11-22 09:07:15 +01:00
Spencer
466fb4b010
[6.x] [savedObjects] Use index template (#14271) (#15103)
* [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 18:26:29 -07:00
Spencer
8f4a61d166
Fix fieldFormat plugins (#14984) (#15096)
* [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 17:04:44 -07:00