Commit graph

14710 commits

Author SHA1 Message Date
Stacey Gammon 469a211483 Create tests for savedobject.js in prep of refactoring and changes (#9127)
* Create tests for savedobject.js in prep of refactoring and changes

* Address code review comments

* Remove needless injector param, replace with es
2016-11-28 09:40:06 -05:00
Stacey Gammon 6d271b04bf Add ability to delete timeline sheets (#9191)
Note there is a bug that already exists in timeline where the
notify.info message disappears immediately.  Not fixing in this PR, but
the delete info message suffers the same bug as the save info message
does already.
2016-11-28 08:47:52 -05:00
Spencer 6f1cd39f65 [server/uiSettings+shortUrl] surface errors from es (#9214)
* [server/uiSettings+shortUrl] surface errors from es

* [uiExports/replaceInjectedVars] update the uiSettings stub

* [uiSettings] correct test cases after moving from 401 -> 403
2016-11-23 16:51:12 -07:00
Spencer 8d003a1675 [status/api] send the kibana version and build info (#9195) 2016-11-23 15:38:20 -07:00
Spencer 9527a8f2ca render-counter directive (#9206)
* [docTable/row] delay first render until watchers initialize

* [docTable/row] emit a renderComplete event, count in table directive

* [renderCounter] unify render counting login into directive

* [docTable] remove unused var
2016-11-23 15:03:47 -07:00
Jonathan Budzenski 0e7b5c7b06 Prevent crashing from incompatible nodes without http when logging (#9181)
* Do not crash for warning and error nodes without http published address

* [es version check] Prevent failure on incompatible nodes without http
2016-11-23 13:18:05 -06:00
Clinton Gormley a0a1fbda56 Fix UI link to filebeat getting started 2016-11-23 17:16:28 +01:00
Peter Pisljar 11f5711aa2 fixing timelion Y axis #9114 (#9197) 2016-11-23 15:02:31 +01:00
Joe Fleming 4556ac3b94 Trigger renderComplete on DOM instead of the Vis (#9176)
* correctly use implementsRenderComplete from vis config

* set implementsRenderComplete on all vis types

* emit on DOM instead of the vis

* vis doesn't need to be an EventEmitter

* listen for renderComplete on visualize

set and update element attributes as the event(s) fire, and indicate if they ever will

* [vislib/handler] fall through to lower return

* [vislibRenderbot/tests] reduce expected call count

* [vis/tests] add $element to test injectors

* [markdownVis] fix test
2016-11-22 09:45:06 -07:00
Thomas Neirynck 31a6cbab6d Add Tag Cloud Visualization
A tag cloud visualization is a visual representation of text data, typically used to visualize free form text. Tags are usually single words. The font size of word corresponds  with its importance.
2016-11-21 17:03:25 -05:00
Spencer 85913ab1fc [draggable] continue to work when debug info is disabled (#9153) 2016-11-21 14:50:35 -07:00
Spencer e62c48d9ae [npm] install deps "global-sytle" (#9136)
Installing dependencies "global-style" creates a top-level directory in `node_modules` for each direct dependency, and then creates a flat tree of dependencies inside each of those.

I prefer this method because it prevents accidentally depending on a dependency of a dependency, and makes it easier to find dependencies in `node_modules`.

Unfortunately the `node_modules` directory will be a little deeper.
2016-11-21 13:51:13 -07:00
Peter Pisljar 5ef7a524c1 fixing error when vis has no spy panel (#9115) 2016-11-21 17:56:06 +01:00
CJ Cenizal f0a8887f7b Update PageObjects for Visualize, Dashboard, and Discover to use data-test-subj selectors for menu items. (#9133)
* Update PageObjects for Visualize, Dashboard, and Discover to use data-test-subj selectors for menu items.

* Run checkPlugins task as part of test:ui:runner task.
2016-11-19 10:08:43 -08:00
trevan 62c2e312a1 Wrap the breadcrumb in a div that has height (#9126) 2016-11-18 13:04:31 -08:00
CJ Cenizal 93a6667bdc brush histogram 2 (#9039)
* support scripted fields

* update column_chart test to check brush for ordered data

* brush histogram

* incorporate changes request by cjcenizal

* fixed typo

* support scripted fields

* update column_chart test to check brush for ordered data

* Fix init_x_axis unit tests.

* add brush_event test

* Fix small timezone bug in brushEvent tests. Polish test descriptions.
2016-11-18 10:23:22 -08:00
Spencer dd46f75b6e Add a method for plugins to add injected vars to every app (#9071)
* [uiExports] add replaceInjectedVars() export type

* [ui] do not assume es plugin is always there

* [server/status] fix typo

* [ui] add errror handling to /app/{id} endpoint

* [ui] add tests for replaceInjectedVars()

* [npm] swap out jsdom with cheerio

* [server/ui] continue extender => replacer rename
2016-11-18 10:35:30 -07:00
CJ Cenizal f1717660a9 Update README with links to resources, and remove old getting started instructions (made redundant by elastic.co getting started guide). (#9104) 2016-11-18 09:30:43 -08:00
CJ Cenizal 96a668be29 Add original message back to loading screen. (#9098)
* Add original message back to loading screen. Run CSS through autoprefixer.

* Make kibanaWelcomeView and kibanaWelcomeLogo styles available to plugins which may need them, by moving them into ui_app.jade.
2016-11-17 11:36:37 -08:00
Jonathan Budzenski 34d7bde075 [plugin cli] Wrap arguments in quotes to preserve whitespace (#8945) 2016-11-17 10:10:24 -06:00
Matt Bargar 5032b91d73 Add a note on multi-statement scripted field limitation (#9090)
Multi-statement scripts are currently incompatible with the way we
create filters on scripted fields. We're investigating the possibility
of enhancing elasticsearch to fix this issue, but we may have to
fallback on showing users a warning if we can't reach an agreement in
the near term.

See https://github.com/elastic/kibana/issues/9024
Related https://github.com/elastic/elasticsearch/issues/21479
2016-11-17 11:00:05 -05:00
Peter Pisljar 3b0cfa5bd3 visualizations emit 'renderComplete' event when done rendering (#8914)
* visualizations emit 'renderComplete' event when done rendering (#8914)
2016-11-17 08:56:03 +01:00
Kevin Kluge d539acf59a Update plugins doc to give compatibility warning (#9109) 2016-11-16 14:42:55 -08:00
CJ Cenizal 1f5d6c8abc Encode embedded loading logo SVG to work in Firefox. (#9089) 2016-11-16 10:12:38 -08:00
a22d236d91 docs: Remove "v" from version in Docker docs 2016-11-16 13:53:56 +11:00
CJ Cenizal 038a8340b8 Add checkPlugins task to check for plugins before running tests. (#8981) 2016-11-15 16:11:03 -08:00
CJ Cenizal 054e9b1f4e Fix favicon links to use paths instead of embedded data. (#8961)
* Move favicon files to ui/public/assets/favicons dir.
* Serve favicons statically from ui directory, using exposeStaticDir.
2016-11-15 15:49:10 -08:00
Court Ewing 1955f7f3a0 docs: add commit and security base links 2016-11-15 16:24:55 -05:00
Jonathan Budzenski b0e0b6a5bf [docs] Add console.enabled to server settings. Closes #9031 (#9036) 2016-11-15 15:32:14 -05:00
Gabriel Moskovicz cfd81a3084 Added server.defaultRoute (#9075)
* Added server.defaultRoute

* Update settings.asciidoc
2016-11-15 13:41:55 -05:00
CJ Cenizal 26c53e8a8d Implement new 5.0 loading screen. (#8970)
* Implement new 5.0 loading screen.
* Remove old Kibana loading gif.
* Add Open Sans font files to public/assets/fonts dir, and remove some unused ones.
* Serve fonts directly from ui directory, using exposeStaticDir.
2016-11-15 10:07:19 -08:00
CJ Cenizal b066807716 Upgrade kibana-ui-framework to 0.0.11. Re-enable clicks on selected Local Nav menu items. (#9068) 2016-11-14 15:23:40 -08:00
Matt Bargar 500d14a282 Speed up rendering of large docs in doc table (#9014)
Back in 2014 a utility was added to insert <wbr> (word break opportunity)
tags into doc table fields to improve their display in the browser. This
utility looped over every character in _source when it was selected as a
column in the doc table, which it was be default. That really started to
slow things down when displaying large docs. We can maintain similar word 
breaking without adding <wbr> tags by adding some css styles that 
do essentially the same job. word-break: break-word gives us the best 
formatting but it's not a part of the standard yet (see link below) so I 
provided an almost-as-good fallback with break-all.

https://bugs.chromium.org/p/chromium/issues/detail?id=492202#c21

Fixes https://github.com/elastic/kibana/issues/6328
Related https://github.com/elastic/kibana/pull/1993
2016-11-14 17:42:58 -05:00
Toby McLaughlin 431e803492 Docs: Fix bad link to {es-ref/docker.html} 2016-11-14 15:50:07 +11:00
Toby McLaughlin da0506e4ae Docs: Using the Docker image (#9060) 2016-11-14 13:43:03 +11:00
CJ Cenizal deec2ebfe3 Remove dark theme when leaving the Dashboard app. Add dark theme for localNav. (#9032)
* Remove dark theme when leaving the Dashboard app.

* Upgrade kibana-ui-framework to 0.0.10: localNav dark theme styles.
2016-11-11 12:57:53 -08:00
Peter Pisljar 86cff9655b Ability to select legend position for tile map visualizations (#8176)
* updating legendPosition to read values from config

* adding legendPosition setting to tile map

* legendPosition for tile map

* adding title to tile map legend

* fixing top left position

* adding text/value to legendPosition options
2016-11-11 09:23:17 +01:00
Spencer c5ae40ca5d [server/logger] downgrade EPIPE errors to debug level (#9023)
* [server/logger] downgrade EPIPE errors to debug level

* fix variable naming
2016-11-10 19:25:19 -07:00
Jonathan Budzenski d91c4c0cfe [docs] Add plugin install instructions for packages. Closes #8845 (#8934) 2016-11-10 14:34:25 -06:00
Jonathan Budzenski 62368435ed Add basepath when redirecting from a trailling slash (#8966) 2016-11-10 13:53:45 -06:00
Peter Pisljar 60e62c7ad2 sorting chart xValues by metric sum (#8397)
* sorting chart xValues by metric sum

* fixing tests

* adding order buckets by value option to point series charts

* fixing tests

* fixing tests

* Updating based on CJs comments and adding documentation
2016-11-09 12:54:59 +01:00
debadair b38a106d39 Docs: Updated Loading Sample Data to download all datasets from S3. Closes #8997 (#8999) 2016-11-08 11:31:37 -05:00
Peter Pisljar a9769e1f49 pie chart doesnt render small slices correctly (#8986)
* pie chart doesnt render small slices correctly
2016-11-08 10:53:30 +01:00
Spencer 438038bd58 [kbnUrl] reload the route when going from "" to "/" (#8815)
* [kbnUrl] reload the route when going from "" to "/"

In timelion the initial route is set to '' which might not be perfectly correct, but works fine. When clicking the "new" button for the first time this causes the route to update from '' to '/', which the kbnUrl service assumes will cause a route change and does not try to force the route to reload. Instead, the router sees this as a noop and the change to the route has no effect unless you click the "new" button a second time.

* [kbnUrl] clarify the purpose _shouldAutoReload

* [kbnUrl] fix the tests
2016-11-07 16:06:36 -07:00
CJ Cenizal d99976995d Add details on how we use Git and GitHub to CONTRIBUTING.md. (#8978) 2016-11-07 11:26:30 -08:00
CJ Cenizal 8bcbad3b88 Remove unused es_bool file. (#8977) 2016-11-07 10:46:42 -08:00
CJ Cenizal f35f6947cb Use lowercase first letters for map coordinate variable names. (#8972) 2016-11-07 09:43:24 -08:00
Joe Gallo 3f2aa6f20c Typo fixes in various descriptions. (#8943)
Affects table_vis, metric_vis, timelion, and settings.
2016-11-07 08:45:09 -08:00
Court Ewing aa69744f67 Allow patch level mismatch between Kibana and Elasticsearch (#8976)
Kibana should be able to run against Elasticsearch nodes that are at the
same minor version regardless of whether they are at the same patch
version. In the event that their patch versions differ, we render a
warning.
2016-11-04 17:01:38 -07:00
spalger bc118d9474 [server/shortUrl] filter out invalid target urls 2016-11-04 08:02:19 -07:00