1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-02-28 03:21:40 +01:00
Commit Graph

17609 Commits

Author SHA1 Message Date
Amy Galles
9dd2033081
Fix broken image tagging on build-web (#13514)
* updating logic to include pull requests
2025-02-21 14:02:46 -08:00
Maciej Zieniuk
78202e14ae
[PM-15882] Remove unlock with PIN policy (#13352)
* Remove policy with PIN in Web Vault

* Remove policy with PIN in Browser Extension

* Remove policy with PIN in Desktop

* Remove policy with PIN in Desktop

* unit tests coverage

* unit tests coverage

* unit tests coverage

* private access method error

* private access method error

* private access method error

* PM-18498: Unlock Options Padding Off When PIN Is Removed

* PM-18498: Unlock Options Padding Off When PIN Is Removed
2025-02-21 22:16:13 +01:00
Maciej Zieniuk
3800610bb6
PM-18509: Unable to unlock vault (#13516) 2025-02-21 22:14:13 +01:00
cyprain-okeke
92ec2ca85e
[PM-17591]Remove feature flag "Refactor self hosting license uploader" (#13330)
* Remove the Refactor self hosting license uploader flag

* Remove the changes when is flag is off
2025-02-21 21:36:57 +01:00
Jimmy Vo
f345992f80
[PM-17449] Enable managed users to update their email addresses. (#13495) 2025-02-21 15:15:06 -05:00
Alec Rippberger
a50cff75ff
[PM-17185] Remove Bootstrap style from SsoComponent in bitwarden_license (#13417)
* Replace Bootstrap with Tailwind equivalents

* Remove debug code

* Leverage bitLink directive

* use bitTypography directive

* Remove typo

* Replace Boostrap styles in subcomponents with Tailwind

* Remove unused class defininition

* Revert "Remove unused class defininition"

This reverts commit 22fba6c3d1.

* Revert changes to non-sso component files

* Revert change to non sso file

* Use bitTypography directive instead of custom tailwind classes

* Remove typo
2025-02-21 14:04:00 -06:00
Vijay Oommen
5384914276
PM-18441 bugfix-search bar (#13513) 2025-02-21 12:49:24 -06:00
Jared Snider
b956297433
feat(LoginComponent): [PM-18408] - fix extension scrollbars showing up when unwanted (#13512) 2025-02-21 13:25:15 -05:00
Jonathan Prusik
2e96405f15
[PM-18219] Normalize blocked domain checks to a common util (#13416)
* normalize blocked domain checks to common util

* do not use currentTabIsOnBlocklist$ in showCurrentTabIsBlockedBanner$ resolution

* update additional vault popup autofill service cases to use isUrlInList

* cleanup and use Utils get hostname instead of tldts directly
2025-02-21 13:15:02 -05:00
Jordan Aasen
0bc7813b1c
[PM-18132] - Update the Appearance settings page to include click to fill setting (#13460)
* Update the Appearance settings page to include click to fill setting

* fix tests

* fix tests

* add tests

* new customization options callout

* use classes instead of inline styling

* revert changes to index and tw-theme

* remove shared module

* Revert "remove shared module"

This reverts commit 0b68aaae23.

* Revert "revert changes to index and tw-theme"

This reverts commit 4a05f0ca20.

* Revert "use classes instead of inline styling"

This reverts commit 0e441c4284.

* Revert "new customization options callout"

This reverts commit f3054c9b27.

* remove unused code

* disable margin on autofill suggestion
2025-02-21 08:57:06 -08:00
renovate[bot]
413f638b9d
[deps] Autofill: Update tldts to v6.1.77 (#13226)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-21 11:24:25 -05:00
Oscar Hinton
9228df4e28
Remove unused CSS from browser (#13453)
Cleanup browser CSS by removing unused rules. There are probably more unused CSS rules but it's not trivial to audit and we will probably remove them as part of the auth redesign.
2025-02-21 16:56:05 +01:00
tangowithfoxtrot
b86e587507
Fix falling back to data.json when keyring is available (#12760)
* fix: fallback to data.json on Linux

* fix: make keyring prompt more consistent for reads+writes, but less assertive when we delete credentials

* fix: explicitly ignore unused return value
2025-02-21 07:44:24 -08:00
Oscar Hinton
1587f84a5c
[PM-17494] Minimum effort removal of bootstrap from filters (#12995)
Minimum effort migration of the filters to not depend on bootstrap. This migrates the card to tailwind but keeps most of the custom css as it's not strictly required to be migrated.
2025-02-21 08:52:01 -05:00
cd-bitwarden
1d04227884
[PM-12985] - Updating reports to use new modal for view/edit cipher (#12383)
* Updating reports to use new modal for view/edit cipher

* updating the location of the DefaultCipherFormCOnfigService

* Test fixes

* test fixes

* Adding back useful code and trying to fix inactive-two-factor-report.component.spec.ts issue

* suggested changes

* trying to fix tests

* test fix

* fixing reports

* Fix import path

* Remove unnecessary change

* Revert "Remove unnecessary change"

This reverts commit 9a19dc99ed.

* PM-16995- Provide missing CipherFormConfigService

* after merge fixes

* more fixes

* WIP

* wip: fix for exposed passwords

* WIP

* fixing tests

* removing uneeded change

* lint fixes

* lint fix

* fixing admin console permissions

* merge fix

---------

Co-authored-by: --global <>
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
Co-authored-by: bnagawiecki <107435978+bnagawiecki@users.noreply.github.com>
Co-authored-by: Andreas Coroiu <andreas.coroiu@gmail.com>
2025-02-21 14:45:30 +01:00
bw-ghapp[bot]
05f25f305c
Autosync the updated translations (#13501)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-02-21 14:05:38 +01:00
bw-ghapp[bot]
fd3cc90df8
Autosync the updated translations (#13500)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-02-21 14:02:03 +01:00
bw-ghapp[bot]
f0ce87708c
Autosync the updated translations (#13502)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-02-21 08:56:55 +01:00
Jonathan Prusik
a19c860a14
[PM-18287] Bugfix - Vault autofill suggestions view hangs on load when the current tab is on the blocked domains list (#13496)
* Fix vault autofill suggestions view hanging on load when the current tab is on the blocked domains list

Co-authored-by: Justin Baur <justindbaur@users.noreply.github.com>

* fix broken tests

* use blockedInteractionsUris$ observable instead of currentTabIsOnBlocklist$ in _currentPageDetails$

---------

Co-authored-by: Justin Baur <justindbaur@users.noreply.github.com>
2025-02-20 18:44:18 -05:00
Jordan Aasen
49dc3e0d28
[PM-16270] - allow full width for owner and folder select (#13418)
* allow full width for owner and folder select

* remove unecessary css class

* move folder under collection

* move prop to correct component
2025-02-20 15:16:49 -08:00
Vijay Oommen
b591c053ca
PM-18401 apply scroll tables across all tables (#13474) 2025-02-20 16:23:26 -06:00
Vijay Oommen
ef34b30cc1
pm-18441 add loading icon to member details (#13494) 2025-02-20 16:23:05 -06:00
Jordan Aasen
63927d6ba1
[PM-17094] - Vault and Collection filters pop in after Vault content causing content to shift (#13165)
* add loading state service for vault list filters and apply to vault

* remove call to delay and requestAnimationFrame

* use shareReplay

* update loading state to also check for filters

* remove reassignment

* add sharereplay to vault list filters.
2025-02-20 14:18:43 -08:00
Patrick-Pimentel-Bitwarden
598139d739
fix(recovery-code-login): [PM-18474] Fix for Recovery Code Login (#13497)
* fix(recovery-code-login): [PM-18474] Fix for Recovery Code Login - Fixed the recovery code login to work with the new device verification notice flow.

* test(recovery-code-login): [PM-18474] Fix for Recovery Code Login - Tests added.
2025-02-20 16:45:19 -05:00
Vicki League
657902cdcc
[CL-349] Allow @apply styles to be used in CL css (#13414) 2025-02-20 12:56:22 -05:00
Maciej Zieniuk
3924bc9c84
[PM-14445] TS strict for Key Management, Keys and Lock component (#13121)
* PM-14445: TS strict for Key Management Biometrics

* formatting

* callbacks not null expectations

* state nullability expectations updates

* unit tests fix

* secure channel naming, explicit null check on messageId

* KM-14445: TS strict for Key Management, Keys and Lock component

* conflicts resolution, new strict check failures

* null simplifications

* migrate legacy encryption when no active user throw error instead of hiding it

* throw instead of return
2025-02-20 18:45:37 +01:00
albertboyd5
ca41ecba29
[PM-16171] Simplelogin alias generation only generate random words instead the domain name (#13024)
* Exposes URI property from the cipher form.
* Updates credential generator to accept the URI using a `website` attribute

---------

Co-authored-by:  Audrey  <audrey@audreyality.com>
2025-02-20 11:33:40 -05:00
nickcan0120
d5764a2b5e
[PM-17913] fix: zh-TW registerLocaleData missing extra error (#13210)
* fix: zh-TW registerLocaleData missing extra error

* Delete the code before adjustment

Modify naming method
2025-02-20 17:32:12 +01:00
Daniel Riera
2fef775bee
pm-18084 Connect new notification bar experience buttons (#13339)
* pm-18084 -initial structure and functions implemented

* update stories to match new args

* change handleSave name

* include new login button for save

* fix stories
2025-02-20 10:23:04 -05:00
Oscar Hinton
5d04efad2a
[PM-18363] Remove internal dependencies from package.json (#13448)
* Remove internal dependencies from package.json

* Update lockfile

* Change workspace to include nested libs
2025-02-20 15:04:39 +01:00
Patrick-Pimentel-Bitwarden
4a344582a9
fix(recovery-code-login): [PM-15534] Fix for Recovery Code Login - Fixed the recovery code login flow. (#13488) 2025-02-20 08:47:51 -05:00
Jordan Aasen
1fdb88da63
add missing i18n keys (#13489)
Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
2025-02-20 09:51:29 +00:00
Oscar Hinton
aa2b0a9fe8
Add a copy button to browser ext about dialog (#13465)
Add a copy button to browser extension about dialog for quickly copying the version number now that we have 3 different values we'd like to collect.
2025-02-20 09:48:31 +01:00
Thomas Rittson
2425cda4d7
[PM-18356] Reconcile ownership of import export and reporting (#13439)
* Move AC import, export and reporting to Tools ownership
2025-02-20 12:06:43 +10:00
Shane Melton
1bcfcc7dec
[PM-17656] Update the org vault filter whenever policies update (#13280) 2025-02-19 16:14:43 -08:00
Miles Blackwood
33e1a6e917
[PM-17819] Replicate ReactiveForms and bit-* component changes to Blocked Domains from Excluded Domains update [PM-13808]. (#13180) 2025-02-19 17:17:00 -05:00
Miles Blackwood
23ef1b1688
PM-13808 - Use new <bit-form-field> component in Excluded domains settings. (#13111)
* Use new <bit-form-field> component in Excluded domains settings.

Changing to new <bit-form-field> component necessitates modifying form to use ReactiveForms conventions. To handle this change, the deletable/uneditable domain state and new form control state are managed separately, including clearing the form state on save. Fields which compute vaules from the former state should now compute both values (see domain count); [formGroup], formArrayName, formControlName all necessary directives/properties on form and children.

* Disables margin; Removes OnInit in favor of protected member (fixes lint, and type checks).

* Ensure excludedDomain-based IDs are offset by the fieldsEditThreshold for form controls existing outside of stored values.

* Remove unnecessary chaining.
2025-02-19 17:11:40 -05:00
Miles Blackwood
3997a75741
Add learnMoreAboutBlockedDomains translation key and append to desc. (#13358)
* Add learnMoreAboutBlockedDomains translation key and append to desc.

* Update apps/browser/src/autofill/popup/settings/blocked-domains.component.html

Co-authored-by: Jonathan Prusik <jprusik@users.noreply.github.com>

* Prettier lint fix anchor multiple lines.

---------

Co-authored-by: Jonathan Prusik <jprusik@users.noreply.github.com>
2025-02-19 17:07:47 -05:00
Miles Blackwood
b1a9955c7e
Use a newly mocked autofill field for password data. (#13300)
Don't reuse a global mock for this spec entitled autofillFieldData with username data modified to have a password "type". Instead create a new passwordFieldData, satisfying the conditions of a failing test caused by new inline field qualification service.
2025-02-19 17:03:37 -05:00
Justin Baur
4e95c033d8
[PM-17658] Fix persist route to clear if service worker dies (#13382)
* Add way to convert TaskSchedulerService to RX Scheduler

* Add docs to `toScheduler`

* Rollback combined subscription change.

* Move to barrel file

* Expand `toScheduler` documentation

* Add TaskName to Doc Example

* Ensure register is called on service worker start
2025-02-19 16:23:01 -05:00
Maciej Zieniuk
8912fe8187
PM-18337: Fresh account registration without key throws error, unable to login (#13425) 2025-02-19 22:03:20 +01:00
Jared Snider
04f5fe4da4
fix(AnonLayout): [PM-18408] - Extension - add responsive scaling to avoid scrollbars on login in new UI (#13475) 2025-02-19 14:29:12 -05:00
Nick Krantz
dae4f7b3cc
[PM-17564] Prompt Browser Extension (#13349)
* add browser extension prompt page with initial loading state

* add browser extension icon

* move browser extension prompt to state

* add installation link for error state

* automatically open extension when possible for browser-reprompt-page

* refactor browser tabs query into a standalone method

* add success message state for auto-opening browsers

* Refactor `VaultOnboardingMessages` to `VaultMessages` to be more generic

* add auto-open extension messages to `VaultMessages` enum

* add bitwarden icon

* Add manual error state for firefox users

* add extension prompt routing

* fix incorrect imports

* add mobile screen for browser prompt

* remove comment

* fix typo in code comment

* update key for `checkBwInstalled` method

* add check for safari before attempting to send a message

* break translation for manual opening into two parts
2025-02-19 11:00:07 -08:00
Oscar Hinton
661ee03698
Add cdk-visually-hidden to tw-theme for Angular CDK LiveAnnouncer (#13410)
Angular CKD LiveAnnouncer depends on some css logic to hide announcements from being displayed.

This imports the required CSS to ensure the text is hidden from regular view.
2025-02-19 17:42:34 +01:00
Andreas Coroiu
9c102f056c
chore: update sdk to main.105 (#13472)
* chore: update sdk version

* fix: sdk breaking changes
2025-02-19 15:46:43 +01:00
Jared Snider
ae38e40859
Auth/PM-17693 - Web - Existing users accepting an org invite are required to update password to meet org policy requirements (#13388)
* PM-17693 - Refactor all post login logic around getting org policies from invite token and restore lost functionality.

* PM-17693 - Add TODO
2025-02-19 09:18:56 -05:00
cyprain-okeke
39f241db3d
[PM-13620]Existing user email linking to create-organization (#13030)
* Changes for the existing users

* Remove the complicated method

* add the column after the patch value

* Revert removal of plan query params

* Resolve the non blocking issue
2025-02-19 13:13:40 +01:00
Alec Rippberger
fa8ee6fa02
feat(auth): [PM-15534] log user in when submitting recovery code
- Add recovery code enum and feature flag
- Update recovery code text and warning messages
- Log user in and redirect to two-factor settings page on valid recovery code
- Run full sync and handle login errors silently
- Move updated messaging behind feature flag

PM-15534
2025-02-18 16:52:29 -06:00
Daniel Riera
4c09c22806
PM-18215 Create UI for confirmation notification message (#13364)
* PM-18215 wip

* update storybook url

* optional errors and storybook args

* type safety

* Update apps/browser/src/autofill/content/components/icons/warning.ts

Co-authored-by: Jonathan Prusik <jprusik@users.noreply.github.com>

* updated svg to remove dark or light

---------

Co-authored-by: Jonathan Prusik <jprusik@users.noreply.github.com>
2025-02-18 16:37:27 -05:00
Jordan Aasen
993c056b19
[PM-18055] - sync list and item view after saving vault item (#13412)
* sync list and item view after saving vault item

* sync folder on save

* remove unused destroy ref
2025-02-18 12:41:42 -08:00