Commit graph

146 commits

Author SHA1 Message Date
Mike Côté 8581a8fbc3
Move index-pattern migration to kibana plugin (#31644) (#31695) 2019-02-21 11:24:38 -05:00
CJ Cenizal 13a7bb3835
Reintroduce linting rule that requires single-quotes in x-pack. (#30893) (#31215)
* Reintroduce linting rule that requires single-quotes in x-pack.
* Remove redundant quotes rule for ML.
* Convert ES-UI code to single quotes.
  - Dev tools
  - CCR
  - ILM
  - Index management
  - License management
  - Remote clusters
  - Rollup
  - Watcher
* Convert Graph code to single quotes.
* Convert Maps to single quotes.
* Convert Monitoring code to single quotes.
* Convert Reporting code to single quotes.
* Convert Security code to single quotes.
* Convert Telemetry code to single quotes.
* Convert Upgrade Assistant code to single quotes.
* Convert Grok Debugger to single quotes.
2019-02-14 17:36:25 -08:00
Court Ewing 146518cab7 Update paths to ui, server, deprecation, plugin_discovery in src/legacy
This commit accompanies the four that precede it. Rather than squash
them altogether, the four previous commits all do nothing except move
files to help avoid conflicts.
2019-02-11 11:06:26 -05:00
Rashmi Kulkarni 05d3c88623
Rollup job Functional UI test (#30280) (#30568) 2019-02-08 14:23:25 -08:00
CJ Cenizal 3f61ac67cf
Order Elasticsearch Management apps in order of most used to least used. (#30145) 2019-02-05 16:24:34 -08:00
CJ Cenizal 2f92df5ee3
Add configPrefix to Index Management, License Management, Rollup Jobs, and Upgrade Assistant. (#30149) 2019-02-05 15:00:18 -08:00
Jen Huang f44dea576c
Enable orderBy and orderAgg in vis editor for rollup visualizations (#29894) 2019-02-05 13:28:38 -08:00
Aleh Zasypkin d05437703d
Introduce I18nService core service and I18nContext. (#29379) 2019-02-04 13:38:00 +01:00
Bill McConaghy 06bbf1da65
making badges clickable to filter in index management (#29635)
* making badges clickable to filter in index management

* improving a11y for clickable badge
2019-01-30 21:02:07 -05:00
Mike Côté 1b0f595f01
Add new "references" attribute to saved objects for relationships (#28199)
* Add new references attribute to saved objects

* Add dual support for dashboard export API

* Use new relationships API supporting legacy relationships extraction

* Code cleanup

* Fix style and CI error

* Add missing spaces test for findRelationships

* Convert collect_references_deep to typescript

* Add missing trailing commas

* Fix broken test by making saved object API consistently return references

* Fix broken api integration tests

* Add comment about the two TS types for saved object

* Only return title from the attributes returned in findRelationships

* Fix broken test

* Add missing security tests

* Drop filterTypes support

* Implement references to search, dashboard, visualization, graph

* Add index pattern migration to dashboards

* Add references mapping to dashboard mppings.json

* Remove findRelationships from repository and into it's own function / file

* Apply PR feedback pt1

* Fix some failing tests

* Remove error throwing in migrations

* Add references to edit saved object screen

* Pass types to findRelationships

* [ftr] restore snapshots from master, rely on migrations to add references

* [security] remove `find_relationships` action

* remove data set modifications

* [security/savedObjectsClient] remove _getAuthorizedTypes method

* fix security & spaces tests to consider references and migrationVersion

* Add space id prefixes to es_archiver/saved_objects/spaces/data.json

* Rename referenced attributes to have a suffix of RefName

* Fix length check in scenario references doesn't exist

* Add test for inject references to not be called when references array is empty or missing

* some code cleanup

* Make migrations run on machine learning data files, fix rollup filterPath for savedSearchRefName

* fix broken test

* Fix collector.js to include references in elasticsearch response

* code cleanup pt2

* add some more tests

* fix broken tests

* updated documentation on referencedBy option for saved object client find function

* Move visualization migrations into kibana plugin

* Update docs with better description on references

* Apply PR feedback

* Fix merge

* fix tests I broke adressing PR feedback

* PR feedback pt2
2019-01-30 15:53:03 -05:00
Matthew Kime 400801d4b4
Kibana Management - Indices url to index patterns - followup (#29481)
* grep and change

* final grep of codebase to convert /management/kibana/indices => /management/kibana/index_patterns

* Update index.js
2019-01-29 16:02:41 -06:00
Jonathan Budzenski e9f0006890
Remove es _xpack endpoint usage (#29465)
* _xpack/rollup -> _rollup

* _xpack/sql -> _sql

* _xpack/license -> _license

* _xpack/migration -> _migration

* _xpack/watcher -> _watcher

* _xpack/monitoring -> _monitoring

* _xpack/security -> _security

* [console_extensions] regenerate

* [console_extensions] update ml overrides

* [console_extensions] update security overrides

* [console_extensions] update rollup overrides

* Revert "[console_extensions] update rollup overrides"

This reverts commit bb3742570d.

* Revert "[console_extensions] update security overrides"

This reverts commit 5c0263b35e.

* Revert "[console_extensions] update ml overrides"

This reverts commit e8254d5671.

* Revert "[console_extensions] regenerate"

This reverts commit 91b754e956.
2019-01-29 13:28:32 -06:00
CJ Cenizal bfa417c7d6
Localize strings in Rollup and ILM apps. (#29034)
* Add ILM to i18nrc.json. Fix validation errors.
* Localize CCR and Rollups checkLicense errors.
* Fix bug in Remote Clusters checkLicense error.
* Use rollupJobs namespace in checkLicense.
2019-01-23 16:36:48 -08:00
Bill McConaghy 57849623fa
Adding frozen indices support index management (#28855)
* adding frozen badge and refactoring list and reload server routes

* adding freeze and unfreeze actions to index management

* adding badge to detail panel and factoring rendering of badges into lib function

* fixing issue with sorted name field and ellipsis

* modifying button label for freeze confirmation

* copy edit

* correcting i18n label

* fixing duplicate i18n id issue

* fixing another duplicate i18n id

* updating jest snapshots

* adding color to badge specification

* removing icons from index management context menu
2019-01-22 08:57:40 -05:00
dave.snider@gmail.com d9b922ef4b
Management design sidenav cleanup (#28222)
Adjustments so nav menu works better with large screens.
2019-01-16 10:03:41 -08:00
Bill McConaghy 831650d600
add rollup toggle to index management (#28721)
* add rollup toggle to index management

* adjusting i18n labels

* addressing PR feedback

* fixing tests

* exiting early when there are no toggles configured

* swallow exception and return original indicesList from rollupDataEnricher
2019-01-16 09:27:08 -05:00
CJ Cenizal 65bef777c9
Place Rollup Jobs content at the top of the screen instead of vertically centering it. (#28703) 2019-01-14 11:43:25 -08:00
James Gowdy c0cfbd432e
[Rollups] Removing duplicate rendered sections (#28566) 2019-01-14 14:53:29 +00:00
Matthew Kime b491d8790a
Management: EUI Navigation sidebar (#25905)
* partial work - sidebar works, need to address rendering issues

* rendering fixes

* refactor sidenav into its own file

* refactor sidenav into its own file

* remove unneeded changes

* remove unneeded formatting changes

* remove unneeded formatting changes

* remove unneeded formatting changes

* remove unneeded formatting changes

* remove more unneeded EuiPage

* remove more unneeded EuiPage

* snap snap

* remove unused dependencies

* functional tests

* sidebar tweaks, beats-cm

* lint

* properly sharing UI code

* fix eui export

* type fixes

* add test

* add test

* testy test

* partial progress

* attmpt to fix functional test

* from merge

* snap snap

* clean up management for side nav changes

* functional test fix

* snap, blank landing

* snap snap

* change management item order

* test fix

* disable tslint line

* ts fix

* functional test fix

* functional test fixes

* fix functional test

* minor cleanup

* simplify management registry callback

* remove comment

* react island with kibana version

* merge

* fix scss reference

* fix types

* remove mistaken commit

* remove k7 switch

* snapshot update

* fix sidebar nav headers

* landing page copy

* remove dummy text

* merge

* i18n and revert unneeded change

* Update edit_role_page.tsx

* i18n

* i18n

* snap snap

* better text

* snap snap

* mergi

* pop open nav on mobile

* add management section tests

* NOTICE

* fix subhead text, add padding to bottom of management nav

* Update sidebar_nav.tsx

* merge merge

* fix sass lint
2019-01-03 17:09:42 -06:00
Tim Sullivan 237e446ba3
[Reporting] Remove Phantom (#27142)
* remove some phantom stuff and tests

* remove phantom

* remove phantom

* remove phantom

* todo comments

* remove from yarn.lock

* edit fix

* use constant in init

* readme edit

* update migration guide

* remove refs to non-existing docs
2019-01-03 14:35:15 -07:00
Chandler Prall 23037a3760
Add SCSS linting (#27328)
* scss linting POC

* update yarn.lock

* Include sass linting alongside es/ts lint tasks

* fix linting errors

* replace unceccessary selector on rollup creation
2019-01-03 09:01:43 -07:00
Spencer b807b09f04
[uiExports/styleSheetPaths] avoid string concatenation for paths (#27471) 2018-12-20 14:58:13 -08:00
CJ Cenizal 2371e58590
[CCR] Remote Clusters and Cross-cluster Replication apps (#26777) 2018-12-18 17:59:10 -08:00
CJ Cenizal 3b206e280d
[Rollups] Fix rollup job wizard bug: coerce histogram interval to Number for validation. (#27413) 2018-12-18 11:25:41 -08:00
Jen Huang 17db63cca6
Silently swallow request failures so that the create button isn't blocked (#26988) 2018-12-12 11:28:10 -08:00
CJ Cenizal ef77982980
Require histogram interval in Rollup Job wizard to be a whole number. (#26596) 2018-12-04 12:20:49 -08:00
Tim Roes 1852b4b786
Add rest_total_hits_as_int into Kibana App (#26404) 2018-12-04 10:42:45 +01:00
CJ Cenizal 5c506e8615
Specify Rollup Jobs breadcrumbs in header. (#26590) 2018-12-03 21:14:13 -08:00
CJ Cenizal 88ba3b75f2
[Rollups] Support date fields in Metrics step. (#26450)
- Whitelist max, min, and value_count for date fields.
- Move metric types into flex items which will wrap on narrow screens.
2018-12-03 15:05:16 -08:00
CJ Cenizal 47ae90c033
Show loading state in Rollup Job detail panel. (#25752) 2018-11-26 14:44:24 -08:00
CJ Cenizal e2079c6373
Wrap long field names in Rollup Job Wizard tables. (#25405) 2018-11-08 14:00:00 -08:00
Jen Huang 29d8a9de92
[Rollups] Fix day of month only showing ordinals (#25322)
* Fix day of month only showing ordinals
2018-11-07 13:47:02 -08:00
Jen Huang f3cf074ffa
Move call to standard index pattern fields for wildcard from client to server (#25270) 2018-11-07 08:24:59 -08:00
CJ Cenizal 0709293aac
[Rollups] Improve Rollup Job Wizard error handling (#25092)
* Consistently format errors with showApiWarning and showApiError helpers.
* Use fatalError for unexpected errors.
* Localize errors.
* Surface error in Job List when the jobs can't be loaded.
2018-11-05 14:32:48 -08:00
CJ Cenizal dac01c81a2
[Rollups] Surface index pattern validation errors in Rollup Job wizard. (#25078)
* Show fatal error for unexpected errors.
2018-11-02 17:42:50 -07:00
Jen Huang 077634c483
Prepend ES endpoint with slash (#25073) 2018-11-02 15:16:06 -07:00
CJ Cenizal 6e63be54ef
Return wrapped unknown errors from rollup CRUD API. (#25032) 2018-11-01 18:35:36 -07:00
CJ Cenizal 2a85ed492d
[Rollups] Disable deletion of started rollup jobs (#24878)
* Disable deletion of started rollup jobs.
* Update empty prompt icon.
* Add isUpdating selector and display a spinner instead of the action button when jobs are being updated.
* Localize Navigation component.
* Add noticeable delay of 300ms show spinner displays and doesn't flicker.
2018-11-01 09:49:14 -07:00
Jen Huang 8491b2ee8e
[Rollups] Mark beta in rollup index pattern creation (#24805)
* Add beta UI tags to rollup index pattern creation

* Add test, update snapshots

* Address feedback, adjust copy, and localize rollup index pattern creation
2018-10-31 17:53:13 -07:00
Jen Huang 9527e0e7c7
[Rollups] Re-enable rollup support (#24888)
* Re-enable rollup support extension points

* [Rollups] Hide rollups consumption behind a feature flag in Advanced Settings. (#24698)
2018-10-31 11:54:37 -07:00
CJ Cenizal 05bf7cd4d4
[Rollups] Fix i18n bugs (#23848)
* Internationalize job details tabs and wrap instances in EuiErrorBoundary to visually localize the error.
* Localize no default index pattern message.
* Localize es interval errors.
* Localize job action menu and confirm delete modal.
* Remove unnecessary use of injectI18n from tabs.
* Localize job status.
* Localize steps.
* Remove template literals from FormattedMessages.
2018-10-30 14:13:08 -07:00
CJ Cenizal 04568fcca6
Re-initialize Rollup Management userHasLeftApp state to fix bug with clearing URLjob deep-link when detail panel is closed. (#24841) 2018-10-30 11:06:15 -07:00
Jen Huang fd4e63c5a9
[Rollups] Fix time field not being recognized due to ordering of aggs (#24783)
* Fix time field not being recognized due to ordering of aggs

* Clean up UI whitespace

* Update snapshot
2018-10-29 17:20:37 -07:00
CJ Cenizal 0429a54c28
[Rollups] Copy improvements (#24528) 2018-10-29 15:15:11 -07:00
Josh Dover 27e5406d7a
Upgrade Hapi in legacy platform to v17 (#21707)
* Disable even-better monitoring

* Upgrade to Hapi v15

* Upgrade to Hapi v16

* Handle optional req params correctly

* Update http and kbnServer

* Get mocha tests passing

* Convert `reply` usages [wip]

* Fix Joi and Plugin incompatibilities

* Get server up and running

* Get basic logging working

* Fix optimizer

* Fix recent route handlers

* Various fixes

* Fix recent routes

* Upgrade wreck for async/await

* Fix mocha tests

* Fix joi issues

* Fix xpack jest tests

* Fix recent routes

* Fix tests

* Fix index setup

* Decouple monitoring stats collection from good plugin

* Update reload logging test to work

* Reimplement logging with updated good plugin

* Fix unit tests

* Fix getConnections back

* Make LegacyLoggingServer compatible with Hapi v17

* Update joi types

* Fix x-pack unit tests

* Remove stray debugger

* Remove hapi-compat

* Fix API integrations

* Upgrade boom

* Fix security plugin

* Misc fixes

* bump

* Fix licensePreRoutingFactory

* Fix failing integration tests

* Remove unnecessary test change

* Remove hapi-latest package

* fx

* Various cleanup

* Fix race condition in oppsy events

* Use elastic/good fork

* Fix boom.wrap and hapi-latest changes

* Simplify LegacyLoggingServer updates

* package.json cleanup + test fix

* yarn.lock cleanup

* Change good tag

* Fixes

* Change return err -> throw err in routes

* Fix await returns

* Fix new load_data test

* Make cookie security flags consistent

* tmp doc

* Fix types

* Fix tests

* Upgrade canvas plugin

* Move good package to published @elastic/good one

* Fix SO test

* Fix logging reloading

* Update APM apis

* Fix error logging

* Fix logging test

* Convert spaces plugin

* Add validation error shim

* Remove 7.0 release notes

* Await renderApp

* Fix ccr routes

* Prevent header popovers from scrolling with page content (#23850)

* Fix spaces test

* new yarn.lock-s

* Fix spaces tests

* Remove h2o2-latest

* Fix @types/hapi

* Upgrade InfraOps plugin

* Fix package.json

* Add back isSameSite: false

* Upgrade beats_management plugin

* Update snapshot

* Fix InfraOps

* Upgrade kql_telemetry

* Merge upstream/master

* Upgrade apm and ml

* Put snapshot test back

* Fx beats

* Upgrade rollups

* Update boom usages in new plugins
2018-10-25 16:01:12 -05:00
CJ Cenizal f74f633920
[Rollups] Rollup support in Kibana, phase 1 (#21117)
Enabled:
- View/Manage/Create rollup jobs

Disabled:
- Create a rollup index pattern
- Create rollup visualizations
- Add rollup visualizations to dashboards
- View raw rollup documents in Discover
2018-10-24 17:41:45 -07:00