Commit graph

43 commits

Author SHA1 Message Date
Thomas Watson
0997f4e783
[6.8] Use @commercial/hapi (#97605) 2021-06-29 16:57:46 +02:00
Thomas Watson
84fa5add86
[6.8] Upgrade some hapi related packages to their hapi-namespace counterparts (#98753) 2021-05-06 18:50:12 +02:00
Joe Portner
92972261ae
[6.8] Fixes session timeout (#91070) (#91888)
* Fix calls to `/api/monitoring/v1/clusters` and `/api/monitoring/v1/elasticsearch_settings/check/cluster`

Seen on page: /app/monitoring

* Fix calls to `/api/index_management/indices/reload`

Seen on page: /app/kibana#/management/elasticsearch/index_management/indices

* Fix calls to `/api/cross_cluster_replication/follower_indices`

Seen on page: /app/kibana#/management/elasticsearch/cross_cluster_replication/follower_indices

* Fix calls to `/api/cross_cluster_replication/auto_follow_patterns`

Seen on page: /app/kibana#/management/elasticsearch/cross_cluster_replication/auto_follow_patterns

* Fix calls to `/api/remote_clusters`

Seen on page: /app/kibana#/management/elasticsearch/remote_clusters/list

* Fix calls to `/api/watcher/watches`

Seen on page: /app/kibana#/management/elasticsearch/watcher/watches

* Fix calls to `/api/rollup/jobs`

Seen on page: /app/kibana#/management/elasticsearch/rollup_jobs/job_list
2021-02-19 11:06:09 -05:00
Chris Roberson
12bbb5ed82
[6.8] [Monitoring/Telemetry] Force collectors to indicate when they are ready (#36153) (#41289)
* Backport c87e8811cb to 6.8

* Fix tests

* Add in missing functionality

* Add more missing code
2019-07-17 12:23:26 -04:00
Tim Roes
d728c894c4 Make time_zone parameter properly volatile (#35536) (#35558) 2019-04-24 20:29:22 -06:00
Sébastien Loix
02b4e6b359
[CCR] Fix form bug + add missing i18n (#32544) (#32557)
* [Rollup] Fix month value in form select

* [Rollup] Add missing i18n for field types
2019-03-06 15:59:30 +00:00
CJ Cenizal
0cd62dd722
Fix bug where rollup job search would display an empty prompt if no jobs matched the search. (#31642) (#31768)
* Internationalize and refine message.
2019-02-21 19:35:08 -08:00
Jen Huang
2b4a5fbb3f
[Rollups] Removing duplicate rendered sections (#28566) (#31609) 2019-02-20 13:11:41 -08:00
Rashmi Kulkarni
8375eba2cb
Rollup job Functional UI test (#30280) (#30572) 2019-02-08 14:23:53 -08:00
CJ Cenizal
cde31bfe42
Order Elasticsearch Management apps in order of most used to least used. (#30145) (#30165) 2019-02-05 18:47:12 -08:00
Jen Huang
0fbf0c9035
Enable orderBy and orderAgg in vis editor for rollup visualizations (#29894) (#30142) 2019-02-05 14:41:33 -08:00
Aleh Zasypkin
e7c5c0bf3d
[6.x] Introduce I18nService core service and I18nContext. (#29944) 2019-02-04 14:39:45 +01:00
dave.snider@gmail.com
42336883d4
[6.x] Management design sidenav cleanup (#28222) (#29766)
* Management design sidenav cleanup (#28222)

Adjustments so nav menu works better with large screens.

* fix errors
2019-01-31 22:07:11 -08:00
Matthew Kime
ad92f4b451
[6.x] Management: EUI Navigation sidebar (#25905) (#29490)
* 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

* .

* snap snap

* snap snap
2019-01-31 14:31:18 -06:00
Bill McConaghy
b427d6ce00
making badges clickable to filter in index management (#29635) (#29679)
* making badges clickable to filter in index management

* improving a11y for clickable badge
2019-01-31 08:29:11 -05:00
CJ Cenizal
396d5a230f
Localize strings in Rollup and ILM apps. (#29034) (#29234)
* 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-24 08:12:03 -08:00
Bill McConaghy
766d193de7
Adding frozen indices support index management (#28855) (#29096)
* 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 09:49:32 -05:00
Bill McConaghy
7f249c364f
add rollup toggle to index management (#28721) (#28839)
* 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 11:03:53 -05:00
Spencer
8a5bcbc7aa
[uiExports/styleSheetPaths] avoid string concatenation for paths (#27471) (#27644) 2019-01-14 11:47:10 -08:00
Chandler Prall
749374eb5a
Add SCSS linting (#27328) (#27995)
* 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:50:49 -07:00
CJ Cenizal
4b8f0479fc
[CCR] Remote Clusters and Cross-cluster Replication apps (#26777) (#27467) 2018-12-18 18:43:45 -08:00
CJ Cenizal
ff0089c083
[Rollups] Fix rollup job wizard bug: coerce histogram interval to Number for validation. (#27413) (#27460) 2018-12-18 16:34:16 -08:00
Jen Huang
bef0e827a2
Silently swallow request failures so that the create button isn't blocked (#26988) (#27062) 2018-12-12 14:12:39 -08:00
CJ Cenizal
1ab8e144df
Require histogram interval in Rollup Job wizard to be a whole number. (#26596) (#26657) 2018-12-04 13:55:31 -08:00
Tim Roes
3d72127138
Add rest_total_hits_as_int into Kibana App (#26404) (#26614) 2018-12-04 11:50:04 +01:00
CJ Cenizal
a2ec329c5b
[Rollups] Support date fields in Metrics step. (#26450) (#26580)
- Whitelist max, min, and value_count for date fields.
- Move metric types into flex items which will wrap on narrow screens.
2018-12-03 16:02:10 -08:00
CJ Cenizal
a246132abe
Show loading state in Rollup Job detail panel. (#25752) (#26223) 2018-11-26 16:07:12 -08:00
CJ Cenizal
e178f2fbd9
Wrap long field names in Rollup Job Wizard tables. (#25405) (#25432) 2018-11-09 09:15:36 -08:00
Jen Huang
0b449f34d8
[Rollups] Fix day of month only showing ordinals (#25322) (#25343)
* Fix day of month only showing ordinals
2018-11-07 16:17:05 -08:00
Jen Huang
e161dc724b
Move call to standard index pattern fields for wildcard from client to server (#25270) (#25308) 2018-11-07 10:44:13 -08:00
CJ Cenizal
655b09c685
[Rollups] Improve Rollup Job Wizard error handling (#25092) (#25171)
* 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 16:49:04 -08:00
Jen Huang
deda6739e2
Prepend ES endpoint with slash (#25073) (#25082) 2018-11-05 09:45:08 -08:00
CJ Cenizal
03b6de2b10
[Rollups] Surface index pattern validation errors in Rollup Job wizard. (#25078) (#25094)
* Show fatal error for unexpected errors.
2018-11-02 22:08:05 -07:00
CJ Cenizal
e74f92a0a9
Return wrapped unknown errors from rollup CRUD API. (#25032) (#25037) 2018-11-02 12:18:50 -07:00
CJ Cenizal
35cea77c81
[Rollups] Disable deletion of started rollup jobs (#24878) (#24995)
* 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 12:09:15 -07:00
Jen Huang
2aee3bb3be
[Rollups] Mark beta in rollup index pattern creation (#24805) (#24957)
* Add beta UI tags to rollup index pattern creation

* Add test, update snapshots

* Address feedback, adjust copy, and localize rollup index pattern creation
2018-11-01 09:05:57 -07:00
Jen Huang
4eb49b1cab
[Rollups] Re-enable rollup support (#24888) (#24940)
* Re-enable rollup support extension points

* [Rollups] Hide rollups consumption behind a feature flag in Advanced Settings. (#24698)
2018-10-31 17:52:10 -07:00
CJ Cenizal
4ce8f35858
[Rollups] Fix i18n bugs (#23848) (#24868)
* 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 16:21:11 -07:00
CJ Cenizal
4adaa0c1e3
Re-initialize Rollup Management userHasLeftApp state to fix bug with clearing URLjob deep-link when detail panel is closed. (#24841) (#24856) 2018-10-30 14:11:33 -07:00
Jen Huang
fef9624357
[Rollups] Fix time field not being recognized due to ordering of aggs (#24783) (#24799)
* Fix time field not being recognized due to ordering of aggs

* Clean up UI whitespace

* Update snapshot
2018-10-30 00:01:30 -07:00
CJ Cenizal
691e3b5e0f
[Rollups] Copy improvements (#24528) (#24790) 2018-10-29 15:17:27 -07:00
Josh Dover
306d06c0e9
[6.x] Upgrade Hapi in legacy platform to v17 (#21707) (#24608)
* 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

* Update url shortener

* Don't throw errors in optimizer (#24660)
2018-10-26 16:37:05 -05:00
CJ Cenizal
30d69b365b
[Rollups] Rollup support in Kibana, phase 1 (#21117) (#24554)
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 20:29:30 -07:00