Commit graph

51 commits

Author SHA1 Message Date
Thomas Watson
0997f4e783
[6.8] Use @commercial/hapi (#97605) 2021-06-29 16:57:46 +02:00
Thomas Watson
df41843abc
[6.8] Upgrade hapi v17.8.5 to @hapi/hapi v17.9.0 (#100382) 2021-05-26 10:26:55 +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
fbe078c6bd
[6.8] Bump jquery from 3.4.1 to 3.5.0 (#64884) again (#67036) 2020-05-21 15:05:58 -04:00
Joe Portner
12085a84c0
[6.8] Revert jquery update (#66201) 2020-05-12 08:52:04 -04:00
Joe Portner
a72b8ceffe
[6.8] Bump jquery from 3.4.1 to 3.5.0 (#64884) (#65336) 2020-05-05 17:10:13 -04: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
Peter
5b70dcabea
[6.8] Backport/6.8/security basic (#35889)
* enable security plugin in basic

enable security on file dataviz and import (ML plugin)

update unit tests

add api test coverage for security in basic

move audit logging to standard+ license level

* removing test that wasn't added until 7.X (feature controls)
2019-05-01 16:40:56 -07:00
Brandon Kobel
6c562ff1ed
Fixing the regex that is used to validate the Space ID (#33716) (#33806)
* Fixing the regex that is used to validate the Space id

* Adding basic jest tests for the space schema's ID
2019-03-26 11:26:52 -07:00
Spencer
f13b696018
[6.x] Remove dependency on doc versions (#29906) (#30036)
Backports the following commits to 6.x:
 - Remove dependency on doc versions  (#29906)
2019-02-13 21:07:26 -08:00
Caroline Horn
eb77967d76
[6.7] EUI 6.10.0 & Background color fixes (#30136) (#30323) 2019-02-07 12:44:26 -05: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
Josh Dover
468eabbbb8
Add reindex feature to Upgrade Assistant (#27457)
* Fixup saved objects

* WIP reindex state machine

* WIP UI

* Separate status from current step

* Add error messages

* Copy types to CallWithInternalUser

* Use backend worker

* Add progress bar for large indices

* Cleanup worker implementation

* Add tests for ReindexService

* Fix types

* Fix CI

* Add support for mapping coerced boolean fields

* Add basic functional integration test

* Cleanup reindexing backend, add more checks

* Cleanup frontend code and add tests

* Support removal of _default_ mapping + add tests

* Add reindex warnings to reindex service

* Add confirmation modal for reindex warnings

* Cleanup flyout appearance

* Generate new index name intelligently

* Design tweaks

* Show reindex button in both grouping modes

* Add data archive integration tests

* Change flyout design to two step process

* Reorganize flyout files

* Use custom steps component

* Allow writes to indices if anything fails

* Misc cleanup

* Design edits

* Only show warnings panel when reindex has not begun

* Fix types

* Handle moving existing aliases

* Move integration tests to separate config

* Fix ReindexButton bugs when changing pages

* Fix polling service tests

* Refactor ReindexService and ML handling (backend only)

* Add credential caching and paused state to backend

* Add paused state to frontend

* Fix ts errors

* Update copy

* Add check for node version before ML step

* Update data archive format

* Update snapshots for React upgrade

* Handle _default_ mappings correctly in warning checks

* Use hashed state of reindex operation for credential storage

* Address tyler's comments

* Add watcher stop/starting

* Use json-stable-stringify and sha256 for CredentialStore

* Add types for json-stable-stringify
2019-01-29 10:14:32 -06:00
Felix Stürmer
b6f384eee9
[Infra UI] Read and write data sources from and to saved objects (#28016) (#29348) 2019-01-25 17:32:48 +01:00
Jason Rhodes
d39bebde67
Updates React et al to 16.6 (#24707) (#29203)
* Updates react to 16.6 (latest)

* Updated fragment-based snapshots for Kibana root unit tests

* Updated fragment-based snapshots for x-pack unit tests

* Removed xpack yarn.lock file bc it is no longer needed, it was reintroduced by accident during a rebase in this branch

* React 16.6 snapshot updates, round 2 (mostly Fragment snapshot diffs)

* Updated last round of React 16.6 snapshots

* Fixes query bar issue with 16.4 gDSFP lifecycle

* Updated yarn lock (arraybuffer.slice updated)

* Updates snapshots where executeQueryOptions prop appears
2019-01-23 14:35:39 -05:00
Larry Gregory
3c65756484
[a11y] - Announce space selector screen (#28865) (#28988)
* fix double-announce of space name in other screen readers

* announce 'Select your space' when loading the space selector screen

* snapshot updates
2019-01-18 14:09:43 -05:00
Nathan Reese
973eeb9a1d
merge conflicts in snapshot (#28773) 2019-01-15 15:38:37 -07:00
Spencer
8a5bcbc7aa
[uiExports/styleSheetPaths] avoid string concatenation for paths (#27471) (#27644) 2019-01-14 11:47:10 -08:00
Chris Roberson
ae80be20d5
[Telemetry] Remove custom code for spaces in telemetry (#27903) (#28175)
* Remove custom code for spaces in telemetry

* Undo this change

* Change how this is inserted into the monitoring doc
2019-01-07 09:44:42 -05:00
Larry Gregory
ea92634080
Fixes space name being read twice on the space selector screen (#27906) (#27991)
* fixes space name being read twice on the space selector screen

* fix comment

* fix type checks
2019-01-03 19:36:17 -05:00
Larry Gregory
e6bbaac466
Provides context to spaces grid action buttons (#27911) (#28005)
## Summary
Fixes #27744

cc @elastic/eui-design -- It appears that the [`DefaultItemAction`](https://elastic.github.io/eui/#/display/tables) can only accept hard-coded `name`/`description` values. While this isn't necessarily a bad thing, I'm wondering if the linked issue (#27744) will be a common enough occurrence within Kibana to make the DefaultItemAction less useful. What do you think about allowing functions for the `name` and `description` fields, so that they can get access to the row's record, and provide context as necessary?
2019-01-03 15:38:54 -05:00
dave.snider@gmail.com
dd9e773156
[6.x] EUI 5.8.1 comes with a brand color refresh. Also removes lots of KUI (#27009) (#27429)
* EUI 5.8.1 comes with a brand color refresh. Also removes lots of KUI (#27009)

EUI 5.7.0 had a color refresh which switched around our palette to better match branding guidelines. Hex colors are still hard coded in large parts of Kibana so most of the changes not in kbn/ui-framework are simple shifts to match that styling.

* snapshots
2018-12-18 14:32:08 -08:00
Caroline Horn
72f71ef468
Even moar 'ui/public' LESS to SASS (#26435) (#27221)
also Fixes #26597
2018-12-14 12:48:59 -05:00
Maryia Lapata
631a093023 [i18n] Translate untranslated labels (#26416) (#27016)
* Translate some missing translations

* Fix issues

* Add topNavMenu translations

* Fix issues

* Fix topNav

* Fix issues

* Fix issues

* Fix kbnTopNav test and parametrs description
2018-12-14 10:24:30 +03:00
Larry Gregory
cd7087b985
[6.x] Fixes i18n issue in space nav selector (#26742) (#27025)
Backports the following commits to 6.x:
 - Fixes i18n issue in space nav selector  (#26742)
2018-12-12 07:49:06 -05:00
Larry Gregory
08ff0ef54e
[6.x] Improve wording when creating a space (#26915) (#26960)
Backports the following commits to 6.x:
 - Improve wording when creating a space  (#26915)
2018-12-11 09:31:02 -05:00
Tim Roes
b953147990
Make space selector a button (#26889) (#26947) 2018-12-11 11:54:43 +01:00
Felix Stürmer
5062de8e65
Move SavedObjectClient types alongside js source (#26448) (#26563) 2018-12-04 00:13:15 +01:00
Larry Gregory
a67ad05e19
[6.x] support standard license (#26294) (#26304)
Backports the following commits to 6.x:
 - support standard license  (#26294)
2018-11-27 18:11:41 -05:00
Larry Gregory
77f06b0b96
Fix spaces license check (#26270) (#26276)
## Summary

Allows the public spaces API to work with a gold license

Resolves https://github.com/elastic/kibana/issues/26271
2018-11-27 14:29:30 -05:00
Tiago Costa
696a4de51d
fix(NA): prettier throw rule error ocurring on master. (#26071) (#26129) 2018-11-23 18:13:36 +00:00
Larry Gregory
3dc7928949 Fix anonymous access to status page (#24706) (#25678)
* fix status.allowAnonymous

* address PR feedback
2018-11-20 14:10:27 -08:00
Maryia Lapata
7891c63dcb
Translate Spaces component (#24411) (#25696)
* Translate Spaces component

* fix one little error

* update Spaces component

* update translation of Spaces components

* Update snapshots

* update Space translation - intl type

* update Space translation - remove view/views id namespace

* rename ids

* use testing helper functions instead of shallow, render, mount from enzyme

* fix unit tests

* fix ts path for enzyme test helpers

* fix path to enzyme helpers test functions

* Update snapshots

* fix path to enzyme test helpers

* Remove unused dependency.
2018-11-15 13:30:07 +03:00
Chandler Prall
0f56480e11
Update EUI to v5.0.0 (#25316) (#25408)
* update EUI to v5.0.0

* update snapshots

* revert snapshot change

* revert snapshot change (2)
2018-11-08 12:54:52 -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
Caroline Horn
73e8260d3e
Remove wrapper around manage spaces button in menu (#24506) (#24525)
Fixes #23544
2018-10-24 15:51:08 -04:00
Caroline Horn
b3addf681c
Spaces selector screen graphics and other cleanups (#24442) (#24501) 2018-10-24 13:22:49 -04:00
Brandon Kobel
377688ab7f
[6.x] Rendering the space selector in either the header or the globalnav (#23845) (#24440)
* Rendering the space selector in either the header or the globalnav (#23845)

* Rendering the space selector in either the header or the globalnav

* Adding link title

* Doing it the React way

* Updating snapshots

* Adding withTitle prop

* Fixing Spaces nav control popover snapshot
2018-10-24 07:28:08 -07:00
Larry Gregory
e42ecd794f
allow an empty space description to be provided (#24168) (#24183) 2018-10-18 06:17:29 -04:00
Larry Gregory
f190954b06
Hide popover when clicking the Manage Spaces button (#24166) (#24182)
Fixes #24135 

This PR closes the space selector popover after clicking the Manage Spaces button. Previously, the popover would stay open, which is confusing and annoying
2018-10-18 06:16:59 -04:00
Felix Stürmer
db8b86538a
[Infra UI] Merge InfraOps feature branch (#24068) (#24127) 2018-10-17 17:36:45 +02:00
Brandon Kobel
4913e93139
Fixing the spaces audit logger when security is explicitly disabled (#23878) (#24018) 2018-10-16 00:29:52 +01:00
Larry Gregory
4a4c1e5985
[6.x] Delete objects belonging to removed space (#23640) (#24033)
Backports the following commits to 6.x:
 - Delete objects belonging to removed space  (#23640)
2018-10-15 19:05:57 +01:00
Brandon Kobel
7b639ca77d
Fixing the behavior when scrolling of the spaces popover (#23851) (#23886) 2018-10-05 11:45:07 -07:00
Chris Roberson
bc1405b7d6
Backport #22998 (#23689) 2018-10-04 13:36:51 -04:00
Brandon Kobel
d543e3f713
Limiting maximum number of Spaces (#23673) (#23774)
* Limiting the number of spaces

* Adding docs

* Adding forgotten fixture

* Fixing tslint error

* Adjusting docs

* Changing test descriptions from Boom.badRequest to bad request

* Updating error snapshots
2018-10-03 12:43:29 -07:00
Larry Gregory
e45921e449
Handle case where space name is made entirely of whitespace (#23691) (#23783)
* handle case where space name is made entirely of whitespace

* update space name validation
2018-10-03 14:24:01 -04:00
Larry Gregory
aeda9cfec9
Fix spaces table rendering in IE (#23608) (#23703)
This fixes table rendering in IE where we display the Space Avatar alongside the Space Name. The solution is to[ render them in separate columns](https://github.com/elastic/kibana/issues/23546#issuecomment-425108806), instead of a single column.

Screenshots from IE:
![fixed spaces cutoff](https://user-images.githubusercontent.com/3493255/46208213-036db700-c2f8-11e8-9a43-67bb42b7c788.png)

![fixed spaces cutoff 2](https://user-images.githubusercontent.com/3493255/46208216-0668a780-c2f8-11e8-94e0-454c51d543e2.png)


Closes #23546
2018-10-02 16:14:17 -04:00