Commit graph

15 commits

Author SHA1 Message Date
Larry Gregory 0886b0e9e5
Don't query for the current user on anonymous pages (#99511) 2021-05-06 17:04:56 -04:00
Larry Gregory ec8ff3a7fc
Only add cloud-specific links for superusers (#97870)
Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-23 11:59:11 -04:00
Ryan Keairns b301d416b7
Update Cloud plugin to handle new config in kibana.yml (#95569)
* Handle cloud urls from kibana.yml

* Add types to utils params

* Update utils

* address nits

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-31 07:49:50 -05:00
Ryan Keairns f61657c5e9
Update text and icons to align with Cloud (#86394)
* Update text and icons to align with Cloud

* Update test to reflect new page title prefix

* Change links conditionally

* Simplify profile link logic

* Add setAsProfile prop for overriding default link

* Address feedback

* remove translations since message has changed

* Tidying up

* Add unit tests.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>
2021-03-11 08:53:46 -06:00
Pierre Gayvallet 3b3327dbc3
Migrate most plugins to synchronous lifecycle (#89562)
* first pass

* migrate more plugins

* migrate yet more plugins

* more oss plugins

* fix test file

* change Plugin signature on the client-side too

* fix test types

* migrate OSS client-side plugins

* migrate OSS client-side test plugins

* migrate xpack client-side plugins

* revert fix attempt on fleet plugin

* fix presentation start signature

* fix yet another signature

* add warnings for server-side async plugins in dev mode

* remove unused import

* fix isPromise

* Add client-side deprecations

* update migration examples

* update generated doc

* fix xpack unit tests

* nit

* (will be reverted) explicitly await for license to be ready in the auth hook

* Revert "(will be reverted) explicitly await for license to be ready in the auth hook"

This reverts commit fdf73feb

* restore await on on promise contracts

* Revert "(will be reverted) explicitly await for license to be ready in the auth hook"

This reverts commit fdf73feb

* Revert "restore await on on promise contracts"

This reverts commit c5f2fe51

* add delay before starting tests in FTR

* update deprecation ts doc

* add explicit contract for monitoring setup

* migrate monitoring plugin to sync

* change plugin timeout to 10sec

* use delay instead of silence
2021-02-08 10:19:54 +01:00
Brandon Kobel 4584a8b570
Elastic License 2.0 (#90099)
* Updating everything except the license headers themselves

* Applying ESLint rules

* Manually replacing the stragglers
2021-02-03 18:12:39 -08:00
Catherine Liu 4dba10c76a
Adds cloud links to user menu (#82803)
Co-authored-by: Ryan Keairns <contactryank@gmail.com>
2020-11-10 09:51:27 -06:00
Catherine Liu e378555971
Revert "Adds cloud links to user popover (#66825)" (#82802)
This reverts commit 8cdf56636a.
2020-11-05 21:25:57 -07:00
Catherine Liu 8cdf56636a
Adds cloud links to user popover (#66825)
Co-authored-by: Ryan Keairns <contactryank@gmail.com>
2020-11-05 17:41:07 -07:00
Jean-Louis Leysens 43a055f9b9
[ILM] Minor copy and link additions to cloud CTA for cold phase (#80512)
* Add CTA for warm phase too

- add/updated component integration tests for checking callouts
- sharing deployment url from cloud plugin

* update comment

* fix i18n

* scope changes to cold phase only

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-21 16:24:30 +02:00
Catherine Liu 8ed4f7f91f
Adds link for Cloud deployment settings (#66486)
Co-authored-by: Michail Yasonik <michail@yasonik.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-24 15:08:37 -07:00
Brandon Kobel 90d2b18bc5
Add Data - Adding cloud reset password link to cloud instructions (#62835)
* Adding cloud reset password link to cloud filebeat instructions

* Auditbeat gets the cool reset password link

* And the other beats instructions get the awesome password reset link

* Changing the i18n id to more closely match the on-prem cloud id

* Changing text for forgot password

* Removing now unused translations

* "Forgot your password" -> "Forgot the password"

* "Elastic Cloud UI" -> "Elastic Cloud"

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-09 07:43:36 -07:00
Joe Reuter 28034d05a9
Remove injected reference from home app (#57836) 2020-02-19 12:51:26 +01:00
Joe Reuter b9a0f958bc
Reverse dependency of home plugin and apm/ml/cloud (#52883) 2020-01-15 10:10:12 +01:00
Ahmad Bamieh 9fe302cf17
[Cloud] move cloud plugin to np (#51789)
* move cloud dir to plugins from legacy

* first iteration moving to NP

* config as observable

* finish plugin

* migrate xpack.cloud.apm.*

* self code review

* remove unused lodash get

* use lodash get to get configs

* export SerializedDatatable

* eslint fix

* eslint fix

* fix setup type

* fix monitoring tests

* fix test mock function

* resolve ELASTIC_SUPPORT_LINK in core

* running check_core_api_changes script

* review feedback

* mock setHelpSupportUrl

* update snapshots
2019-12-05 08:20:28 -05:00