* 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>
* 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
* 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>
* Adding explicit MPL license for sub-package.
This directory and its subdirectories (packages) contain files licensed with the MPLv2 `LICENSE` file in this directory and are intentionally licensed separately from the BSL `LICENSE` file at the root of this repository.
* Adding explicit MPL license for sub-package.
This directory and its subdirectories (packages) contain files licensed with the MPLv2 `LICENSE` file in this directory and are intentionally licensed separately from the BSL `LICENSE` file at the root of this repository.
* Updating the license from MPL to Business Source License.
Going forward, this project will be licensed under the Business Source License v1.1. Please see our blog post for more details at https://hashi.co/bsl-blog, FAQ at www.hashicorp.com/licensing-faq, and details of the license at www.hashicorp.com/bsl.
* add missing license headers
* Update copyright file headers to BUS-1.1
* Fix test that expected exact offset on hcl file
---------
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Sarah Thompson <sthompson@hashicorp.com>
Co-authored-by: Brian Kassouf <bkassouf@hashicorp.com>
* replaced each instance of MaskedInput in PKI with CertificateCard
* modify tests for pki-generate-csr
* add test for pki-issuer-details. modify test for pki-certificate-details
* added test for pki-key-details. modified test for pki-sign-intermediate-form
* update 2 test helper files and modify test for pki-issuer-rotate-root
* update test for certificate-card-test.js, update test for the kubernetes configuration-test.js
* modify pki-action-forms-test.js to no longer look for masked input. expand test for pki-issuer-details-test.js to check for all issuer details
* change CertificateCard to show different format types (PEM, DER, nothing) depending on the value provided. update 2 test files to account for this.
* change CertificateCard arg name from @certficateValue to @data to be more inclusive of different uses of CertificateCard (i.e when used for a private key, not a certificate). add description to certificate-card.js
* change naming for attr.options.masked to attr.options.displayCard to reflect the change from MaskedInput to CertificateCard
* add changelog
* change attribute to isCertificate to better fit the title of the component CertificateCard. edit pki-certificate-details.hbs to get rid of extraneous code
* imprv: Add a parameter to allow ExtKeyUsage field usage from a role
* chore: Add the changelog entry
* imprv: Reword UI and changelog
* doc: Add allow_role_extkeyusage in parameter list
* imprv: Align variable names with existing fields/codebase
* Add unit test and tweak some labels
---------
Co-authored-by: Steve Clark <steven.clark@hashicorp.com>
* 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
* 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
* 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
* update version service
* render enterprise groups
* render enterprise params
* move group headers to within loop
* cleanup template
* update form tests
* change version service references to hasFeature to hasControlGroups getter
* add params to details view
* update version service test
* setup routing, move queries in ConfigurationIndex to parent resource route
* finish building out form, add model attrs build ttls
* add types
* update model attribute values, fix default ttl states
* remove defaults and use openApi, group with booleans
* add model to application route"
* add save functionality
* add error banner
* add transition after save
* use defaults from open api
* fix empty state language
* pass engine data
* change model attrs to ttl objects
* update types
* add invalid form alert to error block
* move data manipulation to serialize
* fix serializer, add comments
* add test for serializer
* edit configuration details view
* update details test
* change to updateRecord so POST request is made
* config/urls use POST instead of PUT
* add edit tests, update details
* add model hooks back to routes
* rearrange to remove dif
* remove createRecord for urls
* update comment
* wip sample ttl transform
* Revert "wip sample ttl transform"
This reverts commit 59fc179b5c.
* revert changes, move model updates back to component
* simplify model fetches
* address comments;
* update pki/urls test
* update adapter test
* remove intercepting helpText
* add subtext directly to StringList input component
* update tests and add coverage for new openapi-attrs util
* update test
* add warning validation to input
* lol is this right i dont know go
* literally no idea what im doing
* add Description to display attrs struct
* update struct comment
* add descriptions to remaining go fields
* add missing comma
* remaining commas..."
* add description to display attrs
* update tests
* update tests
* add changelog;
* Update ui/app/utils/openapi-to-attrs.js
* update tests following backend changes
* clearly name variable
* format files
* no longer need to test for modified tooltip since coming from backend now
* updates clients config view for census reporting
* adds changelog entry
* fixes issue with modal staying open and error not showing on clients config save failure
* adds min retention months to clients config model and form validation
* VAULT-13782 move keys tab next to issuers
* VAULT-13794 move private_key_format to key paramter toggle
* Fix failing tests!
* Move format and private key format out
* Address feedback and fix not valid after spacing
* Add more spacing and code cleanup
* Remove engines stylesheet
* Remove class conditional logic