1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-03-01 03:31:15 +01:00
Commit Graph

4202 Commits

Author SHA1 Message Date
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
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
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
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
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
Jonathan Prusik
a2c23aa661
PM-15998 - Update browser context menu options when the page domain is a blocked domain (#13378)
* update main context menu handler to skip creating menu entries which do not pass blocked uri checks

* refactor to remove menu entries which do not pass blocked uri checks

* allow context menu autofill items without a password if they have other autofillable attributes

* include ciphers without passwords in autofill context menu options and track context menu state
2025-02-18 15:27:01 -05:00
✨ Audrey ✨
30ee79d206
add popupBackAction to send item and export vault pages (#13363) 2025-02-18 12:53:10 -05:00
Oscar Hinton
dc606847e4
[PM-16447] Disable preserve whitespaces (#12994)
Angular 6 changed the default to not preserve whitespaces. We've continued to opt into this pattern for backwards compatibility but we're experiencing issues with the new control flow syntax and would therefore like to switch and not preserve whitespace any longer.
2025-02-18 17:05:29 +01:00
Will Martin
117522f394
[PM-15613] fix incorrect route transitions (#13316) 2025-02-17 11:38:13 -05:00
renovate[bot]
19a6641ce8
[deps] Platform: Update Rust crate napi to v2.16.15 (#13433)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com>
2025-02-17 12:35:17 +01:00
bw-ghapp[bot]
44becd34bd
Autosync the updated translations (#13442)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-02-17 10:54:36 +01:00
bw-ghapp[bot]
002ae0e6ca
Autosync the updated translations (#13444)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-02-17 10:53:38 +01:00
bw-ghapp[bot]
4a289cd5e2
Autosync the updated translations (#13443)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-02-17 09:52:25 +00:00
bw-ghapp[bot]
d665d22793
Autosync the updated translations (#13398)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-02-17 10:40:33 +01:00
Justin Baur
b70874c2cd
Build MV3 Version of Extensions for Opera & Firefox Locally (#13389) 2025-02-15 19:27:39 -05:00
Will Martin
787c54c24e
[CL-204][CL-345] fix web header truncation and stories (#13318)
* fix web header stories

* prevent title suffix slot content from being truncated
2025-02-15 14:53:49 -05:00
Vicki League
07d6f9433f
[CL-317][CL-502] Remove Storybook combined Light + Dark theme, Nord theme, and Solarized theme (#13360) 2025-02-14 16:49:56 -05:00
Justin Baur
8d8c4eb29b
Delete everything related to misc-utils (#13395) 2025-02-14 15:59:14 -05:00
Conner Turnbull
c6176ed8a2
Added retry logic when mounting Stripe elements and extended timout to 50 ms (#13142) 2025-02-14 12:00:15 -05:00
Jonas Hendrickx
b1701b6e8a
[PM-18321] Fix sales tax calculation for secrets manager (#13409) 2025-02-14 17:58:47 +01:00
renovate[bot]
05cd1859a9
[deps] Tools: Update papaparse to v5.5.2 (#13265)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
2025-02-14 17:06:52 +01:00
renovate[bot]
beda497868
[deps] Tools: Update jsdom to v26 (#12778)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
2025-02-14 17:01:58 +01:00
Brandon Treston
191a587a72
remove feature flag (#13393) 2025-02-14 10:30:08 -05:00
bw-ghapp[bot]
4a018ceabf
Autosync the updated translations (#13399)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-02-14 11:10:05 +01:00
bw-ghapp[bot]
e83a5eac1d
Autosync the updated translations (#13397)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-02-14 08:42:51 +01:00