Commit graph

14672 commits

Author SHA1 Message Date
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
CJ Cenizal
35fc5f40a3 Merge pull request #8859 from cjcenizal/improvement/css-style-guide-references
Add BEM references to CSS style guide.
2016-10-27 12:12:31 -07:00
CJ Cenizal
bbf948ed1a Add BEM references to CSS style guide. 2016-10-27 12:09:03 -07:00
CJ Cenizal
a598c8b2c7 Merge pull request #8857 from cjcenizal/improvement/css-style-guide-state-class-convention
Fix CSS style guide state class naming convention to be camel case.
2016-10-27 11:59:29 -07:00
CJ Cenizal
bc1b49b88e Fix CSS style guide state class naming convention to be camel case. 2016-10-27 11:54:40 -07:00
Spencer
7e4d42d54f Merge pull request #8734 from spalger/implement/get-field-options
Unify getting fields for aggs, and filter scripted fields for significant terms agg
2016-10-27 11:46:34 -07:00
spalger
7205993507 [aggParams/field] use a more descriptive warning 2016-10-27 11:38:36 -07:00
Court Ewing
7e0eebfb27 docs: Use correct x-pack url in plugin example 2016-10-27 13:28:53 -04:00
Court Ewing
1befc57384 docs: Kibana repo for issues/prs instead of ES 2016-10-27 09:42:21 -04:00
CJ Cenizal
2e89ced6ef Merge pull request #8679 from cjcenizal/experiment/ui-framework-css
Integrate UI Framework
2016-10-26 21:40:36 -07:00
CJ Cenizal
b5444c41c8 Integrate Kibana UI Framework CSS.
- Migrate to new localNav component and subcomponent styles.
- Add support for multi-slot transclusion to kbnTopNav.
- Update Dashboard, Discover, Management, Visualize, Dev Tools, Timelion to use kbnTopNav consistently.
- Update these apps to also display localNavDropdowns consistently, including Timepicker (this mostly meant adding titles).
- Add checkLicenses npm script.
- Add .fullWidth utility class and use it to make search forms 100% width.
2016-10-26 21:39:47 -07:00
Rashid Khan
d40b6beaad Merge pull request #8842 from rashidkpc/performance/spinner
Spinner performance. Use translate instead of positioning.
2016-10-27 10:56:41 +09:00
Stéphane Campinas
a092f15175
corrected spy fullscreen mode 2016-10-26 10:22:58 +01:00
Rashid Khan
eb10f95733 Improve spinner performance 2016-10-26 16:30:12 +09:00
debadair
835432e6e2 Docs: Cleaning up GSG to match UI. (#8840)
* Docs: Cleaning up GSG to match UI.

* Docs: Updated annotated discover screen cap.
2016-10-25 23:44:55 -04:00