Commit graph

1327 commits

Author SHA1 Message Date
David Perez
5a908c1d01 Add manager that hints to the garbage collector to collect the garbage (#1387) 2024-06-20 17:08:07 +01:00
David Perez
03a97258e5 Clear passwordToCheck at appropriate times (#1385) 2024-06-20 17:08:07 +01:00
Brian Yencho
0149da361c Use isolated per-item scopes for TOTP flows (#1384) 2024-06-20 17:08:07 +01:00
David Perez
1061e27f50 Remove LoginState from savedStateHandle (#1382) 2024-06-20 17:08:07 +01:00
David Perez
10dbf03959 Pass in minimal data to avoid extra recompositions (#1381) 2024-06-20 17:08:07 +01:00
Patrick Honkonen
bd8124ec9e PM-5153: Implement FIDO2 credential provider service (passkey creation entries) (#1370) 2024-06-20 17:08:07 +01:00
David Perez
ae59d32f3b Fix memory leak by using activity lifecycle scope (#1378) 2024-06-20 17:08:07 +01:00
David Perez
c182c7f828 Add remember to viewmodel events to ensure optimal recompositions (#1379) 2024-06-20 17:08:07 +01:00
David Perez
3fe746f7ef Add suppression for maxLineLength (#1376) 2024-06-20 17:08:07 +01:00
David Perez
01bc587e6f Replace last usage of ClickableText with BitwardenClickableText (#1374) 2024-06-20 17:08:07 +01:00
David Perez
cbb2050f10 BIT-2318: Master password leak (#1372) 2024-06-20 17:08:07 +01:00
David Perez
ccf094ee9f BIT-2258: Update slider navigation to work with emulator (#1371) 2024-06-20 17:08:07 +01:00
David Perez
edce8869ba BIT-1843: Redact access token in request header logs (#1367) 2024-06-20 17:08:07 +01:00
David Perez
23219ce746 BIT-2258: Update 'Enter key manually' button for keyboard navigation (#1366) 2024-06-20 17:08:07 +01:00
David Perez
829a05a598 Add keyboard navigation logic for password fields to handle the tab button (#1365) 2024-06-20 17:08:07 +01:00
David Perez
1ede84d22c Add explicit title to reset password screen dialogs (#1364) 2024-06-20 17:08:07 +01:00
David Perez
a47bc63c38 Add support for keyboard navigation with the slider (#1363) 2024-06-20 17:08:07 +01:00
Caleb Derosier
decd6a24eb Change Create Account span texts to buttons for keyboard nav (#1357) 2024-06-20 17:08:07 +01:00
David Perez
04ac479e7d BIT-2287: Display a dialog for unassigned items (#1358) 2024-06-20 17:08:07 +01:00
David Perez
8e1ecd1e6c Clean up VaultScreen Dialogs (#1356) 2024-06-20 17:08:07 +01:00
David Perez
2d80a215c5 BIT-2318: Clear input when VaultUnlockViewModel is cleared (#1355) 2024-06-20 17:08:07 +01:00
Caleb Derosier
903aa26876 BIT-2342: Hide verification codes for items with password reprompt (#1353) 2024-06-20 17:08:07 +01:00
David Perez
179c5199e7 Update the app with the latest strings (#1354) 2024-06-20 17:08:07 +01:00
David Perez
dd97235c26 Standardize the way we collect ViewModel state with collectAsStateWithLifecycle() (#1352) 2024-06-20 17:08:07 +01:00
Patrick Honkonen
161d290e31 Suppress the unresolved Autofill service name warning (#1351) 2024-06-20 17:08:07 +01:00
Ramsey Smith
1e4e92a43b BIT-2335: Onboarding flow (data) (#1346) 2024-06-20 17:08:07 +01:00
Caleb Derosier
74648c17bc BIT-2345: Add error message when user needs to reenable biometrics (#1347) 2024-06-20 17:08:07 +01:00
Patrick Honkonen
8b3f67680a PM-7156: Publish Play Store and F-Droid artifacts (#1273) 2024-06-20 17:08:07 +01:00
Caleb Derosier
f3f35511a4 BIT-2170: Fix biometric bypass (#1324) 2024-06-20 17:08:07 +01:00
Patrick Honkonen
4880d0b89d Add missing param to F-Droid implementation of CrashLogsManager (#1345) 2024-06-20 17:08:07 +01:00
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
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