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

2226 Commits

Author SHA1 Message Date
Cesar Gonzalez
35af5b8bad
[PM-5189] Refactoring implementation and fixing issues with typing data 2024-04-16 08:19:17 -05:00
Cesar Gonzalez
87152cedbd
Merge branch 'main' into autofill/pm-5189-fix-issues-present-with-inline-menu-rendering-in-iframes 2024-04-15 16:26:47 -05:00
github-actions[bot]
0765240886
Autosync the updated translations ()
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-04-15 17:56:11 +00:00
github-actions[bot]
c73b86be12
Autosync the updated translations ()
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-04-15 17:55:50 +00:00
github-actions[bot]
ffcf660ff5
Autosync the updated translations ()
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-04-15 17:55:41 +00:00
Robyn MacCallum
5a371c11fc
Revert "Bumped desktop version to ()" ()
This reverts commit d0bcc75721.
2024-04-15 12:42:16 -04:00
Jake Fink
576431d29e
[PM-5499] auth request service migrations ()
* move auth request storage to service

* create migrations for auth requests

* fix tests

* fix browser

* fix login strategy

* update migration

* use correct test descriptions in migration
2024-04-15 12:34:30 -04:00
Bitwarden DevOps
d0bcc75721
Bumped desktop version to () 2024-04-15 16:14:45 +00:00
github-actions[bot]
c8f03a0d46
Autosync the updated translations ()
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-04-15 08:55:30 +00:00
github-actions[bot]
6f31f42755
Autosync the updated translations ()
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-04-12 19:52:02 +00:00
github-actions[bot]
8162c640f6
Autosync the updated translations ()
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-04-12 19:51:45 +00:00
aj-rosado
8a71b50a5e
Initializing masterPasswordService on bw.ts () 2024-04-12 17:14:48 +01:00
Shane Melton
2e8d1a2061
[AC-2431] New collection dialog bug ()
* [AC-2431] Add null check for convertToPermission helper

* [AC-2431] Only attempt to convertToPermission if collectionId has a value
2024-04-12 16:51:20 +01:00
Conner Turnbull
b914260705
[AC-2319] remove the owned by business checkbox business name ()
* Removed business name from organization create/upgrade flows, and org info page

* Prefilling the logged in user's email to the billing email when creating an organization
2024-04-12 10:17:38 -04:00
SmithThe4th
a12c7242d6
load collections after ngOninit has run () 2024-04-12 14:53:26 +01:00
Thomas Rittson
d026087bfd
[AC-2443] Update unassigned items banner text for self-hosted ()
* Update banner text for self-hosted environments

* Fix tests

* Fix web vault wording

* Actually fix web vault wording
2024-04-12 06:57:17 -05:00
Addison Beck
bf11b90c43
Use UserVerificationDialogComponent for account recovery enrollment () 2024-04-12 06:38:53 -05:00
Matt Gibson
8d698d9d84
[PM-7169][PM-5267] Remove auth status from account info ()
* remove active account unlocked from state service

* Remove status from account service `AccountInfo`

* Fixup lingering usages of status

Fixup missed factories

* Fixup account info usage

* fixup CLI build

* Fixup current account type

* Add helper for all auth statuses to auth service

* Fix tests

* Uncomment mistakenly commented code

* Rework logged out account exclusion tests

* Correct test description

* Avoid getters returning observables

* fixup type
2024-04-12 09:25:45 +02:00
Kyle Spearrin
59392418d1
[PM-7280] Check command args for disabled updater ()
* dont autoupdate on older OS and with args

* remove os release checking

* use dashes
2024-04-11 14:14:56 -04:00
SmithThe4th
c2b91d2d46
[PM-4700] Fixed issue with clearing search index state ()
* fixed issue with clearing search index state

* Decrease snap description character length to reach 128 limit ()

* clear user index before account is totally cleaned up

* [AC-2436] Fix flashing unassigned items banner ()

* Fix flashing banner for users who shouldn't see it

* Emit the right value the first time

* simplify further

* restore comment

* added logout clear on option

* removed redundant clear index from logout

---------

Co-authored-by: Joseph Flinn <58369717+joseph-flinn@users.noreply.github.com>
Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>
2024-04-11 17:53:16 +01:00
Cesar Gonzalez
9a9a973ef0
[PM-5189] Extracting the getAttributeBoolean method to a separate util method 2024-04-11 09:53:04 -05:00
Cesar Gonzalez
03da6d8ef2
[PM-5189] Implementing a fix for how hidden fields populate the inline menu 2024-04-11 09:41:36 -05:00
Cesar Gonzalez
f702d1f08a
Merge branch 'main' into autofill/pm-5189-fix-issues-present-with-inline-menu-rendering-in-iframes 2024-04-11 08:24:15 -05:00
Joseph Flinn
9b022d2fc0
Decrease snap description character length to reach 128 limit () 2024-04-11 00:40:53 +00:00
Justin Baur
16c289d680
Prefer Passed In UserId () 2024-04-10 17:55:20 -05:00
Cesar Gonzalez
e4720de62a
[PM-7353] Autofill item selection not working from within current tab view in vault ()
* [PM-7353] Fix autofill not working from current tab component

* [PM-7353] Fix autofill not working from current tab component

* [PM-7353] Fix autofill not working from current tab component
2024-04-10 22:06:34 +00:00
Bitwarden DevOps
4607ae73c0
Bumped browser,desktop version to () 2024-04-10 21:45:31 +00:00
Bitwarden DevOps
83fef10c4c
Bumped desktop version to () 2024-04-10 21:31:20 +00:00
Addison Beck
ab83a367dd
Address review feedback on UnassignedBannerService ()
* Introduce `UnassignedItemsBannerApiService`

* Delete `WebUnassignedItemsBannerService`
2024-04-10 16:13:41 -05:00
Thomas Rittson
98ed744ae8
[AC-2436] Show unassigned items banner in browser ()
* Boostrap basic banner, show for all admins

* Remove UI banner, fix method calls

* Invert showBanner -> hideBanner

* Add api call

* Minor tweaks and wording

* Change to active user state

* Add tests

* Fix mixed up names

* Simplify logic

* Add feature flag

* Do not clear on logout

* Show banner in browser as well

* Update apps/browser/src/_locales/en/messages.json

* Update copy

---------

Co-authored-by: Addison Beck <github@addisonbeck.com>
Co-authored-by: Addison Beck <hello@addisonbeck.com>
2024-04-10 12:13:37 -07:00
Alex Morask
4c2afb4121
Add tax information to provider setup component when FF is on. () 2024-04-10 14:10:47 -04:00
rr-bw
4a3cd24510
instantiate service () 2024-04-10 10:30:09 -07:00
Jake Fink
94bfdf2f9c
add snap description () 2024-04-10 13:02:59 -04:00
Thomas Rittson
be362988b0
[AC-2436] Show unassigned items banner in web ()
* Boostrap basic banner, show for all admins

* Remove UI banner, fix method calls

* Invert showBanner -> hideBanner

* Add api call

* Minor tweaks and wording

* Change to active user state

* Add tests

* Fix mixed up names

* Simplify logic

* Add feature flag

* Do not clear on logout

* Update apps/web/src/locales/en/messages.json

---------

Co-authored-by: Addison Beck <github@addisonbeck.com>
2024-04-10 11:52:13 -05:00
Cesar Gonzalez
1e7329d1ef
[PM-7370] Remove usage of BrowserMessagingPrivateModeBackgroundService and MultithreadEncryptService from manifest v3 () 2024-04-10 16:23:02 +00:00
Cesar Gonzalez
05f22b9cbc
[PM-7388] Fix AutofillService dependency reference to TotpService within poppup services module () 2024-04-10 10:35:17 -05:00
SmithThe4th
2bce6c538c
[PM-6194] Refactor injection of services in browser services module ()
* refactored injector of services on the browser service module

* refactored the search and popup serach service to use state provider

* renamed back to default

* removed token service that was readded during merge conflict

* Updated search service construction on the cli

* updated to use user key definition

* Reafctored all components that refernce issearchable

* removed commented variable

* added uncommited code to remove dependencies not needed anymore

* added uncommited code to remove dependencies not needed anymore
2024-04-10 14:02:46 +01:00
Matt Gibson
560033cb88
Remove usages of chrome.storage ()
* Enable clearing and retrieving all values from local storage

I didn't add these methods to the base abstract class because we don't currently have a use case for them. If we develop one, we can just lift it up.

* Use new browser local storage methods for reseed task

* Remove the now dangerous methods enabling usage of `chrome.storage`

Any direct reference to chrome storage needs to handle serialization tags, which is best dealt with through the classes implementing `AbstractChromeStorageService`
2024-04-10 08:01:34 -05:00
Daniel García
9fb3e9b3ee
Fix issues with invalid locale for appx () 2024-04-10 15:00:25 +02:00
Jake Fink
9d10825dbd
[PM-5362] Add MP Service (attempt ) ()
* create mp and kdf service

* update mp service interface to not rely on active user

* rename observable methods

* update crypto service with new MP service

* add master password service to login strategies
- make fake service for easier testing
- fix crypto service tests

* update auth service and finish strategies

* auth request refactors

* more service refactors and constructor updates

* setMasterKey refactors

* remove master key methods from crypto service

* remove master key and hash from state service

* missed fixes

* create migrations and fix references

* fix master key imports

* default force set password reason to none

* add password reset reason observable factory to service

* remove kdf changes and migrate only disk data

* update migration number

* fix sync service deps

* use disk for force set password state

* fix desktop migration

* fix sso test

* fix tests

* fix more tests

* fix even more tests

* fix even more tests

* fix cli

* remove kdf service abstraction

* add missing deps for browser

* fix merge conflicts

* clear reset password reason on lock or logout

* fix tests

* fix other tests

* add jsdocs to abstraction

* use state provider in crypto service

* inverse master password service factory

* add clearOn to master password service

* add parameter validation to master password service

* add component level userId

* add missed userId

* migrate key hash

* fix login strategy service

* delete crypto master key from account

* migrate master key encrypted user key

* rename key hash to master key hash

* use mp service for getMasterKeyEncryptedUserKey

* fix tests

* fix user key decryption logic

* add clear methods to mp service

* fix circular dep and encryption issue

* fix test

* remove extra account service call

* use EncString in state provider

* fix tests

* return to using encrypted string for serialization
2024-04-09 20:50:20 -04:00
Cesar Gonzalez
747a74c954
[PM-5189] Implementing a really rough sketch of the message-connector rework based on requirements for Firefox 2024-04-09 16:35:58 -05:00
github-actions[bot]
aefea43fff
Autosync the updated translations ()
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-04-09 09:29:09 +00:00
github-actions[bot]
2145a37fd4
Autosync the updated translations ()
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-04-09 09:27:55 +00:00
renovate[bot]
8b00897638
[deps] Platform: Update Rust crate thiserror to v1.0.58 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-09 09:53:46 +02:00
Cesar Gonzalez
27483cf486
[PM-5189] Adjusting AutofillOverlayIframeService jest tests 2024-04-08 16:06:38 -05:00
Cesar Gonzalez
3f710c5e82
[PM-5189] Adjusting AutofillOverlayPageElement jest tests 2024-04-08 15:51:03 -05:00
Cesar Gonzalez
171006cc35
[PM-5189] Adjusting AutofillInit jest tests 2024-04-08 15:32:27 -05:00
Cesar Gonzalez
f1e90edb9e
[PM-5189] Fixing jest tests within AutofillInit 2024-04-08 15:13:46 -05:00
Cesar Gonzalez
a93ec6610e
[PM-5189] Fixing jest tests within AutofillOverlayButton 2024-04-08 14:56:59 -05:00
Cesar Gonzalez
5731347925
[PM-5189] Fixing jest tests within AutofillOverlayList 2024-04-08 14:49:34 -05:00