Skip to content
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

feat(dashpay): merge dashpay #1308

Merged
merged 509 commits into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
509 commits
Select commit Hold shift + click to select a range
b50cec2
Merge tag 'v7.2.7' into master-v7.2.6-into-dashpay-merge
tomasz-ludek Aug 24, 2021
e5c26e7
Merge tag 'v7.3.1' into master-v7.3.1-into-dashpay-merge
tomasz-ludek Aug 24, 2021
5de98f2
Merge branch 'v7.3.2_a' into master-v7.3.2-into-dashpay-merge
tomasz-ludek Aug 25, 2021
9329d72
Merge tag 'v7.3.2' into master-v7.3.2-into-dashpay-merge
tomasz-ludek Aug 25, 2021
bb85464
Merge tag 'v7.3.2' into master-v7.3.2-into-dashpay-merge
tomasz-ludek Aug 25, 2021
99b0bd0
Merge remote-tracking branch 'origin/master-v7.3.2-into-dashpay-merge…
tomasz-ludek Aug 25, 2021
c3ee5bb
Fixed the issue with transparent background of LiquidCard
tomasz-ludek Aug 25, 2021
f21dd90
Fixed the issue with LockScreen in Liquid related screens
tomasz-ludek Aug 25, 2021
8b691c1
Fixed incorrectly merged changed from v7.3.2 in MoreFragment
tomasz-ludek Aug 25, 2021
954dcc8
Fixed some UI regressions reported by QA when testing merge of v7.3.2
tomasz-ludek Aug 25, 2021
969073a
Merge remote-tracking branch 'origin/master-v7.3.2-into-dashpay-merge…
tomasz-ludek Aug 26, 2021
a55b6a1
Fixed some UI regressions reported by QA when testing merge of v7.3.2
tomasz-ludek Aug 26, 2021
229a451
Merge pull request #729 from dashevo/master-v7.3.2-into-dashpay-merge
HashEngineering Aug 29, 2021
3608376
feat (dashpay): add Firebase events for invitations (#724)
Syn-McJ Aug 30, 2021
10dbf6f
fix (dashpay): improve restoring existing wallet from passphrase with…
Syn-McJ Aug 30, 2021
ccfa9a7
v5.0-dashpay (80108)
HashEngineering Aug 31, 2021
7919484
feat: add dashpay and manual GitHub workflows (#736)
Syn-McJ Sep 7, 2021
fa9a825
feat: add Explore Dash screen (#747)
Syn-McJ Sep 9, 2021
f627b63
fix(dashpay): improve onboarding back button and require authenticati…
HashEngineering Sep 10, 2021
58d2bf0
refactor(dashpay): remove obsolete flavors/networks (#746)
HashEngineering Sep 10, 2021
2995a23
fix: update google-services.json (#748)
Syn-McJ Sep 10, 2021
87a296a
fix: build number for branches other than dashpay (#752)
Syn-McJ Sep 14, 2021
75efcba
feat (dashpay): enable invites for all builds (#760)
HashEngineering Sep 20, 2021
a2456cc
feat: add user/contact firebase events and fix edit profile gallery b…
Syn-McJ Sep 23, 2021
b5c5d38
fix: prevent crash on blockchain rescan with Hilt and retained fragme…
Syn-McJ Oct 5, 2021
1abfbad
feat(dashpay): Update to DPP 0.21 (#767)
HashEngineering Oct 12, 2021
ed65eda
feat(dashpay): hide hello card when entering Contacts Screen (#780)
HashEngineering Oct 16, 2021
106f654
fix: improve error handling during username creation (#791)
HashEngineering Oct 27, 2021
6d6d81c
fix(dashpay): update firebase and eliminate duplicate instance (#801)
HashEngineering Nov 2, 2021
6871814
chore(dashpay): remove jcenter dependencies (#799)
HashEngineering Nov 4, 2021
2d56a9e
fix: update locked state when activity is created and app is locked (…
HashEngineering Nov 9, 2021
79cc964
Merge branch 'v7.3.5/master' of https://github.com/dashevo/dash-walle…
HashEngineering Nov 9, 2021
203d591
feat(dashpay): copy address on button click then do faucet link (#811)
HashEngineering Nov 11, 2021
e4e3896
feat(dashpay): add tracking of a missing encryptionIv and alert user …
HashEngineering Nov 12, 2021
1e5f131
fix: propagate Context into current thread of coroutines (#815)
HashEngineering Nov 17, 2021
39e713a
fix: use local SecurityGuard objects when wallet keys are needed (#819)
HashEngineering Nov 19, 2021
fb08a06
v5.1.2-dashpay
HashEngineering Nov 19, 2021
eb7b4e2
fix(dashpay): fix android 6 invite creation failure (#820)
HashEngineering Nov 23, 2021
6281b27
fix(dashpay): save memos after creating invite with maybe later butto…
HashEngineering Nov 23, 2021
a2fbc68
fix: hide invite alert if not synced, close when clicked (#822)
HashEngineering Nov 23, 2021
dc1259e
Merge branch 'dashpay' of https://github.com/dashevo/dash-wallet into…
HashEngineering Nov 23, 2021
011df96
Merge pull request #806 from dashevo/merge-dashwallet-7.3.5
HashEngineering Nov 30, 2021
38c827a
fix: replacing actions/setup-ruby with ruby/setup-ruby (#828)
Syn-McJ Dec 3, 2021
12e9015
chore(dashpay): use dashj-0.18.0-SNAPSHOT (#803)
HashEngineering Dec 5, 2021
861a3ac
fix: check for platform only if it should exist on the given network(…
HashEngineering Dec 5, 2021
38f132f
fix(dashpay): prevent network unavailability crashes with Platform (#…
HashEngineering Dec 16, 2021
f85327d
fix(dashpay): add missing create username, payments, tx details event…
HashEngineering Dec 27, 2021
b56b635
fix(dashpay): avoid calling detectUserCountry on navigating from sett…
Syn-McJ Jan 2, 2022
c4c2d93
feat(dashpay): update to DPP 0.22 (#845)
HashEngineering Jan 18, 2022
b84c540
feat(dashpay): update for DPP 0.22 (queries, error handling, etc) (#880)
HashEngineering Jan 28, 2022
03863e4
fix: show firebase id on all builds (not only debug)
HashEngineering Mar 16, 2022
d4de9d6
chore: update testnet checkpoints
HashEngineering Mar 18, 2022
4a80cd9
chore: bump versionCode to 80120
HashEngineering Mar 18, 2022
b4557f7
fix: set support for all Core 0.18 features
HashEngineering Mar 20, 2022
1e043bf
chore: bump versionCode to 80121
HashEngineering Mar 20, 2022
300a323
fix: catch another exception when obtaining identity
HashEngineering Mar 28, 2022
1e2330d
chore: versionCode bump to 80123
HashEngineering Mar 30, 2022
7b9b789
Merge pull request #916 from dashevo/feature-dashpay-dpp-0.22
HashEngineering Mar 31, 2022
e2208d1
chore: merging 7.4.7, fixing build errors
Syn-McJ Apr 7, 2022
0fd3d34
chore: explore dash fixes
Syn-McJ Apr 7, 2022
6f6fd1b
chore: shortcuts fixes and refactoring
Syn-McJ Apr 9, 2022
0b5239e
fix: explore to payments navigation
Syn-McJ Apr 10, 2022
7118eed
feat: moving explore testnet fragment into explore dash fragment
Syn-McJ Apr 10, 2022
b4ccf4f
chore: restoring WalletActivity changes
Syn-McJ Apr 10, 2022
73ec3f2
fix: already saving wallet crash
Syn-McJ Apr 11, 2022
de59390
fix: bottom bar navigation
Syn-McJ Apr 11, 2022
395ce80
chore: updating dashpay distribution
Syn-McJ Apr 11, 2022
321823e
chore: cleanup
Syn-McJ Apr 11, 2022
f0cca09
fix: build errors
Syn-McJ Apr 11, 2022
d05ea94
fix: distribution files
Syn-McJ Apr 11, 2022
3efc238
chore: remove requirements for setting email (breaks ci actions) (#908)
HashEngineering Mar 4, 2022
b8c5f06
chore: cleanup
Syn-McJ Apr 11, 2022
054a72f
fix: worker initializer
Syn-McJ Apr 12, 2022
16cf98c
Feat(dashpay): log event timing for platform functions (#928)
HashEngineering Apr 13, 2022
6c9ad78
Merge pull request #929 from dashevo/dashpay-merge-747 (merge Dash Wa…
HashEngineering Apr 13, 2022
e299afc
fix: don't start blockchain service if the app is in the background (…
HashEngineering Apr 27, 2022
31f652c
fix(dashpay): update iOS App id's for invite creation (#949)
HashEngineering May 16, 2022
311cc50
Merge branch 'master' into master-dashpay-merge
Syn-McJ Jun 26, 2022
b2b5920
fix: tests
Syn-McJ Jun 28, 2022
66d1464
chore: moving testnet dash on top of explore options
Syn-McJ Jun 28, 2022
83576e0
fix: activities back navigation
Syn-McJ Jun 28, 2022
059a322
chore: add explanation for the ignored test
Syn-McJ Jun 28, 2022
b11a537
fix: build error
Syn-McJ Jun 28, 2022
3d7df44
fix: upgrading java for test errors
Syn-McJ Jun 28, 2022
801a1dd
fix: guava in tests
Syn-McJ Jun 29, 2022
b1befef
Merge pull request #980 from dashevo/master-dashpay-merge
HashEngineering Jul 3, 2022
dc145e4
feat: add tx metadata support (#993)
HashEngineering Jul 25, 2022
0faec56
Merge tag 'v7.5.2' into master-dashpay-merge
Syn-McJ Jul 28, 2022
05e9961
chore: move transaction view wrapping into the viewModel
Syn-McJ Jul 28, 2022
ee65c65
chore: moving WalletTransactionsFragment to kotlin
Syn-McJ Jul 30, 2022
87f3e59
feat: new grouping transactions by date
Syn-McJ Jul 31, 2022
514453b
fix: divider decorator blinking
Syn-McJ Jul 31, 2022
ada108c
feat: transaction dividers
Syn-McJ Jul 31, 2022
17573b3
feat: transaction history header
Syn-McJ Jul 31, 2022
7ba0fea
fix: check icon crash fix
Syn-McJ Aug 1, 2022
235c603
feat: profiles in transaction details
Syn-McJ Aug 1, 2022
b07523a
chore: cleanup
Syn-McJ Aug 2, 2022
8885aef
chore: update dashj-core to 0.18-RC11-SNAPSHOT
HashEngineering Aug 7, 2022
1e9d584
fix: update to new setBootStrapStream method
HashEngineering Aug 7, 2022
4401dd7
Merge branch 'feature-dashpay-core-18' into dashpay-7.2-merge
Syn-McJ Aug 8, 2022
1f90b0a
fix: profile pictures & send/receive icons
Syn-McJ Aug 8, 2022
c114f68
fix : SMS 2FA is not working
hadia Aug 18, 2022
b1ec0c3
v7.6.1
Syn-McJ Aug 18, 2022
f69de0a
feat: add Private memo UI to tx details / Home Screen (#1008)
Syn-McJ Aug 19, 2022
db16b7f
Merge pull request #1011 from dashevo/dashpay-7.5.2-merge
HashEngineering Aug 19, 2022
cd10bb5
feat(dashpay): support core 18 (#1010)
HashEngineering Aug 24, 2022
2762427
feat: support Platform 0.23 (#1021)
HashEngineering Aug 24, 2022
c88af2f
fix: sweep devnet fixes (#1034)
HashEngineering Sep 7, 2022
6473b86
Merge tag 'v7.6.1' into dashpay
Syn-McJ Sep 12, 2022
502d4f4
fix: test errors
Syn-McJ Sep 12, 2022
27bc850
Merge pull request #1039 from dashevo/dashpay-7.6.1-merge
HashEngineering Sep 19, 2022
3bb5e4e
fix(dashpay): fix key issue on create identity, restore identity (#1042)
HashEngineering Oct 7, 2022
90d78c7
feat(dashpay): support syncing txmetadata with platform (#1048)
HashEngineering Oct 7, 2022
3a5994c
feat (dashpay): support dpp 0.23 with new fee structure (#1064)
HashEngineering Dec 7, 2022
3452d21
Merge tag 'v8.1.1' into chore-merge-dashpay-master
Dec 25, 2022
f2f65b1
fix: bottom navigation
Dec 26, 2022
189cd9e
chore: replace contacts fragment transitions with nav controller
Dec 28, 2022
f824c3f
fix: hiding nav bar for contacts navigation if necessary
Dec 28, 2022
ab2667f
fix: contacts to contacts navigation to see all requests
Dec 28, 2022
06fee79
chore: add avatar/username to the new ReceiveInfoView
Dec 29, 2022
73f1c94
feat: add username and avatar to the new ReceiveInfoView
Dec 30, 2022
a970ae4
fix: bottomnavview back navigation
Dec 30, 2022
6622d7c
fix: dashpay CI
Dec 30, 2022
cda25d2
fix: explore faucet button and navigation
Dec 31, 2022
f7a92ab
fix: paymentsFragment navigation
Jan 6, 2023
d0dd4c5
fix: dashpay default flavor
Jan 9, 2023
6369634
Merge pull request #1074 from dashpay/merge-dashpay-master (v8.1.1)
HashEngineering Jan 10, 2023
06872ec
fix(dashpay): fix room db migrations, faucet link, version v5.3 (#1078)
HashEngineering Jan 10, 2023
d123ccb
fix: set devnet to BinTang for Platform 0.24 (#1084)
HashEngineering Feb 5, 2023
a82387e
feat(dashpay): use coinjoin to create username (#1086)
HashEngineering Mar 6, 2023
e2569a7
Merge branch 'feature-dashdirect' into dashpay-dashdirect
Syn-McJ Apr 23, 2023
4bab886
fix: send to contact issues
Syn-McJ Apr 23, 2023
38564d9
feat: dashpay profiles support for the new Send screen
Syn-McJ Apr 25, 2023
f10571c
chore: cleanup
Syn-McJ Apr 26, 2023
b3679eb
feat(dashpay): improve platform sync scheduling (#1114)
Syn-McJ Apr 27, 2023
69dd2ec
fix: tests
Syn-McJ Apr 27, 2023
19b6850
Merge branch 'dashpay' into dashpay-dashdirect-merge
Syn-McJ Apr 27, 2023
232768a
fix: tests
Syn-McJ Apr 27, 2023
b574be5
fix: dash direct keys
Syn-McJ Apr 28, 2023
706b898
fix: dashpay CI
Syn-McJ Apr 28, 2023
4dd08ca
chore: apply ktlint
Syn-McJ Apr 28, 2023
7fde550
Merge pull request #1119 from dashpay/dashpay-dashdirect-merge
HashEngineering May 1, 2023
d0d026b
Merge branch 'feature-dashdirect-staging' into dashpay-dashdirect
Syn-McJ May 10, 2023
f0f4851
fix: user avatar in the balance header
Syn-McJ May 11, 2023
6f781bc
feat: add privacy options when creating username (#1122)
hadia May 18, 2023
d35046f
fix: ignore null giftcard
Syn-McJ May 18, 2023
dc27d9e
fix: empty gift card fixes
Syn-McJ May 18, 2023
dc33154
chore: simplify giftcard table
Syn-McJ May 20, 2023
2734326
fix: recording USD rate in metadata for gift card transactions
Syn-McJ May 20, 2023
4ab468f
chore: move gift card data updates to transactionMetadataProvider
Syn-McJ May 21, 2023
59c48a7
chore: changing GiftCard price to double
Syn-McJ May 22, 2023
5c32c11
feat(dashdirect): publish custom icons and gift cards to Platform (#1…
Syn-McJ May 23, 2023
80fdecc
fix: NPE in wallet.getBalance
Syn-McJ May 23, 2023
1dcdaa2
fix: vertical barcode (measuredWidth returns 0)
Syn-McJ May 24, 2023
223f4d3
feat(dashpay): implement privacy in invitations (#1125)
hadia May 26, 2023
1454508
chore: merge feature-dashdirect into dashpay-dashdirect
Syn-McJ Jun 8, 2023
e940a97
fix: keychains and credit funding txs
Syn-McJ Jun 8, 2023
32b6fc6
chore: remove merge artifact from build.gradle
Syn-McJ Jun 8, 2023
e6228ba
fix: AuthenticationGroupExtension leftovers
Syn-McJ Jun 9, 2023
4413af0
fix: BlockchainIdentity ctor
Syn-McJ Jun 12, 2023
8bc9ab5
fix: code format
Syn-McJ Jun 12, 2023
302ce7c
Merge pull request #1130 from dashpay/dashpay-dashdirect-merge
HashEngineering Jun 13, 2023
50dc0f2
Merge pull request #1133 from dashpay/dashpay-dashdirect
HashEngineering Jun 14, 2023
f230625
Merge branch 'dashpay' of https://github.com/dashevo/dash-wallet into…
HashEngineering Jun 14, 2023
58be54e
fix: fix other dashpay merge conflicts / errors
HashEngineering Jun 14, 2023
9477ef4
fix: remove unused string constants for service actions
HashEngineering Jun 15, 2023
9f18652
refactor: simplify access to the authentication group extension
HashEngineering Jun 15, 2023
070609c
fix(dashpay): use standard colors in CreateUsernameFragment
HashEngineering Jun 15, 2023
466df54
refactor: remove unnecessary protx->outpoint converter
HashEngineering Jun 21, 2023
e89a75c
Merge pull request #1134 from dashpay/dashpay-coinjoin-merge
HashEngineering Jun 21, 2023
ba24021
feat(dashpay): add username request, first request screens(#1152)
hadia Jul 12, 2023
61d0c4c
feat(dashpay): add username voting entrypoint (#1158)
Syn-McJ Jul 17, 2023
bbdd5f8
feat(voting): add view username requests and votes (#1161)
Syn-McJ Jul 18, 2023
1df8bf2
feat(dashpay): add username voting search & filters (#1172)
Syn-McJ Jul 27, 2023
18fc317
feat(dashpay): add request username (#1173)
hadia Jul 27, 2023
4698b51
feat(dashpay): show username request details (#1176)
Syn-McJ Jul 30, 2023
93da33f
feat(dashpay): add cast a vote UI for usernames(#1178)
Syn-McJ Aug 1, 2023
9b33c83
feat(dashpay): redesign userpic and notifications (home screen) (#1180)
Syn-McJ Aug 3, 2023
5855381
feat(dashpay): add verify identity to username request (#1177)
hadia Aug 4, 2023
be998b4
feat(dashpay): add toggle for username voting period (#1185)
hadia Aug 17, 2023
6bc7613
feat(dashpay): use mock state repository (#1181)
HashEngineering Aug 21, 2023
4c4f292
feat(dashpay): redesign notification screen (#1184)
HashEngineering Aug 21, 2023
6473c35
feat(dashpay): add request Username / Submit Request (#1183)
hadia Aug 22, 2023
812f7c4
fix(dashpay): coinjoin send fix (#1191)
HashEngineering Aug 28, 2023
3bd808d
feat(dashpay): add screen to view request details of username (#1195)
hadia Sep 13, 2023
5e7ced4
feat(dashpay): add error handling to username requests
hadia Sep 20, 2023
0928088
fix(dashpay): fix resuming coinjoin after app restart for some cases…
HashEngineering Sep 25, 2023
efb3336
Merge tag 'v9.1.0' of https://github.com/dashevo/dash-wallet into mer…
HashEngineering Oct 2, 2023
7bcfe86
refactor(dashpay): replace all synthetics with ViewBindings
HashEngineering Oct 2, 2023
c52f01b
refactor: fix renamed files, fields and methods from merge
HashEngineering Oct 2, 2023
9b73f10
refactor: TransactionAdapter related changes
HashEngineering Oct 3, 2023
a55f388
fix(dashpay): payment screen updates and misc changes
HashEngineering Oct 3, 2023
eeec2b2
chore(dashpay): remove copy explore.db from GC as part of the workflow
HashEngineering Oct 3, 2023
4975403
fix: test
Syn-McJ Oct 3, 2023
8f56cb2
chore: remove BlockchainIdentityDataDao
Syn-McJ Oct 3, 2023
0b434aa
fix: dashpay CI pipeline
Syn-McJ Oct 3, 2023
9f9aadd
fix: crash on TransactionResultActivity
HashEngineering Oct 5, 2023
6f665d2
fix: remove setbackground of ContextRequestPane
HashEngineering Oct 5, 2023
bca8c24
Merge pull request #1213 from dashpay/merge-master-into-dashpay
HashEngineering Oct 10, 2023
7f1ca22
feat(coinjoin): add wallet mixing entry point (#1216)
Syn-McJ Oct 10, 2023
c97e236
feat(coinjoin): pick privacy level (#1217)
Syn-McJ Oct 10, 2023
ad3a72d
fix: only set tx icon in updateIcon (#1219)
Syn-McJ Oct 18, 2023
e61bcac
chore: update to dashj 20.0.0-CJ-SNAPSHOT (#1215)
HashEngineering Oct 19, 2023
d911db1
feat(dashpay): support coinjoin on the entire wallet balance (#1222)
HashEngineering Nov 21, 2023
e6b6144
feature(dashpay): display coinjoin mixing info (#1224)
HashEngineering Nov 21, 2023
479ccd8
fix(dashpay): update image permissions for Android 13 and fix camera …
HashEngineering Dec 20, 2023
e5eaa78
feat(coinjoin): use blockchain sync as part of mixing (#1232)
HashEngineering Dec 21, 2023
5391140
Merge tag 'v10.0.2' of https://github.com/dashevo/dash-wallet into da…
HashEngineering Dec 31, 2023
11cc349
fix: repair compile issues from master merge
HashEngineering Dec 31, 2023
2a2d4f3
fix: use WalletEx in WalletFactory
HashEngineering Dec 31, 2023
9021f85
chore: update dashpay workflow for Java 17
HashEngineering Dec 31, 2023
fc31944
Merge pull request #1244 from dashpay/dashpay-merge-10.0.2
HashEngineering Jan 5, 2024
8ba371f
fix(dashpay): address various coinjoin issues (#1242)
HashEngineering Jan 8, 2024
add3638
feat(dashpay): use v20 assetlocks (#1246)
HashEngineering Jan 16, 2024
eac2283
feat(dashpay): add coinjoin error handling to enter amount screen (#1…
HashEngineering Jan 23, 2024
bf6da4e
chore: remove unused liquid integration files (#1257)
HashEngineering Feb 15, 2024
d09b5a6
feat(dashpay): add timeskew support to CoinJoinService and warning di…
HashEngineering Feb 21, 2024
6e30797
fix(coinjoin): prevent timeskew exceptions from stopping the CoinJoin…
HashEngineering Feb 27, 2024
e8b9a18
fix(dashpay): improve progress UI for mixing and other fixes (#1261)
HashEngineering Mar 12, 2024
721370e
fix(dashpay): hide all entrypoints to dashpay related features (#1255)
HashEngineering Mar 13, 2024
e89bf41
feat: improve logging system to filter markers (#1270)
HashEngineering Mar 19, 2024
17e6983
feat(coinjoin): group mixing transactions on home screen (#1272)
HashEngineering Apr 2, 2024
441ad25
feat(dashpay): support upgrades over Dash Wallet for database and wal…
HashEngineering May 14, 2024
a84fd67
Merge branch 'master' of https://github.com/dashevo/dash-wallet into …
HashEngineering May 31, 2024
9c5ef18
feat(dashpay): integrate dash-sdk and restore basic functions (#1291)
HashEngineering Jul 1, 2024
e547661
feat(dashpay): add topup UI and fix UserAlert issues when upgrading (…
HashEngineering Aug 12, 2024
66c4816
feat(dashpay): update submit request UI with backend (#1299)
HashEngineering Aug 28, 2024
71d1092
Dashpay feature submit request backend (#1301)
HashEngineering Aug 29, 2024
1c29798
Merge branch 'master' of https://github.com/dashevo/dash-wallet into …
HashEngineering Aug 29, 2024
17801bf
fix: set MainActivity to singleTop
HashEngineering Sep 8, 2024
7e81c08
fix: set CreateIdentityService to dataSync foreground service
HashEngineering Sep 8, 2024
df38f23
fix: add executor back to BlockchainServiceImpl
HashEngineering Sep 8, 2024
b10b718
fix: update room schema to use ksp
HashEngineering Sep 8, 2024
ce597cc
fix: use Constants.SUPPORTS_PLATFORM to show/hide DashPay features
HashEngineering Sep 8, 2024
14cff92
fix: update onDraw for Android 34
HashEngineering Sep 8, 2024
021d9ba
fix: use new BlockchainIdentity.registerIdentity method
HashEngineering Sep 8, 2024
556f74f
fix: update names for prod and testnet
HashEngineering Sep 8, 2024
394bae3
fix: compress DB versions 13-20 into 13
HashEngineering Sep 8, 2024
a47cc17
Merge pull request #1304 from dashpay/merge-dashpay-into-dash-wallet
HashEngineering Sep 9, 2024
361a25d
fix: updates for kotlin-platform
HashEngineering Sep 16, 2024
87d754d
fix: pull translation updates for strings-dashpay
HashEngineering Sep 16, 2024
a929ee6
Merge branch 'master' of https://github.com/dashevo/dash-wallet into …
HashEngineering Sep 16, 2024
2fb7c95
fix: prevent NPE if CoinJoinService is started before wallet is compl…
HashEngineering Sep 17, 2024
6a306a9
fix: remove extra assignment of EXPLORE_GC_FILE_PATH with prod flavor
HashEngineering Sep 17, 2024
bf8ae47
fix: hide the faucet on mainnet
HashEngineering Sep 24, 2024
633f081
fix: fix bottom navbar and return to home screen
HashEngineering Sep 24, 2024
cb73acc
fix: call getUserData in TransferDashViewModel init to solve fiat tra…
HashEngineering Sep 25, 2024
a7162d4
chore: use dashj v21.1
HashEngineering Sep 26, 2024
6298427
v10.3.0
HashEngineering Sep 26, 2024
a8a20e9
Merge pull request #1307 from dashpay/v10.3
HashEngineering Sep 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file added .deploy/google-services.json.gpg
Binary file not shown.
97 changes: 97 additions & 0 deletions .github/workflows/dashpay.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
name: DashPay CI

on:
push:
branches: [ dashpay ]
pull_request:
branches: [ dashpay, dashpay-* ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Get build number from run id
run: |
echo "build_number=$((80000))" >> $GITHUB_ENV

- name: Get the support email
env:
SUPPORT_EMAIL: "${{ secrets.INTERNAL_SUPPORT_EMAIL }}"
run: |
echo "SUPPORT_EMAIL=$SUPPORT_EMAIL" >> $GITHUB_ENV

- uses: actions/checkout@v3
- name: set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0.3'

- name: Generate cache key
run: bash .deploy/checksum.sh checksum.txt

- name: Gem caching
uses: actions/cache@v2
continue-on-error: true
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-

- name: Setup fastlane
run: |
gem install bundler:2.2.26
gem install google-cloud-storage
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3

- name: Cache Gradle packages
uses: actions/cache@v2
continue-on-error: true
with:
path: |
~/.gradle/caches/modules-*
~/.gradle/caches/jars-*
~/.gradle/caches/build-cache-*
key: ${{ runner.os }}-gradle-${{ hashFiles('checksum.txt') }}

- name: Decrypt secrets
run: |
gpg -d --passphrase "${{ secrets.KEYSTORE_KEY }}" --batch .deploy/keystore.jks.gpg > .deploy/keystore.jks

- name: Extract Secrets
run: |
echo "$GOOGLE_SERVICES_JSON" > wallet/google-services.json
echo "$SERVICE_PROPERTIES" > service.properties
echo "$LOCAL_PROPERTIES" > local.properties
echo "$APP_DISTRIBUTION_KEY_JSON" > .deploy/app-distribution-key.json
echo "$GC_STORAGE_SERVICE_ACCOUNT_KEY_JSON" > .deploy/gc-storage-service-account.json
env:
GOOGLE_SERVICES_JSON : ${{secrets.GOOGLE_SERVICES_JSON}}
SERVICE_PROPERTIES: ${{secrets.SERVICE_PROPERTIES}}
LOCAL_PROPERTIES: ${{secrets.LOCAL_PROPERTIES}}
APP_DISTRIBUTION_KEY_JSON: ${{secrets.APP_DISTRIBUTION_KEY_JSON}}
GC_STORAGE_SERVICE_ACCOUNT_KEY_JSON: ${{secrets.GC_STORAGE_SERVICE_ACCOUNT_KEY_JSON}}

- name: Test
run: bundle exec fastlane test flavor:"" type:"debug"

- name: Build
if: github.event_name == 'pull_request'
run: bundle exec fastlane build flavor:"staging" type:"release" storepass:"${{ secrets.SIGNING_STORE_PASS }}" versioncode:"${{ env.build_number }}"

- name: Staging Build and Firebase Distribution
if: github.event_name == 'push'
run: bundle exec fastlane build_distribute flavor:"staging" type:"release" storepass:"${{ secrets.SIGNING_STORE_PASS }}" versioncode:"${{ env.build_number }}" comment:"Up to date Dash Wallet TestNet build" appid:"1:1039839682638:android:bbcfa8c9939ee993ea631f" testgroup:"qa"
9 changes: 3 additions & 6 deletions .github/workflows/manual_distribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
flavor:
description: 'Flavor'
required: true
default: '_testNet3'
default: 'staging'
type:
description: 'Type'
required: true
Expand All @@ -37,11 +37,8 @@ jobs:
"staging": {
"firebase_app_id": "1:1039839682638:android:bbcfa8c9939ee993ea631f"
},
"schnapps": {
"firebase_app_id": "1:1039839682638:android:12d2ad31cc39093cea631f"
},
"devnet": {
"firebase_app_id": "1:1039839682638:android:fdff563e24b69c5fea631f"
"firebase_app_id": "1:1039839682638:android:12d2ad31cc39093cea631f"
}
}

Expand Down Expand Up @@ -122,6 +119,6 @@ jobs:

- name: Test
run: bundle exec fastlane test flavor:"${{ github.event.inputs.flavor }}" type:"${{ github.event.inputs.type }}" versioncode:"${{ env.build_number }}" storepass:"${{ secrets.SIGNING_STORE_PASS }}"

- name: Build and Firebase Distribution
run: bundle exec fastlane build_distribute flavor:"${{ github.event.inputs.flavor }}" type:"${{ github.event.inputs.type }}" versioncode:"${{ env.build_number }}" storepass:"${{ secrets.SIGNING_STORE_PASS }}" comment:"${{ github.event.inputs.taskID }}" appid:"${{ env.firebase_app_id }}" testgroup:"qa"
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

7 changes: 7 additions & 0 deletions .tx/config
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ source_lang = en
type = ANDROID
lang_map = sl_SI: sl, zh_TW: zh-rTW

[o:dash:p:dash-mobile-wallets:r:strings-dashpay]
file_filter = wallet/res/values-<lang>/strings-dashpay.xml
source_file = wallet/res/values/strings-dashpay.xml
source_lang = en
type = ANDROID
lang_map = sl_SI: sl, zh_TW: zh-rTW

[o:dash:p:dash-mobile-wallets:r:strings-uphold]
file_filter = integrations/uphold/src/main/res/values-<lang>/strings-uphold.xml
source_file = integrations/uphold/src/main/res/values/strings-uphold.xml
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Welcome to _Dash Wallet_, a standalone Dash payment app for your Android device!
This project contains several sub-projects:

* __wallet__:
The Android app itself. This is probably what you're searching for.
The Android app itself. This is probably what you're searching for. [wallet README](wallet/README.md)
* __common__:
Contains common components used by integrations.
* __features__:
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ buildscript {
kotlin_version = '1.9.23'
coroutinesVersion = '1.6.4'
ok_http_version = '4.9.1'
dashjVersion = '21.0.0'
dashjVersion = '21.1.0'
hiltVersion = '2.51'
hiltCompilerVersion = '1.2.0'
hiltWorkVersion = '1.0.0'
Expand All @@ -22,7 +22,7 @@ buildscript {
preferenceVersion = '1.2.0'

// Utils
slf4jVersion = '1.7.32'
slf4jVersion = '2.0.7'
desugaringLibraryVersion = '1.1.5'

// UI
Expand Down
2 changes: 2 additions & 0 deletions common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,12 @@ dependencies {
//noinspection GradleDependency
implementation "com.google.zxing:core:$zxingVersion"
implementation "androidx.swiperefreshlayout:swiperefreshlayout:$swipeRefreshLayoutVersion"
implementation 'com.github.amulyakhare:textdrawable:558677ea31'

// DI
implementation "com.google.dagger:hilt-android:$hiltVersion"
ksp "com.google.dagger:hilt-compiler:$hiltVersion"
implementation 'javax.inject:javax.inject:1'

testImplementation "junit:junit:$junitVersion"
testImplementation "org.mockito.kotlin:mockito-kotlin:$mockitoVersion"
Expand Down
89 changes: 89 additions & 0 deletions common/src/main/java/org/dash/wallet/common/Configuration.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,15 @@ public class Configuration {
public static final String PREFS_RESTORING_BACKUP = "restoring_backup";
public static final String PREFS_V7_REDESIGN_TUTORIAL_COMPLETED = "v7_tutorial_completed";
public static final String PREFS_PIN_LENGTH = "pin_length";
private static final String PREFS_IMGUR_DELETE_HASH = "imgur_delete_hash";
private static final String PREFS_UPLOAD_POLICY = "upload_policy_accepted_";
private static final String PREFS_DEV_MODE = "developer_mode";
private static final String PREFS_INVITER = "inviter";
private static final String PREFS_INVITER_CONTACT_REQUEST_SENT_INFO = "inviter_contact_request_sent_info";
private static final String PREFS_ONBOARDING_STAGE = "onboarding_state";
private static final String PREFS_ONBOARDING_INVITE = "inviter_onboarding_invite";
private static final String PREFS_ONBOARDING_INVITE_USERNAME = "inviter_onboarding_invite_username";
private static final String PREFS_ONBOARDING_INVITE_PROCESSING = "inviter_onboarding_invite_processing";

public static final String PREFS_KEY_LAST_UPHOLD_BALANCE = "last_uphold_balance";

Expand All @@ -87,6 +96,8 @@ public class Configuration {
public static final String PREFS_KEY_SHOW_TAX_CATEGORY_EXPLAINER = "show_tax_catagory_explainer";
public static final String PREFS_KEY_SHOW_TAX_CATEGORY_INSTALLTIME = "show_tax_catagory_install_time";

private static final long DISABLE_NOTIFICATIONS = -1;

// CrowdNode
public static final String PREFS_KEY_CROWDNODE_ACCOUNT_ADDRESS = "crowdnode_account_address";
public static final String PREFS_KEY_CROWDNODE_PRIMARY_ADDRESS = "crowdnode_primary_address";
Expand Down Expand Up @@ -222,6 +233,10 @@ public boolean getRemindBackupSeed() {
return prefs.getBoolean(PREFS_KEY_REMIND_BACKUP_SEED, true);
}

public void setLastRestoreTime() {
prefs.edit().putLong(PREFS_KEY_LAST_RESTORE, System.currentTimeMillis());
}

public long getLastRestoreTime() {
return prefs.getLong(PREFS_KEY_LAST_RESTORE, 0);
}
Expand Down Expand Up @@ -361,6 +376,80 @@ public void setPinLength(int pinLength) {
prefs.edit().putInt(PREFS_PIN_LENGTH, pinLength).apply();
}

public String getImgurDeleteHash() {
return prefs.getString(PREFS_IMGUR_DELETE_HASH, "");
}

public void setImgurDeleteHash(String deleteHash) {
prefs.edit().putString(PREFS_IMGUR_DELETE_HASH, deleteHash).apply();
}

public Boolean getAcceptedUploadPolicy(String service) {
return prefs.getBoolean(PREFS_UPLOAD_POLICY + service, false);
}

public void setAcceptedUploadPolicy(String service, Boolean accepted) {
prefs.edit().putBoolean(PREFS_UPLOAD_POLICY + service, accepted).apply();
}

public Boolean getDeveloperMode() {
return BuildConfig.DEBUG || prefs.getBoolean(PREFS_DEV_MODE, false);
}

public void setDeveloperMode(boolean activate) {
prefs.edit().putBoolean(PREFS_DEV_MODE, activate).apply();
}

public String getInviter() {
return prefs.getString(PREFS_INVITER, null);
}

public void setInviter(String iviter) {
prefs.edit().putString(PREFS_INVITER, iviter).apply();
}

public Boolean getInviterContactRequestSentInfoShown() {
return prefs.getBoolean(PREFS_INVITER_CONTACT_REQUEST_SENT_INFO, false);
}

public void setInviterContactRequestSentInfoShown(Boolean shown) {
prefs.edit().putBoolean(PREFS_INVITER_CONTACT_REQUEST_SENT_INFO, shown).apply();
}

public boolean getOnboardingInviteProcessing() {
return getOnboardingInvite() != null && prefs.getBoolean(PREFS_ONBOARDING_INVITE_PROCESSING, true);
}

public void setOnboardingInviteProcessingDone() {
prefs.edit().putBoolean(PREFS_ONBOARDING_INVITE_PROCESSING, false).apply();
}

public int getOnboardingStage() {
return prefs.getInt(PREFS_ONBOARDING_STAGE, 0);
}

public void setOnboardingStage(final int onboardingStage) {
prefs.edit().putInt(PREFS_ONBOARDING_STAGE, onboardingStage).apply();
}

public Uri getOnboardingInvite() {
String invite = prefs.getString(PREFS_ONBOARDING_INVITE, null);
return invite != null ? Uri.parse(invite) : null;
}

public void setOnboardingInvite(final Uri onboardingInvite) {
prefs.edit().putBoolean(PREFS_ONBOARDING_INVITE_PROCESSING, true).apply();
prefs.edit().putString(PREFS_ONBOARDING_INVITE, onboardingInvite.toString()).apply();
}

public String getOnboardingInviteUsername() {
return prefs.getString(PREFS_ONBOARDING_INVITE_USERNAME, null);
}

public void setOnboardingInviteUsername(final String username) {
prefs.edit().putString(PREFS_ONBOARDING_INVITE_USERNAME, username).apply();
}

public long getLastEncryptKeysTime() {
return prefs.getLong(PREFS_KEY_LAST_ENCRYPT_KEYS, 0);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ public void onUserInteraction() {
((AutoLogoutTimerHandler) getApplication()).resetAutoLogoutTimer();
}

public void imitateUserInteraction() {
onUserInteraction();
}

@Override
protected void onDestroy() {
try {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
package org.dash.wallet.common

import android.app.Dialog
import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AlertDialog
import androidx.fragment.app.DialogFragment

abstract class InteractionAwareDialogFragment : DialogFragment() {
override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
val dialogBuilder = AlertDialog.Builder(requireContext())
.setView(initCustomView())

val dialog = dialogBuilder.create()

setCallback(dialog)
return dialog
}

private fun setCallback(dialog: AlertDialog) {
dialog.window!!.callback = UserInteractionAwareCallback(dialog.window!!.callback, requireActivity())
}

protected abstract fun initCustomView(): View

protected fun imitateUserInteraction() {
requireActivity().onUserInteraction()
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ import org.bitcoinj.core.*
import org.bitcoinj.wallet.CoinSelector
import org.bitcoinj.wallet.Wallet
import org.bitcoinj.wallet.WalletExtension
import org.bitcoinj.wallet.authentication.AuthenticationGroupExtension
import org.bitcoinj.wallet.authentication.AuthenticationKeyUsage
import org.dash.wallet.common.services.LeftoverBalanceException
import org.dash.wallet.common.transactions.TransactionWrapper
import org.dash.wallet.common.transactions.TransactionWrapperFactory
import org.dash.wallet.common.transactions.filters.TransactionFilter
import kotlin.jvm.Throws

Expand All @@ -47,6 +49,8 @@ interface WalletDataProvider {
coinSelector: CoinSelector? = null
): Flow<Coin>

fun canAffordIdentityCreation(): Boolean

// Treat @withConfidence with care - it may produce a lot of events and affect performance.
fun observeTransactions(withConfidence: Boolean = false, vararg filters: TransactionFilter): Flow<Transaction>

Expand All @@ -56,7 +60,7 @@ interface WalletDataProvider {

fun getTransactions(vararg filters: TransactionFilter): Collection<Transaction>

fun wrapAllTransactions(vararg wrappers: TransactionWrapper): Collection<TransactionWrapper>
fun wrapAllTransactions(vararg wrappers: TransactionWrapperFactory): Collection<TransactionWrapper>

fun attachOnWalletWipedListener(listener: () -> Unit)

Expand Down
Loading
Loading