Commit graph

903 commits

Author SHA1 Message Date
joshua-livefront
c6cf9712e1 BIT-534: Bitwarden shared composables and icons for my vault list screen (#192) 2024-06-20 17:08:07 +01:00
Andrew Haisting
efa5b13838 Remove "View" suffix from vault composables (#194) 2024-06-20 17:08:07 +01:00
David Perez
a90254baa6 Add reusable BitwardenTextRow (#185) 2024-06-20 17:08:07 +01:00
Brian Yencho
0c9bd40590 Treat transition types using separate durations (#189) 2024-06-20 17:08:07 +01:00
Andrew Haisting
1873ffe985 BIT-994 Use dialogs instead of dropdowns on generator (#188) 2024-06-20 17:08:07 +01:00
Brian Yencho
cb2c6495c8 Tweak exit "stay" transition to eliminate most of fade (#187) 2024-06-20 17:08:07 +01:00
Brian Yencho
967fdc3449 BIT-330: Implement self-hosting/custom environment UI (#184) 2024-06-20 17:08:07 +01:00
Andrew Haisting
e0f43943fa BIT-707 Update copy on password strength indicator (#186) 2024-06-20 17:08:07 +01:00
joshua-livefront
2e96b8d857 BIT-665: Create Add UI for Login-type item (#179) 2024-06-20 17:08:07 +01:00
David Perez
3c8a0893fd Add wrapper for dispatchers (#183) 2024-06-20 17:08:07 +01:00
Ramsey Smith
b31b859516 BIT-897 Decrypt sync response (#181) 2024-06-20 17:08:07 +01:00
David Perez
4a3e88f939 Add basic push transitions (#182) 2024-06-20 17:08:07 +01:00
Andrew Haisting
b1457bc499 BIT-989 Show region selector as dialog (#180) 2024-06-20 17:08:07 +01:00
David Perez
1bd09e42b3 BIT-931: Fill out about UI (#178) 2024-06-20 17:08:07 +01:00
Brian Yencho
751b7ab2a8 BIT-985: Add initial transitions to the auth flow (#174) 2024-06-20 17:08:07 +01:00
Andrew Haisting
e2e2c60759 BIT-471 Show confirm log out dialog (#173) 2024-06-20 17:08:07 +01:00
Andrew Haisting
5510ba64f0 BIT-986 Add email input types to login and create account (#177) 2024-06-20 17:08:07 +01:00
Brian Yencho
aae9adce84 Rename NetworkConfigRepository to NetworkConfigManager (#172) 2024-06-20 17:08:07 +01:00
Brian Yencho
8378f5bef6 BIT-970: Ensure Terms of Service switch reads off checked state (#171) 2024-06-20 17:08:07 +01:00
David Perez
0af6e7f826 Settings boilerplate (#170) 2024-06-20 17:08:07 +01:00
David Perez
d0e0362771 Replace Kotlin assertions with JUnit assertions. (#168) 2024-06-20 17:08:07 +01:00
David Perez
ba5eac69ac Update string resources. (#169) 2024-06-20 17:08:07 +01:00
Andrew Haisting
343e17f1f4 BIT-707 Implement password strength indicator with mock values (#161) 2024-06-20 17:08:07 +01:00
Ramsey Smith
4ce7e0842b Renamed modules to be package specific (#166) 2024-06-20 17:08:07 +01:00
Andrew Haisting
865a99fd67 Remove references to HTTP constants in favor of raw ints (#167) 2024-06-20 17:08:07 +01:00
Andrew Haisting
fd9ba2550f BIT-910 Parse server error messages on create account request (#164) 2024-06-20 17:08:07 +01:00
David Perez
249c1010f5 Simplify the BaseTheme and remove the night styles.xml. (#165) 2024-06-20 17:08:07 +01:00
David Perez
852176045b BIT-957: Add color change animation for toolbars. (#163) 2024-06-20 17:08:07 +01:00
David Perez
d81c146f33 BIT-955: Add edge-to-edge support (#162) 2024-06-20 17:08:07 +01:00
Brian Yencho
dc6d37dc32 BIT-725, BIT-328: Add base URL interceptors and dynamically change environments (#160) 2024-06-20 17:08:07 +01:00
Brian Yencho
8bdda9bffd BIT-150: Add more comprehensive list of settings rows. (#155)
Co-authored-by: David Perez <david@livefront.com>
2024-06-20 17:08:07 +01:00
Andrew Haisting
207bed42ed BIT-189 Check data breaches toggle should default to on (#159) 2024-06-20 17:08:07 +01:00
Andrew Haisting
8295a47e3d BIT-945 Continue with registration if HIBP call fails (#158) 2024-06-20 17:08:07 +01:00
joshua-livefront
bb2b0e8cd1 BIT-904: Fixing color of add an item button while in dark them (#157) 2024-06-20 17:08:07 +01:00
joshua-livefront
fe0fae4496 Refactor BitwardenOverflowTopAppBar for better re-use (#156) 2024-06-20 17:08:07 +01:00
Andrew Haisting
8864315342 BIT-189 Check for data breaches during create account (#154) 2024-06-20 17:08:07 +01:00
Brian Yencho
2472648434 BIT-725: Replace "region" concept with Environment (#152) 2024-06-20 17:08:07 +01:00
Brian Yencho
e4ab70a106 BIT-752: Add Environment/EnvironmentRepository/EnvironmentDiskSource (#151) 2024-06-20 17:08:07 +01:00
Brian Yencho
f4dbe68527 BIT-411: Add NetworkConfigRepository (#150) 2024-06-20 17:08:07 +01:00
Brian Yencho
dae7091fde Update the formatting of non-resource files (#153) 2024-06-20 17:08:07 +01:00
Brian Yencho
6476ee2927 BIT-933: Properly pass nullable captcha to login screen (#149) 2024-06-20 17:08:07 +01:00
Brian Yencho
4ebaec7970 Fix crash when parsing JWT and 'name' property is not present in the … (#146)
Co-authored-by: David Perez <david@livefront.com>
2024-06-20 17:08:07 +01:00
joshua-livefront
284cd9ab54 BIT-904: Reskin for the first time user vault screen (#144) 2024-06-20 17:08:07 +01:00
Ramsey Smith
db30504b70 BIT-636: Rectify sync api response model (#145) 2024-06-20 17:08:07 +01:00
Andrew Haisting
bd8357a0c4 Clean up CreateAccountViewModelTest (#142) 2024-06-20 17:08:07 +01:00
Brian Yencho
06384e17ab BIT-698: Add landing email validation (#143) 2024-06-20 17:08:07 +01:00
Brian Yencho
42d4a5cbe7 Clean up landing screen test (#141) 2024-06-20 17:08:07 +01:00
Brian Yencho
3f742cc6df Improve switch toggle semantics (#140) 2024-06-20 17:08:07 +01:00
Brian Yencho
f5619d1710 BIT-765: Add access token storage (#138) 2024-06-20 17:08:07 +01:00
Andrew Haisting
e9b8bd2e78 Create account validations (#137) 2024-06-20 17:08:07 +01:00
Ramsey Smith
79c953b605 BIT-102: Create account functionality (#132) 2024-06-20 17:08:07 +01:00
Andrew Haisting
6f212066e3 Rename other navigation extensions per new naming convention (#134) 2024-06-20 17:08:07 +01:00
Brian Yencho
ab2a500607 BIT-765: Add additional properties to GetTokenResponseJson.Success (#136) 2024-06-20 17:08:07 +01:00
Brian Yencho
1d2f23d426 Add newlines between annotated properties (#135) 2024-06-20 17:08:07 +01:00
Andrew Haisting
95b13882dd Use nested navigation for Account settings (#133) 2024-06-20 17:08:07 +01:00
Brian Yencho
a55d6a519a Add KdfTypeJson and associated BaseEnumeratedIntSerializer (#131) 2024-06-20 17:08:07 +01:00
Andrew Haisting
aafd32fbc3 BIT-896 Allow user to log out (#129) 2024-06-20 17:08:07 +01:00
joshua-livefront
6af438a264 BIT-900: Adding state for each of the possible username state selections (#130) 2024-06-20 17:08:07 +01:00
Andrew Haisting
77f693e159 BIT-868 Keep password fields on create account in sync (#125) 2024-06-20 17:08:07 +01:00
joshua-livefront
d6fe960bab Updating generator tests formatting (#128) 2024-06-20 17:08:07 +01:00
Brian Yencho
0c50babd23 BIT-765: Parse user information from JWT token (#127) 2024-06-20 17:08:07 +01:00
joshua-livefront
4f9f0ce8a7 BIT-634: Generator UI fixes (#126) 2024-06-20 17:08:07 +01:00
Andrew Haisting
cabde64d61 BIT-886 Update text color on environment switcher (#122) 2024-06-20 17:08:07 +01:00
Andrew Haisting
15ffef2881 BIT-885 Use correct string resource on LoginScreen (#123) 2024-06-20 17:08:07 +01:00
joshua-livefront
83c057af29 BIT-870: Updating the BitwardenWideSwitch ripple (#119) 2024-06-20 17:08:07 +01:00
Brian Yencho
3fddc3d285 Add BaseSurrogateSerializer (#120) 2024-06-20 17:08:07 +01:00
Brian Yencho
69a4eef68f Add AuthSdkSource (#118) 2024-06-20 17:08:07 +01:00
Brian Yencho
e167d7635c BIT-858: Update LandingScreen paddings to accommodate updated switch element (#116) 2024-06-20 17:08:07 +01:00
Andrew Haisting
b0b64178f7 BIT-326 Use correct value for deviceName on get token request (#114) 2024-06-20 17:08:07 +01:00
Andrew Haisting
5ecb8fbb2c BIT-329 Implement parsing and usage of kdf params (#112) 2024-06-20 17:08:07 +01:00
joshua-livefront
57561d0ccd BIT-867: Refactor generator screen lambdas (#115) 2024-06-20 17:08:07 +01:00
Andrew Haisting
e4cf512032 Remove unused constant from AuthRepositoryImpl (#113) 2024-06-20 17:08:07 +01:00
Brian Yencho
e1f817e697 BIT-866: Update dev launcher icon and add QA icon for CI usage (#111) 2024-06-20 17:08:07 +01:00
Brian Yencho
3c7a2a99e6 BIT-859: Add automated test IDs to LandingScreen (#110) 2024-06-20 17:08:07 +01:00
joshua-livefront
9879e6fd23 BIT-634: Create Password Generation UI (#109) 2024-06-20 17:08:07 +01:00
Andrew Haisting
2cda9db9a2 BIT-188 Add switches and links for check password and terms and privacy (#106) 2024-06-20 17:08:07 +01:00
Brian Yencho
c305de669e Remove extra provideOkHttpClient call (#107) 2024-06-20 17:08:07 +01:00
Ramsey Smith
635cc120c9 BIT-764: Chrome Custom Tabs for hcpatcha verification (#105) 2024-06-20 17:08:07 +01:00
Andrew Haisting
5a2a2f93f3 BIT-543: Add Remember Me functionality to Landing Screen (#104)
Co-authored-by: Brian Yencho <brian@livefront.com>
2024-06-20 17:08:07 +01:00
Ramsey Smith
c7ab805f91 BIT-320: Loading and error dialogs (#101) 2024-06-20 17:08:07 +01:00
joshua-livefront
3d925a7804 BIT-635: Adding updated UI for Passphrase Generator screen (#102) 2024-06-20 17:08:07 +01:00
Andrew Haisting
594c466467 BIT-754 Add singleLine = true to text field components (#99) 2024-06-20 17:08:07 +01:00
Andrew Haisting
31386b458d BIT-753 Remove mention of "retrofit" from service level docs (#98) 2024-06-20 17:08:07 +01:00
Andrew Haisting
623c71aa1f BIT-751 Remove submit button at bottom of create account (#97) 2024-06-20 17:08:07 +01:00
Andrew Haisting
a95a07f313 BIT-193 Implement password length validation on create account (#96) 2024-06-20 17:08:07 +01:00
joshua-livefront
e4447129c1 BIT-730: Refactor Generator Screen Navigation (#94) 2024-06-20 17:08:07 +01:00
Andrew Haisting
aafcd70531 BIT-181 Implement Text interface for passing strings and resources to UI (#95) 2024-06-20 17:08:07 +01:00
Ramsey Smith
f57780bfe0 BIT-726: Stub loading and errors for logging in (#93) 2024-06-20 17:08:07 +01:00
Andrew Haisting
38155dbefd BIT-556 BIT-190 Update current CreateAccountScreen to match designs (#92) 2024-06-20 17:08:07 +01:00
joshua-livefront
eedf0b6f91 BIT-202: Adding region selector composable to Landing Screen (#91) 2024-06-20 17:08:07 +01:00
Brian Yencho
bc319368ed BIT-553: Apply design reskin on current LoginScreen (#90) 2024-06-20 17:08:07 +01:00
Andrew Haisting
c6911be8d8 BIT-723 Use 0 for device type (#84) 2024-06-20 17:08:07 +01:00
joshua-livefront
84856a5c29 BIT-722: Adding generator navigation to the nav bar (#83) 2024-06-20 17:08:07 +01:00
Brian Yencho
4f20dc611c Explicitly navigate back from login screen when clicking Not You (#87) 2024-06-20 17:08:07 +01:00
Brian Yencho
bac5e4e030 Disable LandingScreen Continue button until data is entered (#89) 2024-06-20 17:08:07 +01:00
Ramsey Smith
c6ce992342 BIT-398: Launch ACTION_VIEW Intent with captcha URL and handle callback (#88) 2024-06-20 17:08:07 +01:00
Brian Yencho
9d9ee38070 Add BitwardenPasswordField (#82) 2024-06-20 17:08:07 +01:00
joshua-livefront
60b004eb30 BIT-40: Reskin bottom navigation bar (#81) 2024-06-20 17:08:07 +01:00
Brian Yencho
5c81560514 Update all current dependencies and include new "surface" colors (#79) 2024-06-20 17:08:07 +01:00
Andrew Haisting
11b8ab4105 BIT-587 Add ConfigService layer to wrap ConfigApi (#80) 2024-06-20 17:08:07 +01:00
joshua-livefront
ea8806d20d BIT-691: Adding typography values from design, adding Roboto fonts to res (#78) 2024-06-20 17:08:07 +01:00
Brian Yencho
1f1985c0dc BIT-544: Use "surface" as background color on Landing (#76)
Co-authored-by: joshua-livefront <139182194+joshua-livefront@users.noreply.github.com>
2024-06-20 17:08:07 +01:00
Brian Yencho
49bb602a37 BIT-147: Improve splash screen in dark mode (#75) 2024-06-20 17:08:07 +01:00
joshua-livefront
cd918f9ca5 BIT-690: Adding color palette and colors to light and dark themes (#74) 2024-06-20 17:08:07 +01:00
Ramsey Smith
02a1445f39 BIT-332: Launch web view for hcaptchca (#73) 2024-06-20 17:08:07 +01:00
Brian Yencho
5fc78afa0a BIT-147: Improve splash screen handling for all OS levels (#72) 2024-06-20 17:08:07 +01:00
Brian Yencho
a223e2fed5 BIT-544: Apply reskin to LandingScreen (#71) 2024-06-20 17:08:07 +01:00
joshua-livefront
a1096d21ec BIT-333: Adding UI tests for the Generator screen (#70) 2024-06-20 17:08:07 +01:00
Brian Yencho
1dccee6c45 Reskin BitwardenTextInput and pull out "layout parameters" (#69) 2024-06-20 17:08:07 +01:00
joshua-livefront
214df06320 Adding shadow log stream to BaseComposeTest (#68) 2024-06-20 17:08:07 +01:00
Ramsey Smith
caba671b92 BIT-651: Create sync response model (#67) 2024-06-20 17:08:07 +01:00
joshua-livefront
23a053edb8 BIT-333: Handle Passphrase state in GeneratorViewModel (#64) 2024-06-20 17:08:07 +01:00
Andrew Haisting
0e51e76391 BIT-201 Update nav library version and remove workarounds (#63) 2024-06-20 17:08:07 +01:00
Andrew Haisting
e69049d597 BIT-394 Setup service layer to accommodate get token error parsing (#61) 2024-06-20 17:08:07 +01:00
Ramsey Smith
046a94939e BIT-405: AuthTokenInterceptor (#57) 2024-06-20 17:08:07 +01:00
Andrew Haisting
016f597d8c BIT-588 Relax documentation requirements deep within the network layer (#58) 2024-06-20 17:08:07 +01:00
Andrew Haisting
35483408b2 BIT-589 Prevent crash on Landing when navigating with empty input (#59) 2024-06-20 17:08:07 +01:00
Andrew Haisting
3de916cc20 Update naming: mutableAccessTokenFlow -> mutableAuthStateFlow (#56) 2024-06-20 17:08:07 +01:00
Andrew Haisting
dd2ad70b52 BIT-289 Remove deprecated BitwardenTextField (#53) 2024-06-20 17:08:07 +01:00
Andrew Haisting
14d01877fe BIT-133 Implement happy path login (#52) 2024-06-20 17:08:07 +01:00
Andrew Haisting
36942ab296 Add flatMap for Result type (#51) 2024-06-20 17:08:07 +01:00
Brian Yencho
9e1ab9ad25 Use 100 character line limit for detekt (#50) 2024-06-20 17:08:07 +01:00
Brian Yencho
dd4b937061 BIT-282: Include Bitwarden SDK dependency (#44) 2024-06-20 17:08:07 +01:00
Ramsey Smith
8fdfcb1ea2 Fixed bottom nav bar. (#49) 2024-06-20 17:08:07 +01:00
Ramsey Smith
9d706121ed BIT-151: Added Wireframe for Vault Screen (#48) 2024-06-20 17:08:07 +01:00
Andrew Haisting
f709e55ae6 Remove accidental usages of viewModel() in favor of hiltViewModel() (#47) 2024-06-20 17:08:07 +01:00
Brian Yencho
a358408ea7 BIT-168: Add FakeNavHostController and tests for RootNavScreen (#46)
Co-authored-by: Andrew Haisting <ahaisting@livefront.com>
2024-06-20 17:08:07 +01:00
Ramsey Smith
f6c49920fa BIT-304: Add Strings.xml and translations (#43) 2024-06-20 17:08:07 +01:00
Andrew Haisting
fdd7a52c12 BIT-141 Implement basic SplashScreen composable (#39) 2024-06-20 17:08:07 +01:00
Andrew Haisting
024376b0d2 BIT-141 Setup basic Login and Landing screens (#40)
Co-authored-by: Caleb Derosier <caleb@livefront.com>
2024-06-20 17:08:07 +01:00
joshua-livefront
4c92ee0b23 [BIT-148] Adding wireframe UI for password generator screen (#37) 2024-06-20 17:08:07 +01:00
Brian Yencho
b0c794acd5 Fix unused imports in test files resulting from file structure changes (#33) 2024-06-20 17:08:07 +01:00
Andrew Haisting
9ce88e2222 BIT-267 make sure root navigation state doesn't get blown away after … (#32) 2024-06-20 17:08:07 +01:00
Brian Yencho
7ba13a771f BIT-139: Distinguish dev and release builds (#31) 2024-06-20 17:08:07 +01:00
joshua-livefront
be4c710197 feat: Updating composables to use hiltViewModel as opposed to viewModel (#29) 2024-06-20 17:08:07 +01:00
Andrew Haisting
539d40c25d Update imports (#30) 2024-06-20 17:08:07 +01:00
Ramsey Smith
69feff2dcd BIT-143: Add initial bottom navigation screen (#25)
Co-authored-by: Brian Yencho <brian@livefront.com>
2024-06-20 17:08:07 +01:00
Brian Yencho
dc48420820 BIT-200: Update CODEOWNERS file and restructure folders accordingly (#26) 2024-06-20 17:08:07 +01:00
Andrew Haisting
6f524318b7 Cosmetic test fixes (#24) 2024-06-20 17:08:07 +01:00
Caleb Derosier
915e9d5fd6 Rename Login navigation components to Auth (#23) 2024-06-20 17:08:07 +01:00
Caleb Derosier
ef43c93d85 Fix incorrect label & initial value for email input label (#21) 2024-06-20 17:08:07 +01:00
Brian Yencho
880d7ae786 Update all navigateTo helpers to pass NavOptions (#20) 2024-06-20 17:08:07 +01:00
Caleb Derosier
24c7dade1e Add initial Landing screen & Login nav graph (#19) 2024-06-20 17:08:07 +01:00
Andrew Haisting
6212ef8fa9 Downgrade navigation version due to saved state bug (#18) 2024-06-20 17:08:07 +01:00
Andrew Haisting
72a7438e3d setup EventsEffect (#17) 2024-06-20 17:08:07 +01:00
Andrew Haisting
a9aa2ea730 BIT-142: setup create account screen (#15) 2024-06-20 17:08:07 +01:00
Brian Yencho
17d5475d0f Add BaseComposeTest for facilitating compose-layer testing (#14) 2024-06-20 17:08:07 +01:00
Andrew Haisting
b337fbfd20 use Bitwarden theme in MainActivity (#13) 2024-06-20 17:08:07 +01:00
Brian Yencho
2ff4912b92 BIT-145: Add BaseViewModel and update existing ViewModels (#11) 2024-06-20 17:08:07 +01:00
Brian Yencho
ee199b9e9f Fix initial detekt issues (#10) 2024-06-20 17:08:07 +01:00
Andrew Haisting
dc2ed4403a BIT-5, BIT-101: Setup networking layer add get config call (#9)
Co-authored-by: joshua-livefront <joshua@livefront.com>
2024-06-20 17:08:07 +01:00
Andrew Haisting
116d48d8ac BIT-144: Setup root level app navigation (#8) 2024-06-20 17:08:07 +01:00
Brian Yencho
cd204b9b11 Initial project setup (BIT-61) (#7) 2024-06-20 17:08:07 +01:00