Commit Graph
1398 Commits
Author SHA1 Message Date
Dharini Jeeva 6fbf243c31 fix: 🐛 oidc account id (#2034) 2023-12-06 16:10:44 -08:00
Dharini Jeeva 3f2f2ba756 feat: 🎸 Allow prompts in oidc auth method form (#2007)
* feat: 🎸 Allow prompts in OIDC auth method form
2023-11-28 11:59:16 -08:00
Carlos Alcaide Corvo 02a89bd7ba Chore upgrade eslint and deps (#2010)
* chore: 🤖 Upgrade eslint 

* chore: 🤖 Upgrade eslint-config-prettier

* chore: 🤖 Upgrade eslint-plugin-ember 

* chore: 🤖 Upgrade eslint-plugin-n
2023-11-27 15:31:39 -08:00
Devon Anderson 019b3e7390 chore: 🤖 Update stylelint config dependency (#2000)
* chore: 🤖 Update dependency

Updated `styelint-config-standard-scss` to fix incorrect peer dependency
warning for `styelint`

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11818

* Update _notify.scss

remove test for media query

* refactor: 💡 refactor media queries

Refactor all media queries to include `context` notation.

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11818
2023-11-22 15:42:24 -05:00
Zhihe Li bcf004b8a4 Reformat codebase with trailing commas in functions (#2006)
* style: 💄 Update trailing commas in API

* style: 💄 Update trailing commas in core

* style: 💄 Update trailing commas in rose

* style: 💄 Update trailing commas in admin

* style: 💄 Update trailing commas in desktop
2023-11-22 14:07:41 -05:00
hashicorp-copywrite[bot] 45a3cb8d34 [COMPLIANCE] Add Copyright and License Headers (#1999)
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2023-11-20 08:41:36 -08:00
Kristin Bradley e96171cab0 Replace Rose::Footer with Hds::AppFooter component (HDS-2805) (#1994)
* HDS-2805 Replace Rose::Footer with Hds::AppFooter
2023-11-17 15:30:44 -08:00
Devon Anderson 3b3a00e1ee Upgrade desktop UI to Ember 4.12.2 (#1990)
* Upgrade desktop UI to Ember 4.12.2

* refactor: 💡 refactor scripts

Refactor concurrently scripts, and removed duplicate entries in
`eslintrc.js`

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11747

* refactor: 💡 peer dependencies

Revert changes to `peerDependencies`.

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11747

* refactor: 💡 revert config back before upgrade

Revert `styelint-standard-config-scss` back to 6.0.0 so that it can be
put into seperate ticket.

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11747

* Update _notify.scss

fix misspelling

* refactor: 💡 revert dependency

Revert `stylelint-config-standard-scss` back to original version

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11747
2023-11-15 11:29:24 -05:00
Devon Anderson 2558ee1353 chore: 🤖 Upgrading to Ember 4.12.2 (#1988)
* chore: 🤖 Upgrading to Ember 4.12.2

Upgrading `admin/ui` to Ember 4.12.2

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11330

* refactor: 💡 Removed unused package

Removed unused `stylelint` package for `css`

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11330

* refactor: 💡 removed unused dependency

Removed `stylelint-prettier` dependency

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11330
2023-11-10 11:21:52 -05:00
Dharini Jeeva c5edd4dd52 Update auth methods form (#1981)
Update auth methods form (#1981)
2023-11-07 11:27:48 -08:00
hashicorp-copywrite[bot] f102e7fca2 [COMPLIANCE] Add Copyright and License Headers (#1986)
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2023-11-06 09:28:39 -08:00
0129784322 fix url when user tries to access resource with incorrect url (#1958)
* refactor: 💡 auth-method, account, & managed abilities & routes

* refactor: 💡 credential store resources abilities & routes

* refactor: 💡 group abilities & routes

* refactor: 💡 host-catalog resources abilities & routes

* refactor: 💡 role abilities & routes

* test: 💍 fix route-info-test

* test: 💍 fix host serializer tests

* test: 💍 fix create-test for host-sets

* refactor: 💡 session recording resources abilities & routes

* refactor: 💡 storage bucket abilities & routes

* refactor: 💡 target abilities & routes

* refactor: 💡 user abilities & routes

* refactor: 💡 worker abilities & routes

* refactor: 💡 remove ability changes and add comments

* Update ui/admin/app/utils/route-info.js

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

* test: 💍 add test cases and rename util file

* refactor: 💡 remove dup file and update imports

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11282

* docs: ✏️ update comments & remove console.log

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11282

* Update ui/admin/app/routes/scopes/scope/auth-methods/auth-method.js

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>

---------

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2023-11-02 16:08:25 -07:00
Devon AndersonandLisbet Alvarez a574023c05 chore: 🤖 Upgrade addons/rose dependencies (#1973)
* chore: 🤖 Upgrade addons/rose dependencies

Upgraded `addons/rose` dependencies to match other addons. Lint fixes,
and fixed scripts for concurrently

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11587

* v4.4.1...v4.12.2

* Update ember-try.js

change scenarios to match 4.12.2

* Update addons/rose/tests/integration/components/rose/button-test.js

Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com>

* Update ember-try.js

originally had the right scenarios for 4.
12.2

* chore: 🤖 upgrade ember-cli-babel

Upgrade ember-cli-babel to match other addons

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11587

* Update button-test.js

fix test declaration statement

---------

Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com>
2023-11-01 15:52:00 -04:00
Cameron Perera f879bbb1ec Session permissions issue (#1975)
* refactor: 💡 session isCancelable to isAvailable

* refactor: 💡 check for target info for showing target details

* refactor: 💡 add fallback for session data from connect command

* refactor: 💡 remove extra divs

* refactor: 💡 remove await from peekRecord of a session

* test: 💍 add test for no read permission for sessions

* test: 💍 reset global qunit after test is done
2023-11-01 11:22:18 -05:00
Dharini Jeeva 7d6f3df140 chore: update HDS to 3.0.2 (#1970)
* chore: 🤖 update to hds 3.0.2
2023-10-30 12:56:38 -07:00
Dharini Jeeva 722acdc1fc chore: 🤖 refactor key value list component, text input support (#1957)
refactor: 💡 refactor list wrapper component and fix test
2023-10-30 12:30:05 -07:00
hashicorp-copywrite[bot]andZhihe Li c548c381bf [COMPLIANCE] Add Copyright and License Headers (#1966)
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2023-10-24 14:31:07 -04:00
Michael Li 5b8fc06e21 test(admin/e2e): Update test timeout to 60s (#1955) 2023-10-17 13:06:21 -04:00
Lisbet AlvarezandZhihe Li a20483d1af update breadcrumbs to use hds::breadcrumbs (#1934)
* refactor: 💡 initial changes for updating breadcrumbs to use hds

* refactor: 💡 add breadcrumbs to all paths

* refactor: 💡 add more hds breadcrumbs to remaining paths

* refactor: 💡 remove BreadCrumbs from templates

* refactor: 💡 remove breadcrumb only controller files

* test: 💍 remove unnused test files & add missing tests

* test: 💍 update tests

* test: 💍 add missing scope in test

* test: 💍 fix test

* refactor: 💡 remove icons

* refactor: 💡 remove addon and use service instead

* docs: ✏️ add comment to breadcrumb service

* test: 💍 update service unit test

* docs: ✏️ add comments to breadcrumb components

* Update ui/admin/app/components/breadcrumbs/container/index.js

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

---------

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2023-10-17 09:45:34 -07:00
Dharini Jeeva 91a6023145 Refactor key value list component (#1949)
* refactor: 💡 update keyvalue list component to allow only rows
2023-10-12 14:42:23 -07:00
Carlos Alcaide Corvo 370b3ea1fb Chore icu 9085 audit resolutions (#1927)
* chore: 🤖 Delete shell-quote from resolutions

* chore: 🤖 Delete hawk from resolutions

* chore: 🤖 Modify resolutions for async
2023-10-11 11:38:34 +02:00
Stan Ryzhov 0357efee2a test: 💍 Add delete resources e2e UI test (#1931)
✅ Closes: ICU-10897
2023-10-06 11:10:25 -04:00
Dharini Jeeva 7993422b0d fix: 🐛 allow ldap managed groups in role/principals route (#1938) 2023-10-02 13:52:35 -07:00
Michael Li 958b91264f test(admin/e2e): Fixes for Admin UI test suite (#1935)
* test(admin/e2e): Update locator for worker filter textbox

* test(admin/e2e): Update locator for the New button

* test(admin/e2e): Update locator for New link

* fixup! test(admin/e2e): Update locator for worker filter textbox
2023-10-02 10:07:37 -04:00
Devon Anderson 58cd75ef67 fix: 🐛 ICU-11208 fix view of role scopes (#1929)
* fix: 🐛 ICU-11208 fix view of role under org, and
project scope

Fixed view of role under org, and project scope.

✅ Closes: ICU-11208

* refactor: 💡 Refactor scopes in roll

Refactor role to disregard subscopes for project scope

✅ Closes: ICU-11208

* refactor: 💡 refactor test

Refactor test to include test for a role having the correct grand scopes

✅ Closes: ICU-11208

* refactor: 💡 refactor test

Refactor test to test that role fectches scopes correctly

* quick refactor of previous test commit to grab the
role id from the response and use it in the next request

* refactor: 💡 refactor test

refactor test for scope fetching
2023-09-28 12:55:52 -04:00
Zhihe Li 4de41763b7 fix: 🐛 Fix polyfill not working correctly (#1932)
✅ Closes: ICU-11211
2023-09-27 17:45:53 -04:00
Lisbet Alvarez db4a693951 fix: 🐛 add polyfill for randomUUID (#1926) 2023-09-26 14:21:20 -07:00
Lisbet Alvarez f4768c69a5 chore: 🤖 enable ldap feature flag for all envs (#1924) 2023-09-26 10:04:49 -07:00
Dharini Jeeva d0a505558b refactor: 💡sb dynamic credential type secret fields and how we serialize (#1907)
* refactor: 💡 secret fields and how we serialize
2023-09-20 14:55:05 -07:00
Dharini Jeeva 1b84a70ca0 feat: (LDAP) add attributes to model and component (#1908)
* feat: 🎸 add two new fields to LDAP form
2023-09-20 09:18:30 -07:00
Dharini Jeeva 0abb95378e test: 💍 add extra test for credentialType (#1905)
* test: 💍 add extra test for credentialType

* Update ui/admin/tests/acceptance/storage-buckets/create-test.js
2023-09-19 15:58:52 -07:00
Dharini Jeeva 78d1e09a0d Icu 11022 update dynamic credentials in sb form (#1901) 2023-09-18 14:23:30 -07:00
Dharini Jeeva 4910070c95 feat: 🎸 add support for dynamic credentials in storage bucket (#1897)
* feat: 🎸 add support for dynamic credentials in storage bucket
2023-09-18 13:26:38 -07:00
Michael Li 0c80f4ba40 test(admin/e2e): Rename variables for clarity (#1878) 2023-09-06 10:49:09 -04:00
Stan RyzhovandMichael Li 61b81a3bb5 test: 💍 Add create group and roles e2e UI test (#1877)
* test: 💍 Add create group and roles e2e UI test

✅ Closes: ICU-10557

---------

Co-authored-by: Michael Li <michael.li@hashicorp.com>
2023-09-05 17:34:50 -04:00
Stan Ryzhov 6190ea71a0 test: 💍 Add create password auth method test (#1843) 2023-09-05 10:00:19 -04:00
Dharini Jeeva 3f731867ac fix: 🐛 toarray deprecation warning (#1865) 2023-08-25 09:43:02 -07:00
Dharini Jeeva eed62ac515 fix: 🐛 filterby deprecation warning (#1861) 2023-08-23 11:04:41 -07:00
Dharini Jeeva af05799e12 fix: 🐛 proxy promise deprecation (#1851)
* fix: 🐛 proxy promise deprecation
2023-08-21 14:17:44 -07:00
Carlos Alcaide CorvoandLisbet Alvarez 9e515d7a3a Chore icu 9840 upgrade node v2 (#1847)
* Upgrade node engines version within addons?

* chore: 🤖 Upgrade node engines version within UI's

* Add Node information on Readme

* Upgrade node engines within root package.json

* Node engines upgrade to v16 and v18

* Update README.md

Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com>

---------

Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com>
2023-08-16 14:58:14 -07:00
Dharini Jeeva bf343c0b8c chore: 🤖 fix deprecation warning for firstobject usage (#1844) 2023-08-15 13:20:08 -07:00
Dharini Jeeva 40673c180c chore: fix sortby deprecation warning (#1842)
chore: 🤖 install lodash and fix sortby deprecation
2023-08-15 11:36:57 -07:00
Zhihe Lianddharini 0e9042f588 Upgrade api to ember 4.12 (#1833) (#1839)
* chore: 🤖 Upgrade API layer to ember 4.12

* chore: 🤖 Upgrade ember-data to 4.12

* fix: 🐛 Fix breaking change from usage of internal method

* chore: 🤖 Remove stylelint in API addon

* test: 💍 Fix broken API tests

* chore: 🤖 get rid of toArray

* test: 💍 Fix tests broken by ember data changes

---------

Co-authored-by: dharini <dharini@hashicorp.com>
2023-08-14 17:03:59 -04:00
Michael Li 735e124642 test(admin/e2e): Updates to the dynamic host catalog e2e test (#1830)
* test(admin/e2e): Return to the host list page

* test(admin/e2e): Remove unneeded second host set check
2023-08-09 12:16:45 -04:00
NatashaKabandCameron Perera 60626e49b1 Icu 10370 use hds table in injected app credential sources (#1828)
* refactor: 💡 Use HDS tables in user accounts

* refactor: 💡 Use HDS table in injected app credential sources

---------

Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
2023-08-08 08:40:41 -05:00
Devon Anderson e089d1c3ff refactor: 💡 Refactor ldap account view and serializer (#1826)
* refactor: 💡 Refactor ldap account view and serializer

Refactor LDAP account view to only show `InfoField` fields if values are
not `undefined`.  Also fixed bug for updating accounts.

✅ Closes: ICU-10514

* refactor: 💡 clean up code

Quick cleanup of code for accounts

* Update account.js

change text for commit

* Update index.hbs

* refactor: 💡 format hbs

format hbs
2023-08-04 19:46:44 -04:00
Devon Anderson de77f8807d refactor: 💡 refactor LDAP form error messaging (#1816)
* refactor: 💡 refactor form error messaging

Refactor LDAP form.  Removed unused field level errors that aren't part
of the API response.

✅ Closes: ICU-10462

* refactor: 💡 Refactor test

Refactor LDAP create and update test.

* Update index.hbs

removed error field-level check for `bind_dn` and `bind_password`

* refactor: 💡 fix linting

fix linting
2023-08-04 19:30:41 -04:00
Cameron Perera 18833c9f22 Icu 10516 move metadata list to rose (#1824)
* feat: 🎸 Add rose metadata-list component

✅ Closes: ICU-10516

* refactor: 💡 remove metadata-list component from admin app
2023-08-04 14:09:20 -05:00
Devon Anderson c425bb7686 fix: 🐛 accounts update refactor (#1822)
* fix: 🐛 accounts update refactor

Changed `type` and `auth_method_id` on `accounts` model to `readOnly` so
it is not sent in API payload.

✅ Closes: ICU-10503

* refactor: 💡 fix test

Refactor test to not include removed attributes.

* refactor: 💡 refactor test

Fix test
2023-08-04 07:46:58 -04:00
Lisbet AlvarezandCarlos Alcaide Corvo 3fc4708415 chore: 🤖 upgrade faker js from v7 to v8 (#1808)
* chore: 🤖 upgrade faker js from v7 to v8

✅ Closes: ICU-10373

* refactor: 💡 remove deprecated modules from factories

* test: 💍 fix failing tests

---------

Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>
2023-08-01 13:31:20 -07:00