Commit Graph

33 Commits

Author SHA1 Message Date
Neil Marietta ae9280d50b KeyStoreCrypto fallback if Android KeyStore is not properly working. 2021-09-21 16:25:03 +02:00
Vincent Brison eae528716f Bump all libraries version to 1.15.0 2021-09-10 17:44:59 +02:00
Neil Marietta 664bcd6dbe Updated CHANGELOG.md and Modules version. 2021-08-13 15:38:08 +02:00
Neil Marietta b6d80b22e2 Account: Fixed concurrency issue while updating account/session state. 2021-08-13 15:19:12 +02:00
Neil Marietta ff22efde46 Added Data Room module. 2021-07-21 16:24:02 +02:00
Neil Marietta 63cb162e19 Refactored Core Database. 2021-07-21 16:24:02 +02:00
Neil Marietta bc8329c10d Added Account.isStepNeeded. 2021-06-17 17:03:17 +02:00
Neil Marietta 646183da63 Refactored HumanVerification.
Never delete HumanVerification tokens except on Invalid Verification Code (error 12087).

HumanVerification Network Handlers:
- HumanVerificationNeededHandler: call onHumanVerificationNeeded on error 9001 (last of error handler list).
- HumanVerificationInvalidHandler: call onHumanVerificationInvalid (which delete token) on error 12087.
2021-06-03 17:18:11 +02:00
dkadrikj 98ca99f9a6 Various improvements for Signup and Presentation.
Various improvements for User, Human Verification and Presentation modules.
Various improvements for User, Human Verification and Presentation modules.
Remove PayloadRequest.kt.
Update tests suite.
Remove not used files NewUser.kt and NewExternalEmailUser.kt
Take out create address from UserManager.kt
User emailSplit extension instead.
Introduce CreateUserType.kt
Move HumanVerificationResult handler into the ViewModel.
Fix wait to DB write HV ViewModel.
Improve SetupPrimaryKeys.kt.
Fix HV tests.
2021-05-12 21:07:28 +02:00
dkadrikj 6876980bbc Refactor human verification module.
Remove human verification dependency in account manager and make it independent.
2021-05-12 17:57:14 +00:00
Davide Farella f6b8069eb2 Increase global minSdk [21] -> [23] 2021-05-03 07:25:42 +00:00
Neil Marietta d9aa02c87f Added Get Previous Primary UserId. 2021-04-12 13:38:29 +02:00
Damir Mihaljinec da31065676 Added room database type converters for UserId 2021-03-22 14:05:23 +00:00
Neil Marietta bfd327bf38 Fixed clear SessionDetails (keep data, but clear password). 2021-02-17 10:11:45 +01:00
Neil Marietta 41146cda0f Bump modules and dependencies version for release 1.0.0.
Updated several README.md.
2021-02-11 17:35:03 +01:00
Neil Marietta 28a996dfd4 Refactored and simplified Account states handling. 2021-02-11 17:22:43 +01:00
Neil Marietta 44d678acbb Moved Crypto/Key/User/Address classes from Auth to new modules. 2021-02-11 10:34:22 +01:00
Neil Marietta 7f881119a2 Bump/aligned modules version (0.2.2) for new Crypto module.
Affected modules: account, account-manager, data.
2021-01-20 11:39:29 +01:00
Neil Marietta c1c5e40366 Added Crypto modules.
Upgraded GOpenPGP to 2.1.3.
2021-01-19 19:15:06 +01:00
Neil Marietta f692448a22 Fixed AccountMetadata Insert Foreign Key Exception. 2021-01-13 16:12:24 +01:00
dkadrikj 856e8291bb Bump version on account manager modules. 2021-01-12 15:06:22 +01:00
dkadrikj 430bbaab0f Fix logout crash. 2021-01-11 18:28:30 +01:00
dkadrikj 5391cb0bf6 Remove completed from Human Ver DAO, not used functions.
Smaller clean up and fixes.
2021-01-04 11:34:48 +01:00
dkadrikj 5a3666a946 Clean up of HumanVerification handler, DB schema and migration. 2020-12-30 18:13:53 +01:00
Neil Marietta 5b1cbeb03f Added initialState parameter to onAccountStateChanged/onSessionStateChanged. 2020-12-30 15:24:19 +01:00
dkadrikj 5ea689020b Human verification improvements. 2020-12-30 15:24:19 +01:00
Neil Marietta c655229602 Bump modules versions. 2020-11-18 13:47:32 +01:00
Neil Marietta 2d3187d5e3 Switched AccountManager onAccountStateChanged/onSessionStateChanged to SharedFlow. 2020-11-18 13:47:32 +01:00
Neil Marietta e4e1f70cd1 Added SharedFlow for onAccountStateChanged/onSessionStateChanged. 2020-11-18 13:47:32 +01:00
Neil Marietta 3d550e34c4 Removed unneeded DataBinding from Android modules.
Bump modules versions.
2020-11-12 11:59:44 +01:00
Neil Marietta 0d6890cfa1 Bump modules versions. 2020-11-02 10:39:03 +01:00
Neil Marietta bf33818a5a Integrated AccountManager with modules. 2020-11-02 10:38:21 +01:00
Neil Marietta ad84a03a7e Added AccountManager Implementation. 2020-11-02 10:33:09 +01:00