Commit graph

13 commits

Author SHA1 Message Date
Alison Goryachev 66707a0574
[Ingest pipelines] Upload indexed document to test a pipeline (#77939) (#78577) 2020-09-28 10:29:56 -04:00
Larry Gregory 047152f890
[7.x] Hide management sections based on cluster/index privileges (#67791) (#77345)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-14 14:33:17 -04:00
Mikhail Shustov b2040a5a1b
[7.x] Update @typescript-eslint to ensure compatibility with TypeScript v3.9 (#74091) (#74384)
* Update @typescript-eslint to ensure compatibility with TypeScript v3.9 (#74091)

* bump @typescript-eslint deps

* update rules

* fix errors in pacakges

* fix src/

* fix x-pack

* fix test

* fix typings

* fix examples

* allow _ as prefix and suffix

* roll back prefix and suffix changes

* add eslint-plugin-eslint-comments

* report unused rules

* remove unused eslint comments from tests

* remove unused eslint comments 2nd pass

* remove unused eslint comments from src/

* remove unused comments in x-pack

* use no-script-url and no-unsanitized/property for ts files

* remove unused eslint comments

* eui/href-or-on-click removed when not complained

* no import/* rules for ts files

* cleanup

* remove the unused eslint-disable

* rollback unnecessary changes

* allow underscore prefix & sufix in type name

* update docs

* fix type error in enterprise search plugin mocks

* rename platform hack __coreProvider --> _coreProvider

* rollback space removal in src/core/public/legacy/legacy_service.test.ts

* fix naming convention in APM
# Conflicts:
#	src/legacy/ui/public/new_platform/new_platform.ts
#	x-pack/plugins/index_management/public/application/components/mappings_editor/mappings_editor.tsx

* remove unnecessary comment
2020-08-05 21:45:29 +02:00
Jean-Louis Leysens 561fccc4b5
[Ingest Pipelines] Error messages (#70167) (#70567)
* improved error messages

* traverse recursive error struct

* add check for object with keys

* update button position and copy

* size adjustments

* Refactor i18n texts and change wording

Also added missing translation and refactored maximum errors in
collapsed state to external constant

* use io-ts, add CIT and unit tests

* refactor error utilities to separate file

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-02 15:39:07 +02:00
Alison Goryachev 661fd85d34
[7.x] [ES UI] Error handling (#68809) (#69146) 2020-06-15 12:00:12 -04:00
Tyler Smalley a8718ef404
[eslint] Prevents importing of public code into server (#67149) (#68782)
We should not be allowing importing of public into server. Any shared code should reside in a common directory. After #66506, this will not even be possible as we will no longer be transpiling public code into commonjs.

Blocks #66506

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-10 16:06:36 -07:00
Mikhail Shustov 42ae0b9031
[7.x] Mark elasticsearch client exposed via request context as deprecated (#67319) (#67576)
* Mark elasticsearch client exposed via request context as deprecated (#67319)

* add legacy prefix for es client exposed via request handler context

* update src/plugins

* update core mocks and tests

* update test plugins

* update xpack plugins

* include x-pack/mocks.ts

* update after master merge

* update docs

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/index_management/server/routes/api/templates/register_create_route.ts
#	x-pack/plugins/upgrade_assistant/server/routes/cluster_checkup.ts

* fix upgrade assistant tests
2020-05-28 14:02:01 +02:00
Jean-Louis Leysens ad25b23f66
Fix getting security license status lazily (#67320) (#67347)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-27 09:30:28 +02:00
Alison Goryachev ca2ca5fed0
[7.x] [Ingest pipelines] Fix schema validation for simulate and update routes (#67199) (#67328)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-26 15:21:03 -04:00
Jean-Louis Leysens c0fcd816d9
Fix privileges check when security is not enabled (#67308) (#67315) 2020-05-26 17:06:29 +02:00
restrry 2fefd60e90 update code style 2020-05-22 10:35:02 +02:00
Alison Goryachev ba9630cbc1
[7.x] [Ingest pipelines] Make description field optional (#65961) (#66032) 2020-05-11 12:50:00 -04:00
Alison Goryachev 2525d570e8
[7.x] Ingest Node Pipelines UI (#62321) (#64956) 2020-05-05 07:04:31 -04:00