1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +00:00
Commit Graph

16125 Commits

Author SHA1 Message Date
rr-bw
e076e94c08 move extension launchSsoBrowserWindow() to extension service 2024-09-13 17:21:15 -07:00
rr-bw
b7996183bf add launchSsoBrowser to extension template 2024-09-13 16:40:54 -07:00
rr-bw
4df7712c13 add todo comment regarding browser template 2024-09-13 15:56:24 -07:00
rr-bw
236c41e6f8 add browser redirect from /home to /login with FF on 2024-09-13 15:53:47 -07:00
rr-bw
80fd8bd5b0 update captcha iframe on all clients 2024-09-13 15:17:31 -07:00
rr-bw
8fa5c55088 remove 'V2' from new component 2024-09-13 14:53:44 -07:00
rr-bw
532d3eaefc change old components to V1 2024-09-13 14:49:52 -07:00
rr-bw
c44634585f update icon stroke color 2024-09-13 13:42:57 -07:00
rr-bw
4012a6c594 ensure full sync happens on all clients before navigation 2024-09-13 10:54:13 -07:00
rr-bw
de4b1778c1 merge main, fix conflicts 2024-09-13 10:05:57 -07:00
rr-bw
96d116d643 [PM-8116] Auth Browser Refresh: Password Hint Component (#10492)
* setup component, services, and web HTML

* make Web and Browser functional

* make desktop functional

* update template to solidify common client HTML

* simplify template and class

* update browser routing

* move canActivate to correct location

* simplify post submit routing

* update routing to use unauthUiRefreshSwap()

* constrain AnonLayout title/subtitle width, reduce height on destkop to account for header

* reduce height on browser to account for header (otherwise have to scroll to see EnvSelector

* resolve email issue when clicking 'cancel' on extension popout

* update routing for web

* persist email to popout

* update web router and anon-layout min-h based on client

* change anchor link to button

* remove unnecessary formatting changes

* add new icon

* remove unnecessary call to loginEmailService
2024-09-13 09:16:25 -07:00
Bernd Schoolmann
54cc35e29a [PM-6037] Fix process reload not triggering on inactive account lock/logout (#9805)
* Send loggedOut/locked events on logout/lock event

* Revert "Send loggedOut/locked events on logout/lock event"

This reverts commit 293f2d6131.

* Ensure loggedOut is sent for non-active user logouts too

* Make loggedOut accept userIds

* Add userBeingLoggedOut in desktop app component

* Await updateconnection calls
2024-09-13 18:11:05 +02:00
Alex Morask
0080fcc979 Use payment-v2.component in trial-billing-step.component (#11010) 2024-09-13 09:29:11 -04:00
Jonathan Prusik
e72203d5e0 fix typos (#11011) 2024-09-13 09:17:07 -04:00
github-actions[bot]
83a11a195e Autosync the updated translations (#11022)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-09-13 09:50:20 +00:00
renovate[bot]
1e76d237e8 [deps] Platform: Update Rust crate arboard to v3.4.1 (#11017)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-13 10:54:40 +02:00
github-actions[bot]
739b34da2f Autosync the updated translations (#11020)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-09-13 08:09:18 +00:00
github-actions[bot]
650b183d08 Autosync the updated translations (#11021)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-09-13 08:01:06 +00:00
Andreas Coroiu
a1aa9adb48 feat: simplify lazy.ts (#10951) 2024-09-13 09:09:45 +02:00
Jordan Aasen
023912c53d [PM-11631] - hide free Bitwarden Families button if user is not eligible (#10971)
* hide  Free Bitwarden Families button if user is not eligible

* use organizationService.canManageSponsorships$ for determining if free bitwarden families is available

* update comment
2024-09-13 11:58:18 +10:00
Jared Snider
bd3863c313 Auth/PM-11969 - Registration with Email Verification - Accept Emergency Access Invite Flow (#11018)
* PM-11969 - Registration with Email Verification - Accept Emergency Access Invite Fixed

* PM-11969 - Fix PR feedback

* PM-11969 - AcceptEmergencyComponent - remove prop
2024-09-12 20:14:37 -04:00
rr-bw
350459f04f Extension: setup MasterPasswordEntry state UI 2024-09-12 14:55:28 -07:00
rr-bw
e616218de5 Extension: setup EmailEntry state UI 2024-09-12 14:46:42 -07:00
rr-bw
9cb64b59ca remove 'showPassword' property b/c now handled by bitPasswordInputToggle 2024-09-12 14:04:44 -07:00
rr-bw
7a4b83afde desktop HTML template updates 2024-09-12 14:02:13 -07:00
rr-bw
bb5f88f8c7 remove static element ref 2024-09-12 13:29:11 -07:00
Justin Baur
fe96aa85f2 [PM-12007] Fix vault timeout action logout with account switching (#11008)
* Protect Against Toast Error

* Use `concatMap` Instead of `switchMap`
2024-09-12 15:59:33 -04:00
Nick Krantz
a31ecb18a1 [PM-11267] Extension Refresh Events (#10832)
* add `Cipher_ClientViewed` event to browser refresh components

* add `Cipher_ClientToggledPasswordVisible` event to browser refresh components

* add `Cipher_ClientToggledHiddenFieldVisible` event to browser refresh components

* add `Cipher_ClientToggledCardCodeVisible` event to browser refresh components

* add `Cipher_ClientToggledCardNumberVisible` event to browser refresh components

* add `Cipher_ClientToggledTOTPSeedVisible` event to browser refresh components

* add `Cipher_ClientCopiedPassword` event to browser refresh components

* add events for copying cipher fields from the vault menu

* add `Cipher_ClientCopiedHiddenField` event to browser refresh components

* add mock for tests

* add missing `Cipher_ClientCopiedCardCode` event

* remove the need for separate fields input

* add organization id to event collection so events are collected

* update test

* add event collection service to cipher form stories
2024-09-12 14:47:23 -05:00
Nick Krantz
70fbcf2a10 [PM-11657] Stripe + Browser Refresh Styling (#10978)
* add check for `ExtensionRefresh` in StripeService

- Stripe components need new styles to match the new CL components

* add global styles for Stripe components

- Matches closer to the browser refresh components

* add browser refresh component details to Stripe JS initialization

* add component to match the display of the new component library that shows only when the `ExtensionRefresh` flag is enabled

* update both payment components to use payment label component

- This styling of the label is separate from the `AC2476_DeprecateStripeSourcesAPI` flag

* update security code copy

* change layout of the trial component to account for new CL components

* absolutely position label to remove extra spacing around the label

* remove unneeded logic
2024-09-12 14:37:44 -05:00
Jared Snider
b6cde7e3ef Auth/PM-11945 - Registration with Email Verification - Fix Org Sponsored Free Family Plan not working (#11012)
* PM-11945 - AcceptOrg - fix inaccurate comment.

* PM-11945 - Refactor new registration process to pass along orgSponsoredFreeFamilyPlanToken

* PM-11945 - RegistrationFinishComponent - wire up passing of orgSponsoredFreeFamilyPlanToken to submit method

* PM-11945 - Add todo
2024-09-12 15:24:35 -04:00
rr-bw
6ffaeae331 add dynamic anon-layout wrapper data 2024-09-12 11:39:43 -07:00
cyprain-okeke
fc2c83f0d3 [AC-3022]Selecting a plan makes the plan cards content to auto-adjusts (#10992)
* Resolve the recommended issue

* Resolve the discount display issues

* remove unused tw property

* Resolve all the outstanding bugs

* Fix the A11y bug

* Resolve the base storage issue

* Rename service account in the summary

* changes for the A11y bug

* Fix the improper keyboard navigation in modal

* Add some additional ui changes
2024-09-12 19:12:38 +01:00
Daniel James Smith
f70b3df2d2 [PM-11949] Fix generating and copying export password (#10999)
* Use password field value instead of local variable for copy to clipboard

Use appCopyClick directive instead of manually copying and showing success toast

* Add missing "copySuccessful" message key to desktop and web

* Remove whitespace from web en/messages.json

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-09-12 20:04:39 +02:00
rr-bw
8696330245 change email validation to only run on submit (or when clicking continue button) 2024-09-12 11:04:15 -07:00
Jake Fink
07d2e36496 [PM-10914] add option to delete all folders if migration fails (#10983)
* add option to delete all folders if migration fails

* update text and flow to reattempt migration

* clear encrypted folders as well on delete all

* Update messaging
2024-09-12 13:47:35 -04:00
rr-bw
0cf965cdae web template modifications 2024-09-12 10:42:46 -07:00
Matt Gibson
3be5c4800b Do not test napi crate on windows (#11003)
* Do not test napi crate on windows

possibly related to https://github.com/napi-rs/napi-rs/issues/1405. We are seeing buffer overflows in ci due to repeated Node-API GetProcAddress failures.

We don't have any tests in the napi crate, so there's no harm in removing those tests right now. If we have tests there in the future, we'll need to actually fix this. However, the napi crate is just a wiring crate, so maybe we won't ever have any unit tests there.

* include crate in name

* Remove crate axis
2024-09-12 11:21:23 -06:00
Jordan Aasen
d2a7ee6b2e [PM-11438] - fix padding for new org license field input (#10982)
* add padding to import button

* reduce padding on upload input

* add padding to premium self-hosted file upload
2024-09-12 09:52:49 -07:00
rr-bw
677829f03a handle registerRoute$ in secondary content 2024-09-12 09:51:26 -07:00
rr-bw
c89eb92a63 handle oss-routing swap 2024-09-12 09:19:21 -07:00
rr-bw
f9dc91228b refactor to use a uiState enum for UI states 2024-09-11 16:47:43 -07:00
rr-bw
96f31ecf61 add descriptive comment to top of HTML file 2024-09-11 13:13:14 -07:00
Jason Ng
89751f46d6 [PM-254] Set PDF Attachments in Web to download, add success toast (#10757)
* add success toast to pdf attachment download in web

* update desktop attachments for toastService

* removed trailing comma

---------

Co-authored-by: gbubemismith <gsmithwalter@gmail.com>
Co-authored-by: SmithThe4th <gsmith@bitwarden.com>
2024-09-11 15:27:53 -04:00
Alex Morask
2cfbfcbdfe Run prettier (#10993) 2024-09-11 15:03:39 -04:00
Victoria League
a0a0a7ae13 [CL-395] Add and use art colors in svgs (#10990) 2024-09-11 14:54:07 -04:00
rr-bw
234191e809 fill out desktop template and submit() 2024-09-11 11:48:18 -07:00
Shane Melton
8e4dab5eba [PM-10996] Remove restrict-provider-access feature flag (#10977) 2024-09-11 10:45:23 -07:00
rr-bw
b0f4ac1915 add clarifying comment regarding secondary content 2024-09-11 10:38:25 -07:00
rr-bw
e3219d2766 handle desktop ngOnDestroy() 2024-09-11 10:33:03 -07:00
rr-bw
167b246112 add continue() method 2024-09-11 10:30:09 -07:00