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

1639 Commits

Author SHA1 Message Date
Evan Bassler
0bd988dac8
[PM-15190] hide empty ciphers from autofill (#12491)
* hide empty ciphers from autofill

---------

Co-authored-by: Evan Bassler <evanbassler@EvanBasslersMBP.attlocal.net>
2025-01-07 17:07:30 -06:00
Jonathan Prusik
dbed5ff79b
[PM-16247] Autofill base common content components (#12668)
* PoC implementation

* build notification header components

* use emotion css, and add button row components

* add icons

* update close button component to use new icon

* add cipher components

* reorganize notification component to accomodate body overflow with static footer

* add action row component and fix overflow cases

* fix component directory casings

* add scrollbar styles

* fix edit button icon display size issue

* fix edit button interaction

* cleanup and add dropdown menu buttons

* fix footer display of full-width children

* use svg brand icon in header component

* refine body and footer overflow layout handling

* fix fallback cipher icon sizing and other cleanup

* component restructure and cleanup

* restructure icon components

* cleanup

* re-org notification body and footer components and add typing

* additional cleanup
2025-01-07 15:09:43 -05:00
Alec Rippberger
f99a3c4162
feat(web): [PM-1214] add device management screen
Adds a device management tab under settings -> security that allows users to:
- View and manage their account's connected devices
- Remove/deactivate devices
- See device details like platform, last login, and trust status
- Sort and filter device list with virtual scrolling

Resolves PM-1214
2025-01-07 13:29:36 -06:00
Thomas Avery
c0d3fe15d1
[PM-11528] Move Lock to KM ownership (#12407)
* update code owners

* Move lock component v2 to KM

* Add @bitwarden/key-management/angular to tsconfigs

* Move lock component service to KM

* Move lock component v1 to KM

* Update imports

* Move into @bitwarden/key-management

* Revert "Move into @bitwarden/key-management"

This reverts commit b7514fb8c2.

* Add to tsconfig.libs
2025-01-07 16:47:51 +01:00
Conner Turnbull
91d6963074
[PM-14366] Deprecated active user state from billing state service (#12273)
* Updated billing state provider to not rely on ActiveUserStateProvider

* Updated usages

* Resolved browser build

* Resolved web build

* Resolved CLI build

* resolved desktop build

* Update apps/cli/src/tools/send/commands/create.command.ts

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

* Move subscription visibility logic from component to service

* Resolved unit test failures. Using existing userIds where present

* Simplified activeUserId access

* Resolved typescript strict errors

* Resolved broken unit test

* Resolved ts strict error

---------

Co-authored-by:  Audrey  <ajensen@bitwarden.com>
2025-01-07 10:25:26 -05:00
Jonathan Prusik
15faf52f57
[PM-13115] Allow users to disable extension content script injections by domain (#11826)
* add disabledInteractionsUris state to the domain settings service

* add routes and ui for user disabledInteractionsUris state management

* use disabled URIs service state as a preemptive conditon to injecting content scripts

* move disabled domains navigation button from account security settings to autofill settings

* update disabled domain terminology to blocked domain terminology

* update copy

* handle blocked domains initializing with null value

* add dismissable banner to the vault view when the active autofill tab is on the blocked domains list

* add autofill blocked domain indicators to autofill suggestions section header

* add BlockBrowserInjectionsByDomain feature flag and put feature behind it

* update router config to new style

* update tests and cleanup

* use full-width-notice slot for domain script injection blocked banner

* convert thrown error on content script injection block to a warning and early return

* simplify and enspeeden state resolution for blockedInteractionsUris

* refactor feature flag state fetching and update tests

* document domain settings service

* remove vault component presentational updates
2025-01-06 17:10:34 -05:00
Jordan Aasen
ddc817689a
[PM-13365] - don't display totp capture when in popout (#12645)
* don't display totp capture when in popout

* add canCaptureTotp method

* dry up logic

* add unit tests

* fix failing tests

* add missing mock to cipher-form story
2025-01-06 13:52:42 -08:00
Daniel James Smith
6aa5b1b953
[PM-7105][PM-7242][PM-16256] Remove v1 code for Tab/Vault Part 2 (#12516)
* Remove v1 code for Tab/Vault Part 2

* Removal conditional for assign-collections

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-01-06 21:14:16 +01:00
Jordan Aasen
ce07e408ea
[PM-13028] - add fixed width to vault list icon (#12644)
* add fixed width to vault list icon

* justify start

* don't display totp capture when in popout

* Revert "don't display totp capture when in popout"

This reverts commit f50b0a6caf.
2025-01-06 10:46:59 -08:00
Daniel James Smith
c349ea95c6
Remove v1 popout component (#12518)
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-01-06 18:11:31 +01:00
bw-ghapp[bot]
860711337e
Autosync the updated translations (#12712)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-01-06 15:34:23 +00:00
Daniel James Smith
534e42b9f0
[PM-16432] Remove v1 account security settings (#12578)
* Remove v1 account security settings

Delete v1 component
Remove conditional routing based on extension refresh feature flag

* Remove unused import

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-01-06 16:31:16 +01:00
Kyle Spearrin
05d373d070
turn off autocomplete for browser search input (#12679) 2025-01-03 14:51:54 -05:00
Daniel James Smith
654eef1de2
Remove v1 account switcher (#12577)
Remove conditional rendering for extensionRefresh feature flag

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-01-03 11:11:12 +01:00
bw-ghapp[bot]
1f00eb1bfb
Autosync the updated translations (#12671)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-01-03 11:05:20 +01:00
Evan Bassler
9807b33181
add field type to show correct new cipher popup form (#12433)
Co-authored-by: Evan Bassler <evanbassler@EvanBasslersMBP.attlocal.net>
2025-01-02 16:17:47 -06:00
SmithThe4th
10c8a2101a
[PM-12049] Remove usage of ActiveUserState from folder service (#11880)
* Migrated folder service from using active user state to single user state

Added extra test cases for encrypted folder and decrypted folders

Updated derived state to use decrypt with key

* Update callers in the web

* Update callers in the browser

* Update callers in libs

* Update callers in cli

* Fixed test

* Fixed folder state test

* Fixed test

* removed duplicate activeUserId

* Added takewhile operator to only make calls when userId is present

* Simplified to accept a single user id instead of an observable

* Required userid to be passed from notification service

* [PM-15635] Folders not working on desktop (#12333)

* Added folders memory state definition

* added decrypted folders state

* Refactored service to remove derived state

* removed combinedstate and added clear decrypted folders to methods

* Fixed test

* Fixed issue with editing folder on the desktop app

* Fixed test

* Changed state name

* fixed ts strict issue

* fixed ts strict issue

* fixed ts strict issue

* removed unnecessasry null encrypteed folder check

* Handle null folderdata

* [PM-16197] "Items with No Folder" shows as a folder to edit name and delete (#12470)

* Force redcryption anytime encryption state changes

* Fixed text file

* revert changes

* create new object with nofolder instead of modifying exisiting object

* Fixed failing test

* switched to use memory-large-object

* Fixed ts sctrict issue

---------

Co-authored-by: Matt Bishop <mbishop@bitwarden.com>
Co-authored-by: bnagawiecki <107435978+bnagawiecki@users.noreply.github.com>
2025-01-02 17:16:33 -05:00
Addison Beck
0ae10f0d9b
fix(safari): make sure to return from bespoke reload clause (#12661)
On https://github.com/bitwarden/clients/pull/12326 I refactored and
extended a bit of special case logic for process reloads on Safari. This
appears to have caused a regression, and I think it's because I didn't
return from the function when Safari reloads. This makes it still call
`chrome.runtime.reload()`, which makes Safari send an "install" event,
which leads to our extension opening it's Getting Started page.

This commit returns after the location reload in Safari. This is tricky
to test locally as the issue does not appear with sideloaded apps. I'll
test it with Testflight!
2025-01-02 14:46:31 -05:00
Jason Ng
6bc0ad2367
[PM-16505] added hideFooter value to browser extension anon call (#12619) 2025-01-02 11:08:53 -05:00
Victoria League
a95427eee0
[CL-524] Ignore flaky elements in Chromatic tests (#12561) 2024-12-30 16:42:53 -05:00
Daniel James Smith
cdaf877a6d
Remove v1 premium component (#12580)
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-12-30 19:13:46 +01:00
Daniel James Smith
a07a7e9817
[PM-16094] Remove lowercasing of vault page headers titles (#12438)
* Remove lowercasing of View page headers

* Remove lowercasing of Add/edit page headers

* Remove lowercasing of Web ViewAdd/edit page headers

* Fix tests

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-12-30 18:57:22 +01:00
bw-ghapp[bot]
160506c708
Autosync the updated translations (#12627)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-12-30 17:56:09 +00:00
Addison Beck
77a2b24dbc
Bump version to 2025.1.0 (#12622) 2024-12-30 11:03:51 -05:00
Jonathan Prusik
7deba63589
handle expiry field placeholder values with capitalized values (#12559) 2024-12-30 09:17:57 -05:00
Github Actions
a1ca7eded5 Bumped client version(s) 2024-12-30 14:12:58 +00:00
Victoria League
4f060d88fa
[CL-509][PM-16190] Avoid double scrollbar appearing when default zoom is >100% (#12427) 2024-12-27 15:42:35 -05:00
Daniel Riera
6d65ce9abd
“PM-15592 (#12489) 2024-12-27 13:31:11 -05:00
Github Actions
7837e08b23 Bumped client version(s) 2024-12-27 15:57:04 +00:00
Daniel Riera
7d772f1165
PM-15591 UI is showing when mp reprompt is on (#12515)
* enhancement: UI for multiple totp elements

* add tests

* update snapshots

* update obsolete snapshots

* PM-15593
- Added conditional statement for text displayed in the totp code span
- Added styling to the returned text

* remove method, hard code string.
2024-12-27 09:27:53 -05:00
Kyle Spearrin
f434334a88
[PM-16428] Option for primary click action to autofill on Vault view (#12557)
* add option for primary click action to autofill

* setting option string

* autofill setting for click items to autofill

* fix showQuickCopyActions

* apply setting
2024-12-27 08:51:17 -05:00
Daniel Riera
eb7b2cd3e0
PM-15593 Standard Login UI is shown when item has no Auth key added (#12432)
* PM-15593
- Added getFilteredCiphersForTotpField method
- Implemented getFilteredCiphersForTotpField on update list method
- Updated tests to not always have a top field

* account for no totp code ciphers in totp fields
2024-12-26 11:16:57 -05:00
Victoria League
23210f4a39
[PM-16102] Display autofill shortcut on Fill button hover (#12502) 2024-12-23 10:37:12 -05:00
Daniel James Smith
0619ef507f
[PM-7114] Remove legacy Send code from browser extension (#12342)
* Remove Send grouping, type and state

* Delete Send list and add-edit

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-12-20 19:46:34 +00:00
Daniel James Smith
ce5ae478a8
[PM-15921] Remove v1 generator and generator history (#12345)
* Remove v1 generator, generator history page and extension refresh conditional routing

* Remove unused keys from en/messages.json

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-12-20 19:46:24 +01:00
rr-bw
d209da4c94
feat(auth): [PM-9674] Remove Deprecated LockComponents (#12453)
This PR deletes the legacy lock components from the Angular clients and also removes feature flag control from the routing. The lock component will now be based entirely on the new, recently refreshed LockComponent in libs/auth/angular.
2024-12-20 10:23:03 -08:00
Bernd Schoolmann
2e6031eee9
Increase heap size for builds (#12483)
* Increase heap size for builds

* Add cross-env to cli

* Add cross-env to desktop

* Update apps/web/package.json

Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>

---------

Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
2024-12-20 17:36:04 +01:00
Daniel Riera
cc06e1eff3
enhancement: UI for multiple totp elements (#12404)
* enhancement: UI for multiple totp elements

* add tests

* update snapshots

* update obsolete snapshots

* Update apps/browser/src/autofill/overlay/inline-menu/pages/list/autofill-inline-menu-list.ts

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

---------

Co-authored-by: Jonathan Prusik <jprusik@users.noreply.github.com>
2024-12-20 11:33:43 -05:00
Daniel James Smith
acd3ab05f6
[PM-7100] Remove conditional routing for extension refresh (#12485)
* Remove conditional routing for new vault page (header/footer)

Redirect tabs/current to tabs/vault (new home)

* Remove unused TabsComponent

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-12-20 16:39:37 +01:00
bw-ghapp[bot]
31387d9a2a
Autosync the updated translations (#12503)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-12-20 14:56:00 +00:00
Oscar Hinton
8caadacfbc
[PM-16217] Remove wasm timeout (#12476)
Remove the WASM timeout logic and supported$.
2024-12-20 13:54:52 +01:00
bw-ghapp[bot]
40ac5132ba
Autosync the updated translations (#12493)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-12-20 13:01:35 +01:00
Shane Melton
69d42a73e3
[PM-16194] Do not sort Favorite ciphers by last used date (#12466)
* [PM-16194] Do not sort Favorite ciphers by last used date

* [PM-16194] Remove test
2024-12-19 14:47:58 -08:00
Jonathan Prusik
40943b5929
[CL-510] Create slot for banners in popup-page component (#12279)
* add full-width-notice slot to popup page component

* update storybook popup layout docs with notice example

* remove unneeded container/classes
2024-12-19 16:47:55 -05:00
Nick Krantz
0f3803ac91
[PM-11442] Emergency Cipher Viewing (#12054)
* force viewOnly to be true for emergency access

* add input to hide password history, applicable when the view is used from emergency view

* add extension refresh version of the emergency view dialog

* allow emergency access to view password history

- `ViewPasswordHistoryService` accepts a cipher id or CipherView. When a CipherView is included, the history component no longer has to fetch the cipher.

* remove unused comments

* Add fixme comment for removing non-extension refresh code

* refactor password history component to accept a full cipher view

- Remove the option to pass in only an id
2024-12-19 09:42:37 -06:00
Jason Ng
1d04a0a399
[PM-8214] New Device Verification Notice UI (#12360)
* starting

* setup first page for new device verification notice

* update designs for first page. rename components and files

* added second page for new device verification notice

* update notice page one with bit radio buttons. routing logic. user email

* updated routing for new device verification notice to show before vault based on flags, and can navigate back to vault after submission

* fix translations. added remind me later link and nav to page 2

* sync the design for mobile and web

* update routes in desktop

* updated styles for desktop

* moved new device verification notice guard

* update types for new device notice page one

* add null check to page one

* types

* types for page one, page two, service, and guard

* types

* update component and guard for null check

* add navigation to two step login btn and account email btn

* remove empty file

* update fill of icons to support light & dark modes

* add question mark to email access verification copy

* remove unused map

* use links for navigation elements
- an empty href is needed so the links are keyboard accessible

* remove clip path from exclamation svg

- No noticeable difference in the end result

* inline email message into markup

---------

Co-authored-by: Nick Krantz <nick@livefront.com>
2024-12-19 08:59:42 -06:00
Daniel García
51f6594d4b
[PM-9473] Add messaging for macOS passkey extension and desktop (#10768)
* Add messaging for macos passkey provider

* fix: credential id conversion

* Make build.sh executable

Co-authored-by: Colton Hurst <colton@coltonhurst.com>

* chore: add TODO

---------

Co-authored-by: Andreas Coroiu <andreas.coroiu@gmail.com>
Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com>
Co-authored-by: Colton Hurst <colton@coltonhurst.com>
2024-12-19 09:00:21 +01:00
Justin Baur
456046e095
Make Sync Optional on SW Start (#12467) 2024-12-18 15:28:13 -05:00
Github Actions
fc37d6df6b Bumped client version(s) 2024-12-18 16:41:40 +00:00
Bernd Schoolmann
903b5c8d93
[PM-16116] Add comment about mv2 routing loop (#12447)
* Add comment about mv2 routing loop

* Add more details to comment
2024-12-18 14:33:14 +01:00