Commit Graph

1251 Commits

Author SHA1 Message Date
Jordan Reimer
111d472839
updates ember template lint config to override prettier in tests and removes ignore (#23108) 2023-09-15 10:41:05 -06:00
Kianna
71808c00ec
UI: [VAULT-19982] confirm delete modal for namespaces (#23066) 2023-09-14 12:19:35 -07:00
Jordan Reimer
b03300689a
updates file-to-array-buffer component to glimmer and fixes flaky issue in test runs (#23081) 2023-09-14 12:41:09 -06:00
Kianna
e5d2b2b842
UI: [VAULT-19340] update test selectors for dashboard (#23053) 2023-09-14 11:29:25 -07:00
Chelsea Shaw
52f8f0ddba
UI: Handle control group error on SSH (#23025)
* Handle control group error on SSH

* Add changelog
2023-09-12 21:01:52 +00:00
Chelsea Shaw
de1382e99b
UI: Fix empty item on kv list (#22838) 2023-09-12 17:01:57 +00:00
claire bontempo
ab68f42234
encode namespace for API paths (#22962) 2023-09-12 09:03:59 -07:00
claire bontempo
112501a3f6
ui: More transit flakiness (#22969)
* fix group name typos

* add flaky note and cleanup generate function

* rename variable

* remove other test for other key types

* move key types to relevant test
2023-09-12 09:03:31 -07:00
Kianna
249d8d7b52
UI: [VAULT-18040] List all features in license info (#22855) 2023-09-12 08:48:15 -07:00
Jordan Reimer
8f6535cfaf
LDAP Roles Pagination (#22985)
* adds pagination to ldap roles list view

* fixes issue with list not refreshing on ldap roles delete
2023-09-12 09:38:26 -06:00
Angel Garbarino
adaef9deb8
remove test failure which cannot be checked anymore consistently due to removal of logout login. (#22978) 2023-09-11 16:02:56 -06:00
Angel Garbarino
6a7345a100
small fix: (#22976) 2023-09-11 15:43:02 -06:00
Jordan Reimer
4bcd4db765
adds mount config details to kubernetes configuration view (#22926)
* adds mount config details to kubernetes configuration view

* adds changelog entry
2023-09-08 15:18:54 -06:00
malinac02
e66fcf794e
fix styling on masked input when viewing kmip credentials (#22887) 2023-09-08 11:45:53 -07:00
Jordan Reimer
b6cce58e57
Code Snippet Updates (#22917)
* updates code-snippet component styling and adds it to ldap library accounts view

* adds comment back in to code-snippet template
2023-09-08 11:46:31 -06:00
Austin Gebauer
21bd134ad2
ui: adds a new auth form option (#22640)
* ui: adds a new auth form option

* add warning if nonsecure context, cleanup

* more ember-y

* Only show saml auth method for enterprise, plus tests

* Use error message helper

* Dont include saml on community auth list

* Add allSupportedAuthBackends method

* change token request from GET to PUT to match backend change

* Fetch role on sign in, cancel login after timeout

* saml acceptance test

* Add changelog

* saml test only on enterprise

* set the acs_url according to which cluster the UI is served from

* prepare namespace in addition to path with a helper func

---------

Co-authored-by: Chelsea Shaw <cshaw@hashicorp.com>
2023-09-08 08:53:26 -07:00
Chelsea Shaw
3ae94183bf
UI: Namespace validation update (#22820) 2023-09-08 10:02:52 -05:00
Jordan Reimer
8f9bf0c623
fixes ldap overview card layout on smaller viewports (#22882) 2023-09-08 08:40:11 -06:00
Angel Garbarino
7556dfd158
Fix KV bug on deletion_time (#22842)
* the fix

* working, but work in progress maybe change to another helper, put draft up?

* some fixes and restructing

* change names

* test assert wrong locally, lets see about gh
2023-09-07 15:09:33 -06:00
Jordan Reimer
cbc567895c
moves ldap role credentials error handling within credentials route (#22870) 2023-09-07 20:28:27 +00:00
Jordan Reimer
62b1e39acc
fixes issue checking in ldap library account from overview (#22853) 2023-09-07 11:57:37 -06:00
Jordan Reimer
17f5aeb0a1
disables ldap library and role name fields when editing (#22849) 2023-09-07 09:51:17 -06:00
Jordan Reimer
18101d3514
fixes issue using removeObject on array proxy when deleting ldap libraries and roles (#22844) 2023-09-07 08:53:19 -06:00
Jordan Reimer
068a57c204
Form Field Tooltip Alignment (#22832)
* fixes alignment issues with form field labels that have tooltips

* adds gap to is-label to preserve tooltip spacing

* adds changelog entry
2023-09-06 22:14:17 +00:00
Chelsea Shaw
2ca784ad11
UI: Show error if tool action is not recognized (#22821) 2023-09-06 15:29:35 -05:00
Kianna
00331b742e
UI: [VAULT-19478] Fix info table row value overflow (#22776) 2023-09-05 14:52:14 -07:00
Kianna
2cd8f59845
[VAULT-19341] convert secrets engines, learn more to ts and fix date bug (#22762) 2023-09-05 14:44:20 -07:00
Angel Garbarino
83216b54c0
make change and change test (#22773) 2023-09-05 14:06:24 -06:00
Cinthia Conti
fcd6f01761
UI: [VAULT-18126] adding style to prevent namespace to overflow on sidebar (#22733)
* adding style to prevent namespace to overflow

* adding helper css classes

* adding changelog entry

* removing namespace-name class in favour of helper classes

* style cleanup

* removing identation
2023-09-05 11:04:08 -04:00
Angel Garbarino
18d694fd06
KV - no list permissions error catch (#22670)
* initial fix. need to clear out local storage to see it work.

* first draft

* clean up

* test fix

* add test coverage

* pairing to do clean up

* update tests
2023-09-01 09:27:36 -06:00
Chelsea Shaw
8da06f9b54
UI: Update kv list filter to not search on type (#22648) 2023-08-31 21:30:00 +00:00
Angel Garbarino
50bad8c035
add missing adapter test and handle the kv/metadata currentSecret getter (#22700) 2023-08-31 13:57:23 -06:00
Kianna
1dfd57e26d
UI: [VAULT-19560] Add empty states and tests (#22690) 2023-08-31 12:12:20 -07:00
claire bontempo
173b007b02
ui: Refreshes parent route to fix secret state discrepancies within a namespace for kv v2 (#22681)
* move json toggle action to template

* add test for version dropdown problem

* refactor write secret to allow for namespaces

* consolidate transition functions

* refresh model for certain routes

* add destroy assertion

* rename variables

* remove dataset clearing from details component
2023-08-31 18:05:52 +00:00
claire bontempo
1d273d6b3e
ui: unskip mount engine transition tests (#22693)
* unskip mount backend transition tests

* address comment

* add enterprise tests
2023-08-31 11:01:17 -07:00
Kianna
fc9e308f02
UI: Cleanup dashboard (#22574) 2023-08-30 14:17:06 -07:00
claire bontempo
efca08d295
UI: fix redirect after creating new version of a KV v2 secret in a namespace (#22630)
* add version to query params when transitioning after creating a new version

* add test coverage

* update urls in tests

* add logout method

* use desctructured secret

* remove path

* add clearRecords

* fix assertion

* clear ns just in case

* clear ns just in case
2023-08-30 14:11:19 -07:00
Chelsea Shaw
b18313b4eb
UI: kv-v2 version history & path tests (#22593) 2023-08-30 15:23:15 +00:00
claire bontempo
408d4f7aeb
ui: addressing flaky transit backend and userpass tests (#22617)
* break key types into smaller groups

* use console command helpers

* split up into one more group

* remove ux of disabling submit button

* update userpass test
2023-08-29 16:29:55 -06:00
Thomas Schweizer-Bolzonello
958eb96bab
Fix typo OSCP -> OCSP (#22586) 2023-08-28 18:39:01 +00:00
Chelsea Shaw
9b149c546f
UI: kv-v2 delete workflow tests (#22565) 2023-08-25 23:28:30 +00:00
claire bontempo
f3b9323501
ui: Wire up new KV ember engine to main app (#22559) 2023-08-25 17:45:23 -05:00
Angel Garbarino
8d6675200d
Fix auth-list flaky test (#22568)
* fix

* clean up comments

* remove extra space

* fix flaky timezone test:

* worth a try
2023-08-25 15:47:42 -06:00
Kianna
463ccb166e
UI: Skip some community tests for now (#22570) 2023-08-25 14:33:53 -07:00
Chelsea Shaw
f143f6a070
UI: Allow create or update KV with control group on KV Engine (#22552) 2023-08-25 20:19:44 +00:00
claire bontempo
9e00094801
ui: fix missing KMIP and Transform apiPath param (#22566)
* add missing api param to scopes

* and add backend param to transform
2023-08-25 16:57:12 +00:00
Jordan Reimer
a8b593614e
LDAP/AD Secrets Engine (#20790)
* adds ldap ember engine (#20786)

* adds ldap as mountable and supported secrets engine (#20793)

* removes active directory as mountable secrets engine (#20798)

* LDAP Config Ember Data Setup (#20863)

* adds secret-engine-path adapter

* adds model, adapater and serializer for ldap config

* adds test for ldap config adapter

* addresses PR feedback

* updates remaining instances of getURL in secrets-engine-path adapter

* adds underscore to getURL method in kubernetes/config adapter

* adds check config vars test for kubernetes/config adapter

* adds comment regarding primaryKey in secrets-engine-path adapter

* adds tab-page-header component for ldap secrets engine (#20941)

* LDAP Config Route (#21059)

* converts secret-mount-path service to ts and moves kubernetes fetch-config decorator to core addon and converts to ts

* adds ldap config route

* fixes withConfig import path in kubernetes roles route

* updates types in ldap config route

* adds unit tests for fetch-secret-config decorator

* updates comments in fetch-secret-config decorator

* renames fetch-secret-config decorator

* LDAP Configure Page Component (#21384)

* adds ldap page configure component

* removes pauseTest and updates radio card selector in ldap config test

* LDAP Configuration (#21430)

* adds ldap configuration route

* adds secrets-engine-mount-config component to core addon

* adds ldap config-cta component

* adds display fields to ldap configuration page and test

* fixes ldap config-cta test

* adds yield to secrets-engine-mount-config component

* fixes tests

* LDAP Overview Route and Page Component (#21579)

* adds ldap overview route and page component

* changes toolbar link action type for create role on overview page

* LDAP Role Model, Adapter and Serializer (#21655)

* adds model, adapter and serializer for ldap roles

* addresses review feedback

* changes ldap role type from tracked prop to attr and sets in adapter for query methods

* adds assertions to verify that frontend only props are returned from query methods in ldap role adapter

* LDAP Library Model, Adapter and Serializer (#21728)

* adds model, adapter and serializer for ldap library

* updates capitalization and punction for ldap role and library form fields

* LDAP Roles Create and Edit (#21818)

* moves stringify and jsonify helpers to core addon

* adds validation error for ttl picker in form field component

* adds ldap roles create and edit routes and page component

* adds ldap mirage handler and factory for roles

* adds example workflow to json editor component

* adds tests for ldap page create and edit component

* addresses feedback

* LDAP Role Details (#22036)

* adds ldap role route to pass down model to child routes

* adds ldap role details route and page component

* updates ldap role model capabilities checks

* adds periods to error messages

* removes modelFor from ldap roles edit and details routes

* adds flash message on ldap role delete success

* LDAP Roles (#22070)

* adds ldap roles route and page component

* update ldap role adapter tests and adds adapter options to query for partialErrorInfo

* updates ldap role adapter based on PR feedback

* adds filter-input component to core addon

* updates ldap roles page to use filter-input component

* updates ldap role adapter tests

* LDAP Role Credentials (#22142)

* adds ldap roles route and page component

* update ldap role adapter tests and adds adapter options to query for partialErrorInfo

* adds credentials actions to ldap roles list menu and fixes rotate action in details view

* adds ldap role credentials route and page component

* adds tests for ldap role credentials

* LDAP Library Create and Edit (#22171)

* adds ldap library create/edit routes and page component

* adds ldap library create-and-edit tests and library mirage factory

* updates form-field component to display validation errors and warnings for all fields

* updates ldap library edit route class name

* updates ldap library model interface name

* adds missing period in flash message

* LDAP Libraries (#22184)

* updates interface and class names in ldap roles route

* adds ldap libraries route and page component

* fixes lint error

* LDAP Library Details (#22200)

* updates interface and class names in ldap roles route

* adds ldap libraries route and page component

* fixes lint error

* adds ldap library details route and page component

* LDAP Library Details Configuration (#22201)

* updates interface and class names in ldap roles route

* adds ldap libraries route and page component

* fixes lint error

* adds ldap library details route and page component

* adds ldap library details configuration route and page component

* updates ldap library check-in enforcement value mapping

* fixes issue in code mirror modifier after merging upgrade

* fixes failing database secrets test

* LDAP Library Account Details (#22287)

* adds route and page component for ldap library accounts

* adds ldap component for checked out accounts

* updates ldap library adapter tests

* LDAP Library Check-out (#22289)

* adds route and page component for ldap library accounts

* adds ldap component for checked out accounts

* adds route and page component for ldap library checkout

* addresses PR feedback

* LDAP Overview Cards (#22325)

* adds overview cards to ldap overview route

* adds create library toolbar action to ldap overview route

* adds acceptance tests for ldap workflows (#22375)

* Fetch Secrets Engine Config Decorator Docs (#22416)

* removes uneccesary asyncs from ldap route model hooks

* updates ldap overview route class name

* adds documentation for fetch-secrets-engine-config decorator

* add changelog

* adding back external links, missed due to merge.

* changelog

* fix test after merging in dashboard work

* Update 20790.txt

---------

Co-authored-by: Angel Garbarino <angel@hashicorp.com>
Co-authored-by: Angel Garbarino <Monkeychip@users.noreply.github.com>
2023-08-25 10:54:29 -06:00
Kianna
231e2f4120
UI: VAULT-19359 update acceptance test and date format (#22564) 2023-08-25 09:13:57 -07:00
claire bontempo
42a337410f
UI: add copyable paths for CLI and API commands to kv v2 (#22551)
* add paths route

* WIP copy secret path component

* wip component

* ad v1

* use each-in to iterate over info table row

* update copy

* add commands to kv paths page

* add comments

* WIP tests

* finish tests

* remove version, address comments and use path arg directly remove secret

* update copy

* fix typo for perms

* remove destructuring, that was confusing

* add changelog

* add secure protocal
2023-08-25 09:03:46 -07:00
Chelsea Shaw
cdca4e831d
UI: Add transform for handling listing visibility (#20284) 2023-08-25 10:02:31 -05:00