1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-07 04:03:29 +00:00
Commit Graph

2532 Commits

Author SHA1 Message Date
rr-bw
db7a401b22 [Account Recovery][PM-18721] fix type errors 2025-05-30 14:24:55 -07:00
rr-bw
787fddfa90 [Account Recovery][PM-18721] feature flag AccountRecoveryDialogComponent 2025-05-30 14:24:54 -07:00
rr-bw
5c8098432a [Account Recovery][PM-18721] add copy() logic to InputPasswordComponent 2025-05-30 14:24:54 -07:00
rr-bw
0c17789bab [Account Recovery][PM-18721] add generatePassword() logic to InputPasswordcomponent 2025-05-30 14:24:54 -07:00
rr-bw
18b7d46d02 Merge branch 'main' into auth/pm-18721/integrate-input-password-component-in-dialogs 2025-05-30 13:24:09 -07:00
rr-bw
5595ce7ee6 [PM-18721] update messaging 2025-05-30 12:33:07 -07:00
Todd Martin
721657a5c3 Update syntax for Github. (#14845) 2025-05-30 15:31:44 -04:00
Thomas Avery
eba22cf5f8 [PM-21797] Require userID for keyService's getUserKeyFromStorage (#14855)
* require userID for keyService's getUserKeyFromStorage
2025-05-30 13:45:31 -05:00
Matt Gibson
9f9cb0d13d Add-userid-to-encryption-methods (#14844)
* Get userId from response if available

This is a small improvement for the Auth team which avoids inspection of the access token, sometimes.

* Initialize sdk clients with a userId

* return both Cipher and encryptedFor when encrypting a cipher

Update cipher api requests to include encryptedFor attribute

* Prefer named types with documentation

* Update sdk to latest

* Fixup types

* Fixup tests

* Revert getting userId from identity token response

---------

Co-authored-by: Shane <smelton@bitwarden.com>
2025-05-30 10:50:54 -07:00
Thomas Avery
895d54fd5e [PM-21443] Require userId for KeyService's everHadUserKey$ (#14712)
* Require userId for KeyService's everHadUserKey$

* handle null active user in tdeDecryptionRequiredGuard
2025-05-30 11:40:55 -05:00
Bryan Cunningham
5eb8d7b181 [CL-208][CL-339] Enhance Storybook docs pages (#14838)
* rearrange button docs

* Enhance avatar docs

* Enhance badge  docs

* Enhance banner docs

* add util to format args for snippets

* update banner snippets

* WIP

* bind boolean args so they work correctly in Storybook

* simplify button stories

* Update callout docs

* use title component for checkbox docs

* use title and description  component for chip select docs

* update color password story docs

* update disclosure docs

* add import to icon docs

* updated icon-button docs

* update link docs

* Update prgress docs

* updated search field docs

* remove html type definitions

* add import for progress

* updated toast docs

* remove example from docs. format args for snippet

* Update badges docs

* handle array arg values correctly

* Update badges list docs

* fix dupe key error from taost story

* remove unnecessary typeof check

* remove banner usage example

* add breadcrumbs import statement and jsdoc

* add color password import statement

* fixing type mismaches

* fix typos

* Add missing generics to format function

* fix typo

* update callout icon spacing to match Figma

* add back max width container
2025-05-30 12:38:40 -04:00
Daniel James Smith
0f6d4a92d7 Migrate libs/tools/card to be owned by DIRT (#14987)
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-05-30 07:37:08 +00:00
Jared McCannon
058eb9a04b [PM-19127] - Nested Traverse Optimization (#14881)
* Draft optimization of getNestedCollectionTree

* Added feature flag to wrap nestedTraverse_vNext. added the old implementation back in for feature flagging.

* Correction from CR

* Copied tests over for the vNext method.

---------

Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
2025-05-29 10:17:30 -05:00
cyprain-okeke
0715597e8e [PM-21603]Invite Member sub text seat count does not account for sponsorships (#14954)
* Resolve the membership count

* Get the occupied Seat count from metadata
2025-05-29 15:06:07 +01:00
cd-bitwarden
169fdd5883 [PM-20650] Feature flag addition to clients (#14824)
* Feature flag addition to clients

* Updating feature flag name
2025-05-28 14:56:44 +00:00
Andreas Coroiu
d1fb37d696 [PM-17635] [PM-18601] Simplifying mocking and usage of the sdk (#14287)
* feat: add our own custom deep mocker

* feat: use new mock service in totp tests

* feat: implement userClient mocking

* chore: move mock files

* feat: replace existing manual sdkService mocking

* chore: rename to 'client'

* chore: improve docs

* feat: refactor sdkService to never return undefined BitwardenClient
2025-05-28 15:00:30 +02:00
rr-bw
0ae37a0f89 [PM-18721] update storybook 2025-05-28 03:17:39 -07:00
rr-bw
99774d4b87 [PM-18721] fix failing tests 2025-05-28 02:59:06 -07:00
rr-bw
e8cbcb0c37 [PM-18721] handle cross-component submit states 2025-05-28 01:45:09 -07:00
rr-bw
9eb69b1ddf [PM-18721] add message Input prop 2025-05-28 01:45:08 -07:00
rr-bw
e45cd314b5 [PM-18721] turn off flag 2025-05-28 01:45:08 -07:00
rr-bw
6fa17bdd39 [PM-18721] update handling of cross-component async actions 2025-05-28 01:45:08 -07:00
rr-bw
d07fd4663a [PM-18721] add type check for ViewChild components 2025-05-28 01:45:07 -07:00
rr-bw
cc5c60d374 [PM-18721] handle cross-component async actions 2025-05-28 01:45:07 -07:00
rr-bw
8c062e9447 [PM-18721] cleanup 2025-05-28 01:45:07 -07:00
rr-bw
8e672cef32 [PM-18721] add password generator and copy() method 2025-05-28 01:45:06 -07:00
rr-bw
fc59392d64 [PM-18721] use non-null assert operator 2025-05-28 01:45:06 -07:00
rr-bw
e15fd53e5d [PM-18721] fix test file 2025-05-28 01:45:05 -07:00
rr-bw
16ac1679b8 [PM-18721] update null checks 2025-05-28 01:45:05 -07:00
rr-bw
96a216bba7 [PM-18721] convert enum to as const 2025-05-28 01:45:05 -07:00
rr-bw
3ccc3b6e94 [PM-18721] update storybook docs 2025-05-28 01:45:05 -07:00
rr-bw
053452c178 [PM-18721] update method name, add controls dynamically, fix typos 2025-05-28 01:45:04 -07:00
rr-bw
7d1edb9999 [PM-18721] update storybook docs 2025-05-28 01:45:04 -07:00
rr-bw
1a209f2f8c [PM-18721] extract some submit logic to handleChangePasswordDelegationFlow() 2025-05-28 01:45:04 -07:00
rr-bw
cd4ee56238 [PM-18721] verify new password against policies 2025-05-28 01:45:03 -07:00
rr-bw
d60d55edaf [PM-18721] turn flag off 2025-05-28 01:45:03 -07:00
rr-bw
8eafc74c89 [PM-18721] update verifyFlow() and comments 2025-05-28 01:45:03 -07:00
rr-bw
605212b558 [PM-18721] update Stories and enum comment 2025-05-28 01:45:02 -07:00
rr-bw
1fec495ed1 [PM-18721] update PasswordInputResult 2025-05-28 01:45:02 -07:00
rr-bw
60287ce9c5 [PM-18721] update enum to be uniform and update enum docs 2025-05-28 01:45:02 -07:00
rr-bw
434c92077d [PM-18721] add ChangePasswordDelegation logic to InputPasswordComponent submit method 2025-05-28 01:45:02 -07:00
rr-bw
c428a4078a [PM-18721] add handlePasswordFormSubmit() to takeover component and update verifyFlow() method on InputPasswordComponent 2025-05-28 01:45:01 -07:00
rr-bw
1e22cb51a3 [PM-18721] add ChangePasswordDelegation flow to InputPasswordComponent 2025-05-28 01:45:01 -07:00
rr-bw
31660abcf9 [PM-18721] feature flag the showing of the dialog component 2025-05-28 01:44:30 -07:00
Thomas Rittson
4fcc4793bb Add additional jsdoc to policyservice (#14934) 2025-05-28 09:41:56 +10:00
Daniel Riera
88bc762521 PM-16645 (#14649) 2025-05-27 14:51:40 -04:00
Oscar Hinton
5423ab3268 [PM-21934] Upgrade to eslint 9 (#14754)
Upgrades to Eslint v9. Since this is a major version there were breaking changes, but since we've previously migrated to flat configs in #12806 those were minimal.
2025-05-27 13:13:15 -04:00
SmithThe4th
abb01d9038 ensure loginview properties have correct defaults when usding SDK decryption (#14948) 2025-05-27 11:14:10 -04:00
✨ Audrey ✨
d1aa8422e0 align sdk generator types (#14967) 2025-05-27 15:09:50 +00:00
✨ Audrey ✨
97a591e738 [PM-16793] port credential generator service to providers (#14071)
* introduce extension service
* deprecate legacy forwarder types
* eliminate repeat algorithm emissions
* extend logging to preference management
* align forwarder ids with vendor ids
* fix duplicate policy emissions; debugging required logger enhancements

-----

Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
2025-05-27 09:51:14 -04:00