Commit graph

1662 commits

Author SHA1 Message Date
Spencer
424309cdb2 Merge pull request #3577 from spalger/ignorePrivateFields
Tweak hit flattening
2015-05-01 12:22:33 -07:00
Spencer
96ed33043d Merge pull request #3671 from rashidkpc/experiment/leaflet-filter
Tile map geo_bounding_box filter
2015-05-01 12:04:06 -07:00
Joe Fleming
44c499e157 remove watchFilters, no longer used 2015-05-01 11:52:26 -07:00
Spencer Alger
70c614a987 [indexPattern/flattenHits] added tests to prove f79aa5fd77 2015-05-01 11:49:06 -07:00
Joe Fleming
cd4b4ac385 Merge branch 'master' into pinned-filters
Conflicts:
	src/kibana/components/watch_multi.js
2015-05-01 10:49:18 -07:00
Spencer Alger
797ff39933 Merge branch 'add/yAxisFormatter' into fieldFormatting 2015-05-01 10:47:40 -07:00
Spencer Alger
c4408feb8a Merge branch 'master' of github.com:elastic/kibana into ignorePrivateFields 2015-05-01 10:46:23 -07:00
Joe Fleming
f5150083d6 Merge pull request #3685 from spalger/fix/multiWatchRaceCondition
[$multiWatch] simplified the code and fixed a race condition
2015-05-01 10:44:10 -07:00
Spencer Alger
c0b87d9995 [docTable/tests] move init logic inside of a test suite 2015-05-01 10:35:53 -07:00
Spencer Alger
12b72a6930 fixin some tests 2015-05-01 10:35:35 -07:00
Spencer Alger
fa41afceb2 [fieldFormat] implement highlighting
Asking for a formatted field of contentType 'html' will now highlight the formatted html
when appropriate. In order to do this the format converter function must be passed
the field and hit that corelate to the value. This makes the code read a bit like this:

var convert = field.format.getConverterFor('html');
var formatted = convert(value, field, hit);

The field and hit arguments are not required if highlighting is not desired (like when
formatting results that are not search hits).
2015-05-01 10:35:06 -07:00
Spencer Alger
ed667d8661 [stringify/source] added basic _source format 2015-05-01 10:34:47 -07:00
Spencer Alger
c90996e7e7 [fixture/hits] wrap in private
wrapping to prevent sharing modifications. Since Private effectively clones
the hits per test, changes made by one test can't impact another
2015-05-01 10:34:43 -07:00
Spencer Alger
b7e35e6737 [ObjDefine] support phantomjs dispite https://github.com/ariya/phantomjs/issues/11856 2015-05-01 10:34:40 -07:00
Spencer Alger
a1af9d40a0 Merge branch 'master' into fieldFormatting 2015-05-01 10:34:23 -07:00
Spencer Alger
f9ae669e79 [flattenHit] [formatHit] [stubbedIndexPattern] update tests 2015-05-01 10:33:14 -07:00
Spencer Alger
0a7596149c [vislib/yAxis] calculate the tickFormat when it is used 2015-05-01 10:19:48 -07:00
Joe Fleming
4ac5d97329 remove scope.apply
jquery loading race condition was fixed
2015-05-01 10:19:26 -07:00
Joe Fleming
b5b406ffb5 Merge branch 'master' into pinned-filters 2015-05-01 10:18:49 -07:00
Spencer Alger
babcf342ba [test runner] angular requires that jquery loads first 2015-05-01 09:59:15 -07:00
Joe Fleming
3359b76796 make the filterbar tests pass
there was a strange race condition that seemingly only adding a next tick would fix

le sigh
2015-04-30 17:48:35 -07:00
Joe Fleming
3e821580c3 remove all the old, no longer used filter_bar tests 2015-04-30 16:18:23 -07:00
Rashid Khan
8a28a2bb2f test no data condition for buttons 2015-04-30 16:03:26 -07:00
Joe Fleming
a2913d680c add tests for getting specific state filters 2015-04-30 16:01:47 -07:00
Joe Fleming
c79f2c12a8 add tests for pinning filters, fix force and pinAll bugs 2015-04-30 16:01:18 -07:00
Rashid Khan
1d35ea8d31 Add tests, speed up tilemap tests 2015-04-30 15:47:24 -07:00
Chris Cowan
29a10dba59 Adding comments and making it so plugins can publish config settings 2015-04-30 15:27:11 -07:00
Joe Fleming
42248393d9 add tests for filter inverting 2015-04-30 14:51:46 -07:00
Joe Fleming
3ef527f170 add tests around filter toggling 2015-04-30 13:44:51 -07:00
Joe Fleming
67daea5493 add tests for removing filters 2015-04-30 11:57:40 -07:00
Shelby Sturgis
0cbcb99be6 Merge branch 'master' into fixed_scales
Conflicts:
	src/kibana/plugins/vis_types/controls/vislib_basic_options.html
	src/kibana/plugins/vis_types/vislib/area.js
	src/kibana/plugins/vis_types/vislib/histogram.js
	src/kibana/plugins/vis_types/vislib/line.js
2015-04-30 14:44:47 -04:00
Shelby Sturgis
7ba54eca2f removing duplicate file, adding functionality for choosing min and max values for y-axis using HTML5 validation 2015-04-30 14:04:19 -04:00
Chris Cowan
2ef713170e Merge branch 'master' of github.com:elastic/kibana into feature/hapi-server 2015-04-30 10:36:48 -07:00
Joe Fleming
158fd830a8 restructure queryFilter tests, add tests
added tests around adding filters, moved mutate test to adding filters tests
2015-04-30 09:01:12 -07:00
Juan Thomassie
93478d8997 Merge branch 'master' into tilemap-heatmap 2015-04-30 10:18:19 -05:00
Juan Thomassie
9f4b405987 removed methods, formatter, styles, params related to #3717 tilemap-tooltip 2015-04-30 10:02:42 -05:00
Spencer Alger
9caa81482c [object.routes] move away from precomputed routes
A circular dependency was discovered in the Doc AppController tests, because it was stubbing
$route and required the IndexPattern class. The dependency path was something like:

$route -> IndexPattern -> Field -> kbnUrl -> $route

While investigating solutions for this I noticed two things: we require kbnUrl both
in the object classes where urls are precomputed and in the controllers/directives
where we redirect/change the url, we needed error-prone logic to recompute the urls
when their dependencies change.

To simplify things and solve the circular dep, the indexPattern and field objects now just
expose a .routes property that has named route patterns. These patterns expect to receive
the object they describe in order to create the route. kbnUrl was also updated with helper
functions for this:

```
kbnUrl.getRouteUrl(indexPattern, 'edit') -> '#/settings/indices/logstash-*'
kbnUrl.redirectToRoute(indexPattern, 'indexedFields')
kbnUrl.changeToRoute(field, 'edit')
```
2015-04-30 03:16:57 -07:00
Joe Fleming
42184fa023 move filter reconcile code to watchers
update tests to crank the digest loop so matching filters are reconciled
2015-04-29 16:08:53 -07:00
Joe Fleming
7955cf61ff fix matching enable issue in filter manager, add test 2015-04-29 15:41:31 -07:00
Spencer Alger
874c32e01b [fieldFormat] refactor contentTypes, text is now the default 2015-04-29 14:55:19 -07:00
Spencer Alger
9e8eb3aecb [indexPattern] added support for per-field formatting to help discover performance 2015-04-29 13:49:00 -07:00
Chris Cowan
76ddea6e99 Completing plugin system 2015-04-28 20:21:28 -07:00
Shelby Sturgis
7b9d9a4bed Merge branch 'master' into fix/3604
Conflicts:
	src/kibana/plugins/vis_types/controls/vislib_basic_options.html
2015-04-28 22:51:03 -04:00
Shelby Sturgis
d945156cf5 Merge branch 'master' into enhancement/3155
Conflicts:
	src/kibana/components/vislib/visualizations/tile_map.js
2015-04-28 22:46:38 -04:00
Shelby Sturgis
55fa3f5d66 Merge branch 'master' into fix/3560 2015-04-28 22:25:27 -04:00
Joe Fleming
199b344ed5 update deduping tests, add tests for queryFilter getters 2015-04-28 15:19:25 -07:00
Joe Fleming
f4f65662b5 [mockState] allow passing in default values 2015-04-28 15:16:27 -07:00
Spencer Alger
8d3d6d51e8 Merge branch 'add/yAxisFormatter' into fieldFormatting 2015-04-28 14:17:05 -07:00
Juan Thomassie
e1c901442c Merge branch 'master' into tilemap-heatmap 2015-04-28 14:56:19 -05:00
Chris Cowan
2ff889cd9e Merge pull request #3655 from chevin99/master
Multiple slashes in visualization name re-directs to default app
2015-04-28 10:23:38 -07:00