Skip to content

Commit

Permalink
Merge branch 'master' of github.com:elastic/kibana into feature/design
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed Mar 10, 2016
2 parents 9502ade + 4954a73 commit 1935400
Show file tree
Hide file tree
Showing 12 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"boom": "2.8.0",
"bootstrap": "3.3.5",
"brace": "0.5.1",
"bunyan": "1.4.0",
"bunyan": "1.7.1",
"clipboard": "1.5.5",
"commander": "2.8.1",
"css-loader": "0.17.0",
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/elasticsearch/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ module.exports = function ({ Plugin }) {
return reply.continue();
}

function noCreateIndex({ path }, reply) {
function noDirectIndex({ path }, reply) {
const requestPath = trimRight(trim(path), '/');
const matchPath = createPath(kibanaIndex);

Expand All @@ -75,7 +75,7 @@ module.exports = function ({ Plugin }) {
['PUT', 'POST', 'DELETE'],
`/${kibanaIndex}/{paths*}`,
{
pre: [ noCreateIndex, noBulkCheck ]
pre: [ noDirectIndex, noBulkCheck ]
}
);

Expand Down
2 changes: 1 addition & 1 deletion src/ui/public/stringify/__tests__/_ip.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ describe('IP Address Format', function () {
fieldFormats = Private(RegistryFieldFormatsProvider);
}));

it('convers a value from a decimal to a string', function () {
it('converts a value from a decimal to a string', function () {
var ip = fieldFormats.getInstance('ip');
expect(ip.convert(1186489492)).to.be('70.184.100.148');
});
Expand Down
6 changes: 3 additions & 3 deletions src/ui/public/stringify/types/Color.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import 'ui/stringify/editors/color.less';
import _ from 'lodash';
import IndexPatternsFieldFormatFieldFormatProvider from 'ui/index_patterns/_field_format/FieldFormat';
import IndexPatternsFieldFormatProvider from 'ui/index_patterns/_field_format/FieldFormat';
import colorTemplate from 'ui/stringify/editors/color.html';
export default function _StringProvider(Private) {
export default function ColorFormatProvider(Private) {

const FieldFormat = Private(IndexPatternsFieldFormatFieldFormatProvider);
const FieldFormat = Private(IndexPatternsFieldFormatProvider);
const DEFAULT_COLOR = {
range: `${Number.NEGATIVE_INFINITY}:${Number.POSITIVE_INFINITY}`,
text: '#000000',
Expand Down
4 changes: 2 additions & 2 deletions src/ui/public/stringify/types/Date.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import _ from 'lodash';
import moment from 'moment';
import 'ui/field_format_editor/pattern/pattern';
import IndexPatternsFieldFormatFieldFormatProvider from 'ui/index_patterns/_field_format/FieldFormat';
import IndexPatternsFieldFormatProvider from 'ui/index_patterns/_field_format/FieldFormat';
import BoundToConfigObjProvider from 'ui/bound_to_config_obj';
import dateTemplate from 'ui/stringify/editors/date.html';
export default function DateTimeFormatProvider(Private) {
var FieldFormat = Private(IndexPatternsFieldFormatFieldFormatProvider);
var FieldFormat = Private(IndexPatternsFieldFormatProvider);
var BoundToConfigObj = Private(BoundToConfigObjProvider);


Expand Down
4 changes: 2 additions & 2 deletions src/ui/public/stringify/types/Ip.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import _ from 'lodash';
import IndexPatternsFieldFormatFieldFormatProvider from 'ui/index_patterns/_field_format/FieldFormat';
import IndexPatternsFieldFormatProvider from 'ui/index_patterns/_field_format/FieldFormat';
export default function IpFormatProvider(Private) {
var FieldFormat = Private(IndexPatternsFieldFormatFieldFormatProvider);
var FieldFormat = Private(IndexPatternsFieldFormatProvider);

_.class(Ip).inherits(FieldFormat);
function Ip(params) {
Expand Down
2 changes: 1 addition & 1 deletion src/ui/public/stringify/types/Percent.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import _ from 'lodash';
import BoundToConfigObjProvider from 'ui/bound_to_config_obj';
import StringifyTypesNumeralProvider from 'ui/stringify/types/_Numeral';
export default function NumberFormatProvider(Private) {
export default function PercentFormatProvider(Private) {
var BoundToConfigObj = Private(BoundToConfigObjProvider);
var Numeral = Private(StringifyTypesNumeralProvider);

Expand Down
6 changes: 3 additions & 3 deletions src/ui/public/stringify/types/Source.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import _ from 'lodash';
import noWhiteSpace from 'ui/utils/no_white_space';
import angular from 'angular';
import IndexPatternsFieldFormatFieldFormatProvider from 'ui/index_patterns/_field_format/FieldFormat';
export default function _SourceProvider(Private, shortDotsFilter) {
var FieldFormat = Private(IndexPatternsFieldFormatFieldFormatProvider);
import IndexPatternsFieldFormatProvider from 'ui/index_patterns/_field_format/FieldFormat';
export default function _SourceFormatProvider(Private, shortDotsFilter) {
var FieldFormat = Private(IndexPatternsFieldFormatProvider);
var template = _.template(noWhiteSpace(require('ui/stringify/types/_source.html')));

_.class(Source).inherits(FieldFormat);
Expand Down
6 changes: 3 additions & 3 deletions src/ui/public/stringify/types/String.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import _ from 'lodash';
import 'ui/field_format_editor/samples/samples';
import IndexPatternsFieldFormatFieldFormatProvider from 'ui/index_patterns/_field_format/FieldFormat';
export default function _StringProvider(Private) {
var FieldFormat = Private(IndexPatternsFieldFormatFieldFormatProvider);
import IndexPatternsFieldFormatProvider from 'ui/index_patterns/_field_format/FieldFormat';
export default function StringFormatProvider(Private) {
var FieldFormat = Private(IndexPatternsFieldFormatProvider);


_.class(_String).inherits(FieldFormat);
Expand Down
4 changes: 2 additions & 2 deletions src/ui/public/stringify/types/Url.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import _ from 'lodash';
import 'ui/field_format_editor/pattern/pattern';
import 'ui/stringify/icons';
import IndexPatternsFieldFormatFieldFormatProvider from 'ui/index_patterns/_field_format/FieldFormat';
import IndexPatternsFieldFormatProvider from 'ui/index_patterns/_field_format/FieldFormat';
import urlTemplate from 'ui/stringify/editors/url.html';
export default function UrlFormatProvider(Private, highlightFilter) {

var FieldFormat = Private(IndexPatternsFieldFormatFieldFormatProvider);
var FieldFormat = Private(IndexPatternsFieldFormatProvider);


_.class(Url).inherits(FieldFormat);
Expand Down
4 changes: 2 additions & 2 deletions src/ui/public/stringify/types/_Numeral.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import _ from 'lodash';
import 'ui/field_format_editor/numeral/numeral';
import IndexPatternsFieldFormatFieldFormatProvider from 'ui/index_patterns/_field_format/FieldFormat';
import IndexPatternsFieldFormatProvider from 'ui/index_patterns/_field_format/FieldFormat';
import BoundToConfigObjProvider from 'ui/bound_to_config_obj';
export default function AbstractNumeralFormatProvider(Private) {
var FieldFormat = Private(IndexPatternsFieldFormatFieldFormatProvider);
var FieldFormat = Private(IndexPatternsFieldFormatProvider);
var BoundToConfigObj = Private(BoundToConfigObjProvider);
var numeral = require('numeral')();

Expand Down
6 changes: 3 additions & 3 deletions src/ui/public/stringify/types/truncate.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import _ from 'lodash';
import IndexPatternsFieldFormatFieldFormatProvider from 'ui/index_patterns/_field_format/FieldFormat';
import IndexPatternsFieldFormatProvider from 'ui/index_patterns/_field_format/FieldFormat';
export default function TruncateFormatProvider(Private) {
var FieldFormat = Private(IndexPatternsFieldFormatFieldFormatProvider);
var FieldFormat = Private(IndexPatternsFieldFormatProvider);
var omission = '...';

_.class(Truncate).inherits(FieldFormat);
Expand Down Expand Up @@ -31,4 +31,4 @@ export default function TruncateFormatProvider(Private) {
Truncate.sampleInput = [ require('ui/stringify/samples/large.html') ];

return Truncate;
};
};

0 comments on commit 1935400

Please sign in to comment.