Commit Graph
5636 Commits
Author SHA1 Message Date
Dharini Jeeva cc3c4b2720 update electron version on desktop client (#1815)
* chore: 🤖 upgrade electron
2023-08-02 15:57:17 -07:00
hashicorp-tsccr[bot]andhashicorp-tsccr[bot] 9b18c40686 Result of tsccr-helper -log-level=info -pin-all-workflows . (#1813)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2023-08-01 14:12:02 -07: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
Cameron Perera 6dee7cad62 Icu 10439 refactor layout sidebar into rose layout body content (#1807)
* feat: 🎸 Add BodyContent component to Rose::Layout

* refactor: 💡 remove Layout Sidebar and use Rose Layout Sidebar

✅ Closes: ICU-10439

* fix: 🐛 add media specific styles to rose body content styles

* refactor: 💡 update media rule max width to xlarge
2023-07-31 11:48:38 -05:00
Lisbet Alvarez d49f3b72a6 feat: 🎸 CRUDL capabilites for ldap managed-group (#1805)
* feat: 🎸 CRUDL capabilites for ldap managed-group

✅ Closes: ICU-10100

* refactor: 💡 managed-group serializer & remove members tab

* refactor: 💡 show members tab

* fix: 🐛 add type getters in managed group model

* refactor: 💡 fix column name
2023-07-28 13:52:04 -07:00
NatashaKab e5a026ed34 Icu 10367 use hds table in target host sources (#1806)
* refactor: 💡 Use HDS tables in user accounts

* refactor: 💡 Use HDS tables in target host sources
2023-07-28 15:27:56 -04:00
Dharini Jeeva 438de7d1af chore: 🤖 fix missing account ids (#1809) 2023-07-28 10:08:50 -07:00
Lisbet AlvarezandDharini Jeeva 3b284fac66 refactor: 💡 update to allow state change & update edit action (#1797)
* refactor: 💡 update to allow state change & update edit action

✅ Closes: ICU-10078

* test: 💍 add more update and delete test cases

* refactor: 💡 auth-method serializer

* refactor: 💡 add secret input fields

* refactor: 💡 remove changes to ldap auth method serializer

---------

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2023-07-27 14:25:40 -07:00
NatashaKab 790048a8d6 Icu 10366 use hds table in brokered credential sources (#1802)
* refactor: 💡 Use HDS tables in user accounts

* refactor: 💡 Use HDS tables in brokered-credential-sources
2023-07-27 12:51:52 -04:00
Dharini Jeeva 05d62f3da5 Icu 10104 ldap accounts update (#1785)
* chore: 🤖 Add support for ldap account creation
2023-07-27 09:18:29 -07:00
Stan Ryzhov e3557e297b test: 💍 Add tcp target update test (#1800)
✅ Closes: ICU-9772
2023-07-26 15:52:50 -04:00
Devon Anderson c12e61d617 feat: 🎸 Create LDAP CRUD:read (#1798)
* feat: 🎸 create CRUD:read

Create LDAP CRUD:read details form by adding
`client_certificate_key_hmac` and `bind_password_hmac` attributes.

✅ Closes: ICU-10064

* refactor: 💡 refactor ldap details view

Revert details view for LDAP to not show HMAC
2023-07-26 15:11:47 -04:00
Cameron Perera 1e43e4ad95 chore: 🤖 update HDS to v2.8.0 (#1801)
✅ Closes: ICU-10270
2023-07-26 11:21:13 -05:00
Dharini Jeeva b12427a02a Icu 10307 create a new helper (#1791)
* chore: 🤖 truncate helper for longer list
2023-07-25 14:14:19 -07:00
Lisbet Alvarez f16f295290 test: 💍 add create acceptance test for ldap auth method (#1788)
* test: 💍 add create acceptance test for ldap auth method

✅ Closes: ICU-10076

* refactor: 💡 change client cert field to textarea and fix test

* test: 💍 add additional test case
2023-07-25 12:45:27 -07:00
hashicorp-copywrite[bot]andCameron Perera ea5d0d427a [COMPLIANCE] Add Copyright and License Headers (#1795)
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
2023-07-25 15:26:11 -04:00
Devon Anderson 10b91ed21e refactor: 💡 refactor test and serializer (#1786)
* refactor: 💡 refactor test and serializer

Refactor `auth-method` mirage serializer to delete secret attributes.
Refactor `auth-method` mirage serializer unit test for LDAP

✅ Closes: ICU-10025

* refactor: 💡 merge main

merge main

* refactor: 💡 rebase

rebase

* refactor: 💡 refactor serializer and test

Refactor serializer normalize method to delete secret attributes field.

* refactor: 💡 refactor test

Refactor failing test due to deleting secrets in mirage

* refactor: 💡 refactor test

changed assertion

* refactor: 💡 refactor test

change assertion expect

* refactor: 💡 refactor test

Refactor `auth-method-test` to include normalize oidc and ldap secrets

* refactor: 💡 rebase

rebase
2023-07-25 14:52:12 -04:00
Randall MoreyandCarlos Alcaide Corvo 2a03d0b0ec chore: 🤖 test of key/value header label association (#1767)
* chore: 🤖 test of key/value header label association

* Change variable name

---------

Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>
2023-07-25 11:29:05 -07:00
Zhihe Li 5f4abea78d chore: 🤖 Point ember-pollster to new hashicorp repo (#1796) 2023-07-25 12:11:37 -04:00
NatashaKabandDharini Jeeva b81084fb8d Icu 10209 use hds table in member list view (#1794)
* chore: 🤖 Retire rose form textarea

✅ Closes: ICU-9425

* refactor: 💡 Added the disabled feature requested by Dharini

* refactor: 💡 Rose tables to HDS tables in Users

* refactor: 💡 Removed implementation of rose tables in users

* refactor: 💡 use hds table in groups list view

* refactor: 💡 Removed the group list class Dharini mentioned

* refactor: 💡 Resolved the conflicts in user list table and group

* refactor: 💡 Use hds table in role list view

* refactor: 💡 Use HDS tables for user accounts

* refactor: 💡 Fixed the linting error

* refactor: 💡 Use HDS tables in member list view

* refactor: 💡 Use HDS tables in member list view

---------

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2023-07-23 22:02:24 -04:00
dependabot[bot]andCarlos Alcaide Corvo b82d316e9b chore(deps): bump word-wrap in /ui/desktop/electron-app (#1790)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>
2023-07-21 14:50:59 -07:00
dependabot[bot] f1dbaaf5cb chore(deps): bump word-wrap from 1.2.3 to 1.2.4 (#1789)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...
2023-07-21 14:24:37 -07:00
NatashaKabandDharini Jeeva 8cd8724589 Icu 10210 use hds table in principal list view (#1792)
* chore: 🤖 Retire rose form textarea

✅ Closes: ICU-9425

* refactor: 💡 Added the disabled feature requested by Dharini

* refactor: 💡 Rose tables to HDS tables in Users

* refactor: 💡 Removed implementation of rose tables in users

* refactor: 💡 use hds table in groups list view

* refactor: 💡 Removed the group list class Dharini mentioned

* refactor: 💡 Resolved the conflicts in user list table and group

* refactor: 💡 Use hds table in role list view

* refactor: 💡 Use HDS tables for user accounts

* refactor: 💡 Fixed the linting error

* refactor: 💡 Use HDS tables in principal list view

---------

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2023-07-19 16:49:37 -04:00
Lisbet AlvarezandDharini Jeeva 52cf2c0c53 feat: 🎸 ldap auth-method new form component (#1782)
* feat: 🎸 ldap auth-method new form component

✅ Closes: ICU-10073

* style: 💄 fix linting error and add comment

* style: 💄 add spacing and make titles more bold

* Update ui/admin/app/components/form/auth-method/ldap/index.hbs

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

* refactor: 💡 pr feedback updates

---------

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2023-07-18 15:12:47 -07:00
Devon AndersonandDharini Jeeva 50b0ab32b6 refactor: 💡 refactor mirage factory (#1787)
* refactor: 💡 refactor mirage factory

Refactor `LDAP/managed-groups` factory to only return specific
`auth-method` type

✅ Closes: ICU-10284

* refactor: 💡 refactor default scenario

Refactor default scenario to use imported `types`

---------

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2023-07-18 17:47:20 -04:00
Dharini Jeeva f5087ab4ee Icu 10082 ldap account creation form (#1783)
* chore: 🤖 Add support for LDAP account creation
2023-07-18 13:55:02 -07:00
NatashaKabandDharini Jeeva 0a80ae3c9d Icu 10208 use hds table in account list view (#1784)
* chore: 🤖 Retire rose form textarea

✅ Closes: ICU-9425

* refactor: 💡 Added the disabled feature requested by Dharini

* refactor: 💡 Rose tables to HDS tables in Users

* refactor: 💡 Removed implementation of rose tables in users

* refactor: 💡 use hds table in groups list view

* refactor: 💡 Removed the group list class Dharini mentioned

* refactor: 💡 Resolved the conflicts in user list table and group

* refactor: 💡 Use hds table in role list view

* refactor: 💡 Use HDS tables for user accounts

* refactor: 💡 Fixed the linting error

---------

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2023-07-18 12:57:52 -04:00
Dharini Jeeva 52c2483161 feat: 🎸 add support for ldap managed group in serializer (#1781) 2023-07-17 15:32:46 -07:00
NatashaKabandDharini Jeeva 6e344fa5ec refactor: 💡 use hds table in role list (#1779)
* refactor: 💡 use hds table in role list

* refactor: 💡 Fixed the tests that were failing

---------

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2023-07-17 18:14:27 -04:00
Cameron Perera b2b08929a3 test: 💍 fix flaky session recording player assertion (#1780) 2023-07-17 08:51:09 -05:00
Cameron Perera df1b311b1a refactor: 💡 migrate two rose buttons to hds in desktop client (#1777)
✅ Closes: ICU-10149
2023-07-14 17:05:57 -05:00
NatashaKabandDharini Jeeva e60d11eddd Icu 10178 use hds table in groups list view (#1768)
* chore: 🤖 Retire rose form textarea

✅ Closes: ICU-9425

* refactor: 💡 Added the disabled feature requested by Dharini

* refactor: 💡 Rose tables to HDS tables in Users

* refactor: 💡 Removed implementation of rose tables in users

* refactor: 💡 use hds table in groups list view

* refactor: 💡 Removed the group list class Dharini mentioned

* refactor: 💡 Resolved the conflicts in user list table and group

---------

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2023-07-14 15:39:57 -04:00
Dharini Jeeva c8f5952e66 chore: 🤖 add ldap to managed groups model (#1778) 2023-07-14 11:53:29 -07:00
Lisbet Alvarez 228f8d33b4 refactor: 💡 add serialize method for ldap account type (#1774)
✅ Closes: ICU-10057
2023-07-14 11:09:45 -07:00
Devon AndersonandLisbet Alvarez b6f93c45bc refactor: 💡Mirage changes to LDAP (#1770)
* refactor: 💡 refactor mirage changes

Mirage changes to LDAP resource

✅ Closes: ICU-10027

* Update auth-method.js

removed curly braces from values

* Update addons/api/mirage/generated/factories/auth-method.js

using faker to create domains for `urls` attribute

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

* Update auth-method.js

update `user_filter` and `group_filter` with new example values

* refactor: 💡 refactor mirage config

Refactor mirage config to include state change for LDAP

---------

Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com>
2023-07-14 13:33:10 -04:00
Devon AndersonandZhihe Li 56df65bf8e refactor: 💡 refactor managed grouped mirage data for LDAP (#1775)
* refactor: 💡 refactor managed grouped mirage data for LDAP

✅ Closes: ICU-10055

* refactor: 💡 refactor mirage data factor

Refactor mirage data factory for managed-groups

* Update addons/api/mirage/factories/managed-group.js

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

---------

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2023-07-14 13:12:27 -04:00
Dharini Jeeva 7ee52ea06f refactor: 💡 application serializeAttribute (#1772)
* refactor: 💡 application serializeAttribute
2023-07-14 09:46:47 -07:00
Zhihe Li 66fc50bf9e Chore/update ember intl (#1773)
* Revert "chore: 🤖 Add patch-package to fix ember-intl for windows builds (#1742)"

This reverts commit cd557a86cc.

* chore: 🤖 Update ember-intl
2023-07-14 11:04:01 -04:00
Lisbet Alvarez 15b769bd28 refactor: 💡 mirage changes to support ldap account type (#1769)
* refactor: 💡 mirage changes to support ldap account type

✅ Closes: ICU-10052

* refactor: 💡 use switch statement and use curly braces
2023-07-13 10:28:38 -07:00
Devon AndersonandDharini Jeeva d7b6eba2af [ICU-10024] feat: Revise auth-method model (#1762)
* feat: 🎸 Revised auth-method model

Revised auth-method model to include LDAP attributes

✅ Closes: ICU-10024

* chore: 🤖 create transform for `account_attribute_maps`

Create transform to handle `account_attribute_maps` array

* refactor: 💡 Refactor transform and serializer

Refactor `account_claims_map` transforms overall name and logic to be
used for `account_attributes_map`.  Also refactored serializer to
serialize auth-method data, by type.

✅ Closes: ICU-100024

* refactor: 💡 refactor transform

Refactor `account_claim_maps` transform.

* Update addons/api/addon/serializers/auth-method.js

changing naming of serialize method

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

* refactor: 💡 refactor serializer

Refactor naming convention for serializer methods and added comments for
attributes.

* refactor: 💡 quick refactor

fixed name for method call in serializer

* refactor: 💡 refactor attributes and serializer

Refactor attributes for `auth-methods` to use the `for` option to select
which attribute belongs to which auth-method.

* Update auth-method.js

comment change

* refactor: 💡 rebase

rebase

* Update addons/api/addon/serializers/auth-method.js

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

* Update addons/api/addon/serializers/auth-method.js

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

* Update addons/api/addon/serializers/auth-method.js

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

* Update addons/api/addon/serializers/auth-method.js

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

* Update addons/api/addon/serializers/auth-method.js

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

* refactor: 💡 refactor serialize attribute method

refactor serialize attribute method not not include type for password,
and instead let `serializePassword` handle serialization

* refactor: 💡 refactor serializer

Refcator serializer to not include password type in attribute serializer
and added `for` to one missing attribute.

* Update addons/api/addon/serializers/auth-method.js

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

---------

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2023-07-13 09:19:38 -04:00
Carlos Alcaide Corvo 5bf50eba79 Chore icu 9087 audit resolutions electron app (#1765)
* chore: 🤖 Delete normalize-url from electron-app resolutions

* chore: 🤖 Delete jszip from electron-app resolutions

* chore: 🤖 Delete path-parse from electron-app resolutions
2023-07-12 14:35:05 -07:00
b7e67ba293 docs: ✏️ add list of recommended tooling (#1747)
* docs: ✏️ add list of recommended tooling

* Update README.md

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

* Update README.md

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

---------

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>
2023-07-12 13:53:39 -07:00
Lisbet Alvarez 56e8a73100 refactor: 💡 update accounts model with ldap account attributes (#1766)
✅ Closes: ICU-10050
2023-07-12 10:57:14 -07:00
Lisbet Alvarez ba0edd603d feat: 🎸 add ldap type to dropdown in list view (#1763)
* feat: 🎸 add ldap type to dropdown in list view

✅ Closes: ICU-10071

* test: 💍 fix broken tests & add new test
2023-07-12 10:29:20 -07:00
ef8eb0e407 chore(deps): bump semver from 5.7.1 to 5.7.2 (#1761)
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>
2023-07-12 11:55:27 -04:00
NatashaKabandDharini Jeeva 7db77c6c6d Icu 10120 use hds table in users list view (#1764)
* chore: 🤖 Retire rose form textarea

✅ Closes: ICU-9425

* refactor: 💡 Added the disabled feature requested by Dharini

* refactor: 💡 Rose tables to HDS tables in Users

* refactor: 💡 Removed implementation of rose tables in users

---------

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2023-07-12 10:28:13 -04:00
Lisbet AlvarezandDharini Jeeva ff2e320267 refactor: 💡 use hds checkbox field instead of rose checkbox (#1754)
* refactor: 💡 use hds checkbox field instead of rose checkbox

✅ Closes: ICU-9423

* Update ui/admin/app/components/form/auth-method/oidc/index.hbs

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

* Update ui/desktop/app/controllers/scopes/scope/projects/sessions/index.js

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

* fix: 🐛 remove isInvalid arg

* refactor: 💡 move array conversion to model hook

---------

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2023-07-11 12:56:30 -07:00
dependabot[bot]andZhihe Li e3824f8c16 chore(deps-dev): bump stylelint from 14.14.0 to 15.10.1 (#1759)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 14.14.0 to 15.10.1.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/14.14.0...15.10.1)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2023-07-11 13:21:20 -04:00
Lisbet Alvarez ffe9fcd223 feat: 🎸 enable feature flag in dev environment (#1760)
✅ Closes: ICU-10091
2023-07-11 09:05:26 -07:00
NatashaKab a8d99b6eef chore: 🤖 Retire rose form textarea (#1735)
* chore: 🤖 Retire rose form textarea
2023-07-10 12:30:46 -07:00