Commit graph

14686 commits

Author SHA1 Message Date
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
Thomas Neirynck
05c12bbdd3 Map should not publish invalid bounding box (#8959)
When the bounding box has 0 width or height, it doesn't enclose an area. If it is added as a filter, ES will reject it as invalid.

Renamed some variables for clarity.
2016-11-04 06:41:56 -04:00
Matt Bargar
653fbb5f17 Avoid printing notify object in lang selector on error (#8639)
When ES is unavailable and we can't get the list of enabled scripting
langs we display a notification to the user. We were also accidentally
returning that notification object from the service method and
displaying its toString representation in the language select drop down.
Now we simplay return an empty array so the dropdown is rendered without
options.

Fixes https://github.com/elastic/kibana/issues/8636
2016-11-03 18:34:10 -04:00
CJ Cenizal
b2e3e5e362 Add missing padding to Timelion title. (#8919) 2016-11-03 11:36:11 -07:00
CJ Cenizal
80aaaf2872 Add preprocessor-related rules to CSS style guide. (#8921) 2016-11-02 10:44:18 -07:00
Jonathan Budzenski
090f74941c [license] Fix amdefine check (#8935) 2016-11-02 12:50:00 -04:00
Court Ewing
7dae7bde27 Current styleguide conventions with modern JS (#7435)
The existing styleguide was in great need of a rewrite as it did not
reflect the conventions we're using in the codebase or even the best
practices that we follow. In some cases, the guidance it provided was
outright contrary to our current practices.
2016-11-01 21:22:59 -04:00
CJ Cenizal
69849b0246 Deconcatenate selectors in Pipelines and Timelion. (#8922) 2016-11-01 11:24:12 -07:00
gmarnin
19db0a95fe Fixed Kinana typo (#8901) 2016-11-01 11:17:46 -07:00
Stéphane Campinas
0b877f6313 Exclusion of source fields (#7402)
* added source filtering

* ditched the new 'retrieved fields' tab and added checkbox to exclude a field in the field control

* disable field exclusion checkbox if field is a metafield

* [indexPattern] copy excluded field property when refreshing fields

* [indexPattern/field] move isMetaField consideration into Field

* [indexPattern/edit] invert the "retreived" column, for accuracy

* [indexPattern/field] touchup the field.exclude message

* Fix typo

* [indexPattern] handle index patterns without fields

* [courier/searchSource] auto add source filter for index pattern

* [docTable] remove irrelevant test about source filtering

* [settings/indices] cleanup imports

* [settings/indexPattern/fields] add "field filters" tab

* [imports] fix old testUtils import

* [ui/fieldWildcard] add lib to match names based on field-style wildcards

* [settings/fieldFilters] list filter matches, remove excluded fields from fieldata_fields

* [fieldWildcard] properly escape regexp control chars

* [settings/indexPatterns] mark fields excluded if they match an exclude pattern

* [fieldWildcard] properly bind the regexp to the ends

* [indexPattern] remove unneeded lodash chain

* [settings/indices] use settings-indices- prefix for tab direcives

* corrected rebase on master

* Do not match exclusion on meta/scripted fields. Disable filter bar when on 'Filter fields' tab. Removed exclusion checkbox in the field controls page. Corrected typos. Improved documentation phrasing.

* corrected error in merge with _index_pattern

* removed unused code

* added missing fieldFilters to test dumps

* corrected merge with master

* removed default empty array in the index pattern schema, and check if fieldFilters exists

* restricts the source with the exclusion patterns set for that index pattern

* renamed field filters to source filters and explicitely retrieve the source in the doc controller

* renamed variables/moved files from field filters to source filters

* Renamed _field_types.js to _edit_sections.js to better reflect what it is for. Corrected editting typo. Renamed exclude column name to excluded. Corrected HTML styling. Removed unused config parameters in field_wildcard.

* Removed lines that were specifying the _source field since they were made unnecessary by https://github.com/elastic/kibana/pull/7402/files#diff-d1695ba2026ff89878f9e4f4de683758R50

* moved fielddata_fields source filtering to where it is initialized

* two-column layout for the source filters indices section

* corrected tests

* use the same table layout as in the other index sections.
Filter input correctly restricts source filters.
Do not match .keyword fields.

* Filter out .raw suffix from possible matches.
Removed unused HTML file.
Corrected bug that allowed to save an empty source filter.

* exclude is deprecated, should be excludes

* improved description

* changed as per code review

* removed filtering logic for keyword and raw fields
2016-11-01 10:48:43 -07:00
Lee Drengenberg
8ed3b333b0 Port #8880 to master Support Cloud testing (#8915)
* Support Cloud Kibana UI testing master

* Add xpack file

* cherry-pick 9f63224e77
2016-11-01 10:44:12 -05:00
CJ Cenizal
59d65fd672 Fix bug where the loading indicator was wider than the screen (#8854)
* Fix bug where the loading indicator was wider than the screen, allowing you to drag a dashboard panel very wide and break the UI.
* Refactor kbnLoadingIndicator to be a standalone component.
* Make loadingIndicator fixed position so it doesn't disrupt the layout when it appears and disappears.
* Uncouple from .spinner styles.
* Set a max-width on it.
* Rename Common PageObject getSpinnerDone method to isGlobalLoadingIndicatorHidden.
2016-10-31 16:08:38 -07:00
Matt Bargar
25e995eb60 Allow more than match queries in custom filters (#8614)
If a user attempted to create a custom filter without a match query
Kibana would error out because it assumed all queries were match
queries. This adds a stricter conditional so that we only attempt to
read the match config if a match property actually exists.
2016-10-31 17:10:44 -04:00
Thomas Neirynck
5a8aaa29e8 Toggling spy panel no longer throws an error (#8877)
Complete existence check of highlight-handler, before using it
2016-10-31 16:45:52 -04:00
debadair
a5d2b4d973 Docs: Cleaning up Discover to match UI. (#8849) 2016-10-31 10:13:41 -04:00
Alvaro del Castillo
3afdf874b6 Fix small typo: arugments -> arguments (#8892) 2016-10-30 10:34:58 -04:00
Peter Pisljar
4755a39a7d Do not use angular debug mode unless in development (#7929)
* fix #7125 - disable angular debug info
2016-10-29 17:12:51 +02:00
Peter Pisljar
9b5a96e034 [build] Check SHA sum of downloaded node package (#7746)
* fix #7136 - check SHA of downloaded node binaries
* skips download if --skip-node-download cli argument is present
2016-10-29 17:10:46 +02:00
Spencer
adc95d0955 trim down test harness, remove StackTraceMapper (#8146) 2016-10-28 14:12:48 -07:00
Spencer
908da97953 [elasticsearch] remove SetupError class (#8848) 2016-10-28 10:17:54 -07:00
Spencer
c5ca1604ff Prevent excessive ES version warnings (#8865)
* [es/versionCheck] prevent spamming logs with compatibility warnings

* [es/versionCheck] clarify new var and reason for check

* [es/versionCheck] explain why we need to track per-server
2016-10-28 08:52:48 -07:00
marcelhallmann
409a30ba37 Add coloring for string fields, closes #6537 (#8597)
* #6537 add color formatting for string fields

* #6537 adjust test

* #6537 adjust check

* #6537 add simple check to enable coloring in viz (data table), too

* #6537 call the field formatter instead of the toString() function

* #6537 add some tests for coloring string fields

* #6537 better default value for regex field

* [stringify] track field type in params
2016-10-28 07:39:18 -07:00
Brandon Kobel
62d40bce3c Specifying the utf-8 charset when exporting aggregate tables (#8662)
* Specifying the utf-8 charset when exporting aggregate tables
2016-10-28 09:40:41 -04:00
Thomas Neirynck
8f1d6e7c3f Merge pull request #8844 from scampi/spy-fullscreen
corrected spy fullscreen mode
2016-10-28 09:18:06 -04:00
Stéphane Campinas
04034707da
removed guard-clauses 2016-10-28 10:02:23 +01:00