Commit graph

1312 commits

Author SHA1 Message Date
David Perez
21fed995c0 Clear vault data in memory when the vault is locked (#1339) 2024-06-20 17:08:07 +01:00
David Perez
c9b92de420 Ensure BitwardenAppComponentFactory is call correct super methods (#1338) 2024-06-20 17:08:07 +01:00
David Perez
652593ffb5 BIT-2307: Add logic to migrate crash logging behavior (#1335) 2024-06-20 17:08:07 +01:00
David Perez
7920d2104f Update AppComponentFactory (#1336) 2024-06-20 17:08:07 +01:00
Caleb Derosier
3fb66fdb7e BIT-2267: Fix incorrect element IDs on add / edit page (#1332) 2024-06-20 17:08:07 +01:00
David Perez
ca63dae948 Update to latest strings (#1330) 2024-06-20 17:08:07 +01:00
David Perez
69bc72552d Optimize when statement in EnvironmentUrlDataJsonExtensions (#1331) 2024-06-20 17:08:07 +01:00
David Perez
fd08f39fd9 BIT-2306: Use legacy autofill service name to enforce compatibility after migration (#1328) 2024-06-20 17:08:07 +01:00
David Perez
859b4c247d BIT-2305: Update default environment URLs to match legacy data (#1329) 2024-06-20 17:08:07 +01:00
David Perez
862c7f110c Clean up QrCodeScanScreen to avoid test error action (#1327) 2024-06-20 17:08:07 +01:00
David Perez
880d26e259 BIT-2283: Add the unassigned ciphers API (#1326) 2024-06-20 17:08:07 +01:00
David Perez
25c7ed0835 BIT-2295: Simplify the pending requests UI (#1325) 2024-06-20 17:08:07 +01:00
David Perez
b739be712a Simplify and rename the hasManualUnlockMechanism helper (#1322) 2024-06-20 17:08:07 +01:00
David Perez
5a9e9e4af0 BIT-2251: Fix pending login request UI scrolling (#1323) 2024-06-20 17:08:07 +01:00
Caleb Derosier
b0cae8e553 BIT-2269: Make all lists in Composables immutable (#1319) 2024-06-20 17:08:07 +01:00
David Perez
13d31c6ce8 Allow user with untrusted device to unlock vault if they have a means to do so (#1321) 2024-06-20 17:08:07 +01:00
David Perez
3a25747518 BIT-2291: use org IDs when unlocking vault for new TDE user (#1320) 2024-06-20 17:08:07 +01:00
David Perez
b8fdadcedb BIT-2180: Check htmlInfo for username field (#1318) 2024-06-20 17:08:07 +01:00
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
986d454f16 Update shortcut icons to be adaptive (#1312) 2024-06-20 17:08:07 +01:00
David Perez
70558499b4 Add helper methods to disk source (#1311) 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
86bf2d0877 Update the strings to the latest translations (#1302) 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
David Perez
7127347028 Update the BitwardenLogoutConfirmationDialog file to match the function name (#1299) 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
Ramsey Smith
d64457aa0f BIT-2217: Long email addresses account switcher ellipses (#1297) 2024-06-20 17:08:07 +01:00
David Perez
9b8ff99f75 Apply an immutable list to the Bitwarden segmented button (#1296) 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
Caleb Derosier
0f1a8678ea BIT-2270: Use rememberVectorPainter method to fix icon recomposition (#1295) 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
Caleb Derosier
15cb60e3d2 Replace all usage of semantics { testTag = '' } with extension (#1288) 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
David Perez
cb4d3c80d2 Add helper class for providing manager classes via CompositionLocalProvider (#1279) 2024-06-20 17:08:07 +01:00
David Perez
6c85a908b3 BIT-2208: Add test tags for dialogs (#1277) 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
dad57de5c3 BIT-2240: Lock UserState while handling a successful login (#1264) 2024-06-20 17:08:07 +01:00
Ramsey Smith
4940985509 BIT-2221: Error message upon login (#1262) 2024-06-20 17:08:07 +01:00
David Perez
d0bda2fe97 Apply some minor clean up to the AuthRepo (#1263) 2024-06-20 17:08:07 +01:00
David Perez
5f1cfcbbc5 Remove an unused UI variable (#1261) 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
David Perez
bc350773be Remove needsPasswordReset from isVaultUnlocked logic (#1256) 2024-06-20 17:08:07 +01:00
David Perez
e0b8405562 Update the version name to 2024.4.0 (#1257) 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
05d1607024 Make the passwordHash nullable on the organizationResetPasswordEnroll API (#1247) 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
Ramsey Smith
72d3758a12 BIT-2119: View item screen element ids (#1237) 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
David Perez
3d8bf0da31 Organize LoginCommon and helper methods (#1229) 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
David Perez
7f331a5ff2 Fix minor dialog bug where top is not padded if title is missing (#1221) 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
37fb1fadb8 Remove redundant call to set vault to unlocked (#1217) 2024-06-20 17:08:07 +01:00
Caleb Derosier
af266723e9 Remove inline keyword from updatePasswordLength() (#1213) 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
039253ac96 Minor formatting and cleanup (#1208) 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
8960210bb0 BIT-2103: Sync show/hide file password fields on Vault Export screen (#1205) 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
Ramsey Smith
de1c76d772 BIT-2120: Add ElementID's to Add/Edit views (Login) (#1202) 2024-06-20 17:08:07 +01:00
Ramsey Smith
11d862664d BIT-2122: Add ElementID's to Add/Edit views (Card) (#1203) 2024-06-20 17:08:07 +01:00
Ramsey Smith
367367bd33 BIT-2124: Add ElementID's to Add/Edit views (Identity) (#1201) 2024-06-20 17:08:07 +01:00
Ramsey Smith
d9d9d6f540 BIT-2126: Add ElementID's to Add/Edit views (Secure Note) (#1200) 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
Caleb Derosier
c339895665 BIT-2175: Update copy on give feedback modal (#1199) 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
David Perez
bb949a6602 BIT-2169: Add @Keep to retrofit interface to avoid proguard crash in release (#1187) 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
Ramsey Smith
323f79d984 BIT-1989-settings-about-dialog-landscape-error (#1180) 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
David Perez
8ef75bead9 Add new AuthRequestTypeJson types (#1173) 2024-06-20 17:08:07 +01:00
David Perez
aa2f7daae5 Simplify private method by returning Result (#1171) 2024-06-20 17:08:07 +01:00
David Perez
6d82b37319 Update to the most recent string translations (#1168) 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
3394ff4648 BIT-2117: Add activate-autofill policy type (#1164) 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
Ramsey Smith
d7b553e4ef BIT-1954: Autofill Items with TOTP Codes Do Not Autofill on Pre Android 11 (#1158) 2024-06-20 17:08:07 +01:00