Commit graph

799 commits

Author SHA1 Message Date
David Perez
2fd3eac6ee Clean up minor warnings and formatting in tests (#1049) 2024-06-20 17:08:07 +01:00
David Perez
3211e902d4 BIT-1927: Add updated translations and update Duo strings (#1046) 2024-06-20 17:08:07 +01:00
David Perez
64e6cb0bff BIT-1923: Add the Yubi Key image to the two-factor login screen (#1047) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
3fba5d6e9a BIT-1274, BIT-1275, BIT-1276 Add the ability to export user vault data (#1040) 2024-06-20 17:08:07 +01:00
Ramsey Smith
e6883d9599 BIT-1623: Loading State Not Shown on Initial Vault Access (#1045) 2024-06-20 17:08:07 +01:00
David Perez
7b7a1d15f5 BIT-1915: Migrate account tokens to encrypted shared preferences (#1039) 2024-06-20 17:08:07 +01:00
Caleb Derosier
2e2b80470c Handle null or blank auth urls for Duo 2FA (#1044) 2024-06-20 17:08:07 +01:00
David Perez
8eafb8e180 Decode vault database json on default dispatcher (#1043) 2024-06-20 17:08:07 +01:00
Caleb Derosier
1953c40b26 BIT-1917: Add Duo 2-factor authentication (#1036) 2024-06-20 17:08:07 +01:00
David Perez
946565ae54 Add spot in encrypted shared preferences for tokens (#1038) 2024-06-20 17:08:07 +01:00
Ramsey Smith
c262dc03c1 BIT-1912: Store collection ids after creation or share. (#1033) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
c33fc8cf97 BIT-1888 Add the check for the last revision date (#1029) 2024-06-20 17:08:07 +01:00
David Perez
2d54fc4616 Create AccountTokensJson for reusability (#1035) 2024-06-20 17:08:07 +01:00
David Perez
32f9b1bde6 Use the clock in the Generator Repo (#1032) 2024-06-20 17:08:07 +01:00
David Perez
7558a29922 Minor cleanup of Generator Repo tests (#1031) 2024-06-20 17:08:07 +01:00
David Perez
2c8c28b257 Minor cleanup of Vault Repo tests (#1030) 2024-06-20 17:08:07 +01:00
David Perez
fe68cb6039 Minor cleanup of AuthRepo tests (#1028) 2024-06-20 17:08:07 +01:00
David Perez
3b2d3a4668 BIT-1901, BIT-1904 Add Yubi key support (#1025) 2024-06-20 17:08:07 +01:00
David Perez
c0f51d049f Move auth request logic into its own manager class (#1027) 2024-06-20 17:08:07 +01:00
Ramsey Smith
6b4e367c66 BIT-1724: No folder vault section (#1021) 2024-06-20 17:08:07 +01:00
David Perez
e9fba5b99c Rename WebAuthCallbackActivity to be more generic (#1024) 2024-06-20 17:08:07 +01:00
David Perez
874ead8f3e Minor cleanup of the MainViewModelTests and the AuthRepo (#1023) 2024-06-20 17:08:07 +01:00
David Perez
6e3c5930a1 Process NFC data from a Yubi Key (#1020) 2024-06-20 17:08:07 +01:00
David Perez
b74427dd88 Minor clean up of the TwoFactorLoginScreen (#1022) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
44b65e16b0 BIT-1719 Log a user out on a notificaiton (#1013) 2024-06-20 17:08:07 +01:00
David Perez
cb20a6d690 Update the TwoFactorRequired response to be able to parse multiple payload types (#1018) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
d5f8eabf31 Logout a user on sync if the security stamp does not match (#1002) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
829934f7c0 BIT-1584 Fix the view password overflow item visibility (#1008) 2024-06-20 17:08:07 +01:00
David Perez
8cc25a57f0 VaultRepo clears in-memory vault data whenever the active account changes (#1010) 2024-06-20 17:08:07 +01:00
David Perez
5928987a9b BIT-1729: Re-load the options to apply policy values (#1000) 2024-06-20 17:08:07 +01:00
David Perez
6bfb9440b5 Add AuthDiskSource helper for knowing when the user changes (#1007) 2024-06-20 17:08:07 +01:00
Ramsey Smith
2739b9e001 BIT-1703: Card brand UI error (#997) 2024-06-20 17:08:07 +01:00
Brian Yencho
e115c51e36 Remove now-unnecessary unlocking check when calling sync (#1004) 2024-06-20 17:08:07 +01:00
David Perez
a7b58e9c19 BIT-1729: Update generator policy UI in realtime (#990) 2024-06-20 17:08:07 +01:00
David Perez
a6c6af7a56 Hide soft keyboard when attempting to login (#982) 2024-06-20 17:08:07 +01:00
Ramsey Smith
f7150d33cb BIT-1704: Edit items in collection bug (#977) 2024-06-20 17:08:07 +01:00
David Perez
dc2e07c130 BIT-1524, BIT-898: Update generated text (#964) 2024-06-20 17:08:07 +01:00
Ramsey Smith
da176994ca BIT-1664: Vault add item ownership tests. (#969) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
1334c98b1f BIT-1701 Add the policy notice to the add send screen. (#963) 2024-06-20 17:08:07 +01:00
Brian Yencho
390411ded7 BIT-1715: Fix autofill account-switching data loading error (#965) 2024-06-20 17:08:07 +01:00
David Perez
8b7d1bfc51 Fix incorrect test imports (#966) 2024-06-20 17:08:07 +01:00
David Perez
b8e2f7856a BIT-1663: Display toast when auth request is declined or approved (#968) 2024-06-20 17:08:07 +01:00
David Perez
61212c3628 Update detekt and fix minor warnings (#955) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
28f805418d BIT-1699 Fix initial pasword type not checking policy (#954) 2024-06-20 17:08:07 +01:00
David Perez
23721858b8 Update bitwarden sdk and login with device flow (#946) 2024-06-20 17:08:07 +01:00
Brian Yencho
bdf3cd8ee1 Update Roboelectric to 4.11.1 (#953) 2024-06-20 17:08:07 +01:00
Lucas Kivi
da47e3fbbb Support other autofill types (#948) 2024-06-20 17:08:07 +01:00
Lucas Kivi
e4c43d4763 Simplify tests with mocks (#947) 2024-06-20 17:08:07 +01:00
Sean Weiser
684baf9bdd BIT-1527: Wrap FileManager methods in io context (#945) 2024-06-20 17:08:07 +01:00
Brian Yencho
a8f24f5f55 Used fixed timezome to fix failing Password History test (#943) 2024-06-20 17:08:07 +01:00
Ramsey Smith
8156e306f5 BIT-617: Vault Password History (#935) 2024-06-20 17:08:07 +01:00
David Perez
46bc489f1f Polling on pending requests screen (#942) 2024-06-20 17:08:07 +01:00
Brian Yencho
10cf094c3f BIT-1682: Add more master password reprompts to Item Listing screen (#938) 2024-06-20 17:08:07 +01:00
Sean Weiser
528b5605d8 BIT-779: Add UI tests for generator changes (#941) 2024-06-20 17:08:07 +01:00
David Perez
33c64db85c Poll for auth request updates (#939) 2024-06-20 17:08:07 +01:00
Brian Yencho
624e60fd71 Ensure more overflow action types get reprompts on Search (#940) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
b800b77194 BIT-1646 Flip the order for the delete menu password prompt (#937) 2024-06-20 17:08:07 +01:00
Caleb Derosier
267fd8d077 BIT-784: Enforce send options policy (#933) 2024-06-20 17:08:07 +01:00
Shannon Draeker
c5e8faccc3 BIT-1687: Password reprompt for items (#936) 2024-06-20 17:08:07 +01:00
Sean Weiser
2e3200f53d BIT-779: Enforce policies on passcode generator screen (#927) 2024-06-20 17:08:07 +01:00
David Perez
b15dc065be Handle navigation for auth requests from notification (#934) 2024-06-20 17:08:07 +01:00
Shannon Draeker
89dd552908 BIT-785: Vault timeout policy (#924) 2024-06-20 17:08:07 +01:00
Lucas Kivi
7738f75bfb BIT-1093: Setup TOTP auto copy settings (#928) 2024-06-20 17:08:07 +01:00
Brian Yencho
3fe0950983 BIT-1683: Show master password reprompts on Search Screen (#925) 2024-06-20 17:08:07 +01:00
Lucas Kivi
81c78fc115 BIT-1457: Setup autofill save request (#898) 2024-06-20 17:08:07 +01:00
Sean Weiser
8bb754f85b BIT-1527: Handle attachment downloads (#894) 2024-06-20 17:08:07 +01:00
David Perez
6e945a4385 Remove unused function (#926) 2024-06-20 17:08:07 +01:00
Caleb Derosier
debfbc04b0 BIT-782: Implement Personal Ownership policy support (#920) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
f380e21600 BIT-1670: Add the initial autofill dialog (#922) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
77913805ab BIT-972 Add the import url (#903) 2024-06-20 17:08:07 +01:00
Shannon Draeker
05a171e71c BIT-783: Enforce Send restriction policy (#915) 2024-06-20 17:08:07 +01:00
Shannon Draeker
d538e37606 Create policy manager (#899) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
794b68d364 Save the value for showing the initial autofill dialog (#916) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
ca0a38d3fa BIT-973 Get the vault URL from the repo. (#911) 2024-06-20 17:08:07 +01:00
Lucas Kivi
3b1758262b BIT-1659-filter-out-reprompt-ciphers (#918) 2024-06-20 17:08:07 +01:00
Ramsey Smith
1448322964 Add error dialog in VaultAddEditViewModel (#914) 2024-06-20 17:08:07 +01:00
Brian Yencho
4f08d5ddbe BIT-1661: Pre-populate Add Item screen during autofill save (#913) 2024-06-20 17:08:07 +01:00
David Perez
bafebb46f3 BIT-1567: Do process auth requests if feature is disabled (#912) 2024-06-20 17:08:07 +01:00
Ramsey Smith
81d0e2f4db BIT-506: Hard delete (#910) 2024-06-20 17:08:07 +01:00
David Perez
087018bd26 BIT-1560: Successfully login with device (#892) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
2127dcbb1d BIT-1570 Make the name value appear in the dialog (#907) 2024-06-20 17:08:07 +01:00
Shannon Draeker
608779ba68 BIT-778: Account recovery (#905) 2024-06-20 17:08:07 +01:00
Brian Yencho
10471a7ea6 Allow users to navigate to Add Item screen for autofill save (#900) 2024-06-20 17:08:07 +01:00
Ramsey Smith
2d0353d744 BIT-1575: Update cipher collections functionality (#904) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
fc3cdeb798 BIT-1667: Navigate the user to the tooltip URI (#897) 2024-06-20 17:08:07 +01:00
Shannon Draeker
2c092d9d2c Fix password reset (#896) 2024-06-20 17:08:07 +01:00
Brian Yencho
ab84a4b9d3 BIT-1538, BIT-1539, BIT-1660: Implement Search in autofill flow (#889) 2024-06-20 17:08:07 +01:00
Joshua Queen
5ceec9b2f7 Setup for generator policy implementation (#888) 2024-06-20 17:08:07 +01:00
David Perez
d9d5eaeea2 Add loading states and navigation events to LoginWithDeviceScreen. (#890) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
a985cfaccc Save the clear clipboard frequency in settings. (#886) 2024-06-20 17:08:07 +01:00
David Perez
526ab51a90 Listen to updates to login auth requests (#887) 2024-06-20 17:08:07 +01:00
David Perez
d6c2969332 Update the CreateAuthRequests API to poll for updates (#884) 2024-06-20 17:08:07 +01:00
David Perez
d0dfe3ca2f Add dialog state to LoginWithDevice state (#883) 2024-06-20 17:08:07 +01:00
Shannon Draeker
cf8f2ff7fa Fixed login bug (#882) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
95b4aaf605 BIT-1654 Add URI option menu (#877) 2024-06-20 17:08:07 +01:00
Lucas Kivi
a92d9ff823 BIT-1093: Add TOTP copying to autofill flow (#879)
Co-authored-by: David Perez <david@livefront.com>
2024-06-20 17:08:07 +01:00
David Perez
cd66699467 Add API for getting auth request updates (#880) 2024-06-20 17:08:07 +01:00
Ramsey Smith
034284fad4 BIT-1575: Collection Screen (#878) 2024-06-20 17:08:07 +01:00
Shannon Draeker
96401aba79 BIT-786: Export vault policy (#875) 2024-06-20 17:08:07 +01:00
Joshua Queen
7b6f9491b3 BIT-1087: Adding navigation for the username types tooltip in generator. (#874) 2024-06-20 17:08:07 +01:00
Shannon Draeker
5fffd4e3e2 BIT-620: Reset password screen (#871) 2024-06-20 17:08:07 +01:00
Brian Yencho
94f532b9d2 Add decodeFromStringOrNull for safer disk JSON parsing (#873) 2024-06-20 17:08:07 +01:00
David Perez
4807005428 Add API for retrieving auth requests by ID (#872) 2024-06-20 17:08:07 +01:00
Ramsey Smith
9300ba01f7 Fix VaultAddEditViewModelTest (#870) 2024-06-20 17:08:07 +01:00
David Perez
238a16652b Create separate API for authenticated auth requests (#868) 2024-06-20 17:08:07 +01:00
Shannon Draeker
2be6c9042f BIT-802: Enforce master password policy (#849)
Co-authored-by: Sean Weiser <125889608+sean-livefront@users.noreply.github.com>
2024-06-20 17:08:07 +01:00
Ramsey Smith
b3f23ab172 BIT-1309: Ownership in the add item screen (#831) 2024-06-20 17:08:07 +01:00
Brian Yencho
f93db195c0 Get autofill enabled information more reliably (#867) 2024-06-20 17:08:07 +01:00
Joshua Queen
2de2ade7a6 BIT-478: Implementation for crash logging switch in settings screen (#864) 2024-06-20 17:08:07 +01:00
Brian Yencho
085fa0153d Fix rebasing issue with Login URIs (#866) 2024-06-20 17:08:07 +01:00
Brian Yencho
1e64c82e83 BIT-1642: Pre-populate the add item screen URI during autofill (#863) 2024-06-20 17:08:07 +01:00
David Perez
84a983e755 BIT-1574: Add pull to refresh behavior (#861) 2024-06-20 17:08:07 +01:00
Sean Weiser
8489bd1476 BIT-1547: Hook up remaining push notification sync handling (#848) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
d2ffd7bf01 BIT-1653 Add functionality to new URI button (#862) 2024-06-20 17:08:07 +01:00
Brian Yencho
b1cc9a1dd6 BIT-1641: Use correct matching logic for in-app autofill (#860) 2024-06-20 17:08:07 +01:00
Shannon Draeker
a317174db7 Refactor vault unlock state to enum (#853) 2024-06-20 17:08:07 +01:00
Caleb Derosier
f2053bbb07 BIT-1508: Implement decline all pending requests & add filters (#845) 2024-06-20 17:08:07 +01:00
Lucas Kivi
88da5b2007 BIT-1506: block autofill for block listed URIs (#855) 2024-06-20 17:08:07 +01:00
Brian Yencho
50d963c70e BIT-1643: Add master password reprompt to autofill selection (#854) 2024-06-20 17:08:07 +01:00
David Perez
79988db49a Fix nullability bug in combineDataStates (#857) 2024-06-20 17:08:07 +01:00
David Perez
d12776483d BIT-1646, BIT-1647: Launch action after password validation (#852) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
20dd839923 BIT-1648: Add the copy totp code overflow option (#850) 2024-06-20 17:08:07 +01:00
Lucas Kivi
0c6ea8d18d BIT-621: Add URI matching for autofill (#842) 2024-06-20 17:08:07 +01:00
Joshua Queen
0e5e6b4444 Add crash logging boolean to settings repository and settings disk source (#851) 2024-06-20 17:08:07 +01:00
Joshua Queen
1ffd233e7e Updated copy on about page to include bitwarden copyright information (#847) 2024-06-20 17:08:07 +01:00
Sean Ephraim
8cb28fc90e SA-113: Update localization strings (#807) 2024-06-20 17:08:07 +01:00
Shannon Draeker
39e37eb7c7 Add PolicyInformation data structure (#846) 2024-06-20 17:08:07 +01:00
David Perez
91207df3fa BIT-1213: Add real password check to vault item screen (#844) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
2d652c8a2e BIT-1301 Adding icons to collection items (#840) 2024-06-20 17:08:07 +01:00
Brian Yencho
82ef39e15d Show appropriate empty states for autofill flow (#843) 2024-06-20 17:08:07 +01:00
David Perez
9a8aca9fe1 Add validity checks to ensure that changes to biometrics require a master password or pin to continue (#839) 2024-06-20 17:08:07 +01:00
Brian Yencho
2623fc3cbe Move validatePassword to AuthRepository and ensure errors are caught (#841) 2024-06-20 17:08:07 +01:00
Sean Weiser
474025b893 BIT-1547: Setup needed logic to support push notification syncs (#837) 2024-06-20 17:08:07 +01:00
Brian Yencho
7c4092a539 Add placeholder autofill URI matching (#838) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
e19ba9df51 BIT-1545 Allowing the user to search for verification code items (#836) 2024-06-20 17:08:07 +01:00
Brian Yencho
8d81b160f9 Make CipherView.toAutofillCipherProvider public and add tests (#835) 2024-06-20 17:08:07 +01:00
Brian Yencho
5b854c17b7 Update Vault Item Listing screen app bar for autofill (#834) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
0a6b0f8dc7 BIT-458, BIT-459: Add Folder Saving/Editing/Deleting (#832) 2024-06-20 17:08:07 +01:00
David Perez
a88f28e5bc BIT-1451, BIT-1453: logout on failed attempts (#833) 2024-06-20 17:08:07 +01:00
Brian Yencho
b3fa33a02c Send autofill selections back to autofill flow (#829) 2024-06-20 17:08:07 +01:00
David Perez
b199a67b7d BIT-1630: Add unlock with biometrics flow (#827) 2024-06-20 17:08:07 +01:00
Caleb Derosier
a187fbb0d1 BIT-1565: Approve and decline login requests (#818) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
3be37766e2 Adding the Repository folder calls. (#813) 2024-06-20 17:08:07 +01:00
Caleb Derosier
fa551fa6ab BIT-1563: Handle POST auth-requests error on Login with Device (#828) 2024-06-20 17:08:07 +01:00
Brian Yencho
ab0cfdfdc2 Provide graceful fallbacks when there is no active user (#825) 2024-06-20 17:08:07 +01:00
David Perez
8f21fb466e BIT-614: Add ability to setup biometrics from account security screen (#826) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
cf7f0ad7fe BIT-1351 Sorting Items by name (#823) 2024-06-20 17:08:07 +01:00
David Perez
2dde22f762 Vault repo biometrics (#821) 2024-06-20 17:08:07 +01:00
David Perez
aacb955720 User settings repo to get biometrics enabled info (#824) 2024-06-20 17:08:07 +01:00
David Perez
e2cd1d5e98 Add loading dialog support to account security screen (#820) 2024-06-20 17:08:07 +01:00