Commit graph

16510 commits

Author SHA1 Message Date
Court Ewing 61c7f21111
Remove angular-translate (#13066)
* remove angular translate

* remove angular-translate deps from yarn.lock
2018-01-12 09:13:42 -05:00
Peter Pisljar 7431ec1538
fixing boolean filters (#15927) 2018-01-12 15:00:58 +01:00
Peter Pisljar 96bedef1fa
fixing log scale error (#15984) 2018-01-12 13:26:40 +01:00
Nathan Reese 9ccc963370
[home] Add target=_blank to all markdown links (#15995)
* Add target=_blank to all markdown links

* add rel property

* fix jest test
2018-01-11 15:14:30 -07:00
spalger 5d49d52328 [functional/context] disable flaky test 2018-01-11 13:46:42 -07:00
Nathan Reese 4d331227c1
fix alignment of step headers and step content (#15994) 2018-01-11 13:13:19 -07:00
Chris Cowan aa589c800f
Create check for scaledDataFormat and dateFormat in xaxisFormatter (#15997) 2018-01-11 12:09:05 -07:00
Tim Roes 4be8b1ca16
Use euiCallOut for experimental banner (#15989) 2018-01-11 17:36:54 +01:00
Brandon Kobel 738c5e7f85
Functional tests comparePngs write resized images to the session directory (#15976) 2018-01-11 07:59:41 -05:00
Kim Joar Bekkelund 07a67916c4
Updates for kibana-extra folder (#15471)
* Update docs to handle kibana-extra

* Add info about plugin directory structure to docs
2018-01-11 09:17:04 +01:00
Jonathan Budzenski 4a06fd9e0d
Add debug script to set inspect flags (#15967)
* Add debug script to set inspect flags

* remove no-base-path flag
2018-01-10 17:12:20 -06:00
Spencer edaaadb790
[ftr/integration/withEsArchiver] assert exit code is 0 (#15867) 2018-01-10 15:41:52 -07:00
Brandon Kobel 1cfabfb317
Adding a fetch polyfill (#15968)
* Adding a `fetch` polyfill

* "globally" shimming the whatwg-fetch
2018-01-10 14:26:02 -05:00
Kim Joar Bekkelund 97df0b64d8
Download Yarn on CI (#15966) 2018-01-10 19:30:53 +01:00
Nathan Reese 2570eeb639
fix broken depenencies (#15960) 2018-01-10 08:46:45 -07:00
Kim Joar Bekkelund 9ac62fcda5 Update lockfile 2018-01-10 15:29:32 +01:00
Nathan Reese 57dfdd58a7
Kibana Home page - phase two (#14749)
* add tutorial directory and home promo section

* tutorial components

* use KuiCodeEditor for displaying instruction code

* move spec files to server so joi can be used. Fetch via rest API

* Adding more tutorials (#4)

* More edits on the Apache logs tutorial

* Added nginx, mysql, and sytem modules for FB

* Moved apache to apacheLogs and added an apacheMetrics tutorial

* Added mysqlMetrics, nginxMetrics, systemMetrics tutorials

* Reduce duplication in the tutorials

This uses common objects for the install and start steps for Filebeat.
Same can be done for MB.

* fix windows path for config file

* add markdown parsing

* use mustache to replace config.kibana.version with kibana version

* add image preview to tutorial introduction

* fix css class name

* add param types constants

* add docs variables

* [WIP] Logstash Netflow module tutorial (#5)

* First draft of Logstash Netflow module tutorial

* Incorporated writing style suggestions

* pass params to template replace logic

* parameter inputs

* use isReadOnly flag from ui-framework for KuiCodeEditor

* dedemorton commits on netflow

* remove trailing slash from base links

* add config.docs.logstash and fix vertical spacing between Content component and commands

* Use logstash docs config variable

* Starting to add Deb instructions

* Fix Logstash documentation link

* Make commands optional

* Refactor: extract common LS instructions

* Edits for the existing tutorials

* change schema to support three instruction types

* [Netflow tutorial] Simplify OSX instructions

* replace axios with fetch

* pass credentials to tutorial fetch

* display cloud instructions when cloud set

* RadioButtonGroup component

* update copy

* add tutorial component jest tests

* content component test

* load isCloudEnabled in home_app

* add functional test ensuring add data tutorials are fetch and displayed

* rename card btns to 'Add data', fix type in tutorial directory tab, remove 'Set up index pattern from tutorial directory'

* move parameters form to right of instruction set title

* add copy snippet button, remove line numbers from command block

* add breadcrumb to tutorial view

* update tutorial jest snapshot

* use componentDidMount and ignore async results if componenent has been unmounted

* define shape of prop for instructionVariants and params. Create NumberParameter and StringParameter components

* add bread crumb to add data directory page

* Add cloud version of the apache_logs tutorial (#16)

* Add cloud version of the apache_logs tutorial

* Added onprem-cloud version as well

* fix styling broken by EUI rebase

* add artifacts to tutorial schema

* fix styling for code block

* [Tutorials] Netflow: instructions for onPremCloud (#18)

* Extract common on-prem cloud instructions so LS and Beats can share them

* Extracting common instructions; adding onPremCloud instructions

* fix copy bug where copy would only contain previously selected text

* make string parameter input type be text

* Implementing Elastic Cloud tutorial for Netflow module (#19)

* More tutorial edits (#20)

* More tutorial edits

This updates the on prem instructions with a step that installs the GeoIP and
UA plugins in ES. It also makes the on-prem steps more consistent with the cloud
instructions which results in less redundancy in the code.

* Show config step for all variants

* More DRY in the tutorial content

* Updated screenshot for apache_logs

* wrap markdown content in markdown-body class

* use EuiFlexGroup to remove wasted space with 'copy snippet' button and instruction text

* change OSX to macOS, use Computed property names for instruction_variant DISPLAY_MAP, replace /app/kibana with kbnBaseUrl, remove unneeded if check in copy_to_clippboard, put getTutorials mixin on server instead of request

* capitilize 'C' in Elastic Cloud

* remove try/catch from copy_to_clipboard

* Removing unrelated instructions

* Copy editing fixes

* Multiply edits to the Beats tutorials (#21)

* Updated Nginx module

* Updated MySQL logs module

* Updated system logs module

* Correct the on_prem_cloud enable steps

* Updated the Nginx metrics tutorial and added screenshot

* Updated the Apache metrics module + screenshot

* Updated the MySQL metrics module + screenshot

* Updated the system metrics module + screenshot

* prevent 'Copy snippet' button text from wrapping

* [Netflow tutorial] Windows instructions (#22)

* [Netflow tutorial] Adding onPrem instructions for Windows

* Removing unrelated/superfluous instructions

* Adding Windows instructions for onPremElasticCloud and elasticCloud

* use EuiImage so tutorial images are clickable to view in full screen

* fix jest tests

* set fullScreenIconColor and alt options for EuiImage, add space between command block and instruction text
2018-01-10 07:20:38 -07:00
Kim Joar Bekkelund b40f55654b
Revert removal of history dependency (#15956)
* Revert "Remove history dependency, which was only being used by the KUI framework, and is unnecessary. (#15938)"

This reverts commit 2fdaf868d9.

* Update lockfile
2018-01-10 13:59:28 +01:00
Kim Joar Bekkelund 2bfe5b14f3 Update Yarn lockfile 2018-01-10 13:28:43 +01:00
Spencer 0fde087ca2 Switch to Yarn (#15485)
* switch to yarn

* cleanup misc references to npm

* [yarn] loosen dependency ranges so yarn will merge more deps

* fix linting error now that moment uses ESM

* [licenses] font-awesome changed the format of its license id

* Use local yarn

* Misc fixes

* eslintignore built yarn file

* Remove mkdir which doesn't do what it should do

* Check build without upgrading lots of versions

* Fix license check

* too many moments

* Better description

* Review fixes

* Lock to angular@1.6.5

* More specific version locks

* Revert "More specific version locks"

This reverts commit 11ef81102e.

* Revert "Lock to angular@1.6.5"

This reverts commit 3ade68c14c.

* rm yarn.lock; yarn

* Forcing a specific version of React, Angular, Moment

* Using vendored version of yarn in ci

* Use --frozen-lockfile

* fixes
2018-01-10 13:23:43 +01:00
Yuri Astrakhan 222d79a5c4
Removed href=# from a button (#15947) 2018-01-10 02:53:38 -05:00
Yuri Astrakhan 7731a7384b
Added rel=noreferrer to _blank target (#15948) 2018-01-10 02:53:15 -05:00
CJ Cenizal 1f6ea3a399
Update react-ace, react-addons-test-utils, and pui tooltip dependencies (#15944)
* Upgrade react-ace to 5.5.0 for compatibility with react 16.0.0.
* Remove unused react-addons-test-utils dependency.
* Replace pui tooltip dependencies with pivotal-ui dependency.
2018-01-09 16:57:58 -08:00
CJ Cenizal 2fdaf868d9
Remove history dependency, which was only being used by the KUI framework, and is unnecessary. (#15938) 2018-01-09 12:51:57 -08:00
Spencer 2ee17cd1ec
[ui/UiApp] sort used modules so entry files can be cache keys (#15910)
* [ui/UiApp] sort used modules so entry files can be cache keys

* [ui/bundles+apps] test changes and verify assumptions down to appEntryTemplate
2018-01-09 13:41:27 -07:00
Spencer fb61c7d9ac
[npm] bump grunt-esvm (#15937) 2018-01-09 13:10:33 -07:00
Chris Cowan 43bf1dbf4a
Remove MathJS Feature (#15652)
* Reverting a258f1af4

* Revert "[TSVB] Add support for Math Aggregation to tables (#14553)"

This reverts commit d2537d8039.

* Revert "Math Aggregation to support Sibling Aggs for TSVB (#13681)"

This reverts commit 9c9fb17fef.

* removing old partial bucket cliping from table vis

* Adding support for percentiles for bucket_script args

* removing old partial bucket cliping for table vis

* Fixing support for drop last bucket

* Adding unsupported agg message
2018-01-09 12:25:33 -07:00
Nathan Reese ea88ea1ead
update DashboardCloneModal to use EUI framework (#15697)
* update DashboardCloneModal to use EUI framework

* EuiModalOverlay changed to EuiOverlayMask

* fix jest test
2018-01-09 10:29:31 -07:00
Tim Roes c7adb5b961
Revert "fixing log scale (#15710)" (#15932)
This reverts commit 183145ffb1.
2018-01-09 17:17:02 +01:00
Peter Pisljar 183145ffb1 fixing log scale (#15710)
* fixing log scale

* d3 log scale handles values between 0 an 1 correctly
2018-01-09 17:16:26 +01:00
Court Ewing 0378966da8
[optimizer] allow http caching for bundles (#15880)
By setting cache-control to must-revalidate, we indicate to the browser
that it should send the if-none-match header with the last known etag
value. If the etags match, the server responds with a 304 and no body,
and if they don't the server responds with a 200 and a body along with a
new etag.

This ensures a cache is always invalidated when a bundle changes, like
when Kibana is upgraded or a plugin is installed.

We no longer send the last-modified header because we don't want the
browser caching based on time. Doing so can be unpredictable since the
browser may not agree with the server's definitions of DST, and the
server time itself can be changed.
2018-01-09 11:11:57 -05:00
Nathan Reese 1d12c49ff7
Visualization render status - pass correct parameters to resize check (#15855)
* pass correct parameters to hasChangedUsingGenericHashComparison

* handle case where size parameter is not set
2018-01-09 08:54:08 -07:00
Nathan Reese 4f15c6ec50
display NOT when new filter is negated (#15865) 2018-01-09 07:45:11 -07:00
Peter Pisljar f9eeab2770
fixing tag cloud and region map click handler (#15861) 2018-01-09 12:38:23 +01:00
Tim Roes c71437f6b3
Fix panel content vis styling (#15754) 2018-01-09 10:27:49 +01:00
Tim Roes 1b24081594
Refactor rendering events (#15895)
* Rename timelion internal event for more clarity

* Add test for native DOM events

* Remove Angular renderComplete event
2018-01-09 09:56:46 +01:00
Tim Roes 7c1f365af0
Fix broken editor styles (#15735)
* Fix broken collapse of editor

* Fix broken styling in small editor mode

* Remove unneeded media query

* Revert "Fix broken collapse of editor"

This reverts commit 1e909b3cf1.
2018-01-09 09:50:39 +01:00
Spencer 499f7cec77
[optimizer] run webpack compilation ASAP (no more laziness) (#15795)
* [optimizer] run webpack compilation ASAP (no more laziness)

* [optimize] fix variable reference
2018-01-09 00:46:16 -07:00
Spencer 6adde0aff3
[functional/management/import] disable flaky test (#15914) 2018-01-08 21:36:27 -07:00
Chris Cowan 920d856f0f
Fixing the form font sizes (#15909) 2018-01-08 16:43:33 -07:00
Brandon Kobel 300c26fc31
Sharing - exposing Dashboard and Visualize title and type (#14946)
* Exposing the sharing title on the controller

* Implementing the getSharingType on the controllers

* Adding a getSharingSavedObjectId method

* We don't need the savedObjectId anymore
2018-01-08 13:51:44 -05:00
Nathan Reese faf0633232
replace KuiConfirmModal with EuiConfirmModal in confirm-modal directive (#15693)
* replace KuiConfirmModal with EuiConfirmModal

* add titles to confirm modals. Update modal text and button text

* updates for newest version of EUI

* use EUI class in overlay and EUI button constants

* remove logic about changed filters in cancel dashboard editing modal, clean up wording for import saved objects modal

* fix broken function test - management delete index pattern

* wrap names in single quotes
2018-01-08 10:14:46 -07:00
Nathan Reese 265c7b9fbe
add time to visualization status (#15856)
* add time to visualization status

* account for custom time on visualization

* update docs
2018-01-08 09:37:36 -07:00
Tim Roes d4300794df
Fix JSON hint (#15890) 2018-01-08 16:51:31 +01:00
Kim Joar Bekkelund b4cf795e83
Skip flaky CLI cluster manager test (#15889) 2018-01-08 14:46:07 +01:00
Peter Pisljar f8e0adfc05
fixing dot ratio slider (#15860) 2018-01-08 08:53:57 +01:00
Peter Pisljar a0ad81db62
removing type from classes (#15862) 2018-01-08 08:51:34 +01:00
Court Ewing 4634aa633b
Revert "[optimizer] More aggressive chunking of common/vendor code (#15816)" (#15878)
This reverts commit 92b373b304.
2018-01-07 09:27:06 -05:00
Nathan Reese 056a641634
upgrade to eui 0.0.11 (#15870) 2018-01-05 18:13:09 -07:00
Lukas Olson f593adc0d2
Introduce simple kibana query language (#15646)
* Introduce simple kuery language

* Rename to kql and add modules
2018-01-05 12:54:04 -07:00