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

17537 Commits

Author SHA1 Message Date
jaasen-livefront
2b11013bbd
finalize item copy actions single item copy 2025-02-21 16:56:37 -08:00
jaasen-livefront
6acd671f35
wip - copy button overhaul 2025-02-20 17:02:19 -08: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
Vicki League
6e4a06dab4
[CL-317] Use storybook theme addon for theme switching (#13451) 2025-02-18 15:29:47 -05: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
Daniel James Smith
f798760dc5
[PM-17948] Migrate export from generator legacy to generator core (#13238)
* Migrate export from generator-legacy to generator-core

* Remove unused platformUtilsService

* Wire up password generation within ngOnInit

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-02-18 20:21:42 +01: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
Bernd Schoolmann
7a7be6088a
[PM-16984] Improve decryption code clarity (#12681)
* Improve decrypt failure logging

* Rename decryptcontext to decrypttrace

* Improve docs
2025-02-18 16:59:53 +01:00
Todd Martin
2622422cf7
Migrate Renovate config to JSON5 (#13233)
* Renamed to JSON5

* Updated linting script to use new file name.

* Add JSON5 dependency

* Added JSON5 to renovate.

* Removed JSON5 formatting

* Prettier

* Added comment for demonstration

---------

Co-authored-by: Matt Bishop <mbishop@bitwarden.com>
2025-02-18 10:42:16 -05:00
Bernd Schoolmann
5633a2504f
Fix autofill ownership of ssh agent and windows-plugin-authenticator (#13469) 2025-02-18 16:23:57 +01:00
Vijay Oommen
908160349f
PM-17502 ensure usage of tailwind classes (#13408) 2025-02-18 08:36:55 -06:00
Vijay Oommen
6ea3e6e314
PM-17212 Invoke notifications API (#13377) 2025-02-18 08:36:37 -06: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
Thomas Rittson
59ee2623d0
Remove typescript-transform-paths config (#13400)
This was already removed as a dependency and has been superseded by
tsconfig-paths-webpack-plugin. The config was never removed.
2025-02-17 08:17:29 +10: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