Commit Graph

3144 Commits

Author SHA1 Message Date
Cesar Gonzalez 2827d338ee
[PM-11419] Fix issues encountered with inline menu passkeys (#10892)
* [PM-11419] Login items do not display after adding passkey

* [PM-11419] Login items do not display after adding passkey

* [PM-11419] Incorporating fixes for deleting a cipher from the inline menu as well as authenticating using passkeys

* [PM-11419] Fixing an issue where master password reprompt is ignored for a set passkey cipher

* [PM-11419] Fixing an issue where saving a passkey does not trigger a clearing of cached cipher values

* [PM-11419] Refactoring implementation

* [PM-11419] Ensuring that passkeys must be enabled in order for ciphers to appear

* [PM-11419] Adding an abort event from the active request manager

* [PM-11419] Adding an abort event from the active request manager

* [PM-11419] Working through jest tests within implementation

* [PM-11419] Fixing jest tests within Fido2ClientService and Fido2AuthenticatorService

* [PM-11419] Adding jest tests for added logic within OverlayBackground

* [PM-11419] Adding jest tests for added logic within OverlayBackground

* [PM-11419] Reworking how we handle assuming user presence when master password reprompt is required

* [PM-11419] Reworking how we handle assuming user presence when master password reprompt is required

* [PM-11419] Reworking how we handle assuming user presence when master password reprompt is required

* [PM-11419] Refactoring implementation

* [PM-11419] Incorporating suggestion for reporting failed passkey authentication from the inline menu

* [PM-11419] Reworking positioning of the abort controller that informs the background script of an error

* [PM-11419] Scoping down the behavior surrounding master password reprompt a bit more tightly

* [PM-11419] Reworking how we handle reacting to active fido2 requests to avoid ambiguity

* [PM-11419] Reworking how we handle reacting to active fido2 requests to avoid ambiguity

* [PM-11419] Adjusting implementation to ensure we clear any active requests when the passkeys setting is modified
2024-09-09 08:44:08 -04:00
cyprain-okeke 3af0590807
Fix the adjusting issue on the plans selection (#10953) 2024-09-09 13:25:14 +01:00
md-5 e3fc4547ae
Handle detached table cells in autofill service (#10880)
Fixes errors and high CPU usage / browser lockup on offending webpages.

HTMLTableCellElement.cellIndex will be -1 if the cell is not part of any row, which will cause getTextContentFromElement to fail since it will not receive a valid sibling cell.
2024-09-06 17:22:43 -04:00
Cesar Gonzalez 4e1912e24e
[PM-11481] Incorporate TOTP field qualification to ensure inline menu appears correctly for login forms (#10900)
* [PM-11481] Incorporate TOTP field qualification to ensure inline menu appears correctly for login forms

* [PM-11481] Incorporate TOTP field qualification to ensure inline menu appears correctly for login forms
2024-09-06 21:00:47 +00:00
Cesar Gonzalez 12b5ce548d
[PM-11689] Incorporate refined submit button capture logic within auto-submit login content script (#10909)
* [PM-11689] Incorporate refined submit button capture logic within auto-submit login content script

* [PM-11689] Refactoring implementation to better unify logic

* [PM-11689] Adjusting regex value in order to avoid iterating over element unnecessarily

* [PM-11689] Adjusting regex value in order to avoid iterating over element unnecessarily

* [PM-11689] Adjusting regex value in order to avoid iterating over element unnecessarily
2024-09-06 15:57:12 -05:00
Daniel García 4dbb036df1
Remove unnecessary plist keys in desktop_proxy (#10933) 2024-09-06 20:06:01 +02:00
Bernd Schoolmann 45806ed8d8
Add fallbackbulkencryptservice to main.background.ts (#10696) 2024-09-06 19:00:50 +02:00
SmithThe4th a48773ae4f
[PM-11692] [PM-11693] [PM-11694] Fixed defects with browser refresh trash component (#10911)
* Added animation when viewing item in trash

* Fixed A11y to announce delete forever

* Route to vault page after restore or delete action is performed
2024-09-06 12:55:26 -04:00
Daniel García 40cb4b5353
Fix TestFlight errors caused by desktop_proxy (#10928)
* Add info.plist and enable app-sandbox

* Log available identities

* Fix cert selection

* Remove comment
2024-09-06 17:48:51 +02:00
Jonathan Prusik 9881c7842b
[PM-10418] Bugfix - Expiration date on cards does not always autofill the correct format (#10705)
* add branching logic for alternative card expiration autofill strategy

* simplify logic and fix some pattern-matching bugs

* add EnableNewCardCombinedExpiryAutofill feature flag

* update default format for card expiry date and update tests

* review reccs
2024-09-06 11:24:04 -04:00
Alex Morask 56ededa947
Update organization-plans.component to use new payment-v2.component when FF is on (#10906) 2024-09-06 10:19:12 -04:00
Alex Morask 2aa4b07d68
Move braintree.service and stripe.service from jslib-services.module into web (#10923) 2024-09-06 09:51:00 -04:00
Nick Krantz fb1a294c97
update aria label of the character count toggle (#10915) 2024-09-06 08:49:46 -05:00
Justin Baur 92e71d9252
[PM-11661]Add New Reseed - Fill Buffer Behind Feature Flag (#10905)
* Add New Reseed - Fill Buffer Behind Feature Flag

* Add Tests

* Lint
2024-09-06 09:48:27 -04:00
Todd Martin 03b3345bf6
[PM-11619] Replace client-side feature flag with server-side flag (#10709) 2024-09-06 09:25:15 -04:00
github-actions[bot] ffaf94a5db
Autosync the updated translations (#10919)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-09-06 11:40:32 +00:00
github-actions[bot] d28b62ae5d
Autosync the updated translations (#10920)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-09-06 11:08:30 +00:00
github-actions[bot] 7eaf870213
Autosync the updated translations (#10918)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-09-06 07:45:18 +00:00
otbutz d905dd1653
Add missing doctype (#10860) 2024-09-05 20:22:45 -04:00
cyprain-okeke 8eef46ad4e
[PM-11417] Customers' Expiration Date in Admin Console changing to next invoice date when Pending Invoice items exist (#10774)
* Resolve the wrong subscription expiration date

* Refactor the change to include flag

* refactor the change to consider the flag

* Resolve the year bug for all subscription

* Changes for the premium user

* resolve the premium issue
2024-09-05 23:48:15 +01:00
Bernd Schoolmann b2966b158a
[PM-11461] Fix jit proivisioning for snap desktop (#10794)
* Fix snap jit privisioning

* Fix server keeping connection open on favicon request
2024-09-05 18:15:09 -04:00
cyprain-okeke 397141b9d9
Resolve the issue of blank seat and seat limit pm (#10902) 2024-09-05 20:40:27 +01:00
Justin Baur 3bbc2cc691
Change AppIdService to Use Storage Directly (#10835) 2024-09-05 14:44:19 -04:00
Bitwarden DevOps f58138a51d
Bumped client version(s) (#10913) 2024-09-05 18:18:22 +00:00
Bitwarden DevOps 63e3f3218b
Bumped client version(s) (#10912) 2024-09-05 18:05:23 +00:00
Jared Snider 352ab29665
Auth/PM-11635 - Extension Registration Bugfix - Unable to login after account creation issue (#10896)
* PM-11635 - Refactor Base Login Component NgOnInit to properly connect the loading of email settings from state to the processing of query params. If an email is not passed via query params (like registration / normal login), then we will try to load the email from state.

* PM-11635 - Extension login component - call parent ngOnInit as it is responsible for processing / setting email from either query params or state. The addition of the child ngOnInit prevented the parent component ngOnInit from executing.
2024-09-05 13:55:30 -04:00
Bitwarden DevOps 0902ca5ae8
Bumped client version(s) (#10910) 2024-09-05 16:33:26 +00:00
Jordan Aasen 329f8b138c
[PM-11438] add padding to self-hosted subscription import button (#10869)
* add padding to import button

* reduce padding on upload input

* add padding to premium self-hosted file upload
2024-09-05 09:31:59 -07:00
Daniel James Smith 74d510332d
[PM-9884] Create empty send add/edit page for browser (#10155)
* Move SendV2component into send-v2 subFolder

* Create SendFormContainer and related services

* Add initial SendFormComponent which uses the SendFormContainer

* Remove AdditionalOptionsSectionComponent which will be added with a future PR

* Add libs/tools/send to root tsconfig

* Register libs/tools/send/send-ui with root jest.config.js

* Register libs/tools/send/send-ui with root tailwind.config.js

* Create empty Send add edit page

- Introduces conditional routing based on extension refresh feature flag
- After selecting a Send type via the New button navigate to the new send-add-edit page and build a SendFormConfig

* Fix service injection on DefaultSendFormService

* Rename setHeader into getHeaderText, make it private and add documentation

* Set radix/base to 10 for parseInt

* Add documentation

* Rename local variable

* Removed unneeded loading state

* Remove unused originalSendId

* Run prettier

* Add link to edit an existing send

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-09-05 17:46:03 +02:00
Alex Morask 2a1d9b7f31
[AC-2963] Add premium-v2.component for individual users (#10885)
* Add premium-v2.component

* (No Logic) Move existing premium.component into new premium folder

* Add new premium-v2.component to /premium route behind FF
2024-09-05 11:20:23 -04:00
Victoria League 32903a21f9
[CL-322] Remove tw-sr-only from form field labels (#10868) 2024-09-05 10:16:06 -04:00
Daniel García 78c5e9c706
[PM-5506] Enable electron fuses (#10073) 2024-09-05 13:20:44 +02:00
Daniel García 55874b72bf
[PM-7846] Implement a rust based native messaging proxy and IPC system (#9894)
* [PM-7846] Implement a rust based native messaging proxy and IPC system

* Only build desktop_proxy

* Bundle the desktop_proxy file

* Make sys deps optional for the proxy

* Restore accidentally deleted after-sign

* Update native cache to contain dist folder

* Add some test logging

* Native module cache seems very aggressive

* Fix invalid directory

* Fix debug print

* Remove cache force

* Remove cache debug code

* Only log to file in debug builds

* Place the binary in the correct place for mac and make sure it's signed

* Fix platform paths

* Test unsigned appx

* Revert "Test unsigned appx"

This reverts commit e47535440a.

* Fix comment

* Remove logs

* Use debug builds in native code, and test private path on MacOS

* Add connected message

* Update IPC API comments

* Update linux to also use XDG_ dir

* Update main.rs comment

* Improve docs and split some tasks spawned into separate functions

* Update send docs and return number of elements sent

* Mark `listen` as async to ensure it runs in a tokio context, handle errors better

* Add log on client channel closed

* Move binary to MacOS folder, and sign it manually so it gets the correct entitlements

* Fix some review comments

* Run prettier

* Added missing zbus_polkit dep

* Extract magic number and increase it to match spec

* Comment fix

* Use Napi object, combine nativeBinding export, always log to file

* Missed one comment

* Remove unnecessary generics

* Correct comment

* Select only codesigning identities

* Filter certificates

* Also add local dev cert

* Remove log

* Fix package ID

* debug_assert won't run the pop() in release mode

* Better error messages

* Fix review comments

* Remove unnecessary comment

* Update napi generated TS file

* Temporary fix for DDG
2024-09-05 12:54:24 +02:00
Bernd Schoolmann 196729fe94
[PM-8316] Fix account switcher on vault logout timeout (#10653)
* Fix account switcher on logged out account on startup

* Undo space removal

* Add additional checks for null values

* Fix account switching on timeout on browser

* Fix linting

* Fix broken init in browser
2024-09-05 11:24:27 +02:00
Alec Rippberger fdd2c774c6
[PM-11339] [Defect] Owner information in Item details section needs spacing and alignment (#10762)
* Add vault files to config.content array.

* Adjust unordered list spacing.
2024-09-04 15:45:23 -07:00
Alec Rippberger c2046f8929
Add missing address label. (#10823) 2024-09-04 15:40:25 -07:00
Alec Rippberger 5ba39651e2
[PM-10833] [Defect] Add items to new dropdown in admin console (#10828)
* Add cipher types to "new" dropdown in admin console.

* Keep feature flag code consistent.

* Add missing menu divider.
2024-09-04 15:38:56 -07:00
Alec Rippberger 8aa81dec3b
[PM-11388] [Defect] Section headers are missing for View {Item} on web (#10838)
* Add Personal Details header.

* Add missing translation strings.
2024-09-04 15:33:54 -07:00
Thomas Rittson 0173b5192e
[PM-11623] Refactor access-selector stories (#10874)
* Split access-selector stories into separate stories and files
* Tweak existing stories to better represent actual use cases in our app
* Add jsdoc comments
* Add stories
2024-09-05 08:33:35 +10:00
Thomas Rittson 8344623185
[PM-11450] Move organization-user domain to admin-console lib (#10785)
- move organization-user files from libs/common/src/admin-console into libs/admin-console/src/common
- add barrel files and update imports to use barrel files
- rename OrganizationUserService to OrganizationUserApiService
- rename OrganizationUserServiceImplementation to DefaultOrganizationUserApiService
2024-09-04 18:21:26 -04:00
Cesar Gonzalez 2f69228c21
[PM-11656] Inline menu updates with empty list of ciphers (#10891) 2024-09-04 15:44:08 -05:00
Cesar Gonzalez 1a1d9e2d76
[PM-11386] Limit presentation of inline menu for identities strictly to fields that contain valid autocomplete attribute (#10865)
* [PM-11386] Limit presentation of inline menu for identities strictly to fields that contain valid autocomplete attribute

* [PM-11386] Limit presentation of inline menu for identities strictly to fields that contain valid autocomplete attribute
2024-09-04 15:42:52 -05:00
Cesar Gonzalez e594059865
[PM-11474] Rework injection of delayed passkey script to address identified bugs (#10830)
* [PM-11474] Delay cleanup of injected passkey script

* [PM-11474] Incorporating changes to ensure passkeys function within Safari script effectively

* [PM-11474] Fixing jest tests

* [PM-11474] Fixing jest tests
2024-09-04 15:42:37 -05:00
SmithThe4th 55ffe9913d
fixed typography issues (#10886) 2024-09-04 16:14:58 -04:00
Ike b264a3f442
toast is how showing; removed event emitter to use built in emitter in base class; (#10761) 2024-09-04 12:49:18 -07:00
renovate[bot] 0419f91df6
[deps]: Lock file maintenance (#10852)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 13:55:46 -04:00
renovate[bot] 53efb9a7c3
[deps] Platform: Update @types/node to v20.16.4 (#10843)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 13:55:11 -04:00
Jonathan Prusik 095ce7ec30
[PM-7956] Update passkey pop-out to new UI (#10796)
* rename existing fido2 components to use v1 designation

* use fido2 message type value constants in components

* add v2 fido2 components

* add search to login UX of fido2 v2 component

* add new item button in top nav of fido2 v2 component

* get and pass activeUserId to cipher key decription methods

* cleanup / PR suggestions
2024-09-04 13:50:48 -04:00
Jonathan Prusik 44f1fc156c
[PM-11458] Bugfix - If two digit year was entered for card, the expired card message shows if card is not expired (#10801)
* normalize card expiry year before determining if it is expired

* add tests
2024-09-04 13:39:48 -04:00
Alex Morask 6edc3edb9a
[AC-2960] Create new adjust-storage-dialog component without payment.component (#10793)
* Add adjust-storage-dialog-v2.component

* (No Logic) Rename old adjust-storage.component to adjust-storage-dialog.component

* (No Logic) Move existing adjust-storage-dialog.component into new adjust-storage-dialog folder

* Use adjust-storage-dialog-v2.component in adjustStorage methods when FF is on
2024-09-04 12:30:47 -04:00