kibana/test
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
..
dev_certs [devServer] include self-signed certificates for testing 2016-01-19 14:19:25 -07:00
fixtures Exclusion of source fields (#7402) 2016-11-01 10:48:43 -07:00
functional Exclusion of source fields (#7402) 2016-11-01 10:48:43 -07:00
screenshots/baseline Update baseline screenshots with loaded CSS. 2016-06-14 09:37:05 -07:00
scripts [ci] source the setup script instead of executing it 2016-07-05 12:46:53 -07:00
support Exclusion of source fields (#7402) 2016-11-01 10:48:43 -07:00
unit/api Remove other unused Add Data code 2016-09-29 15:14:19 -04:00
utils remove unused dep 2016-03-18 11:53:22 -07:00
visual_regression Create visual_regression test suite. 2016-06-21 20:50:55 -07:00
intern.js Try to fix another staleElementReference in data table test 2016-07-01 17:40:01 -05:00
intern_api.js Add a new GET script languages API endpoint 2016-08-29 11:26:27 -04:00
intern_visual_regression.js Create visual_regression test suite. 2016-06-21 20:50:55 -07:00
mocha.opts [mochaOpts] use full option name 2016-01-13 16:51:29 -07:00
mocha_setup.js [rename] rename all files to snake_case 2016-02-24 12:14:05 -08:00
server_config.js Port #8880 to master Support Cloud testing (#8915) 2016-11-01 10:44:12 -05:00
shield.js Port #8880 to master Support Cloud testing (#8915) 2016-11-01 10:44:12 -05:00