Commit graph

521 commits

Author SHA1 Message Date
Brian Yencho
1e996fcbbe BIT-1246, BIT-1250: Show correct permission-related errors when editing (#482) 2024-06-20 17:08:07 +01:00
David Perez
8476e55b5a Apply common loading and error UIs (#481) 2024-06-20 17:08:07 +01:00
Brian Yencho
d4bab9ed7f Reformat main app and test code (#480) 2024-06-20 17:08:07 +01:00
David Perez
4601f84140 Rename additem to addedit (#474) 2024-06-20 17:08:07 +01:00
Brian Yencho
a6b2357fb0 Use JUnit 5 @AfterEach instead of JUnit 4 @After (#479) 2024-06-20 17:08:07 +01:00
Brian Yencho
0d3038a717 Use bufferedMutableSharedFlow where appropriate (#476) 2024-06-20 17:08:07 +01:00
Lucas Kivi
b3bee9ae20 Move autofill classes to pre-existing packages (#475) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
e929641159 BIT-1101, BIT-1066, BIT-1071, BIT-1072 Adding QR code scanning feature (#464) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
1c8501b69b BIT-515, BIT-512 Adding the ability to view and edit secure note items. (#462) 2024-06-20 17:08:07 +01:00
Sean Weiser
fd9ca8f544 BIT-946: Add Google Services and Crashlytics to standard builds (#473) 2024-06-20 17:08:07 +01:00
David Perez
9bf07f0693 Create package for add send feature (#472) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
6e69e00d96 Making it so we can test the common data easier (#467) 2024-06-20 17:08:07 +01:00
joshua-livefront
fb891df03b BIT-1330, BIT-1331: Implementation to use sdk for forwarded service email generation (#470) 2024-06-20 17:08:07 +01:00
David Perez
da365acfee Add basic UI states to the SendScreen (#471) 2024-06-20 17:08:07 +01:00
Ramsey Smith
0c05855e6b BIT-514: View identity item UI (#461) 2024-06-20 17:08:07 +01:00
Lucas Kivi
738cd76c7d BIT-1293: add autofill service shell (#468) 2024-06-20 17:08:07 +01:00
David Perez
7a8da67944 Add the overflow menu to the send screen (#469) 2024-06-20 17:08:07 +01:00
Brian Yencho
cf2e87c9f5 Apply formatter to project (#466) 2024-06-20 17:08:07 +01:00
Brian Yencho
23479d6750 BIT-383: Finish UI for syncing the Vault with the Sync button (#463) 2024-06-20 17:08:07 +01:00
joshua-livefront
17b50d96f1 BIT-713: Adding SimpleLogin service UI (#460) 2024-06-20 17:08:07 +01:00
Brian Yencho
3142a640ce Split up VaultDataExtensions(Test) files (#458) 2024-06-20 17:08:07 +01:00
joshua-livefront
ab03c83cb3 BIT-712: Adding UI for the FastMail service (#459) 2024-06-20 17:08:07 +01:00
Caleb Derosier
c94b303abc BIT-457: Add Vault Settings and Folders screen UI (#457) 2024-06-20 17:08:07 +01:00
joshua-livefront
78461394f3 BIT-711: Adding UI for AddyIo service (#456) 2024-06-20 17:08:07 +01:00
Brian Yencho
5ec810d4d6 Make all "...Args" classes into data classes (#455) 2024-06-20 17:08:07 +01:00
Brian Yencho
8852ae9a40 Exclude more args from coverage (#454) 2024-06-20 17:08:07 +01:00
Brian Yencho
0f7a09dd96 Add wrappers for NavGraphBuilder.composable that supply transitions (#453) 2024-06-20 17:08:07 +01:00
Brian Yencho
12000b2746 BIT-1244: Implement dynamic vault filtering (#451) 2024-06-20 17:08:07 +01:00
Brian Yencho
9e7cd65fe1 Ensure SplashScreen composable has content to fix intro transition (#452) 2024-06-20 17:08:07 +01:00
Brian Yencho
6665f20af9 Ensure toScrolledContainerColor uses the correct easing function (#450) 2024-06-20 17:08:07 +01:00
Brian Yencho
3f0e44d42f BIT-842, BIT-843: Add Vault Filter and Vault Selection menu UI (#448) 2024-06-20 17:08:07 +01:00
joshua-livefront
3c29dccf62 BIT-1196: Adding ui for FirefoxRelay service (#449) 2024-06-20 17:08:07 +01:00
Caleb Derosier
5ac493fa89 BIT-74: Add Login with Device screen (#438) 2024-06-20 17:08:07 +01:00
Ramsey Smith
0dd162598f Separate common and type-specific state in VaultItemViewModel (#447) 2024-06-20 17:08:07 +01:00
joshua-livefront
f528376c66 BIT-714: Adding ui for duck duck go service type (#445) 2024-06-20 17:08:07 +01:00
joshua-livefront
de85f1c507 Update Bitwarden SDK to 0.3.1-20231221.163756-59 (#443) 2024-06-20 17:08:07 +01:00
Caleb Derosier
e92c85005b Disable login button when password is blank (#441) 2024-06-20 17:08:07 +01:00
joshua-livefront
492038f163 BIT-871: Adding UI for forwarded email alias (#440) 2024-06-20 17:08:07 +01:00
Caleb Derosier
2a9cec5f8e Replace vertical padding with Spacers on Login & Landing screens (#439) 2024-06-20 17:08:07 +01:00
Caleb Derosier
800e0e018c BIT-814, BIT-815: Add UI for Enterprise Single Sign On screen (#437) 2024-06-20 17:08:07 +01:00
Ramsey Smith
a2e3984a5e BIT-511: Save identity items (#436) 2024-06-20 17:08:07 +01:00
Ramsey Smith
f953066f22 BIT-667: UI for identity creation (Unit Tests) (#435) 2024-06-20 17:08:07 +01:00
Brian Yencho
8933771a99 Add Organizations to UserState.Account (#432) 2024-06-20 17:08:07 +01:00
Brian Yencho
72446513b5 Omit current navigation argument classes from code coverage (#434) 2024-06-20 17:08:07 +01:00
Brian Yencho
48169bafb9 Use consistent naming when adding a single screen to a graph (#433) 2024-06-20 17:08:07 +01:00
Ramsey Smith
c440c28a02 BIT-667: UI for identity creation (#431) 2024-06-20 17:08:07 +01:00
Brian Yencho
d6909d5a53 Add clarifying documentation to various StateFlows (#430) 2024-06-20 17:08:07 +01:00
Brian Yencho
fe20e2703c Save Organizations data to disk when syncing (#429) 2024-06-20 17:08:07 +01:00
David Perez
f2842446c9 VaultData should come directly from the database (#425) 2024-06-20 17:08:07 +01:00
Brian Yencho
b2692a5637 Ensure BaseEnumeratedIntSerializer subclasses are not obfuscated (#428) 2024-06-20 17:08:07 +01:00
joshua-livefront
f9667d0390 BIT-1259: Fix for Increasing Length Creates a Password in History for Each Adjustment (#427) 2024-06-20 17:08:07 +01:00
Brian Yencho
3fd93b2589 Update various dependencies to latest versions (#426) 2024-06-20 17:08:07 +01:00
Brian Yencho
44afc44829 BIT-1260: Fix line breaks for generated passwords (#424) 2024-06-20 17:08:07 +01:00
Brian Yencho
719bf52420 Use monospace font for generated value on Generator Screen (#422) 2024-06-20 17:08:07 +01:00
Brian Yencho
c4d4c1d76b Add sensitiveInfoSmall/sensitiveInfoMedium fonts (#423) 2024-06-20 17:08:07 +01:00
Brian Yencho
21f51c90ad Update scope to use Unconfined (#421) 2024-06-20 17:08:07 +01:00
David Perez
6f85a6eb75 Rename all MutableStateFlows in Vault repo for consistency (#419) 2024-06-20 17:08:07 +01:00
David Perez
813b1a7a98 Fix broken dao fake implementations (#420) 2024-06-20 17:08:07 +01:00
David Perez
bf9845d7a0 Ensure VaultDiskSource emits when replace operation does not actually change any data (#412) 2024-06-20 17:08:07 +01:00
joshua-livefront
27140bf02c BIT-279, BIT-1201: Storage, retrieval, and clearing implementation for password history (#416) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
39e285fff8 BIT-1076 Requesting Camera Permission (#415) 2024-06-20 17:08:07 +01:00
David Perez
f2f3a6a386 Delete the users vault data on logout (#418) 2024-06-20 17:08:07 +01:00
Ramsey Smith
772d6693a6 Refactored VaultAddItem UI State (#417) 2024-06-20 17:08:07 +01:00
Brian Yencho
acdce7a07b Update Bitwarden SDK to 0.3.1-20231219.150921-55 (#409) 2024-06-20 17:08:07 +01:00
David Perez
abe2354c15 BIT-474, BIT-518, BIT-519, BIT-521: Expose flows from the vault database tables (#414) 2024-06-20 17:08:07 +01:00
David Perez
8a2a205247 Update getAllCiphers query to be consistent with other queries (#413) 2024-06-20 17:08:07 +01:00
Brian Yencho
fb8eab13d0 BIT-1229: Use Unconfined dispatcher when collecting flows in AuthRepository (#410) 2024-06-20 17:08:07 +01:00
David Perez
6fc4eb8b90 Change ZonedDateTimeTypeConverter to class from object (#411) 2024-06-20 17:08:07 +01:00
David Perez
224371adc2 BIT-448: Create collections database table (#408) 2024-06-20 17:08:07 +01:00
Brian Yencho
ff4eeced33 Add Modifier.scrolledContainerBackground (#407) 2024-06-20 17:08:07 +01:00
Brian Yencho
8015fc7b5f Remove unused VaultTopBar (#406) 2024-06-20 17:08:07 +01:00
David Perez
34e3fbcc04 BIT-431: Add a table to the vault database for folders (#403) 2024-06-20 17:08:07 +01:00
David Perez
34101245dd Update all LocalDateTimes in the app to use ZonedDateTimes (#404) 2024-06-20 17:08:07 +01:00
Brian Yencho
fb7bc78d95 BIT-1234: Add Account button should appear in switcher on Login (#402) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
6f85d80f9f Adding in tests for the custom type fields (#398) 2024-06-20 17:08:07 +01:00
Brian Yencho
5235310de5 Ensure FAB is hidden for some Vault Screen states (#401) 2024-06-20 17:08:07 +01:00
David Perez
1b7e01ea89 Make the sync response profile nonnull (#400) 2024-06-20 17:08:07 +01:00
David Perez
191602a867 BIT-598: Create initial vault database (#399) 2024-06-20 17:08:07 +01:00
Brian Yencho
7fa42e5fb8 BIT-379, BIT-381, BIT-384: Add overflow menu to Vault Screen (#397) 2024-06-20 17:08:07 +01:00
Brian Yencho
9a05b7168e BIT-406: Allow item listing screen to display Collections data (#394) 2024-06-20 17:08:07 +01:00
David Perez
41a0817c5a Add exclusion to LongParameterList lint check for provides methods (#395) 2024-06-20 17:08:07 +01:00
Ramsey Smith
1400da08f4 Fixed incorrect filtering for folders in VaultItemListingDataExtensions (#396) 2024-06-20 17:08:07 +01:00
David Perez
a8005c15f1 Add helper method for observing a data flow when logged in and someone is subscribed (#392) 2024-06-20 17:08:07 +01:00
Brian Yencho
65eb6ab5f8 BIT-1157: Add error state for Vault Screen (#393) 2024-06-20 17:08:07 +01:00
joshua-livefront
09fbd5d4e9 BIT-279: Adding password history data layer (#387) 2024-06-20 17:08:07 +01:00
Brian Yencho
0655f74479 BIT-1158: Add No Network states to Vault Screen (#391) 2024-06-20 17:08:07 +01:00
David Perez
36e913b680 Add updateToPendingOrLoading helper method (#390) 2024-06-20 17:08:07 +01:00
Ramsey Smith
5932ebb5c6 Fix failing unit tests (#389) 2024-06-20 17:08:07 +01:00
Ramsey Smith
5c7d0081a3 BIT-1057: Vault item listing functionality (#379) 2024-06-20 17:08:07 +01:00
Ramsey Smith
65a9f209c2 Fix incorrect mapping for VaultItemListingType (#388) 2024-06-20 17:08:07 +01:00
Brian Yencho
f18c43dd16 BIT-603: Display Collections on Vault screen (#386) 2024-06-20 17:08:07 +01:00
Ramsey Smith
727b0c0efc Rename unit tests for VaultScreenTest and VaultViewModelTest (#385) 2024-06-20 17:08:07 +01:00
David Perez
dede9232ec Simplify add-edit item conversion to CipherView (#384) 2024-06-20 17:08:07 +01:00
Brian Yencho
3d6111cd8b BIT-874: Expose Collections data from VaultRepository (#382) 2024-06-20 17:08:07 +01:00
Brian Yencho
12a816e678 Update Compose Material3 and Hilt Navigation versions (#381) 2024-06-20 17:08:07 +01:00
Brian Yencho
4d3899e6f9 Add zip helpers for Result and use in VaultRepository (#383) 2024-06-20 17:08:07 +01:00
Brian Yencho
f0bd9f54d6 Filter out Card / Identity types from Add Item type list (#380) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
0148512bf8 BIT-529 Added the ability to create custom type fields (#374) 2024-06-20 17:08:07 +01:00
David Perez
4e686fcc2e Stop persisting view-item state to SavedStateHandle (#377) 2024-06-20 17:08:07 +01:00
David Perez
cc48e63e89 Add getter for Timezone to avoid race condition in tests (#376) 2024-06-20 17:08:07 +01:00
David Perez
df71aa573a Stop persisting add-edit state to SavedStateHandle (#375) 2024-06-20 17:08:07 +01:00
David Perez
f4db50b700 BIT-502: Save the updated ciphers from the edit screen (#371) 2024-06-20 17:08:07 +01:00
Brian Yencho
65b9005cbe BIT-1091: Initialize crypto for organizations (#370) 2024-06-20 17:08:07 +01:00
Brian Yencho
970e913373 Add ability to decrypt Collections (#373) 2024-06-20 17:08:07 +01:00
David Perez
79f1c2cd4c Remove edit package (#372) 2024-06-20 17:08:07 +01:00
David Perez
c28729b802 BIT-1232: Update password strength colors (#369) 2024-06-20 17:08:07 +01:00
Brian Yencho
03c0da4917 Store organization keys during sync request (#367) 2024-06-20 17:08:07 +01:00
Brian Yencho
436c567b3f Ensure user/private key storage is backwards compatible (#368) 2024-06-20 17:08:07 +01:00
Brian Yencho
e3a0832777 BIT-1135: Add confirmation dialog to lock-or-logout dialog (#364) 2024-06-20 17:08:07 +01:00
Ramsey Smith
62ab43dfd5 Removed padding values from constructors of composable functions (#366) 2024-06-20 17:08:07 +01:00
Brian Yencho
1adf58aca8 BIT-1207: Fully implement account switcher lock and logout (#362) 2024-06-20 17:08:07 +01:00
Ramsey Smith
b7578b8f96 BIT-956: UI for item listing screen (#356) 2024-06-20 17:08:07 +01:00
David Perez
dd37721e51 Ownership should be common values only displayed when creating a cipher (#365) 2024-06-20 17:08:07 +01:00
Brian Yencho
82d7c307ff Standardize naming of actions related to account switcher (#363) 2024-06-20 17:08:07 +01:00
Brian Yencho
8855fda026 Add isActive and isVaultUnlocked to AccountSummary (#361) 2024-06-20 17:08:07 +01:00
Brian Yencho
5de9931d05 Add account switcher test helpers (#360) 2024-06-20 17:08:07 +01:00
David Perez
1219aa20fd Add ViewState VaultAddItemViewModel (#359) 2024-06-20 17:08:07 +01:00
David Perez
d5a1592ef0 Create common setup method for all VaultAddItemScreen tests (#358) 2024-06-20 17:08:07 +01:00
joshua-livefront
9cbc73337e BIT-618: Auto-enable At Least One Toggle in Password Generation to Prevent Errors (#357) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
33a99ce68d BIT-890 Adding a check for name when we save an item (#355) 2024-06-20 17:08:07 +01:00
David Perez
bfc0e9831c Add API for updating a cipher (#354) 2024-06-20 17:08:07 +01:00
Brian Yencho
266db5cc04 Bit 1207 add lock and logout to switcher (#353) 2024-06-20 17:08:07 +01:00
joshua-livefront
d0205b4b59 BIT-710: Implement Password History UI (#352) 2024-06-20 17:08:07 +01:00
David Perez
40fa3071ae Add new navigation for the edit item screen (#350) 2024-06-20 17:08:07 +01:00
Brian Yencho
146f770b8c Add environment data to UserState.Account and AccountSummary (#351) 2024-06-20 17:08:07 +01:00
Brian Yencho
b2c2c9e563 Update definition of Environment.label (#349) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
2898613876 BIT-509: Adding the Ability to Save a SecureNote Item (#347) 2024-06-20 17:08:07 +01:00
Ramsey Smith
3bbcc41ae5 Corrected size of ic_settings.xml (#348) 2024-06-20 17:08:07 +01:00
Ramsey Smith
b4df58d630 BIT-965: Navigation for vault item listing screen (#336) 2024-06-20 17:08:07 +01:00
Oleg Semenenko
1560241a13 Changing Add Login Type methods to be more specific, and changing some values to be Text instead of Strings. (#346) 2024-06-20 17:08:07 +01:00
David Perez
446b0f9da4 Migrate VaultAddItemScreen to use a LazyColumn (#345) 2024-06-20 17:08:07 +01:00
Brian Yencho
a91de90fcd BIT-1017: Add "Account already added" dialog to Landing Screen (#344) 2024-06-20 17:08:07 +01:00
Brian Yencho
5ffe9c914d Use a DialogState in LandingState (#341) 2024-06-20 17:08:07 +01:00
Ramsey Smith
ed970f1956 Update SyncResponseJson.kt (providerType) (#343) 2024-06-20 17:08:07 +01:00
David Perez
ba62eaf6d0 Add helper method for applying visual transformations to any string (#342) 2024-06-20 17:08:07 +01:00
David Perez
3a42d3e58a BIT-1018: Add visual transformation to generated string field (#340) 2024-06-20 17:08:07 +01:00
David Perez
30a9d76d70 Add visual transformation for password character colors (#337) 2024-06-20 17:08:07 +01:00
Brian Yencho
b6c9964b6c Add divider between all account switcher items (#339) 2024-06-20 17:08:07 +01:00
David Perez
404ba6e2f0 Allow BitwardenTwoButtonDialog to have no title (#338) 2024-06-20 17:08:07 +01:00
Ramsey Smith
6844c57248 Fix sync response for send object (#335) 2024-06-20 17:08:07 +01:00
Brian Yencho
b0e3aca323 BIT-732: Add account swither to login screen (#333) 2024-06-20 17:08:07 +01:00
David Perez
2e2fede945 Add VaultItemView tests (#315) 2024-06-20 17:08:07 +01:00
Brian Yencho
ca582ce271 Reorganize LoginScreen (#331) 2024-06-20 17:08:07 +01:00
Brian Yencho
053c345f95 BIT-853: Updated email when switching account on Vault Unlock screen (#332) 2024-06-20 17:08:07 +01:00
David Perez
96866ee540 Add navigation routing for the VaultEditItemScreen (#328) 2024-06-20 17:08:07 +01:00
Brian Yencho
b61c796f7b Simplify LoginScreen / LoginViewModel tests (#330) 2024-06-20 17:08:07 +01:00
David Perez
43793d6d41 Apply formatter to entire repo (#329) 2024-06-20 17:08:07 +01:00
Brian Yencho
c72053f935 BIT-467: Implement Lock Now functionality (#327) 2024-06-20 17:08:07 +01:00
David Perez
a7dc5fe08f Adds the initial boilerplate for VaultEditItemScreen (#326) 2024-06-20 17:08:07 +01:00
Brian Yencho
a106f0852a BIT-1133: Add account switcher to Landing Screen (#323) 2024-06-20 17:08:07 +01:00