Commit graph

1263 commits

Author SHA1 Message Date
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
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
f9edd70beb BIT-1955: Autofill Brings User to the Incorrect Page on Pre Android 11 (#1157) 2024-06-20 17:08:07 +01:00
David Perez
b2f8d89de4 BIT-1405: Update date-time picker labels (#1156) 2024-06-20 17:08:07 +01:00
Caleb Derosier
e220d627f1 BIT-2036: Update pre-validation endpoint URL (#1155) 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
225d16babf BIT-2084: Add test tag to organization dropdown (#1153) 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
cb4847dbcd Add optional description for the BitwardenSwitch (#1140) 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
David Perez
05079f2a32 BIT-1941: Add test tag for user and environment (#1136) 2024-06-20 17:08:07 +01:00
David Perez
92c9870048 BIT-1591: Add test tag for generator policy (#1135) 2024-06-20 17:08:07 +01:00
David Perez
e6ff8889c7 BIT-1530: Dropdowns should use testtags as resource ids (#1134) 2024-06-20 17:08:07 +01:00
David Perez
34cfdb4af2 Update strings in app (#1131) 2024-06-20 17:08:07 +01:00
David Perez
3f19401c6d BIT-1992: Add test tags to the folders UI (#1130) 2024-06-20 17:08:07 +01:00
David Perez
c9de5b919c BIT-1990: Add test tags for all rows in setting UI (#1129) 2024-06-20 17:08:07 +01:00
David Perez
2c6c5b3f6d BIT-2023 Add test tag for pending request items (#1127) 2024-06-20 17:08:07 +01:00
David Perez
4d945d20f2 BIT-1971: Add remaining appbar and fab test tags (#1128) 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
4f89c697f9 BIT-1971: Add test tags to all app bar elements (#1125) 2024-06-20 17:08:07 +01:00
David Perez
a8670965f9 BIT-1969: Add testTags for password history (#1123) 2024-06-20 17:08:07 +01:00
David Perez
b649288948 Actions block allows testTag (#1122) 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
2237d58ed5 Fix composable typo (#1120) 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
David Perez
af9e3d36a4 Clean up broken documentation links (#1116) 2024-06-20 17:08:07 +01:00
David Perez
43a7e2a5fd Update enum values() to entries (#1115) 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