1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-12 22:44:11 +00:00
Commit Graph

16553 Commits

Author SHA1 Message Date
Maciej Zieniuk
91fc1fa630 PM-14445: Wrong formatting due to merge conflict 2024-11-05 12:25:33 +00:00
Maciej Zieniuk
6340bac6f2 Merge branch 'main' into km/pm-14445 2024-11-05 12:23:31 +00:00
Maciej Zieniuk
11c1483518 PM-14445: Fix compilation with strict mode
KM code only related, but there are few changes in auth and platform too to enable it.
2024-11-05 12:13:48 +00:00
Oscar Hinton
e3e675383f Fix locale test after typescript upgrade (#11859)
The TypeScript update broke locale tests, to fix this we need to define moduleResolution manually as mentioned in the TS changelog.
2024-11-05 11:40:47 +01:00
Oscar Hinton
af6a2f5553 [PM-13375] Gulp: Remove beta builds (#11482)
Part of the browser build script refactor effort. bitwarden.atlassian.net/browse/PM-6683

The beta logic adds a fair bit of complexity and is currently unused. Let’s remove it and we can look into re-add it after migrating to our new build system.
2024-11-05 10:54:38 +01:00
Andreas Coroiu
586edafc79 chore: bump SDK to 0.2.0.main-3 (#11849) 2024-11-05 10:34:17 +01:00
Justin Baur
0d06c499f3 Remove Heartbeat Code (#11585) 2024-11-04 17:54:12 -05:00
Maciej Zieniuk
6408dc6d21 PM-14445: Fix Lib strict mode 2024-11-04 21:55:23 +00:00
Maciej Zieniuk
c414a021eb PM-14445: Fix Web strict mode 2024-11-04 21:47:03 +00:00
Maciej Zieniuk
65adcfdd8b PM-14445: Fix Desktop strict mode 2024-11-04 21:42:55 +00:00
Maciej Zieniuk
dced4735c9 PM-14445: Fix Browser strict mode 2024-11-04 21:42:35 +00:00
Justin Baur
f41365ce48 [PM-13673] Require UserId In CompareHash Method (#11568)
* Require UserId In CompareHash Method

* Throw on null-ish 'masterKey'

* Update Test
2024-11-04 15:11:59 -05:00
Justin Baur
008e928d0a [PM-10744] Remove Last Uses of getBgService (#10947)
* Remove Last Uses of `getBgService`

* Fix Merge Issue

* Fix Merge
2024-11-04 15:10:36 -05:00
renovate[bot]
fc9c10340b [deps] Tools: Update utf-8-validate to v6.0.5 (#11848)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-04 21:08:36 +01:00
Jordan Aasen
c36fbcf8b7 [PM-14268] - Access intelligence - add tabbing and events (#11831)
* comment code

* small fixes

* undo change to flags
2024-11-04 10:45:34 -08:00
Jordan Aasen
527f48f78f check if member has subscription access before showing subscription modal (#11794) 2024-11-04 10:45:13 -08:00
Oscar Hinton
cd79457349 [PM-4347] Upgrade angular to 17 (#11031)
Upgrade angular to 17
2024-11-04 11:51:43 -05:00
renovate[bot]
c96b4f4cb2 [deps] Autofill: Update tldts to v6.1.58 (#11847)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-04 11:42:34 -05:00
Rui Tomé
d804a78bfb [PM-11406] Account Management: Prevent a verified user from deleting their account (#11505)
* Update AccountService to include a method for setting the managedByOrganizationId

* Update AccountComponent to conditionally show the purgeVault button based on a feature flag and if the user is managed by an organization

* Add missing method to FakeAccountService

* Remove the setAccountManagedByOrganizationId method from the AccountService abstract class.

* Refactor AccountComponent to use OrganizationService to check for managing organization

* Rename managesActiveUser to userIsManagedByOrganization

* Hide the change email section if the user is managed by an organization

* Refactor userIsManagedByOrganization property to be non-nullable in organization data and response models

* Refactor organization.data.spec.ts to include non-nullable userIsManagedByOrganization property

* Refactor account component to conditionally show delete account button based on user's organization management status

* Add showDeleteAccount$ observable to AccountComponent
2024-11-04 16:37:24 +00:00
Rui Tomé
d669d2003f [PM-10323] Add delete option to managed members (#11655)
* Add managedByOrganization property to OrganizationUserUserDetailsResponse and OrganizationUserView

* Add managedByOrganization property to OrganizationUserDetailsResponse and OrganizationUserAdminView

* Add deleteOrganizationUser method to OrganizationUserApiService

* Add copy strings for organization user delete dialog

* Add copy string for organization user deleted toast

* Add delete organization user dialog component

* Add the option to delete managed organization users from the members list

* Refactor delete user confirmation dialog in MembersComponent to use DialogService

* Delete DeleteOrganizationUserDialogComponent

* Refactor delete button in member dialog component to change the icon and tooltip text to 'Remove'

* Add delete button to members dialog if the user is managed by the organization
2024-11-04 16:19:30 +00:00
Maciej Zieniuk
85cbea7513 PM-14445: Cli remove
No KM files to check, the `tsc-strict` fails when there is no files.
2024-11-04 16:01:12 +00:00
bw-ghapp[bot]
2d0460eb15 Bumped client version(s) (#11850)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-11-04 15:43:54 +00:00
Maciej Zieniuk
7c6df1bb0d PM-14445: Enable strict mode for KM team owned code
The aim was to enable `strictNullChecks` only, which will hopefully give better clarity on the types expectations from KM code, but to other teams and KM team. But since it is not possible to do that on individual module level (this flag is enabled everywhere in the code that KM module uses, resulting in 1000+ errors), the `typescript-strict-plugin` was used. As a consequence, the KM owned code is now in TS compiled strict mode.
2024-11-04 14:55:24 +00:00
Brandon Treston
62545aa25a Revert "[PM-13645] Fix invite counter to check remaining number of seats in p…" (#11843)
This reverts commit 2a956744bd.
2024-11-04 09:46:11 -05:00
Daniel Riera
f43bf48215 [PM-11777] fix: TOTP not copied when autofilling passkey (#11814)
* PM-11777 fix: TOTP not copied when autofilling passkey

- Added totpService to overlay background constructor
- Edited spec to account for totpsService
- Edited fillInlineMenuCipher to copy totp to clipboard if present

* add optional chaining
2024-11-04 08:40:00 -06:00
renovate[bot]
2f1f9cd333 [deps] Platform: Update @types/chrome to v0.0.280 (#11314)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-04 09:30:03 -05:00
Daniel García
2e6ed4a4fc [PM-14270] Use rust to access windows registry (#11413) 2024-11-04 14:50:05 +01:00
renovate[bot]
f6755da15b [deps] Platform: Update Rust crate tokio to v1.41.0 (#10848)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-04 14:10:54 +01:00
renovate[bot]
80d36f4135 [deps] Platform: Update argon2 to v0.41.1 (#11065)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-04 14:09:51 +01:00
Andreas Coroiu
343fb28010 chore: bump SDK to 0.1.7 (#11839)
This version contains:
- GPL license
- Function to get SDK version
2024-11-04 13:29:07 +01:00
github-actions[bot]
6ca8e7df71 Autosync the updated translations (#11838)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-11-04 09:38:50 +00:00
github-actions[bot]
1a88e51008 Autosync the updated translations (#11836)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-11-04 09:34:53 +00:00
github-actions[bot]
c13cc56be3 Autosync the updated translations (#11837)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-11-04 09:34:37 +00:00
Brandon Treston
94cefa1f93 [pm-11407] fix UI story for danger zone component (#11828)
* Fix story for danger zone component

* fix linting

* Fix UI Story for Danger Zone component
2024-11-01 17:02:18 -04:00
Nick Krantz
f416c3ed49 [PM-13449] Owner assignment/visibility in AC (#11588)
* Revert "remove logic for personal ownership, not needed in AC"

This reverts commit f04fef59f4.

* allow for ownership to be controlled from the admin console when cloning a cipher
2024-11-01 14:15:36 -05:00
Daniel Riera
b0a73cfe45 fix:Add accountHolderName to the field names and values constants associated with the cardholder field. This update should help mitigate issues where the Amazon credit card pop-up is not auto-filling the cardholder name field. (#11780) 2024-11-01 14:05:53 -05:00
Jordan Aasen
2539a1d45a [PM-14266] - access intelligence - application table (#11801)
* add application table

* add critical applications tab

* add button. update copy
2024-11-01 11:48:07 -07:00
Brandon Treston
bb79fdbdb3 [PM-11407] Fix story for danger zone component (#11817)
* Fix story for danger zone component

* fix linting
2024-11-01 10:43:55 -07:00
Cesar Gonzalez
a4c6731021 [PM-14054] Fixing scroll-based repositioning of the inline menu on ShadowDOM elements (#11803)
* [PM-14054] Fixing scroll-based repositioning of inline menu when inline menu is focused

* [PM-14054] Fixing scroll-based repositioning of the inline menu on ShadowDOM elements

* [PM-14054] Fixing scroll-based repositioning of the inline menu on ShadowDOM elements

* [PM-14054] Fixing scroll-based repositioning of the inline menu on ShadowDOM elements
2024-11-01 11:17:54 -05:00
Cesar Gonzalez
227e9c4c22 [PM-14349] Collection of page details on websites with ShadowDOM elements might not capture form elements (#11809) 2024-11-01 11:17:36 -05:00
Nick Krantz
00e1c936fb [PM-13928]use the user's email address in owner dropdown rather than "You" (#11798)
* use the user's email address in owner dropdown rather than "You"

* show ownership value in individual vault when disabled

* import account service in storybook
2024-11-01 11:05:02 -05:00
Todd Martin
a049b553a6 Update decryptUserKeyWithMasterKey to requireUserId (#11560)
* Updated decryptUserKeyWithMasterKey to requireUserId

* Removed unintended extra character.

* Added dependency to LogService.

* Fixed unlock command.
2024-11-01 11:21:18 -04:00
Daniel García
5eae599b81 [BEEEP][PM-14388] Better dev experience on desktop-browser IPC (#11822) 2024-11-01 14:13:02 +01:00
Thomas Rittson
4a2c14dc2e [PM-14161] Add getById and getByIds rjxs helpers (#11742) 2024-11-01 09:49:31 +10:00
Jared Snider
c07bf26898 PM-14361 - In PM-8111, the loginWithPasskey web translation was changed to be logInWithPasskey but the usages were not updated. This updates the usages to point to the new translation key. (#11815) 2024-10-31 17:10:09 -04:00
Jonathan Prusik
eba1212e1c [PM-14351] Migrate away from theme enum (#11812)
* update extension autofill concerns to use theme object and type over enum

* mark ThemeType enum as deprecated

* update theming service concerns to use theme object and type over enum
2024-10-31 16:46:25 -04:00
Jordan Aasen
eb67b73a09 fix send-created tests (#11813) 2024-10-31 12:40:52 -07:00
renovate[bot]
826037e163 [deps] AC: Update html-webpack-plugin to v5.6.3 (#11727)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Brandon Treston <btreston@bitwarden.com>
2024-10-31 15:20:23 -04:00
github-actions[bot]
c809f97470 Autosync the updated translations (#11807)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-10-31 18:51:33 +00:00
Daniel García
f771bd7dc8 [PM-13361] Fix DDG backwards compat (#11804) 2024-10-31 18:03:24 +01:00