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

4254 Commits

Author SHA1 Message Date
Github Actions
1c2333ca5a Bumped Desktop client to 2025.2.0 2025-02-06 21:04:47 +00:00
Todd Martin
3e988fae6f
Remove feature flag check from opt-out (#13130) 2025-02-06 14:37:08 -05:00
Daniel James Smith
0b5b1b347e
[PM-17165] Remove v1 generator UI from web (#13240)
* Remove v1 generator from web

Remove conditional routing based on `generator-tools-modernization`
Remove generatorSwap helper
Remove generator and password-generator-history components including the base ones in libs/angular

* Remove the feature flag `generator-tools-modernization`

* Remove unused keys from en/messages.json

* Remove unused css

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-02-06 19:06:37 +01:00
Daniel James Smith
fc62d80b70
Rename @bitwarden/importer/ui to @bitwarden/importer-ui (#13268)
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-02-06 12:59:52 -05:00
SmithThe4th
1746046f18
Updated cipher view to have the latest value of organizationUseTotp from server response (#13223) 2025-02-06 12:22:27 -05:00
Daniel Riera
276d9b9a9b
[PM-17487] Load cipher data into new notification experience (#13185)
* PM-17487 - Initial structure
- Implement new getNotificationCipherData function in background
- Update stories to match new naming
- Edit types to be relevant to current functionality

* update jsdoc

* export types so eslint does not treat them as unused

* -Fix types -Promise.all on background

* clean comments
2025-02-06 11:54:09 -05:00
Alex Morask
6a94b4d0ef
Update marketing route for organizations when in cloud (#13123) 2025-02-06 08:54:23 -05:00
Opeyemi
5da7d934cc
Fix Browser version to 2025.1.3 (#13286) 2025-02-06 13:15:43 +00:00
Rui Tomé
3c05a8b11f
[PM-13761] Refactor revoke/restore modal layout, truncate email addresses (#12728)
* Refactor revoke/restore modal layout, truncate email addresses

* refactor: Improve user display in bulk restore/revoke component

* refactor: Simplify user display logic in bulk restore/revoke component
2025-02-06 10:04:21 +00:00
Brandon Treston
1133775def
[PM-17120] account deprovisioning banner (#13097)
* remove provider client privay banner, implement account deprovisioning banner

* add copy, make state depend on org plan type and org id

* cleanup

* refactor, add test

* cleanup

* cleanup

* add state migration

* Fix lintter error
2025-02-05 16:04:23 -05:00
Vince Grassia
8162be09b2
Update signature of signing certificate (#13275) 2025-02-05 20:38:51 +00:00
Justin Baur
3c3cc897d1
[PM-4783] Special case browser error (#13242)
* Special case browser error

* Add & Fix Tests

* Fix _other_ tests
2025-02-05 15:30:46 -05:00
Brandon Treston
aedb899401
[PM-17448] add 1 time dialog when deleting managed members for admins (#13139)
* add 1 time dialog when deleting managed members for admins

* fix story

* refactor to show warning for each org. Add test
2025-02-05 15:26:25 -05:00
Brandon Treston
31e9ab24ef
add new copy, remove old (#13224) 2025-02-05 12:12:51 -05:00
Bernd Schoolmann
2f8a7a95bd
[PM-15994] Move encrypt service to km ownership (#13220)
* Move encrypt service to km ownership

* Update imports for encrypt service abstraction and move bulk encrypt service abstraction

* Fix imports

* Fix further imports

* Fix imports

* Fix worker import
2025-02-05 17:39:11 +01:00
Daniel James Smith
9cbe295c74
Revert "[PM-13404] Weak Passwords Report - Sort by password weakness (#12359)" (#13263)
This reverts commit 582beaf706.
2025-02-05 08:31:37 -06:00
Daniel James Smith
f6eb08c3b7
Rename @bitwarden/importer/core to @bitwarden/importer-core (#13182)
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-02-05 08:31:12 -06:00
Vicki League
4db2a5dfc6
[CL-530] Exclude CL inputs from global desktop css (#13254) 2025-02-05 09:21:16 -05:00
Daniel James Smith
ee70c67fce
Remove v1 generator UI from desktop (#12909)
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-02-05 12:57:06 +01:00
cyprain-okeke
586cbccdef
Remove the feature flag (#13102) 2025-02-05 09:18:31 +01:00
Shane Melton
25853b2007
[PM-17974] Ensure an empty array is passed to vault-list-items-container in case of an async pipe that has not emitted yet (#13257) 2025-02-04 15:48:22 -08:00
Jordan Aasen
2c118d9f01
[PM-16925] - fix all restricted imports in vault (#13236)
* fix all restricted imports in vault

* fix spec

* remove export
2025-02-04 14:26:03 -08:00
Nick Krantz
aa024b419c
[PM-12571][PM-13807] Add/Edit Folder Dialog (#12487)
* move `add-edit-folder` component to `angular/vault/components` so it can be consumed by other platforms

* add edit/add folder copy to web app copy

* add extension refresh folder dialog to individual vault

* adding folder delete message to the web

* add deletion result for add/edit folder dialog

* allow editing folder from web

* fix strict types for changed files

* update tests

* remove border class so hover state shows

* revert changes to new-item-dropdown-v2

* migrate `AddEditFolderDialogComponent` to `libs/vault` package

* add Created enum type

* add static open method for folder dialog

* add fullName to `FolderFilter` type

* save the full name of a folder before splitting it into parts

* use the full name of the folder filter when available

* use a shallow copy to edit the folder's full name

---------

Co-authored-by: SmithThe4th <gsmith@bitwarden.com>
2025-02-04 15:13:13 -06:00
Jason Ng
327aed9763
[PM-11162] Assign To Collections Permission Update (#11367)
Only users with Manage/Edit permissions will be allowed to Assign To Collections. If the user has Can Edit Except Password the collections dropdown will be disabled.
---------

Co-authored-by: Matt Bishop <mbishop@bitwarden.com>
Co-authored-by: kejaeger <138028972+kejaeger@users.noreply.github.com>
2025-02-04 15:44:59 -05:00
Jordan Aasen
1b3bc71e50
[PM-15943] - fix extension flicker when filling in a password (#13143)
* update lastUsedDate in background script

* fix tests
2025-02-04 12:38:14 -08:00
Jonathan Prusik
0b17d9e74d
[PM-17969] Bugfix - Notification bar does not come up when creating an account demo.yubico.com/playground (#13253)
* add keyword to account creation field keywords

* include html class attribute value when gathering form attribute information

* misc cleanup/consistency

* update tests
2025-02-04 15:18:14 -05:00
Patrick-Pimentel-Bitwarden
0523ce0b40
refactor(active-user-state-refactor): [PM-12040] Remove ActiveUserStatus For SSO Login Component (#13149)
* refactor(active-user-state-refactor): [PM-12040] Remove ActiveUserState from SSO Service - First pass of work to update the state. In the middle of testing.

* fix(active-user-state-refactor): [PM-12040] Remove ActiveUserState from SSO Service - Fix for jslib-services.module.ts

* fix(active-user-state-refactor): [PM-12040] Remove ActiveUserState from SSO Service - Fix main.background.ts

* test(active-user-state-refactor): [PM-12040] Remove ActiveUserState from SSO Service - Added simple tests

* fix(active-user-state-refactor): [PM-12040] Remove ActiveUserState from SSO Service - Tiny touchups.

* fix(active-user-state-refactor): [PM-12040] Remove ActiveUserState from SSO Service - Few fixes to resolve comments.

* fix(active-user-state-refactor): [PM-12040] Remove ActiveUserState from SSO Service - Changed place where userId is loaded.

* test(active-user-state-refactor): [PM-12040] Remove ActiveUserState from SSO Service - Fixed test.
2025-02-04 13:31:36 -05:00
Jordan Aasen
b55468e6a1
[PM-17186] - Add Card and Identity sub-headers to Autofill Suggestions (#13068)
* autofill section headers

* dry up code. fix groupByType state

* revert change to div

* add collapsible code back in

* add compact mode styling and DRYd up template

* fix font weight

* simplify grouping logic

* rearrange code back to original ordering

* use input method in favor of get/set

* fix count

* set initial value for ciphers and groupByType
2025-02-04 10:02:56 -08:00
Vicki League
4be290837a
[PM-17717] Improve extension section header hover state (#13192) 2025-02-04 11:14:35 -05:00
Bernd Schoolmann
aeb4e21f69
Add usb entitlement for masdev fido2 (#13219) 2025-02-04 16:04:25 +01:00
Alex Morask
e7f52d4ba5
Fixed copy for Families upgrade (#13156) 2025-02-04 09:05:41 -05:00
Alex Morask
bcce56e6fd
Hide account credit option when purchasing organization (#13081) 2025-02-04 09:05:20 -05:00
Alex Morask
cf7a174d11
[PM-15179] Implement add-existing-organization-dialog.component (#13010)
* Implement add-existing-organization-dialog.component

* Add missing button type

* Thomas' feedback

* Import order issue
2025-02-04 09:02:12 -05:00
cyprain-okeke
72434bfa77
[PM-7317][Web] Clean up old components (#12862)
* Changes base on the ticket request

* Move the trial route to Top

* route the trial to signup

* merge from main

* Remove the register-form component

---------

Co-authored-by: Evan Bassler <ebassler@livefront.com>
2025-02-04 10:05:35 +01:00
Jonathan Prusik
444e928895
revert remaining changes from 374ea6af7c (#13228) 2025-02-03 12:29:05 -05:00
cyprain-okeke
27a8b43350
[PM-14921]Customers managed by a Reseller need to see how many seats are in their subscription, while still obfuscating the cost of subscription. (#12726)
* Add the seats info for reseller managed org

* Resolve the remaining seat bug

* Resolve pr comments

* code refactoring
2025-02-03 17:21:00 +01:00
Jonas Hendrickx
2003766f98
[PM-17132] Fix rate limiter error message when upgrading organization (#13157) 2025-02-03 16:16:04 +01:00
Colton Hurst
8b62dad247
[PM-17619] Add Intial Windows WebAuthn Plugin Authenticator Bindings Crate (#13112)
* PM-17619: Add intial Windows WebAuthn Plugin Authenticator bindings crate

* PM-17619: Move crate to desktop_native

* PM-17619: Update codeowners file

* PM-17619: Fix failing Mac build

* PM-17619: Switch to OUT_DIR

* PM-17619: cargo fmt

* PM-17619: Update bindings output dir

* PM-17619: Use std::env::var for OUT_DIR

* PM-17619: Prevent clippy failures on the generated Rust code

* PM-17619: Test moving the clippy:all

* PM-17619: Small updates

* PM-17619: Remove todo

* PM-17619: Ignore rustc warnings on the generated code

* PM-17619: Address PR comments
2025-02-03 09:53:53 -05:00
Daniel Riera
1d712124bc
PM-17068-Implement Docs for Lit Storybook Instance (#12912)
* PM-17068 -add mdx path to lit main file - Add button docs

* temp remove meta to fix main storybook

* cipher docs composed

* icons doc

* notification docs composed

* convert to hidden files

* isolate hidden files

* isolate docs within hidden folder and change doc files to not be hidden for build
2025-01-31 15:54:00 -05:00
Vincent Salucci
22edfd4283
fix: move feature flag to correct grouping, update casing, update callers, refs PM-17763 (#13184) 2025-01-31 12:18:17 -06:00
Alec Rippberger
8e70d5b923
feat(auth): [PM-3953] generalize copy for login with device flows
Updates UI text and translations for the login with device feature to be more consistent and clear across desktop, browser and web clients. Changes include:

- Updated titles and content for login via auth request components
- Revised translations for device approval modal
- Updated notification titles and alert messages
- Simplified device management URL handling
- Added missing translations across platforms

Resolves PM-3953
2025-01-31 11:54:41 -06:00
Bernd Schoolmann
91509f2f7a
[PM-16978] Add support for fido2 2fa on mac (#12823)
* Add support for fido2 2fa on mac

* Update comment

* Update 2fa setup message
2025-01-31 18:02:03 +01:00
Brandon Treston
82f416c292
[PM-16579] update copy (#13138)
* update copy

* update copy refference
2025-01-31 11:39:53 -05:00
bw-ghapp[bot]
3b8b9c9e69
Autosync the updated translations (#13172)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-01-31 14:57:46 +01:00
renovate[bot]
6311c52e46
[deps] Platform: Update Rust crate sysinfo to v0.33.1 (#12550)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-31 13:45:48 +01:00
bw-ghapp[bot]
f8121d666f
Autosync the updated translations (#13171)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-01-31 11:01:10 +01:00
bw-ghapp[bot]
75314e23ee
Autosync the updated translations (#13170)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-01-31 10:58:28 +01:00
renovate[bot]
b423460006
[deps] Platform: Pin dependencies (#12292)
* [deps] Platform: Pin dependencies

* fix: version conflicts by making them workspace deps

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Andreas Coroiu <andreas.coroiu@gmail.com>
2025-01-31 09:56:17 +01:00
Jimmy Vo
7a1121dff4
[pm-17763] Add limitItemDeletion property to UI. (#13162) 2025-01-30 15:30:34 -05:00
renovate[bot]
f775e665cb
[deps] Platform: Update Rust crate tokio-util to v0.7.13 (#12299)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-30 14:00:31 +01:00
renovate[bot]
ea41b1a0c6
[deps] Platform: Update Rust crate tokio to v1.43.0 (#12307)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-30 12:31:30 +01:00
renovate[bot]
fef6b39c17
[deps]: Lock file maintenance (#12978)
* [deps]: Lock file maintenance

* fix: pin react version to work around storybook version issue

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Andreas Coroiu <andreas.coroiu@gmail.com>
2025-01-30 11:52:46 +01:00
Oscar Hinton
f8bdd66fbb
[PM-17629] Split up KM lib to km and km-ui (#13093) 2025-01-30 11:20:17 +01:00
Jordan Aasen
4b45029d23
[PM-17688] - generator dialog - add missing button label i18n keys. fix logic for disabling button (#13140)
* add missing button label i18n keys. fix logic for displaying button label

* Update comment

Co-authored-by:  Audrey  <ajensen@bitwarden.com>

---------

Co-authored-by:  Audrey  <ajensen@bitwarden.com>
2025-01-29 14:06:03 -08:00
Jordan Aasen
d09de817c3
[PM-14952] - show "close" button if user doesn't have edit permission in vault dialog trash (#13036)
* show cancel button if user doesn't have edit permission in vault dialog for trash items

* show close instead of restore in vault dialog in trash

* fix logic for showing close button
2025-01-29 13:53:00 -08:00
Daniel James Smith
ef38a96faf
[PM-16485] Remove legacy generator from change password component (#13132)
* Remove deprecated and unused PasswordGenerationService

* Remove unused state-service

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-01-29 14:40:48 -05:00
Shane Melton
db2b405421
Fix noop notification service registration (#13131)
* Re-order the constructor dependencies to match between Noop and Default notification service

* Fix test file

* One more missed constructor
2025-01-29 12:58:01 -05:00
Todd Martin
aef81210e3
Fix desktop version to be 2025.1.4 (#13092)
* Fix desktop version to be 2024.1.4

* Updated package-lock.json
2025-01-29 12:22:55 -05:00
Daniel Riera
d2fec919b3
PM-14355 (#13110)
- Initial structure
- Implement flag where needed
- Apply dynamic styling
2025-01-29 11:17:50 -05:00
Daniel James Smith
e73cb3e3ff
Move premium component into billing ownership (#12927)
* Move premium component into billing ownership

Update CODEOWNERS
Move files within libs/angular
Move files within desktop
Adjust import paths

* Remove configService

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-01-29 08:09:19 -08:00
Justin Baur
320a459e38
Fix lint errors from merge (#13122) 2025-01-29 16:04:15 +01:00
Thomas Rittson
fe08980a89
[PM-17692] Fix AC navigation permissions bug (#13116)
* Add failing tests

* Fix bug
2025-01-29 09:01:01 -06:00
Ike
60e569ed9d
[PM-15605] Add new device protection opt out (#12880)
* feat(newdeviceVerificaiton) : adding component and request model

* feat(newDeviceverification) : adding state structure to track verify devices for active user; added API call to server.

* feat(newDeviceVerification) : added visual elements for opting out of new device verification.

* Fixing tests for account service.
fixed DI for account service

* Fixing strict lint issues

* debt(deauthorizeSessionsModal) : changed modal to dialog. fixed strict typing for the new dialog for deviceVerification.

* fixing tests

* fixing desktop build DI

* changed dialog to standalone fixed names and comments.

* Adding tests for AccountService

* fix linting

* PM-15605 - AccountComp - fix ngOnDestroy erroring as it was incorrectly decorated with removed property.

* PM-15605 - SetAccountVerifyDevicesDialogComponent - only show warning about turning off new device verification if user doensn't have 2FA configured per task description

---------

Co-authored-by: Jared Snider <116684653+JaredSnider-Bitwarden@users.noreply.github.com>
Co-authored-by: Jared Snider <jsnider@bitwarden.com>
2025-01-29 09:49:56 -05:00
Justin Baur
b07d6c29a4
Add Web Push Support (#11346)
* WIP: PoC with lots of terrible code with web push

* fix service worker building

* Work on WebPush Tailored to Browser

* Clean Up Web And MV2

* Fix Merge Conflicts

* Prettier

* Use Unsupported for MV2

* Add Doc Comments

* Remove Permission Button

* Fix Type Test

* Write Time In More Readable Format

* Add SignalR Logger

* `sheduleReconnect` -> `scheduleReconnect`

Co-authored-by: Matt Gibson <mgibson@bitwarden.com>

* Capture Support Context In Connector

* Remove Unneeded CSP Change

* Fix Build

* Simplify `getOrCreateSubscription`

* Add More Docs to Matrix

* Update libs/common/src/platform/notifications/internal/worker-webpush-connection.service.ts

Co-authored-by: Matt Gibson <mgibson@bitwarden.com>

* Move API Service Into Notifications Folder

* Allow Connection When Account Is Locked

* Add Comments to NotificationsService

* Only Change Support Status If Public Key Changes

* Move Service Choice Out To Method

* Use Named Constant For Disabled Notification Url

* Add Test & Cleanup

* Flatten

* Move Tests into `beforeEach` & `afterEach`

* Add Tests

* Test `distinctUntilChanged`'s Operators More

* Make Helper And Cleanup Chain

* Add Back Cast

* Add extra safety to incoming config check

* Put data through response object

* Apply TS Strict Rules

* Finish PushTechnology comment

* Use `instanceof` check

* Do Safer Worker Based Registration for MV3

* Remove TODO

* Switch to SignalR on any WebPush Error

* Fix Manifest Permissions

* Add Back `webNavigation`

* Sorry, Remove `webNavigation`

* Fixed merge conflicts.

---------

Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
Co-authored-by: Todd Martin <tmartin@bitwarden.com>
Co-authored-by: Todd Martin <106564991+trmartin4@users.noreply.github.com>
2025-01-29 08:49:01 -05:00
Brandon Treston
222392d1fa
[PM-12444] remove ngx infinite scroll dependency (#13056)
* replace provider clients components with vNext implementation

* remove ngx-infinite-scroll dependency

* fix ts strict errors
2025-01-28 16:01:07 -05:00
Conner Turnbull
26a0594056
[PM-17655] Billing Code Ownership Updates (#13105)
* Moved has-premium.guard under billing

* Moved free-trial.ts to billing

* Moved premium directives to billing

* Moved families-policy.service.ts to billing

* Moved trial initiation from auth to billing
2025-01-28 13:17:00 -05:00
Nick Krantz
331c04a0fa
fix deep import for CipherFormComponent (#13107) 2025-01-28 08:49:48 -08:00
Nick Krantz
7c2bf504a3
[PM-11249] Sync attachment updates across platforms (#11758)
* update extension refresh form when an attachment is added or removed

- This is needed because the revision date was updated on the server and the locally stored cipher needs to match.

* receive updated cipher from delete attachment endpoint

- deleting an attachment will now alter the revision timestamp on a cipher.

* patch the cipher when an attachment is added or deleted

* migrate vault component to use the `cipherViews$` observable

* reference `cipherViews$` on desktop for vault-items

- This avoid race conditions where ciphers are cleared out in the background. `cipherViews` should always emit the latest views

* return CipherData from cipher service so that consumers have the updated cipher right away

* use the updated cipher from attachment endpoints to refresh the details within the add/edit components on desktop
2025-01-28 10:01:23 -06:00
Oscar Hinton
70ea75d8f7
[PM-17496] Migrate eslint to flat config (#12806)
The legacy config is deprecated and will be removed in eslint 10. The flat config also allows us to write js functions which will assist in handling limitations with multiple identical rules.
2025-01-28 16:40:52 +01:00
Nick Krantz
08c42a8a27
[PM-13388] Extension: Persist Scroll from Vault (#12325)
* add service to track scroll position of the vault tab in the popup

* add data attribute to individual vault items
- Allows query selector to focus on the specific element

* stop scroll service when a cipher is deleted

* start scroll listener when the vault page is initialized

* fix strict linting errors

* remove focus reset when navigating back to the vault screen

* skip recording the first scroll from the automatic scroll

* combine filters into a single observable

* do not start the scroll service until filters have loaded in

* refactor allFilters to come from the vault popup list filters service

* use assertion on scroll position

* hide virtual scrolling element while scrolling is restored

* update comments

* fix failing tests to use different matcher

* remove visibility trick for restoring scroll position after chatting with design

---------

Co-authored-by: bnagawiecki <107435978+bnagawiecki@users.noreply.github.com>
2025-01-28 09:12:56 -06:00
albertboyd5
582beaf706
[PM-13404] Weak Passwords Report - Sort by password weakness (#12359)
* [PM-13404] Weak Passwords Report - Sort by password weakness

* [PM-13404] Weak Passwords Report lint error fix

* Test signed commit
2025-01-27 15:25:40 -06:00
renovate[bot]
c3bb76bee0
[deps] Architecture: Update eslint-plugin-tailwindcss to v3.18.0 (#12966)
* [deps] Architecture: Update eslint-plugin-tailwindcss to v3.18.0

* Fix linting

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
2025-01-27 11:12:12 -05:00
Daniel James Smith
682e62cb6b
[PM-16485] Remove deprecated and unused PasswordGenerationService (#13053)
* Remove deprecated and unused PasswordGenerationService

* Remove unused state-service

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-01-27 10:12:20 -05:00
Daniel James Smith
750cb4888a
Add icons to settings page (#13052)
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-01-27 12:10:11 +01:00
bw-ghapp[bot]
7a51c8ab84
Autosync the updated translations (#13079)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-01-27 07:31:54 +01:00
bw-ghapp[bot]
0eecc93165
Autosync the updated translations (#13080)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-01-27 07:30:19 +01:00
bw-ghapp[bot]
037baaec35
Autosync the updated translations (#13078)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-01-27 07:23:59 +01:00
Github Actions
a04dd7a324 Bumped Desktop client to 2025.1.8 2025-01-25 03:53:40 +00:00
Github Actions
049877c4ce Bumped client version(s) 2025-01-24 21:44:04 +00:00
bw-ghapp[bot]
8952c3f60c
Autosync the updated translations (#13066)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-01-24 20:03:07 +00:00
bw-ghapp[bot]
524ba99b95
Autosync the updated translations (#13065)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-01-24 20:02:03 +00:00
bw-ghapp[bot]
ce6a83dae6
Autosync the updated translations (#13064)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-01-24 20:01:42 +00:00
✨ Audrey ✨
1fc20b55f2
[PM-15200] add "generated credential" screen reader notification (#12877)
replaces website$ dependency with `GenerateRequest`
2025-01-24 13:44:42 -06:00
Jordan Aasen
40606ee8af
[PM-15943] - Revert When filling a password, the extension flickers (#13061)
* Revert "use requestAnimationFrame instead of arbitrary timeout"

This reverts commit 09a236b1e7.

* Revert "fix failing test"

This reverts commit cb24266e9d.
2025-01-24 11:09:04 -08:00
Addison Beck
c6edd289cd
chore: correct the desktop version number (#13062) 2025-01-24 14:06:58 -05:00
Alex Morask
f630ee5f4e
[PM-11730] Remove feature flag: AC-2476-deprecate-stripe-sources-api (#13032)
* Remove FF from trial-billing-step.component

* Remove FF from user-subscription.component

* Remove FF from individual-billing-routing.module

* Remove FF from organization-billing.service

* Remove FF from organization-subscription-cloud.component

* Remove FF from organization-billing-routing.mdoule

* Remove FF from organization-plans.component

* Remove FF from change-plan-dialog.component

* Remove FF

* Remove legacy payment.component

* Rename V2: adjust-payment-dialog.component

* Rename V2: adjust-storage-dialog.component

* Rename V2: payment-label.component

* Rename V2: payment.component

* Rename V2: premium.component

* Patrick's feedback
2025-01-24 13:38:44 -05:00
Github Actions
b396dda406 Bumped client version(s) 2025-01-24 17:59:54 +00:00
Justin Baur
5f57aae526
Move max-old-space-size option so it's in all builds (#13033) 2025-01-24 11:43:37 -05:00
Github Actions
dd1047cd0b Bumped client version(s) 2025-01-24 16:08:39 +00:00
MarsCandyBars
eb64a0f1d5
[PM-258] Add text-muted to custom avatar picker (#12979)
* Add text-muted to custom avatar picker

* Prepend text-muted class with tw
2025-01-24 09:25:00 -06:00
Brandon Treston
b23a41ac86
[PM-17465] refactor PolicyService.getAll$ to make userId not optional (#13031)
* refactor PolicyService.getAll$ to make userId not optional

* add fix to browser

* fix test to read from mock singleUserState

* remove nested pipes, cleanup
2025-01-24 09:58:38 -05:00
renovate[bot]
3f05a5e5f5
[deps] Platform: Update electron to v34 (#12977)
* [deps] Platform: Update electron to v34

* Update electron-builder.json electron version

---------

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-01-24 11:58:54 +01:00
Daniel James Smith
bd0607ba8b
Add missing keys for ssh fields to web/en/messages.json (#13047)
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-01-24 11:57:34 +01:00
bw-ghapp[bot]
4cbace900f
Autosync the updated translations (#13043)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-01-24 10:58:30 +01:00
Oscar Hinton
463da5614d
Remove bootstrap classes from shared code (#12906)
Migrates the following components to not use bootstrap.

- apps/web/src/app/components/environment-selector/environment-selector.component.html
- apps/web/src/app/layouts/frontend-layout.component.html
- apps/web/src/app/layouts/org-switcher/org-switcher.component.html
- apps/web/src/app/settings/domain-rules.component.html
- bitwarden_license/bit-web/src/app/secrets-manager/projects/project/project-secrets.component.html
- bitwarden_license/bit-web/src/app/secrets-manager/settings/porting/sm-import.component.html
2025-01-24 10:48:00 +01:00
bw-ghapp[bot]
b1d4defa70
Autosync the updated translations (#13041)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-01-24 10:23:03 +01:00
bw-ghapp[bot]
9497f5b4c5
Autosync the updated translations (#13042)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-01-24 10:18:21 +01:00
Jordan Aasen
362745ad57
[PM-15943] - When filling a password, the extension flickers (#12900)
* use requestAnimationFrame instead of arbitrary timeout

* fix failing test
2025-01-23 15:45:26 -08:00
Oscar Hinton
382a2a0f24
Ignore more bad imports (#12935)
* Ignore more bad imports
2025-01-23 13:03:17 -08:00
Vijay Oommen
9d83484ec4
PM-15090 - unmark-critical-app (#13015) 2025-01-23 14:19:56 -06:00
Evan Bassler
8a2aa1eac2
[PM-16807] Update text and behavior for show id/card vault settings (#12808)
* update text and behavior for show id/card vault settings

* add new crowdin entry

* update crowdin entries

* revert default

---------

Co-authored-by: Evan Bassler <evanbassler@Mac.attlocal.net>
2025-01-23 13:59:39 -06:00
Matt Gibson
f9f30f8ec4
[PM-17479] Load-sdk-once (#12764)
* create service to load sdk on application init

* Eagerly load CLI SDK

* Remove wasm logging to api

* Fix imports

* Eagerly load Desktop renderer SDK

Note: If the main process ever requires an SDK, we'll need to load it there, too.
In that event, it's probably a good idea to move to IPC for all SDK functions to avoid
loading the SDK for every window.

* init wasm module from sdk load service

* Use default client factory

* Fix type imports

* Resolve jest module import errors

A CLI sdk load service that async imports our wasm binary doesn't seem to be needed to run, but jest isn't dealing with the ESM import properly.

* Fix linting

* remove example code
2025-01-23 14:34:22 -05:00
Jimmy Vo
620affd3d5
[PM-13755] Exclude revoked users from the occupied seats count (#12277)
It also includes a refactor to decouple the invite and edit user flows.
2025-01-23 14:24:51 -05:00
Alec Rippberger
aa1c0ca0ee
feat(auth): [PM-8221] implement device verification for unknown devices
Add device verification flow that requires users to enter an OTP when logging in from an unrecognized device. This includes:

- New device verification route and guard
- Email OTP verification component
- Authentication timeout handling

PM-8221
2025-01-23 12:57:48 -06:00
Oscar Hinton
f50f5ef70b
Remove unused imports for modal service (#12904)
We're auditing the remaining usages of ModalService so that we may kill the feature. These are unused imports which can be safely removed.
2025-01-23 19:22:22 +01:00
Jordan Aasen
67187760df
move org icon to "default-trailing" slot (#13000) 2025-01-23 10:04:13 -08:00
Jason Ng
2d488a8e68
[PM-16245] delete btn in browser edit item (#12876)
* send the user back to vault after deleting from edit view
* [PM-17443] Navigation After Deletion (#13023)
* navigate to vault tab after cipher deletion
---------
Co-authored-by: Nick Krantz <125900171+nick-livefront@users.noreply.github.com>
2025-01-23 10:54:52 -05:00
Github Actions
b1b5b3f9e8 Bumped Desktop client to 2025.1.5 2025-01-23 12:16:38 +00:00
cyprain-okeke
e847f964c5
Fix the unclear error message on add payment (#13005) 2025-01-23 11:17:33 +01:00
Maciej Zieniuk
abb18881b6
[PM-14445] TS strict for Key Management KDF (#13007)
* PM-14445: TS strict for Key Management KDF

* state deserializer can return null
2025-01-23 10:45:33 +01:00
Jared Snider
4abbf32638
Auth/PM-8113 - Extension - AuthPopoutWindows - Add new method + refactor names (#13020)
* PM-8113 - Add closeSsoAuthResultPopout

* PM-8113 - Refactor names / tests / comments
2025-01-22 21:48:38 -05:00
Jonathan Prusik
649a196e4b
partial revert of 374ea6a (#13018) 2025-01-22 17:08:25 -05:00
Brandon Treston
f5744ed28f
use getUserId and getOrganizationById (#13017) 2025-01-22 16:59:15 -05:00
Brandon Treston
a949f793ed
[PM-15506] Implement vNextOrganizationService (#12839)
* [PM-15506] Wire up vNextOrganizationService for libs/common and libs/angular (#12683)

* Wire up vNextOrganizationService in PolicyService

* Wire vNextOrganizationService in SyncService

* wire vNextOrganizationService for EventCollectionService

* wire vNextOrganizationService for KeyConnectorService

* wire up vNextOrganizationService for CipherAuthorizationService

* Wire up vNextOrganizationService in PolicyService

* Wire vNextOrganizationService in SyncService

* wire vNextOrganizationService for EventCollectionService

* wire vNextOrganizationService for KeyConnectorService

* wire up vNextOrganizationService for CipherAuthorizationService

* wire vNextOrganizationService for share.component

* wire vNextOrganizationService for collections.component

* wire vNextOrganizationServcie for add-account-credit-dialog

* wire vNextOrganizationService for vault-filter.service

* fix browser errors for vNextOrganizationService implementation in libs

* fix desktop errors for vNextOrganizationService implementation for libs

* fix linter errors

* fix CLI errors on vNextOrganizationServcie implementations for libs

* [PM-15506] Wire up vNextOrganizationService for web client (#12810)

PR to a feature branch, no need to review until this goes to main.

* implement vNextOrganization service for browser client (#12844)

PR to feature branch, no need for review yet.

* wire vNextOrganizationService for licence and some web router guards

* wire vNextOrganizationService in tests

* remove vNext notation for OrganizationService and related

* Merge branch 'main' into ac/pm-15506-vNextOrganizationService

* fix tsstrict error

* fix test, fix ts strict error
2025-01-22 15:20:25 -05:00
renovate[bot]
ba4d762dc1
[deps] Platform: Update Rust crate log to v0.4.25 (#12960)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-22 13:50:29 -05:00
renovate[bot]
c566906313
[deps] Platform: Update Rust crate dirs to v6 (#12976)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-22 13:46:26 -05:00
cyprain-okeke
c1ebe95cdc
Changes for old plan to updated to new plan (#13013) 2025-01-22 19:26:58 +01:00
Todd Martin
1e14d6d648
Modify Edge to build Mv3 - Part 2 (#12675)
* Modify Edge and Chrome artifacts to build Mv3 version to mimic Chrome

* Added back the Mv3 scripts so that workflows run on the PR will pass

* Removed unused Mv3 scripts

* Added back Opera
2025-01-22 13:24:18 -05:00
Jordan Aasen
5600bc01b0
change to arrow function to maintain bindings (#13001) 2025-01-22 10:17:59 -08:00
renovate[bot]
e060371c6f
[deps] Platform: Update @types/node to v22.10.7 (#12958)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-22 11:49:48 -05:00
Nick Krantz
5c32e5020d
[PM-9111] Extension: persist add/edit form (#12236)
* remove todo

* Retrieve cache cipher for add-edit form

* user prefilled cipher for add-edit form

* add listener for clearing view cache

* clear local cache when clearing global state

* track initial value of cache for down stream logic that should only occur on non-cached values

* add feature flag for edit form persistence

* add tests for cipher form cache service

* fix optional initialValues

* add services to cipher form storybook

* fix strict types

* rename variables to be platform agnostic

* use deconstructed collectionIds variable to avoid them be overwritten

* use the originalCipherView for initial values

* add comment about signal equality

* prevent events from being emitted when adding uris to the existing form

- This stops other values from being overwrote in the initialization process

* add check for cached cipher when adding initial uris
2025-01-22 11:49:07 -05:00
renovate[bot]
6c6185a761
[deps] Autofill: Update tldts to v6.1.74 (#12956)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-22 11:48:45 -05:00
Daniel Riera
44e18cf467
PM-17351-implement-initial-design-links (#12986) 2025-01-22 10:02:19 -05:00
Daniel García
02e10b56f5
Don't use Group Containers dir for non-sandboxed DMG (#13004) 2025-01-22 15:08:59 +01:00
Jonas Hendrickx
8784602858
[PM-16664] Incorrect price value in "add new organization" modal (#12710) 2025-01-22 12:18:43 +01:00
Bernd Schoolmann
ef20ca83b6
[PM-17121/17204] Fix fingerprint dialogs and disabled active biometric lock component (#12928)
* Fix biometrics unlock window being empty

* Add trust on sensitive action

* Add dialog for outdated desktop app and fix spelling

* Use updated fingerprint method

* Refactor connected app trust

* Move connected apps to ephemeral value store and show error on outdated browser

* Move trust logic to only occur when fingerprint setting is enabled

* Add more tests

* Simplify code

* Update ephemeral value list call to "listEphemeralValueKeys"

* Fix trust being ignored
2025-01-21 21:26:34 +01:00
renovate[bot]
5fbe7abda5
[deps] Platform: Update Rust crate glob to 0.3.2 (#12959)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-21 12:00:22 -08:00
Patrick-Pimentel-Bitwarden
eb99eba284
refactor(email-verification-feature-flag): [PM-7882] Email Verificati… (#12718)
* refactor(email-verification-feature-flag): [PM-7882] Email Verification - Removed email feature flag.
2025-01-21 11:16:32 -05:00
cyprain-okeke
4066022e18
make the pricing breakdown to show properly (#12982) 2025-01-21 16:01:48 +01:00
bw-ghapp[bot]
833f88f9d9
Autosync the updated translations (#12993)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-01-21 13:22:47 +01:00
renovate[bot]
9d70ca36e9
[deps] Platform: Update Rust crate windows-registry to v0.4.0 (#12970)
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-01-21 12:32:06 +01:00
renovate[bot]
2438e6b934
[deps] Platform: Update Rust crate pin-project to v1.1.8 (#12961)
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-01-21 11:10:58 +01:00
bw-ghapp[bot]
8498de391f
Autosync the updated translations (#12992)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-01-21 10:55:05 +01:00
bw-ghapp[bot]
93fc7bda2f
Autosync the updated translations (#12991)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-01-21 09:54:37 +00:00
bw-ghapp[bot]
33c2e09025
Autosync the updated translations (#12924)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-01-21 10:21:47 +01:00
Jordan Aasen
a803e5b411
[PM-6565] migrate vault toasts to CL toastService (#10664)
* migrate vault toasts to CL toastService

* update component args

* add missing toastService deps

* add missing i18 key

* remove moved files

* remove duplicate args
2025-01-17 15:01:18 -08:00
cyprain-okeke
ce2ec07f74
[PM-17138][Defect] Submitting blank payment method is displaying unreadable validation message for Bank Account and Account Credit (#12937)
* Changes to display descriptive message for bank account

* resolve message for invalid message display

* Add the paymentMethodType credit

---------

Co-authored-by: Conner Turnbull <133619638+cturnbull-bitwarden@users.noreply.github.com>
2025-01-17 18:32:29 +01:00
Jordan Aasen
3b4eb40990
[PM-14952] - remove Edit button and show restore button when viewing item in trash (#12847)
* add restore function to vault item dialog

* update comment

* revert removing of delete button

* use canDeleteCipher$

* put canRestore in class property

* set showRestore after canDeleteCipher is set
2025-01-17 09:15:21 -08:00
Jordan Aasen
457aa07aa9
return updated folder when saving a folder (#12894) 2025-01-17 09:12:54 -08:00
Jordan Aasen
dbb341141a
[PM-15572] - don't allow restore for 'edit except password' permission (#12851)
* don't allow restore for 'edit except password' permission

* show login credentials if only passkey is present

* Revert "show login credentials if only passkey is present"

This reverts commit dc2f2367c2.
2025-01-17 09:10:28 -08:00
Danielle Flinn
23227f5064
[CL-256] Update Figma links in Storybook docs (#12901)
* Update Figma links

updated existing Figma links to point to the new file and added Figma links to components missing them

* Added last missing Figma links
2025-01-17 07:50:20 -08:00
Oscar Hinton
e5f83ff086
[PM-17031] Create UI-common (#12831)
Extract core functionality from `libs/angular` to allow teams to depend on `libs/ui-common` instead.

Moves the following functionality to `ui-common`.
- `I18nPipe`. `libs/angular` still has an old copy but `components` depends on the new variant from `ui-common`.
- `safeProvider`, `SafeProvider` and `SafeInjectionToken`. `libs/angular`re-exports these to avoid needing to update all consumers.
2025-01-17 10:42:31 -05:00
Todd Martin
87171289f0
Revert Opera to Mv2 build (#12921) 2025-01-17 10:16:52 -05:00
Daniel James Smith
9eecfbc8af
[PM-17189] Remove LP fileless importer (#12918)
* Remove LP fileless importer

- Remove content scripts
- Remove additions to message handlers and notifcation queue
- Remove UI elements for the importer
- Remove the actual importer code
- Remove unsued keys from en/messages.json
Remove feature flag "browser-fileless-
import"
Update webpack.config and manifest files to no longer include content scripts

* Move feature flag idp-auto-submit-login under autofill grouping

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-01-17 15:56:09 +01:00
Oscar Hinton
dafeb1492a
Add type=button to stories (#12930) 2025-01-17 14:57:31 +01:00
Bernd Schoolmann
2726b3a957
Add no-sandbox to make electron work on ubuntu (#12908) 2025-01-17 11:22:03 +01:00
bw-ghapp[bot]
9eb7daa77d
Autosync the updated translations (#12923)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-01-17 11:13:00 +01:00
bw-ghapp[bot]
53f9d66569
Autosync the updated translations (#12922)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-01-17 10:59:33 +01:00
Cesar Gonzalez
374ea6af7c
[PM-16719] [COMMUNITY] Debounce requestIdleCallback a single time every 100ms, as opposed to call requestIdleCallback on debounce method (#12695)
* [COMMUNITY] Debounce requestIdleCallback a single time every 100ms, as opposed to call requestIdleCallback on debounce method

Potential fix for #12031

* [COMMUNITY] Fixing broken jest mock of the debounce utils method

* [COMMUNITY] Fixing broken jest mock of the debounce utils method

* [COMMUNITY] Fixing broken jest mock of the debounce utils method
2025-01-16 18:39:05 -05:00
Github Actions
795ad78a4e Bumped Desktop client to 2025.1.4 2025-01-16 22:01:33 +00:00
Jordan Aasen
2579c29c73
update button copy for generate passphrase. remove legacy css class (#12841) 2025-01-16 13:37:46 -08:00
rr-bw
f82b8ca844
feat(auth): [PM-14949] Update TDE Decryption Option Text (#12850)
Update the text for the TDE decryption options under "Member decryption options".
2025-01-16 09:59:18 -08:00
Bernd Schoolmann
97ee050e5d
[PM-17113] Fix system authentication setup (#12907)
* Fix system authentication setup

* Fix biometric status

* Remove debug log

* Fix tests
2025-01-16 17:49:20 +01:00
Daniel García
7c89c52098
Dynamically load MacOS passkey (#12897) 2025-01-16 16:50:38 +01:00
Bernd Schoolmann
ca420d7314
Attempt to fix snap build (#12882)
* Attempt to fix snap build

* Move snap

* Add debug logging

* Fix move

* Remove debug logs
2025-01-16 11:02:16 +01:00
Thomas Rittson
e4e436b768
[PM-15182] Remove remove-provider-export-permission feature flag (#12878)
* Remove remove-provider-export feature flag

* Remove ts-strict comment

* Revert changes to tests
2025-01-16 13:12:29 +10:00
Github Actions
b750b6c082 Bumped client version(s) 2025-01-15 22:10:26 +00:00
Daniel Riera
99937e5831
PM-14051-storybook-implementation (#12840)
* PM-14051 -initial storybook set up
-Initial stories and folder structure

* clean up typing on existing stories

* add icons file

* assign packages to autofill

* row stories

* row storiescd

* -change file nnames to avoid rendering in main storybook instance - fix folder structure to set prep for doc creation

* remove babel loader

* -fix folder structure -add new package json -edit main to correct ts-config path

* edit package name
2025-01-15 14:13:03 -05:00
Thomas Avery
b0957cf1f6
Remove setting setFingerprintValidated to true (#12874)
Co-authored-by: Jake Fink <jfink@bitwarden.com>
2025-01-15 13:47:01 -05:00
renovate[bot]
7b496cc7a5
[deps] Vault: Update form-data to v4.0.1 (#11536)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jaasen-livefront <jaasen@livefront.com>
2025-01-15 10:12:42 -08:00
Merissa Weinstein
334dd4cebe
[PM-10429] remove onboarding module for the browser refresh (#12759)
* remove onboarding module

* revert package.json commit
2025-01-15 11:53:03 -06:00
Daniel García
4a1e8cc763
Remove unused lifetime (#12889) 2025-01-15 18:14:31 +01:00
Bernd Schoolmann
a5dce05354
[PM-17035] Fix biometric unlock badge in mv2 (#12854)
* Fix biometrics not working in firefox or windows

* Remove logs

* Update badge after biometric unlock

* Add removal todo note

* Remove debug logging

* Fix type warnings

* Fix userkey typing in background biometrics service

* Simplify types for userkey in foreground-browser-biometrics and runtime.background.ts

* Add process reload logging

* Fix autoprompt not working when no process reload happened

* Fix biometric unlock badge in mv2

* Fix instant reprompt on firefox lock

* Remove biometrics autoprompt on firefox (#12856)
2025-01-15 17:59:39 +01:00
Jonathan Prusik
b26ad6a173
update the suggested items section header copy based on the blocked state of the current page (#12860) 2025-01-15 11:22:24 -05:00
Conner Turnbull
1721552294
Updated org plans component to not call for tax info on self hosted instances (#12888) 2025-01-15 15:53:30 +00:00
Thomas Rittson
8c13ea894b
[PM-16917] Remove jest-extended dependency (#12798)
* add toContainPartialObjects matcher (replacing toIncludeAllPartialMembers from jest-extended)
* replace jest-extended matchers with equivalent default matchers
2025-01-15 10:43:26 -05:00
Maciej Zieniuk
bdab4aa939
PM-17042: Biometrics auto prompt popup does not show up on safari (#12868)
This is due to missing await before process reload, triggered by lock, effectively disabling the biometrics auto prompt on safari.
This should be detected by eslint, but due to misconfiguration, nothing was reported. Also fixed two other missing awaits on biometrics unlock.
2025-01-15 16:29:37 +01:00
Jonas Hendrickx
ee6822c00d
[PM-17064] Prevent error being thrown when taxInformation is undefined. (#12884) 2025-01-15 10:05:31 -05:00
Github Actions
39a5addddc Bumped Desktop client to 2025.1.2 2025-01-14 20:07:32 +00:00
Vijay Oommen
f2b6f05d3f
PM-16891 Applications at risk dialog (#12843)
* Org at risk members click on the card

* Fixing at risk member counts

* At risk member text modification

* Changing ok button to close

* PM-16891 added a dialog for at risk apps

* PM-16891 fixing order of imports (linting error)

* PM-16891 updated PR comments

---------

Co-authored-by: Tom <ttalty@bitwarden.com>
Co-authored-by: Tom <144813356+ttalty@users.noreply.github.com>
2025-01-14 14:58:57 -05:00
Oscar Hinton
f44b36bdf6
Fix linting conflicts after merge (#12864) 2025-01-14 12:48:50 -05:00
Maciej Zieniuk
eedf9af2e7
in desktop "Allow browser integration" button fails on dev environment, but should pass fine. (#12797)
Co-authored-by: aj-bw <81774843+aj-bw@users.noreply.github.com>
2025-01-14 18:39:43 +01:00
Bernd Schoolmann
318a3ac6a9
[PM-17038] Fix biometrics autoprompt in firefox and chrome (#12853)
* Fix biometrics not working in firefox or windows

* Remove logs

* Update badge after biometric unlock

* Add removal todo note

* Remove debug logging

* Fix type warnings

* Fix userkey typing in background biometrics service

* Simplify types for userkey in foreground-browser-biometrics and runtime.background.ts

* Add process reload logging

* Fix autoprompt not working when no process reload happened

* Fix instant reprompt on firefox lock

* Fix biometrics enabling error on chrome

* Update apps/browser/src/key-management/biometrics/foreground-browser-biometrics.ts

Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com>

* FIx build & linting

---------

Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com>
2025-01-14 18:29:52 +01:00
Brandon Treston
63a9c69f5a
fix seat count to include invited and accepted members (#12848) 2025-01-14 12:15:23 -05:00
renovate[bot]
62e879940c
[deps] SM: Update typescript-eslint monorepo to v8 (major) (#10601)
* [deps] SM: Update typescript-eslint monorepo to v8

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Hinton <hinton@users.noreply.github.com>
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-01-14 11:23:59 -05:00
Bernd Schoolmann
8e95029439
[PM-16985] Fix biometrics not working in firefox or windows (#12833)
* Fix biometrics not working in firefox or windows

* Remove logs

* Update badge after biometric unlock

* Add removal todo note

* Remove debug logging

* Fix type warnings

* Fix userkey typing in background biometrics service

* Simplify types for userkey in foreground-browser-biometrics and runtime.background.ts
2025-01-14 16:20:18 +01:00
Bernd Schoolmann
8717d79d51
[PM-16918] Fix agent setting not disabling key usage (#12857)
* Fix agent setting not disabling key usage

* Cleanup

* Change firstvaluefrom to withlatestfrom

* Switch back to concatmap
2025-01-14 15:50:54 +01:00
cyprain-okeke
f6ec741a4a
remove the toggle for restarting cancel sub (#12842)
Co-authored-by: Bernd Schoolmann <mail@quexten.com>
2025-01-14 11:20:29 +01:00
renovate[bot]
b95080be21
[PM-16874] [deps] Platform: Update electron to v33.3.1 (#12746)
* [deps] Platform: Update electron to v33.3.1

* Update electron-builder electronVersion

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Hinton <hinton@users.noreply.github.com>
2025-01-13 14:04:43 -08:00
Evan Bassler
d471fe0418
[PM-14954] implement multi input totp styling (#12449)
* update menu and button position for multi-input totp

* update test to better handle breaking changes

* fix sizing bug by filtering duplicate opid fields

* update getTotpFields usage

* revert private changes per feedback

* Update apps/browser/src/autofill/utils/index.ts with positive fucntion

Co-authored-by: Jonathan Prusik <jprusik@users.noreply.github.com>

* fix type and update rectNotZero function

---------

Co-authored-by: Evan Bassler <evanbassler@EvanBasslersMBP.attlocal.net>
Co-authored-by: Jonathan Prusik <jprusik@users.noreply.github.com>
Co-authored-by: Evan Bassler <evanbassler@Mac.attlocal.net>
2025-01-13 14:18:42 -06:00
Github Actions
83ee64ba1d Bumped client version(s) 2025-01-13 20:04:22 +00:00
Jonathan Prusik
3f00f9eaf8
[PM-16804] Add supporting Vault component presentational updates for blocked domains (#12720)
* Revert "remove vault component presentational updates"

This reverts commit fe40dd8464.

* update vault popup autofill service to enable moving state closer to blocked domain component callsites

* hide autofill actions from suggestions if the current tab location is on the blocklist

* update autofill suggestions section title

* update blocked domain section indicator tooltip message

* create and use blocked-injection-banner component

* update blocked URI banner with deeplink to settings

* remove blocked URI indicator for suggestions section

* fix suggested items showing cipher external link button

* fix message catalog updates

* move currentURIIsBlocked state fetching into VaultListItemsContainerComponent

* leverage shareReplay caching for new state additions to VaultPopupAutofillService

* have blocked-injection-banner component consume observable rather than init value

* fix tests

* use observables in the vault-list-items-container template
2025-01-13 14:43:34 -05:00
Jared Snider
1fcdf25bf7
Auth/PM-16947 - Web - Device Management - Add Manage Auth Requests support (#12809)
* PM-16947 - JsLibServices - register default DefaultLoginApprovalComponentService

* PM-16947 - DeviceResponse - add interface for DevicePendingAuthRequest

* PM-16947 - Web translations - migrate all LoginApprovalComponent translations from desktop to web

* PM-16947 - LoginApprovalComp - (1) Add loading state (2) Refactor to return proper boolean results (3) Don't create race condition by trying to respond to the close event in the dialog and re-sending responses upon approve or deny click

* PM-16947 - DeviceManagementComponent - added support for approving and denying auth requests.

* PM-16947 - LoginApprovalComp - Add validation error

* PM-16947 - LoginApprovalComponent - remove validation service for now.

* PM-16947 - Re add validation

* PM-16947 - Fix LoginApprovalComponent tests
2025-01-13 14:39:48 -05:00
Brandon Treston
d252337474
[pm-13645] invite member modal for free org references up to 20 users (#12837)
* fix invite counter to show when there are 0 seats left
2025-01-13 14:32:57 -05:00
Bernd Schoolmann
a54508a0e3
[PM-16932] Fix timeout when desktop app is not started (#12799)
* Fix biometrics button showing up when biometrics is not enabled

* Fix tests

* Fix timeout when desktop app is not started

* Update comments for legacy biometrics removal
2025-01-13 19:59:59 +01:00
Bernd Schoolmann
be77489baa
Remove differences from flathub flatpak manifest and devel manifest (#12555) 2025-01-13 19:11:36 +01:00
Shane Melton
459fb1bcf4
[PM-5718] Fix free organization generating TOTP (#11918)
* [PM-5718] Fix totp generation for free orgs in old add-edit component

* [PM-5718] Fix totp generation for free orgs in view cipher view component

* [PM-5718] Cleanup merge conflicts

* Don't generate totp code for premium users or free orgs

* Added redirect to organization helper page

* Changed text to learn more

* Only show upgrade message to premium users

* Show upgrade message to free users with free orgs as well

---------

Co-authored-by: Matt Bishop <mbishop@bitwarden.com>
Co-authored-by: gbubemismith <gsmithwalter@gmail.com>
2025-01-13 12:58:52 -05:00
cyprain-okeke
698479eb5a
[PM-15814]Alert owners of reseller-managed orgs to renewal events (#12834)
* Makes changes on the text

* Rename the message names
2025-01-13 18:12:24 +01:00
Tom
52b6bfea1d
[PM-16104] [PM-15929] Org at risk members click on the card (#12732)
* Org at risk members click on the card

* Fixing at risk member counts

* At risk member text modification

* Changing ok button to close
2025-01-13 11:18:03 -05:00
Victoria League
8062475044
[PM-16243] Allow users to collapse extension sections (#12756) 2025-01-13 10:37:26 -05:00
Jonathan Prusik
fb4d7e8f05
fix broken blockedInteractionsUris state contruction (#12813) 2025-01-13 09:01:16 -05:00
Daniel James Smith
22f4822efc
[PM-16470] Remove v1 autofill owned refresh code (#12579)
* Remove v1 autofill owned settings

* Remove Fido2 v1 components

* Remove conditional to enable AutofillOnPageLoadOrgPolicy

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-01-13 08:44:42 -05:00
cyprain-okeke
fe9b0976ee
Fix the page loading issue (#12828) 2025-01-13 12:17:30 +01:00
bw-ghapp[bot]
53618e8f86
Autosync the updated translations (#12824)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-01-13 09:52:18 +00:00
bw-ghapp[bot]
a8ab649fa6
Autosync the updated translations (#12795)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-01-13 10:40:44 +01:00
bw-ghapp[bot]
ae92ddf177
Autosync the updated translations (#12825)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-01-13 09:34:24 +00:00
Bernd Schoolmann
6872100f07
Fix biometrics being disabled before permission is granted (#12792) 2025-01-13 09:30:30 +01:00
Bernd Schoolmann
5dc523bacb
[PM-16895] Fix biometric prompt showing up in browser while disabled (#12781) 2025-01-13 09:29:42 +01:00
Todd Martin
4c8565f7f3
Modify Edge and Opera artifacts to build Mv3 - Part 1 (#12674)
* Modify Edge and Chrome artifacts to build Mv3 version to mimic Chrome

* Added back the Mv3 scripts so that workflows run on the PR will pass
2025-01-12 16:37:15 -05:00
Jordan Aasen
e1434d8dd5
[PM-16858] - adjust generator dialog action button to match browser extension UI (#12788)
* adjust generator dialog buttons to match browser extension UI

* put dialog label into generator config

* fix types. remove i18n key

* use event emitted pattern for getting algorithm config

* favor arrow function

* move function call

* append key to i18n prop

* fix test
2025-01-10 17:21:12 -08:00