-
Notifications
You must be signed in to change notification settings - Fork 1
feat: polish backup & restore #461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 17 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
4327451
fix: gate sheets and rotate address on restore
ovitrif ba1e164
fix: gate new transaction sheet on restore
ovitrif e146b1c
refactor: unify should backup check
ovitrif 9823b7f
chore: Cleanup and add todo
ovitrif bc53574
feat: dismiss keyboard on valid words paste
ovitrif 918f111
refactor: encapsulate wallet init logic
ovitrif 4aaa73b
chore: update bitkit-core to 0.1.24
ovitrif 3fb3b06
refactor: use core tag metadata model
ovitrif ab5bacf
feat: backup & restore activity tags
ovitrif 0ea7ab9
refactor: migrate RestoreWalletScreen to MVVM
ovitrif 970a6b3
feat: nav to previous input on backspace if empty
ovitrif ce10188
feat: bold text in focused input
ovitrif 7e22f02
fix: avoid validation errors on focused input
ovitrif ac21d53
feat: use bitkit-core for bip39 & checksum
ovitrif 48534ef
feat: wipe core db on wipe wallet
ovitrif 6a40ee1
feat: reset logs on wipe wallet
ovitrif 896109a
Merge branch 'fix/rotate-address' into feat/backup-polish
ovitrif 1ac1eb9
feat: reset blocktank repo data on wipe
ovitrif 4e48d95
fix: logger crash in unit tests
ovitrif bfc497c
refactor: add activity.txType extension
ovitrif ca35a69
feat: reset activity state and wipe fixes
ovitrif 4ecd67b
feat: integrate bitkit-core 0.1.27 minimally
ovitrif 3efa06f
Merge branch 'master' into feat/backup-polish
ovitrif 6effdff
chore: lint
ovitrif 42a48c7
feat: use payload models for settings and widgets
ovitrif e699c54
fix: preserve backup times & fix race condition
ovitrif df10340
chore: backup status docs & comments
ovitrif 67cfcf9
chore: fix params compiler ambiguity
ovitrif 3aa6ff8
fix: notify observers after activity restore
ovitrif b5d724c
fix: restore wallet input cursor & text style
ovitrif b634464
refactor: extract wipe wallet use case
ovitrif c359bad
test: wipe wallet use case
ovitrif d831803
refactor: split restore screen content
ovitrif 1f97313
chore: lint
ovitrif 9994130
refactor: extract bip39 service
ovitrif d1f8e8e
test: restore screen viewmodel
ovitrif 3ebd9d5
feat: backup relative dates
ovitrif 59d9b48
chore: lint
ovitrif daed5db
fix: backup relative dates
ovitrif 342e144
test: fix syncActivities success flow test
ovitrif 1a47b85
test: validate wipe order
ovitrif 907a54d
fix: support tab and newline mnemonic separators
ovitrif e173ae6
fix: dependencies repositories ordering
ovitrif f0e8371
chore: enable dynamic agent loading explicitly
ovitrif c6ed583
fix: clear widgets data on wipe
ovitrif 0573515
Merge branch 'master' into feat/backup-polish
ovitrif File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| package to.bitkit.ext | ||
|
|
||
| import com.synonym.bitkitcore.ActivityTagsMetadata | ||
| import to.bitkit.data.entities.TagMetadataEntity | ||
|
|
||
| fun TagMetadataEntity.toActivityTagsMetadata() = ActivityTagsMetadata( | ||
| id, | ||
| paymentHash, | ||
| txId, | ||
| address, | ||
| isReceive, | ||
| tags, | ||
| createdAt.toULong(), | ||
| ) | ||
|
|
||
| fun ActivityTagsMetadata.toTagMetadataEntity() = TagMetadataEntity( | ||
| id, | ||
| paymentHash, | ||
| txId, | ||
| address, | ||
| isReceive, | ||
| tags, | ||
| createdAt.toLong(), | ||
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.