Commit Graph

1162 Commits

Author SHA1 Message Date
Chelsea Shaw
15b5dd0a4e
UI: octanify lazy paginated query (#21602) 2023-07-06 13:32:01 -05:00
Jordan Reimer
6acd2921c5
fixes issue in permissions service where the correct capability was not being checked for entities and groups passed as an array when evaluating nav permissions (#21619) 2023-07-06 10:00:15 -06:00
Angel Garbarino
f5207a3a71
Fix link to API Explorer in console (#21596)
* quick fix for using api keyword in the console

* add back space
2023-07-05 13:52:25 -06:00
Kianna
21f8ad289c
UI: [VAULT-17317] Update components to use helper class and use overview-… (#21586) 2023-07-05 19:50:22 +00:00
Angel Garbarino
967c241c15
Add API Explorer Link to Sidebar Nav under tools (#21578)
* wip

* add outlet and sidebar nav link

* add changelog

* fix tests

* address pr comment
2023-07-05 18:05:32 +00:00
Jordan Reimer
78a86b4508
Login View Fix for Safari (#21582)
* adds height to brand-icon-large class to fix display issue in Safari

* adds changelog entry
2023-07-05 17:20:18 +00:00
Jordan Reimer
52baf01e53
Hide Nav Links in Child Namespaces (#21562)
* hides enterprise related nav links when in child namespace

* adds changelog entry
2023-07-05 09:47:45 -06:00
Kianna
d01a3c1763
UI: VAULT-17699 Fix masked input bug (#21531) 2023-06-30 13:17:34 -07:00
Angel Garbarino
1a780d8380
Capitlization Policy: First word only for title is-5 (#21501)
* initial fixes

* fix test

* fix test
2023-06-28 13:24:09 -06:00
Angel Garbarino
53d34dd930
Missed some Titlelize of the h1 title is-3 (#21482)
* missed a lot

* test fix

* wip context switch

* last of the test?

* last test, please
2023-06-28 08:33:13 -06:00
Angel Garbarino
20228a42ea
Capitalize all UI h1 title is-3 titles (#21454)
* address all h1 title is-3 headings

* fix mult-factor and tests

* qa'ing

* clean up

* clean up

* clean up

* fix tests

* fix test

* one more

* okay this is the last one.

* blah
2023-06-27 18:11:11 +00:00
Angel Garbarino
4fd4a0693d
Remove readOnly attrs from Clients Count Config Serializer (#21391)
* octanify and add serialize false to readonly attrs

* alphabetize

* stuff

* adds back payload.data check in normalizeResponse method of clients config serializer

* test things

* fix

* clean up

* Update ui/app/serializers/clients/config.js

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>

---------

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2023-06-22 01:28:59 +00:00
claire bontempo
76e742ba32
ui: HDS adoption replace <AlertBanner> component (#21375)
* UI: HDS adoption replace AlertBanner part 1 (#21163)

* rename test selector

* replace db banner

* add class

* replace db role edit

* db creds

* generate creds

* simpler class

* license banner component

* oidc callback plash

* raft

* aws

* secret create or update

* change to compact alert for form field

* change back to inline

* combine alert banners

* wrap in conditional

* remove references to message class

* UI: HDS adoption replace AlertBanner part 2 (#21243)

* token expire warning

* delete css

* edit form

* item details distribute mfa step 2 transit verify

* back to secondary

* distribute

* oidc lease error

* sign

* kv obj and repl dash

* more repl

* update test selector

* show, creds

* shamir

* pki csr

* pki banners

* add hds library to ember engines

* woops comma

* fix k8 test

* update message error component for last!

* hold off MessageError changes until next pr

* revert test selectors

* update pki tests

* UI: part 3 remove alert banner (#21334)

* final component swap

* and actual final of MessageError

* update MessageError selectors

* delete alert-banner and remove references

* update next step alerts to highlight color

* finishing touches, auth form test and client dashboard inline link

* fix more selectors

* fix shamir flow test

* ui: part 4 final cleanup (#21365)

* replace AlertPopup

* add test tag

* move tag

* one more message error tag

* delete alert popup

* final css cleanup

* move preformatted flash into <p> tag

* ui: address comments for sidebranch  (#21388)

* add periods, move link to trailing

* more periods and typo fix
2023-06-21 11:37:11 -07:00
claire bontempo
772ca6e1bb
ui: remove old references to pki and old adapter (#21376)
* remove old references to pki and old adapter

* remove after model hook from list

* remove references to isEngine

* add test

* update test

* delete test

* fix test
2023-06-21 11:36:38 -07:00
claire bontempo
9290d5f188
add waitUntil (#21299) 2023-06-16 08:29:18 -07:00
Jordan Reimer
d001a0482e
Bump HDS to 2.7.0 (#21259)
* bumps hds and flight icon deps to latest

* renames page-header style sheet to fix collision with HDS
2023-06-15 10:20:35 -06:00
Jordan Reimer
fd1f95439d
Rename PKI check-config Decorator (#21241)
* renames pki check-config decorator to check-issuers

* reverts check-issuers decorator function name change
2023-06-14 16:22:33 -06:00
claire bontempo
e3c3a52b7b
ui: update multi-endpoint error handling for pki config (#21027)
* update error handling for pki config

* address comments!

* VAULT-17194 link jira and rename errors var

* add tests

* Update ui/lib/pki/addon/components/page/pki-configuration-edit.ts

* add test comment

* combine save logic, update interface

* stub router
2023-06-14 21:53:45 +00:00
Jordan Reimer
6c64a20a39
renames replication links in sidebar nav (#21061) 2023-06-07 15:41:19 -06:00
claire bontempo
28f72564f8
add is_default and serial_number to serialze:false attrs (#21055) 2023-06-07 21:10:34 +00:00
Angel Garbarino
6fa423e3f3
License banner - check for new license on localStorage. (#20999)
* fix things twice

* fix test and a whitespace that showed on my linter

* fix comment

* address pr comments

* change const name
2023-06-07 11:05:56 -06:00
claire bontempo
8071d6e6ca
rename classes and delete unused files (#21003) 2023-06-06 08:38:12 -07:00
claire bontempo
34a722195e
UI: add pki/config/acme, fix pki/configcluster save bug (#20944)
* fix cluster/config actually saving doh

* add mkdown copy

* add acme config to edit form

* fix tests

* add empty state capabilities test

* add acceptance test for mixed permission save

* swap order to match form

* update copy

* make markdown changes

* fix y
2023-06-02 02:59:03 +00:00
claire bontempo
c2a1ce374c
UI: pki only render unable to parse banner on issuer details page (#20942)
* move parsing banner to issuer details view only

* add tests

* fix test typo

* remove old test
2023-06-01 23:33:41 +00:00
Chelsea Shaw
ffe3e1c9e9
UI: Scroll to top after PKI exported save (#20916) 2023-06-01 09:19:33 -05:00
claire bontempo
e32cf520f4
UI: fixes pki role editing changing to default key parameter values (#20907)
* add integer-to-string helper

* rename and add test

* add role test

* finish tests

* pass options so values are only converted if the type matches

* okay lets hit it with the loose-equal instead

* add changelog
2023-05-31 15:44:22 -07:00
Jordan Reimer
0defa2a1e7
UI cluster unseal bug (#20897)
* fixes issue unsealing cloud seal type cluster

* adds changelog entry
2023-05-31 14:21:36 -06:00
claire bontempo
4d7d175530
ui: pki prevent user from self cross-signing root issuer (#20876)
* throw error if self-cross-signing

* add test
2023-05-30 15:27:13 -07:00
claire bontempo
ea292e8142
Ui: Add contributing pattern doc (#19897)
* format readme to prepare for pattern info

* small text changes

* add markdown files for each section

* readme updates

* routing md draft

* add table of contents

* add oidc pr sample

* update routing

* add decorator section

* serializer docs

* add table of contents

* update readme

* add title

* add decorator section

* models readme

* update comments

* modify examples

* add bullets and more comments

* what the heck fix bullet

* model docs

* form docs

* routing doc

* serializer/adapter

* adds docs for model-validations decorator (#20596)

* UI Docs: Components (#20602)

* Add CSS best practices (#20370)

* wip--saving work

* wip

* friday morning....

* update

* fix exists to exist

* one more change

* UI docs: Add ember engine creation documentation (#20789)

---------

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>
Co-authored-by: Angel Garbarino <Monkeychip@users.noreply.github.com>
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2023-05-30 10:24:35 -07:00
claire bontempo
0615a50674
UI: updates info table row jsdoc (#20697)
* reuse format-duration helper

* add changelog

* update duration

* fix 0 assuming 0s

* VAULT-16593/ update tests, remove formatting assumptions

* more tests

* add calc function

* woops, typo use %

* update variable name

* add back one template test

* refactor to handle all duration string cases, including 3m

* ok lets do that differently

* comment cleanup

* address comments

* push to rerun checks
2023-05-30 10:21:07 -07:00
Angel Garbarino
c4198a32d5
Filter Auth methods by name or type (#20747)
* glimmerize controller

* search selects added and working

* add test and cleanup disable

* small fix on name filtering

* add changelog

* Add comment about individualized names

* Update methods.js

remove spaces
2023-05-26 16:07:36 +00:00
claire bontempo
b61989892c
ui: update pki link (#20791)
* fix link

* hold off change popup link

* clarify todo

* remove typo
2023-05-25 14:10:15 -07:00
claire bontempo
d2189fdf56
UI: Transit Key TTL not initializing to toggled off (#20731)
* add test

* bug fix and tests

* add changelog
2023-05-25 16:39:48 +00:00
claire bontempo
ec6a1f2934
UI: pki auto-tidy views (#20685)
* UI: plumbing for pki tidy work (#20611)

* update tidy model

* Dynamic group on tidy based on version

* UI: VAULT-16261 PKI autotidy config view (#20641)

* UI: VAULT-16203 tidy status page (#20635)

* ui: pki tidy form (#20630)

* order routes to match tabs

* add tidy routes

* add tidy-status page component

* update routes rename edit to configure, remove manage

* add page component to route template

* add comment

* finish routing

* change to queryRecord, delete old tidy file

* remove findRecord

* fix serializer name

* tidy.index only needs controller empty state logic

* build form and page components

* update tidy model

* alphabetize!

* revert model changes

* finish adapter

* move form out of page folder in tests

* refactor to accommodate model changes from chelseas pr

* WIP tests

* reuse shared fields in model

* finish tests

* update model hook and breadcrumbs

* remove subtext for checkbox

* fix tests add ACME fields

* Update ui/app/adapters/pki/tidy.js

* Update ui/app/adapters/pki/tidy.js

* refactor intervalDuration using feedback suggested

* move errors to second line, inside conditional brackets

* add ternary operator to allByKey attr

* surface error message

* make polling request longer

* UI: VAULT-16368 pki tidy custom method (#20696)

* ui: adds empty state and updates modal (#20695)

* add empty state to status page

* update tidy modal

* conditionally change cancel transition route for auto tidy form

* teeny copy update

* organize tidy-status conditoionals

* a couple more template cleanups

* fix conditional, change to settings

* UI: VAULT-16367 VAULT-16378 Tidy acceptance tests + tidy toolbar cleanup (#20698)

* update copy

* move tidyRevokedCertIssuerAssociations up to applicable section

* add tidy info to readme

* update copy

* UI: Add tidy as a tab to the error route (#20723)

* small cleanup items

* fix prettier

* cancel polling when we leave tidy.index (status view)

* revert changes to declaration file

* remove space

---------

Co-authored-by: Chelsea Shaw <cshaw@hashicorp.com>
Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2023-05-23 23:05:15 +00:00
claire bontempo
5e5e61b5a8
UI: add pki cluster config parameters (#20724)
* add config directory, rename crl and urls models

* fix imports

* add cluster config fields to edit form

* reorder url save

* update tests

* add to details page

* add details test;

* fix adapter name

* fix cluster adapter test name

* combine adapter tests

* update imports

* fix git diff

* move crl and urls adapters to config folder

* add config file

* woops add config adapter

* final renaming!!

* fix imports after naming to base

* add cluster to beforeModel hook

* hide help text

* maybe you should write tests that actually pass, claire

* seriously claire its embarrassing
2023-05-23 15:24:53 -07:00
claire bontempo
2ef3f7c5bf
UI: Add PKI readme and changelog for UI improvements (#20706)
* update pki readme

* add readme

* make it fancier

* add more info

* add config improvements to entry

* move changelog info to release notes

* reword action summary

* stop yelling in bullet points

* update action
2023-05-22 21:20:13 +00:00
Chelsea Shaw
d054ede7b3
UI: View PKI issuer from overview page (#20655) 2023-05-19 11:54:08 -05:00
Jordan Reimer
391cdd09eb
adds access nav component to settings auth route (#20662) 2023-05-19 10:52:57 -06:00
Kianna
1c6d5ff0cd
UI: VAULT-16309 Update OIDC navbar name to OIDC provider (#20631) 2023-05-18 15:52:28 +00:00
Chelsea Shaw
7c669702ac
UI/console update (#20590) 2023-05-17 11:41:02 -05:00
Jordan Reimer
6bb1f6a904
fixes command not found: export when running yarn start and updates caniuse-lite (#20610) 2023-05-16 15:48:49 -06:00
Angel Garbarino
ba1633f81c
Fix flaky filtering test (#20605)
* fix failing test

* more specific
2023-05-16 14:39:19 -05:00
Jordan Reimer
b78f4bffcc
MFA Create Enforcement Bug (#20603)
* fixes issue creating mfa enforcement from method enforcement tab toolbar action

* adds changelog entry
2023-05-16 10:38:53 -06:00
Kianna
73c054062d
UI: Convert pki component files to ts (#20533) 2023-05-16 08:07:12 -07:00
Angel Garbarino
66bfd29756
remove var (#20592) 2023-05-15 17:28:47 +00:00
Angel Garbarino
4bd857ca84
Filter Secret Engine List view by engineType and/or name (#20481)
* initial WIP glimmerize the controller

* wip got the filter engine type by supported backends working

* got filter by engine type working

* wip need to refactor but working ish for name

* wip working state with both filters, does not work if both fiters are set

* fixed when you have two selected filters, but broken for multiples of the same type with different names

* remove repeated engineTypes in filter list

* add disabled to power select

* fix bug of glimmer for the concurrency task.

* wording fix

* remove linkableItem and the nested contextual compnents to help with loading speed.

* add changelog

* fix some tests

* add test coverage

* Update 20481.txt

update changelog text

* test fixes 🤞

* test fix?

* address a pr comment and save

* address pr comment
2023-05-15 16:57:27 +00:00
claire bontempo
8bc8e86bc6
UI: pki cross-signing acceptance tests (#20495)
* move selectors to helper file

* wip cross sign acceptance tests

* finish tests
2023-05-05 12:35:57 -07:00
claire bontempo
570a33b6a6
UI: add info banner for not parsable certs (#20518)
* remove undefined payload.issuer_id

* add info banner to parsed display view

* add tests

* clean up conditional, add specific banner test selector

* check for undefined length
2023-05-04 20:54:10 +00:00
Chelsea Shaw
d1c9318de5
UI: Stabilize KV secret tests (#20491) 2023-05-04 05:02:07 +00:00
Kianna
d8c818a08c
UI: PKI error handling + some small bugs! (#20478) 2023-05-03 13:00:46 -07:00