Commit graph

939 commits

Author SHA1 Message Date
David Perez
b4b12f3da7 Apply the RobolectricTestRunner to the BaseRobolectricTest (#1316) 2024-06-20 17:08:07 +01:00
Ramsey Smith
d6cb2b25c5 BIT-2214: Sync complete toast (#1305) 2024-06-20 17:08:07 +01:00
David Perez
2ae3ff64a8 BIT-2297: Update the values for UriMatchType to ensure a proper migration (#1313) 2024-06-20 17:08:07 +01:00
David Perez
12610f83eb BIT-2296: Fix generator options disk source key (#1310) 2024-06-20 17:08:07 +01:00
David Perez
9354361977 Apply formatting and optimized imports to the app (#1309) 2024-06-20 17:08:07 +01:00
David Perez
bde338ef44 BIT-2156: auto-prompt the user for biometrics (#1307) 2024-06-20 17:08:07 +01:00
David Perez
bb1fd4ae4f BIT-2293, BIT-2294: Add vault and generator shortcuts (#1306) 2024-06-20 17:08:07 +01:00
David Perez
80f6011571 BIT-2276: Add support for logging in with WebAuthN two-factor (#1304) 2024-06-20 17:08:07 +01:00
Ramsey Smith
a80f903df0 BIT-2246: Update link for recovery code process (#1303) 2024-06-20 17:08:07 +01:00
David Perez
0a03df75cc BIT-2291: Bypass master password reprompt when user has no password (#1301) 2024-06-20 17:08:07 +01:00
David Perez
b730330196 BIT-2273: Maintain data when combining data state (#1298) 2024-06-20 17:08:07 +01:00
David Perez
4326630d10 BIT-2216: Add remove account option from account summary long-press (#1300) 2024-06-20 17:08:07 +01:00
Ramsey Smith
7b08e1abb8 BIT-2234: Delete Account Confirmation Screen (functionality) (#1290) 2024-06-20 17:08:07 +01:00
Patrick Honkonen
32af8a1860 BIT-1624 Fix OutOfMemoryException when uploading large files (#1293) 2024-06-20 17:08:07 +01:00
David Perez
ae38b5d7ed Add setup for WebAuthn (#1294) 2024-06-20 17:08:07 +01:00
David Perez
77a7cb0e51 Force the UserState to re-evaluate on authentication change (#1291) 2024-06-20 17:08:07 +01:00
David Perez
e6dfaeeab2 Rename FIDO_2_WEB_APP enum to WEB_AUTH (#1292) 2024-06-20 17:08:07 +01:00
Patrick Honkonen
4293c0b9fd BIT-2181: Move PreLogin and Register network calls to Identity API (#1285) 2024-06-20 17:08:07 +01:00
David Perez
1e9644bc8c BIT-2261: Check if user has master password to determine default timeout action (#1289) 2024-06-20 17:08:07 +01:00
David Perez
2cf8b05a87 The stored 'shouldTrustDevice' boolean ise scoped to the userId (#1287) 2024-06-20 17:08:07 +01:00
David Perez
1365a2a4fe BIT-2259: Check device trust after each vault unlock (#1286) 2024-06-20 17:08:07 +01:00
Caleb Derosier
dae98111e6 BIT-2235: Add support for exporting vault data w/o passcode (#1281) 2024-06-20 17:08:07 +01:00
Ramsey Smith
9648f720be BIT-2234: Delete Account Confirmation Screen (Navigation) (#1278) 2024-06-20 17:08:07 +01:00
David Perez
4ac9d05036 BIT-2256: Clear pending admin request when request is completed (#1284) 2024-06-20 17:08:07 +01:00
David Perez
e69ef60f53 BIT-2255: When admin-approval is denied, do not update the UI (#1283) 2024-06-20 17:08:07 +01:00
David Perez
f6f2746b25 Update tests for clearData in AuthDiskSource and SettingsDiskSource (#1282) 2024-06-20 17:08:07 +01:00
David Perez
e58710b3e8 BIT-2247: Persists screen recording flag past a logout (#1280) 2024-06-20 17:08:07 +01:00
Caleb Derosier
ea01470d21 Add requestOtp and verifyOtp API methods (#1275) 2024-06-20 17:08:07 +01:00
David Perez
dc2a0d10b9 BIT-2231: Disable components of the AccountSecurityScreen for TDE (#1276) 2024-06-20 17:08:07 +01:00
David Perez
52561215fe Update set-password logic to accommodate TDE admin force password update (#1272) 2024-06-20 17:08:07 +01:00
Caleb Derosier
1e980cbfe6 BIT-2183: Pass website with forwarded email username generation (#1249) 2024-06-20 17:08:07 +01:00
David Perez
cec70a9c64 Update the Bitwarden SDK (#1271) 2024-06-20 17:08:07 +01:00
David Perez
921240d173 Remove the in-memory deviceKey (#1270) 2024-06-20 17:08:07 +01:00
Ramsey Smith
074de1e1b6 BIT-2233: Hide master password reprompt on add edit screen (#1265) 2024-06-20 17:08:07 +01:00
David Perez
617ffbd36a Persist the pending auth request even past a logout (#1260) 2024-06-20 17:08:07 +01:00
David Perez
e9a42918d3 BIT-2237: Sync password visibility fields for set and reset password screens (#1259) 2024-06-20 17:08:07 +01:00
David Perez
44728bba02 Add login with password flow (#1254) 2024-06-20 17:08:07 +01:00
Caleb Derosier
f2301e15b9 BIT-2232: Don't require password for PIN setup for users w/o password (#1252) 2024-06-20 17:08:07 +01:00
Ramsey Smith
c171c9353f BIT-2202: Add element ids for cipher icons (#1251) 2024-06-20 17:08:07 +01:00
David Perez
b81b79e215 BIT-2236: Trusted Device screen logs out when unauthenticated (#1253) 2024-06-20 17:08:07 +01:00
David Perez
0bddd70d2a Ensure trusted device is displayed before set password or reset password screens (#1250) 2024-06-20 17:08:07 +01:00
Ramsey Smith
f01a67ea9c BIT-2145: Create account dialog error (#1243) 2024-06-20 17:08:07 +01:00
David Perez
0a63d85457 Add the continue button flow for TDE (#1248) 2024-06-20 17:08:07 +01:00
Caleb Derosier
403cfc94f0 Clean up generator minimum length implementation (#1244) 2024-06-20 17:08:07 +01:00
David Perez
2ae8a76103 Establish device trust directly with a TrustDeviceResponse (#1246) 2024-06-20 17:08:07 +01:00
David Perez
92e39f25c1 Add makeRegisterTdeKeysAndUnlockVault to authSdkSource (#1245) 2024-06-20 17:08:07 +01:00
David Perez
de39f76627 Make SdkClientManager the single source of the Bitwarden SDK Client (#1242) 2024-06-20 17:08:07 +01:00
Caleb Derosier
bf26db1d4f BIT-2106: Export vault file with password (#1241) 2024-06-20 17:08:07 +01:00
Caleb Derosier
ee12bd9da5 BIT-2136: Update minimum length handling in Generator (#1238) 2024-06-20 17:08:07 +01:00
David Perez
8be7d0f8df Add createAccountKeys API (#1240) 2024-06-20 17:08:07 +01:00
David Perez
79f8703d9b Add dialog support for TrustedDeviceScreen (#1239) 2024-06-20 17:08:07 +01:00
David Perez
a6a4c40693 Add initial UI flow for TDE (#1235) 2024-06-20 17:08:07 +01:00
David Perez
bfbb8d47a6 Remove unused intent manager (#1236) 2024-06-20 17:08:07 +01:00
David Perez
11a5ef5994 Update login logic to handle TDE authentication (#1234) 2024-06-20 17:08:07 +01:00
David Perez
04eba5828b BIT-2201: Handle URI checksum validation (#1231) 2024-06-20 17:08:07 +01:00
Ramsey Smith
1a12a91a74 BIT-1469: Autofill talkback (#1226) 2024-06-20 17:08:07 +01:00
Caleb Derosier
8f3f87a333 BIT-2207: Remove Rate the App row (#1228)
Co-authored-by: David Perez <david@livefront.com>
2024-06-20 17:08:07 +01:00
Caleb Derosier
365e3d2e98 BIT-2207: Move Give Feedback form to About screen (#1227) 2024-06-20 17:08:07 +01:00
David Perez
9685c6057a Add trusted device logic (#1224) 2024-06-20 17:08:07 +01:00
David Perez
5d40d68b3f Update AuthRequestManager for TDE (#1223) 2024-06-20 17:08:07 +01:00
Caleb Derosier
f09d9473f7 BIT-2104: Add check for file passwords matching (#1222) 2024-06-20 17:08:07 +01:00
Patrick Honkonen
af37f1c03c Display SDK error message when generating email alias (#1219) 2024-06-20 17:08:07 +01:00
David Perez
22a6825992 Expose the 'shouldTrustDevice' boolean from auth repo (#1220) 2024-06-20 17:08:07 +01:00
Caleb Derosier
87254b4436 Fix incorrect VM state access & unnecessary eventFlow usages (#1218) 2024-06-20 17:08:07 +01:00
David Perez
ab55b5e535 default timeout action should be LOGOUT when using TDE (#1216) 2024-06-20 17:08:07 +01:00
David Perez
e17176f934 Upon trusting device, update decryption options (#1211) 2024-06-20 17:08:07 +01:00
David Perez
663c9785cf Apply result extension consistently (#1210) 2024-06-20 17:08:07 +01:00
David Perez
0561879d6b Allow device key to be persisted to memory (#1209) 2024-06-20 17:08:07 +01:00
David Perez
6390fe1ab4 Persist device key past a logout (#1207) 2024-06-20 17:08:07 +01:00
Caleb Derosier
d7e3b74c25 BIT-2102: Require all password fields for vault export (#1206) 2024-06-20 17:08:07 +01:00
Caleb Derosier
c8525989e0 BIT-2136: Fix generator error when length can't accommodate settings (#1181) 2024-06-20 17:08:07 +01:00
David Perez
2185d3847a Add stored pending auth request (#1204) 2024-06-20 17:08:07 +01:00
David Perez
0cc28e41ba Update to the latest Bitwarden SDK (#1198) 2024-06-20 17:08:07 +01:00
Ramsey Smith
4e2fe8c501 BIT-2150: Incorrect default timeout (#1197) 2024-06-20 17:08:07 +01:00
Caleb Derosier
07ddb71cfc BIT-2109: Add file password strength indicator to vault export (#1196) 2024-06-20 17:08:07 +01:00
David Perez
b2005f01c1 Update LoginWithDeviceScreen to support Admin Approval type (#1175) 2024-06-20 17:08:07 +01:00
Patrick Honkonen
1150f01666 BIT-2129 Show descriptive error message when Send creation fails (#1186) 2024-06-20 17:08:07 +01:00
Caleb Derosier
90ff2897f5 BIT-2101 BIT-2103: Update export flow for JSON (password protected) (#1188) 2024-06-20 17:08:07 +01:00
David Perez
3565054a4c Update to v2.11.0 of retrofit with BOM (#1194) 2024-06-20 17:08:07 +01:00
Caleb Derosier
8f94d48297 BIT-2159: Update .json (Encrypted) text to .json (Password Protected) (#1182) 2024-06-20 17:08:07 +01:00
David Perez
0a65b37a65 Create trusted device service (#1185) 2024-06-20 17:08:07 +01:00
Patrick Honkonen
b13c89b688 Display environment label in account switcher (#1179) 2024-06-20 17:08:07 +01:00
David Perez
ed8dfa841e Move the sdk trustDevice API to the VaultSdkSource (#1184) 2024-06-20 17:08:07 +01:00
David Perez
de6f31775b Add trusted device API (#1183) 2024-06-20 17:08:07 +01:00
Patrick Honkonen
9253a7b682 Clear MP field when switching account on unlock screen (#1178) 2024-06-20 17:08:07 +01:00
Caleb Derosier
166a39354a Change give feedback copy to title case (#1177) 2024-06-20 17:08:07 +01:00
Ramsey Smith
3a7ef240b0 BIT-2160: Edit cipher crash (#1176) 2024-06-20 17:08:07 +01:00
Ramsey Smith
992bafc16c BIT-2128: Item creation screen cipher type error (#1169) 2024-06-20 17:08:07 +01:00
Caleb Derosier
25ceaf8c0b BIT-2131: Display folders when filtering by org in vault (#1170) 2024-06-20 17:08:07 +01:00
David Perez
9144bae079 Add 'Device-Identifier' header for auth-requests API (#1174) 2024-06-20 17:08:07 +01:00
Caleb Derosier
45b1e332b4 BIT-2114 & BIT-2137: Add Give Feedback link to Other screen (#1166) 2024-06-20 17:08:07 +01:00
David Perez
dc4b61c503 Set the TDE reason for a forced password reset (#1167) 2024-06-20 17:08:07 +01:00
Caleb Derosier
0791d787e0 BIT-2015 BIT-2016: Fix min number and min special chars not propagating (#1163) 2024-06-20 17:08:07 +01:00
David Perez
186ef16974 Back button on TrustedDeviceScreen should logout (#1162) 2024-06-20 17:08:07 +01:00
Patrick Honkonen
0f581e6e21 BIT-2046 Fix passkey creation date display (#1161) 2024-06-20 17:08:07 +01:00
David Perez
232ffe93ca Log user out when clicking 'not you' on trusted device screen (#1160) 2024-06-20 17:08:07 +01:00
Caleb Derosier
bd58dac0ff BIT-2018: Support org reset password enrollment in JIT provisioning (#1159) 2024-06-20 17:08:07 +01:00
Patrick Honkonen
be127f5d49 BIT-2046 Display passkey fields in Vault (#1143) 2024-06-20 17:08:07 +01:00
Ramsey Smith
0d2467d8d2 BIT-2070: Enable individual Cipher Encryption for SDK (#1148) 2024-06-20 17:08:07 +01:00
David Perez
e012dbf45d Add UI support for hiding all button on TrustedDeviceScreen (#1152) 2024-06-20 17:08:07 +01:00
Patrick Honkonen
3ba2f704e3 BIT-2040 Correct redirect behavior for Import Items action (#1150) 2024-06-20 17:08:07 +01:00
Patrick Honkonen
143a46165c BIT-2046 Define FIDO2 credential network models (#1137) 2024-06-20 17:08:07 +01:00
David Perez
2244e21e29 Add getTrustDevice API to AuthSdkSource (#1147) 2024-06-20 17:08:07 +01:00
David Perez
058c4f0dfc Add email navigation param and environment repo to the TrustedDeviceViewModel (#1146) 2024-06-20 17:08:07 +01:00
David Perez
888e079f09 BIT-2078: Add element IDs for search screen (#1145) 2024-06-20 17:08:07 +01:00
David Perez
1a41fcb5c8 BIT-2080: Sync time updated when sync is not needed (#1144) 2024-06-20 17:08:07 +01:00
David Perez
226b62a1cd Fill out trusted device UI (#1142) 2024-06-20 17:08:07 +01:00
Ramsey Smith
483a10a3a7 BIT-2069: Upgrade app version name (#1141) 2024-06-20 17:08:07 +01:00
Ramsey Smith
3176b5fe62 BIT-2021: Add key for individual cipher encryption (#1138) 2024-06-20 17:08:07 +01:00
David Perez
e214c311b1 Add missing test for Trusted Device Screen (#1139) 2024-06-20 17:08:07 +01:00
Caleb Derosier
5b1545f53b BIT-1921: Add JIT Provisioning (#1133) 2024-06-20 17:08:07 +01:00
David Perez
509ef72546 Add skeleton for trusted device UI (#1132) 2024-06-20 17:08:07 +01:00
Ramsey Smith
b3e4d3807c BIT-2022: Autofill crash (#1126) 2024-06-20 17:08:07 +01:00
David Perez
3e680b9703 BIT-1973: Add test tags for account switcher (#1124) 2024-06-20 17:08:07 +01:00
David Perez
53c241b4d7 Add set-password function to auth repo (#1121) 2024-06-20 17:08:07 +01:00
David Perez
0c64b7ad35 Replace remaining usages of TimeZone with Clock (#1119) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
3171cfb9c8 Replace actionChannel.trySend in the tests (#1117) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
3b33360e58 BIT-2009 Add support for nested collections (#1111) 2024-06-20 17:08:07 +01:00
David Perez
c986131afd Clean up usages for the DateTimeFormatter (#1113) 2024-06-20 17:08:07 +01:00
David Perez
9736aacd53 Inject clock into ViewModels (#1112) 2024-06-20 17:08:07 +01:00
David Perez
932bc3957f Add the setPassword API (#1110) 2024-06-20 17:08:07 +01:00
David Perez
f0a988c010 Simplify login dialogs under single state property (#1109) 2024-06-20 17:08:07 +01:00
David Perez
274aa620b1 Add needsMasterPassword field to userState (#1105) 2024-06-20 17:08:07 +01:00
David Perez
8cedd8ed33 Catch exception caused by trying to process large files on devices with low memory (#1101) 2024-06-20 17:08:07 +01:00
David Perez
51a8ab87eb BIT-752: Update the dropdown accessibility callout (#1100) 2024-06-20 17:08:07 +01:00
Ramsey Smith
a8f76488da BIT-1965: Send email 2FA verification when switching to screen. (#1096) 2024-06-20 17:08:07 +01:00
Patrick Honkonen
9ddb028c79 PM-6578: Ignore "android" idPackage in autofill traversal data (#1083) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
c3b422e46f BIT-1115 Add nested folder support (#1072) 2024-06-20 17:08:07 +01:00
David Perez
90802ff2b0 Move dialog components to dialog package (#1090) 2024-06-20 17:08:07 +01:00
Patrick Honkonen
bd84a8649d BIT-1962: Add Direct Link to Privacy Policy in About Screen (#1084) 2024-06-20 17:08:07 +01:00
Patrick Honkonen
35e204d9c1 BIT-1957: Update Email Alias generator UI to include 'ForwardEmail' (#1082) 2024-06-20 17:08:07 +01:00
David Perez
cfc6dff1d7 BIT-1599: Add test tags as resources for selection dialogs (#1081) 2024-06-20 17:08:07 +01:00
Ramsey Smith
85faf29c7b BIT-1897-vault-appearing-when-policy-set (#1064) 2024-06-20 17:08:07 +01:00
David Perez
3febae577a Update the way we handle push notifications (#1061) 2024-06-20 17:08:07 +01:00
David Perez
0537ccde07 BIT-1939: Add collection IDs back to network response (#1059) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
206d25bb48 BIT-1571 Update custom field to follow the design. (#1055) 2024-06-20 17:08:07 +01:00
David Perez
86756a4698 BIT-1938: Display toast after updating cipher collection or moving cipher to an organization (#1058) 2024-06-20 17:08:07 +01:00
David Perez
c779482bf8 BIT-729: Update master password hint text (#1057) 2024-06-20 17:08:07 +01:00
David Perez
c0c88f5108 BIT-1898: Two-factor auth should have access to device data if available (#1054) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
8554a6653b BIT-1935 Filter out trash items for export (#1048) 2024-06-20 17:08:07 +01:00
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