Commit Graph

16548 Commits

Author SHA1 Message Date
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
rr-bw c597b92dee
setup desktopOnInit() 2024-09-11 10:24:04 -07:00
rr-bw 8c786622e3
minor refactor to use destructuring 2024-09-11 10:12:07 -07:00
rr-bw 0f62f07cf2
add clarifying comment to handleAuthResult() 2024-09-11 10:08:11 -07:00
Nick Krantz db9003458b
[PM-11436] New "+" button (#10907)
* replace icon in "new" button on admin-console

* replace icon in "new" button on secrets manager

* reduce flash of "new item" button by checking the availability of the organization
2024-09-11 11:29:53 -05:00
Alex Morask 4fa31b8f2b
Use payment-v2.component in change-plan-dialog.component when FF is on (#10976) 2024-09-11 09:48:22 -04:00
Bernd Schoolmann aa2a2d3ed0
Add initial km CODEOWERSHIP (#10988) 2024-09-11 14:04:01 +02:00
rr-bw 04ca09145b
minor formatting for consistency 2024-09-10 17:00:06 -07:00
rr-bw e2434ff397
create a LoginSecondaryContentComponent for AnonLayout use 2024-09-10 16:26:54 -07:00
renovate[bot] 35f4b4c7ac
[deps] Vault: Update https-proxy-agent to v7.0.5 (#7932)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-10 16:01:37 -07:00
rr-bw b64552f183
refactor handlCaptchaRequired() 2024-09-10 15:15:56 -07:00
rr-bw ff53feeed5
add comment to revisit ngOnInit logic 2024-09-10 14:55:24 -07:00
rr-bw d76f4832e6
refactor webOnInit 2024-09-10 14:51:42 -07:00
Jared Snider 546115876f
Move extension refresh redirect util function to libs so other clients can use it (#10979) 2024-09-10 17:47:16 -04:00
rr-bw 08261842e0
refactor to handleAuthResult() method 2024-09-10 14:25:27 -07:00
rr-bw 9588148e48
remove toast error on invalid form for Browser/Desktop 2024-09-10 14:22:51 -07:00
rr-bw d098ee0cbc
refactor submit logic further to use if statements with returns instead of if...else if...else 2024-09-10 14:10:02 -07:00
rr-bw feb16c3fd2
refactor submit logic 2024-09-10 13:27:40 -07:00
rr-bw 7d8886e4dc
refactor captcha methods and add return types 2024-09-10 12:58:24 -07:00
rr-bw 40e2cb5747
refactor handleMigrateEncryptionKey() 2024-09-10 12:37:22 -07:00
rr-bw b997b6024e
rename 'response' to 'authResult' 2024-09-10 12:08:32 -07:00
renovate[bot] 90330f798f
[deps] AC: Update mini-css-extract-plugin to v2.9.1 (#10574)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-10 14:19:45 -04:00
SmithThe4th 8921230b4f
[PM-11200] Move delete item permission to Can Manage (#10890)
* Refactored the showDelete function to check if a user can manage a collection

Removed the can edit or manage cipher check from the show delete function

* Add check for AC vault to return true when user has admin access

* Check user is an admin or custom user with editAnyCollection

* Check user is an admin or custom user with editAnyCollection
2024-09-10 14:15:01 -04:00
Bitwarden DevOps 744a48183b
Bumped client version(s) (#10975) 2024-09-10 16:47:18 +00:00
✨ Audrey ✨ 4128b18b27
[PM-8279] password generation component (#10805) 2024-09-10 12:43:33 -04:00
Jared Snider 2d02b6ca5c
Auth/PM-11252 - Registration with Email Verification - Add new redirect connector (#10682)
* PM-11252 - Registration with email verification - Add new signup redirect connector

* PM-11252 - Make the redirect connector generic and extensible while updating it to reference the new fragment based approach which prevents open redirects and prevents the query string from being sent to servers or proxies.

* PM-11252 - PR feedback - refactor redirect to simply forward any fragment onward with no query param parsing required leading to an even more generic solution.

* PM-11252 - Docs

* PM-11252 - PR Feedback - Include styles in chunks to remove need to manually import scss

* PM-11252 - Update redirect html to tailwind.
2024-09-10 11:29:48 -04:00
cyprain-okeke c1b1db071d
[AC-3029][Defect] Organization storage count is not carried over to the Upgrade dialog Total section (#10965)
* Resolve the ui changes issues

* Resolve the storage ui issue
2024-09-10 12:57:47 +01:00
renovate[bot] 71e5bcb947
[PM-11885] [deps] Tools: Update electron to v32.0.2 (#10964)
* [deps] Tools: Update electron to v32.0.2

* Bump version electron-builder.json

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
2024-09-10 12:02:05 +02:00