1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 21:33:27 +00:00
Commit Graph

4337 Commits

Author SHA1 Message Date
Alec Rippberger
4308cd8a9f refactor(auth): [PM-9678] remove deprecated login components
Removes the V1 Login components and related UnauthenticatedExtensionUIRefresh
feature flag functions. Part of the authentication UI modernization efforts.

Closes PM-9678
2025-03-12 14:36:05 -05:00
rr-bw
e268055dc1 feature(set-change-password): [Auth/PM-17648] Create MasterPasswordApiService (#13552)
Creates a MasterPasswordApiService to house our API calls related to setting and changing a master password.
2025-03-12 11:33:44 -07:00
renovate[bot]
402db8e899 [deps] Platform: Update @types/chrome to v0.0.306 (#12126)
* [deps] Platform: Update @types/chrome to v0.0.306

* Fix APIs

* Add `await`

* Fix tests

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
2025-03-12 11:56:11 -04:00
Ike
c0f9754bdf [PM-18943] Update New Device OTP Prompt message for CLI (#13780)
* fix(newDeviceVerification): updating prompt for new device OTP in the CLI
2025-03-12 10:31:05 -04:00
Bernd Schoolmann
83de125ae9 [PM-15149] Remove ssh feature flag (#13506)
* Remove ssh feature flag

* Remove isSshKeyENabled in type-filter.component
2025-03-12 14:19:49 +01:00
Daniel Riera
b988993a88 PM-18963 removed flag and updated relevant tests (#13767) 2025-03-11 16:06:03 -04:00
Jake Fink
cb14d17f73 change Error check to ErrorResponse (#13789) 2025-03-11 15:32:17 -04:00
Conner Turnbull
00e822fb13 [PM-16937] Remove Billing Circular Dependency (#13085)
* Remove circular dependency between billing services and components

* Removed `logService` from `billing-api.service.ts`

* Resolved failed test

* Removed @bitwarden/ui-common

* Added optional `title` parameter to `BillingNotificationService` functions

* Removed @bitwarden/platform from libs/common/tsconfig.json

* Update apps/web/src/app/billing/services/billing-notification.service.spec.ts

Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com>

* Update apps/web/src/app/billing/services/billing-notification.service.spec.ts

Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com>

* Resolved build errors

* Resolved issue where free trial banner wouldn't display if missing a payment method

---------

Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com>
2025-03-11 13:43:19 -04:00
Maciej Zieniuk
18ad710909 [PM-18503] Webpack caching, minimize only on prod for Web (#13508)
* PM-18503: Webpack caching, minimize only on prod for Web

* caching not picking up dependencies changes

* caching disabled in production
2025-03-11 18:20:32 +01:00
Daniel James Smith
c4e87d3f90 Make desktop's send.component standalone (#13770)
* Make nav.component standalone in preparation for usage on send.component

* Make send add-edit.component standalone for usage on send.component

* Make send.component standalone in preparation for the new send add-edit component

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-03-11 11:27:54 -05:00
Alec Rippberger
c765f22aef fix(devices): [PM-18757] resolve invalid device data error for Android devices
The device management screen was incorrectly evaluating the truthiness of 
DeviceView.type enum, causing "Invalid device data" errors when an Android 
device (type = 0) was present. Changed the check to explicitly verify for 
undefined values instead of truthy checks.

- Updated type checking to use explicit undefined checks
- Added translations for error messages
- Improved error handling with specific messages for missing data

Fixes PM-18757
2025-03-11 10:56:12 -05:00
Nick Krantz
6caebc14e3 add provider for ChangeLoginPasswordService in the emergency login password service (#13788) 2025-03-11 10:38:36 -05:00
Brandon Treston
552f40c2d5 add tw class (#13774) 2025-03-11 09:59:50 -04:00
Brandon Treston
4849b9a49d update classes to use tailwind (#13772) 2025-03-11 09:58:20 -04:00
cyprain-okeke
ef06e9f03c [PM-15442]Upgrade modal additional instances (#13557)
* display inline information error message

* Add collection service

* Refactor the code

* Add a feature flag to the change

* Add the modal pop for free org

* Use custom error messages passed from the validator

* Add the js document

* Merge changes in main

* Add the changes after file movement

* remove these floating promises

* Adding unit test and seprating the validation

* fix the unit test request

* Remove  the conditional statment in test
2025-03-11 14:42:10 +01:00
Anders Åberg
7e6f2fa798 Enable Basic Desktop Modal Support (#11484)
Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
Co-authored-by: Colton Hurst <colton@coltonhurst.com>
Co-authored-by: Andreas Coroiu <andreas.coroiu@gmail.com>
2025-03-11 09:03:28 +01:00
Jordan Aasen
992be1d054 [PM-13991] - Edit login - reorder website URIs (#13595)
* WIP - sortable website uri

* add specs

* fix type errors in tests
2025-03-10 12:57:02 -07:00
Vijay Oommen
a877450e0a PM-2630 virtual scroll on tables (#13725)
Tested by QA and passed.
2025-03-10 15:52:52 -04:00
rr-bw
0568a09212 refactor(device-trust-toasts): [Auth/PM-11225] Refactor Toasts from Auth Services (#13665)
Refactor toast calls out of auth services. Toasts are now triggered by an observable emission that gets picked up by an observable pipeline in a new `DeviceTrustToastService` (libs/angular). That observable pipeline is then subscribed by by consuming the `AppComponent` for each client.
2025-03-10 12:17:46 -07:00
Jordan Aasen
c3c4c9c54c bold new settings callout link (#13664) 2025-03-10 11:12:24 -07:00
rr-bw
d943f53477 refactor(routing): [Auth/PM-18783] Remove Unauth UI route swapping for all components except 2FA (#13645)
Removes `unauthUiRefreshSwap()` from all routing modules for all refreshed components except for 2FA. This does not remove the legacy components themselves, just the routing to them.

---------

Co-authored-by: Todd Martin <tmartin@bitwarden.com>
2025-03-10 11:12:02 -07:00
Jordan Aasen
efd62f1928 add folder name to aria labels for folder edit buttons (#13648) 2025-03-10 11:11:46 -07:00
Jordan Aasen
cda1cdb109 [PM-12726] - [Defect] [Web] "Secure Note" shows in item filters instead of "Note" (#13707)
* use note instead of secure note

* allow item history to be selectable

* Revert "allow item history to be selectable"

This reverts commit 7144a210b5.
2025-03-10 11:04:53 -07:00
Jordan Aasen
a30a6ee7fb remove margin on autofill when no items present (#13691) 2025-03-10 11:04:36 -07:00
Jordan Aasen
beccf1a9d7 increase size of password history dialog (#13693) 2025-03-10 10:59:16 -07:00
Jordan Aasen
e0b77c97ba [PM-18959] - retain popup view cache on cipher view or edit (#13742)
* clear popup view cache on tab navigation but not on view or edit cipher

* revert clearing cache on tab change

* clean up function
2025-03-10 10:59:07 -07:00
Bernd Schoolmann
01f6fd7ee3 [PM-16227] Move import to sdk and enable it in browser/web (#12479)
* Move import to sdk and enable it in browser/web

* Add uncomitted files

* Update package lock

* Fix prettier formatting

* Fix build

* Rewrite import logic

* Update ssh import logic for cipher form component

* Fix build on browser

* Break early in retry logic

* Fix build

* Fix build

* Fix build errors

* Update paste icons and throw error on wrong import

* Fix tests

* Fix build for cli

* Undo change to jest config

* Undo change to feature flag enum

* Remove unneeded lifetime

* Fix browser build

* Refactor control flow

* Fix i18n key and improve import behavior

* Remove for loop limit

* Clean up tests

* Remove unused code

* Update libs/vault/src/cipher-form/components/sshkey-section/sshkey-section.component.ts

Co-authored-by: SmithThe4th <gsmith@bitwarden.com>

* Move import logic to service and add tests

* Fix linting

* Remove erroneous includes

* Attempt to fix storybook

* Fix storybook, explicitly implement ssh-import-prompt service abstraction

* Fix eslint

* Update libs/importer/src/importers/bitwarden/bitwarden-json-importer.ts

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

* Fix services module

* Remove ssh import sdk init code

* Add tests for errors

* Fix import

* Fix import

* Fix pkcs8 encrypted key not parsing

* Fix import button showing on web

---------

Co-authored-by: SmithThe4th <gsmith@bitwarden.com>
Co-authored-by:  Audrey  <ajensen@bitwarden.com>
2025-03-10 18:41:47 +01:00
Nick Krantz
85a5aea897 [PM-18859] Mobile Viewports - Extension Prompt (#13703)
* remove min-width on body element for extension prompt page

* reset meta viewport content for extension prompt page

* set max width of svg to avoid any overflow on mobile devices

* use inline display to avoid icon  overflow on mobile devices

* use max width on the icon to fix overflow rather than editing the anon layout
2025-03-10 10:33:56 -05:00
Oscar Hinton
a569dd9ad6 [PM-15892] [PM-12250]Remove nord and remnants from solarizedark (#13449)
* Remove nord and remnants from solarizedark

* Update window reload color

* Remove extension-refresh feature flag from clients (#13450)

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>

* Remove usage of nord and solarized themes within DarkImageDirective

---------

Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-03-10 15:33:55 +01:00
Thomas Rittson
ef72f513b1 eslint: report unused disable directives (#13463)
Remove any unused disable directives and FIXMEs in our code
2025-03-10 09:33:08 -04:00
bw-ghapp[bot]
afd715c79c Autosync the updated translations (#13760)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-03-10 08:52:07 -04:00
Addison Beck
0b38cf27d0 chore: bump client versions (#13761) 2025-03-10 08:51:44 -04:00
bw-ghapp[bot]
7bf352e340 Autosync the updated translations (#13759)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-03-10 08:51:30 -04:00
bw-ghapp[bot]
62255502a8 Autosync the updated translations (#13758)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-03-10 08:51:16 -04:00
Ike
c739a884b4 [PM-15015] Adding Request Country Name to auth requests approval dialog (#13718)
* feat(pm-15015) : 
  - Adding `requestCountryName` to auth requests dialogs, and response models. 
  - Updated i18n messages.json in Web, Browser, and Desktop to include "Location" translation.
2025-03-07 18:03:13 -05:00
bw-ghapp[bot]
2cbe4acc8a Autosync the updated translations (#13735)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-03-07 12:04:24 +01:00
bw-ghapp[bot]
3763a6c8f6 Autosync the updated translations (#13729)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-03-07 10:59:26 +01:00
bw-ghapp[bot]
f566f0cb16 Autosync the updated translations (#13728)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-03-07 08:24:07 +01:00
Thomas Rittson
29716a7075 [PM-13325] Move CollectionDialog to AC Team (#13671)
* Refactor: use standalone component

* Fix easy strict errors
2025-03-07 11:13:48 +10:00
✨ Audrey ✨
dcf15b496b [PM-17590] fix chrome translation bug by escaping $ (#13103)
replaces translation with hard-coded text for cross-platform compatibility
2025-03-06 20:13:04 +00:00
Jared Snider
5588e1a1a1 fix(auth): Auth/pm 18836 - UI Refresh - Chrome extension - WebAuthn 2FA revert inline iframe for chromium (#13709)
* PM-18836 - (1) Extension Two Factor Webauthn - revert supporting inline webauthn 2fa as it doesn't work outside of local still (2) Extension 2FA Webauthn comp - add log of webauthn errors to help diagnose future issues

* PM-18836 - Extension - Services module - ExtensionTwoFactorAuthWebAuthnComponentService - remove unused dep
2025-03-06 11:49:49 -08:00
SmithThe4th
e327816bc4 [PM-11941] Migrate TOTP Generator to use SDK (#12987)
* Refactored totp service to use sdk

Fixed strict typescript issues

* Fixed dependency issues

* Returned object that contains code and period, removed get interval function

* removed dependencies

* Updated to use refactored totp service

* removed sdk service undefined check

* removed undefined as an input from the getCode function

* Made getcode$ an observable

* refactored to use getcodee$

* Filter out emmissions

* updated sdk version

* Fixed readability nit

* log error on overlay if totp response does not return a code

* fix(totpGeneration): [PM-11941] Totp countdown not working on clients

* Used optional chaining if totpresponse returns null or undefined
2025-03-06 14:01:07 -05:00
Jared Snider
1415041fd7 fix(UIRefresh-Web-2FA): [Auth/PM-18737] Add md to all 2FA titles / subtitles (#13713) 2025-03-06 12:39:10 -05:00
Jason Ng
f65daf7284 [PM-12045] search service activeuserstate (#13035)
* removing activeuserstate from search service
2025-03-06 12:26:24 -05:00
Jared Snider
6f4a1ea37f fix(UIRefresh-Extension-Duo-2FA): [Auth/PM-18901] Adjust determineDuoLaunchAction logic to consider if already in popout (#13712) 2025-03-06 10:45:46 -05:00
Conner Turnbull
a7674b3440 Updated classes to use tailwind (#13673) 2025-03-06 10:22:34 -05:00
cyprain-okeke
63521ba0da resolve the Tailwind CSS class error (#13699) 2025-03-06 14:40:12 +01:00
Jonas Hendrickx
ed83b6a445 [PM-18163] Remove feature flag 'AC-1795_updated-subscription-status-section' (#13456) 2025-03-06 13:19:08 +01:00
Daniel Riera
9754167faa PM-18536 initial commit (#13701) 2025-03-05 17:23:25 -05:00
cyprain-okeke
021c23580a Resolve the issue with free bitwarden family redirect (#13672) 2025-03-05 08:33:16 +01:00