Commit graph

976 commits

Author SHA1 Message Date
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
Caleb Derosier
6ac7e0430f Remove unnecessary constructor keyword from Impl classes (#1019) 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
David Perez
d6513a1ef7 Add support for listening to NFC broadcasts (#1017) 2024-06-20 17:08:07 +01:00
David Perez
79ed894d70 BIT-1662: Fix pull to refresh on content that did not scroll (#1012) 2024-06-20 17:08:07 +01:00
David Perez
cc0f6f54a5 BIT-1558: Search toolbar IME action should close the keyboard (#1011) 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
Brian Yencho
5bfa059cdb BIT-1899: Post root navigation calls to avoid visual defects on startup (#1009) 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
Oleg Semenenko
5ca514b1e2 BIT-1583 Save the items as null if they are blank (#1006) 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
1bb489a206 Add rtl mirroring for more images (#1005) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
b0af9a625c BIT-1171 Update the login with device IDs (#1003) 2024-06-20 17:08:07 +01:00
Brian Yencho
7432068565 Replace one-off exclusion rules with @OmitFromCoverage (#1001) 2024-06-20 17:08:07 +01:00
David Perez
ad31994ab7 Directional icons should be mirrored in right to left languages (#999) 2024-06-20 17:08:07 +01:00
David Perez
042b055ecd Add missing enum valur to ForcePasswordResetReason (#996) 2024-06-20 17:08:07 +01:00
David Perez
21dabe88e0 Fix resend button moving around (#991) 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
5a6be93644 Add helper handle methods for MainType and Internal actions (#989) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
c3724605b8 BIT-1658 Change the Linked custom field to display the name (#988) 2024-06-20 17:08:07 +01:00
David Perez
03c21a953d BIT-724: Update touch targets (#986) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
e04b2a95e4 BIT-1679 Add the CipherAttachment test tag (#987) 2024-06-20 17:08:07 +01:00
David Perez
ec0df1d2a1 BIT-1671: Fix transition jank (#984) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
673972c0be BIT-1714 Add the ID to the decline all requests button (#983) 2024-06-20 17:08:07 +01:00
David Perez
200ecf73e4 Remove wrapper column on LoginScreen (#985) 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
Oleg Semenenko
7326063f68 BIT-1577 Add the options element ID (#980) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
d58e06e00f BIT-1709 Add the button element Ids on the AddSend screen (#975) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
1a9ed4d288 BIT-1679 Update test tags for VaultItemScreen (#973) 2024-06-20 17:08:07 +01:00
David Perez
0ebddadcae Fix minor optimization issues (#979) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
80a024f9dd BIT-1592 Update element ID location for search items (#970) 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
Oleg Semenenko
6294e656ce Move the testTagAsResourceId modifier (#978) 2024-06-20 17:08:07 +01:00
David Perez
178d7f898b Check database schemas to source control (#976) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
be54a1bfbb BIT-1708 Add the test tag for the policy notice. (#974) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
e2e52d84b1 BIT-1677 Update the tags on the AddEdit Item screen. (#972) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
899355551f BIT-1676 Update the attachment screen test ID. (#971) 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
ce9dff7ab2 Apply minor compose optimizations (#967) 2024-06-20 17:08:07 +01:00
David Perez
6e679d650f Remove deprecations (#961) 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
9d7e762c5d Remove the usage of the deprecated AlertDialog (#959) 2024-06-20 17:08:07 +01:00
David Perez
f823e07f5d Update compose BOM and material 3 library (#957) 2024-06-20 17:08:07 +01:00
Brian Yencho
300190a520 Remove various unnecessary TODOs (#956) 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
Lucas Kivi
da47e3fbbb Support other autofill types (#948) 2024-06-20 17:08:07 +01:00
Lucas Kivi
3e1674b9e3 Fix spelling error in file name (#949) 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
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
Joshua Queen
f57eec5aa5 BIT-1594: Send form element IDs (#929) 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
Joshua Queen
c9eca38e08 BIT-1679: Adding element IDs for view item screen (#932) 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
Joshua Queen
c7f063a306 BIT-1676: Attachment view element IDs (#931) 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
Joshua Queen
77ac4b1956 BIT-1677: Add element IDs for edit item (#923)
Co-authored-by: Lucas Kivi <125697099+lucas-livefront@users.noreply.github.com>
2024-06-20 17:08:07 +01:00
David Perez
ce3066dd54 Process push notification to display auth request notification (#919) 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
Sean Weiser
7b32e46d37 BIT-779: Adding UI logic to disable and limit controls under policy enforcement (#921)
Co-authored-by: Joshua Queen <joshua@livefront.com>
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
Joshua Queen
88a74d75ef BIT-1645: Adding element IDs to the vault unlock screen (#917) 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
0f72413379 Add a compose element for the policy warnings (#908) 2024-06-20 17:08:07 +01:00
Joshua Queen
9adbc181fd BIT-1592: Adding element IDs for search and search sends (#906) 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
Joshua Queen
d711360bad BIT-1180: Adding element IDs for passphrases (#902) 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
Joshua Queen
bb0c91ee5a BIT-1171: Element IDs for LoginApporvalScreen and Reset Password Screen (#901) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
24806c4920 BIT-1283 Clear the clipboard after the settings interval (#891) 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
27c93d26e5 Add AutofillSaveItem and related Intent helpers (#895) 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
Shannon Draeker
1794223d02 Fix API key name (#885) 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
2be47c5b0f Minor cleanup of LoginWithDeviceViewModel (#881) 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
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
Joshua Queen
f1a799955c BIT-756: Wrap startActivity in IntentManager with try catch (#865) 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
c7580c87bd Fix accidental hardcoded Intent key (#858) 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