Commit graph

1797 commits

Author SHA1 Message Date
OmarHatem
f747773f3a Merge branch 'v4.12.0_v1.9.0' of https://github.com/cake-tech/cake_wallet into cw_linux_direct_input_password
 Conflicts:
	assets/text/Monerocom_Release_Notes.txt
	assets/text/Release_Notes.txt
	cw_bitcoin/pubspec.lock
	cw_core/lib/node.dart
	cw_core/pubspec.lock
	cw_core/pubspec.yaml
	cw_ethereum/lib/ethereum_wallet.dart
	cw_monero/example/pubspec.lock
	cw_monero/ios/Classes/monero_api.cpp
	cw_monero/pubspec.lock
	cw_polygon/lib/polygon_wallet.dart
	lib/di.dart
	lib/router.dart
	lib/src/screens/restore/wallet_restore_from_seed_form.dart
	lib/src/screens/wallet_list/wallet_list_page.dart
	lib/store/settings_store.dart
	scripts/android/app_env.sh
	scripts/android/pubspec_gen.sh
	scripts/ios/app_env.sh
	scripts/macos/app_env.sh
2023-12-19 00:25:15 +02:00
Omar Hatem
01e2a84809
Vulnerable btc seeds (#1238)
* Add flow to notify users with vulnerable seeds

* - Show vulnerable wallets warning on every app launch
- Change text

* increment build number

* add seeds sha text [skip ci]
2023-12-19 00:05:27 +02:00
OmarHatem
ec140b813c Fix balance page tabs UI on white screens [skip ci] 2023-12-18 01:45:37 +02:00
Omar Hatem
d756b367d3
Make the exchange receive field always editable and can be taken from QR or Address book (#1230) 2023-12-16 03:20:56 +02:00
Matthew Fosse
2ff81df9e7
CW-512 wallet sort (#1195)
* add shared preferences key and make list re-orderable

* macos sonoma build fix

* everything (almost) works

* add translations

* more translations

* everything works

* fixes

* translation merge file fix

* fix for mobile platforms

* fix filter icon being invisible on bright theme

* first pass of adding ascending/descending to filter widget

* small fix

* update ascending switch

* fixes

* fix

* reverse creation sort

* review fixes part 1

* refactor into function rather than tuple + color changes

* more fixes

* remove unrelated file

* updated wording

* cleaner callback

* undo sonoma fix

---------

Co-authored-by: fossephate <fosse@book.local>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-12-13 23:58:43 +02:00
Serhii
049e4def27
fix accessibility issues (#1224) 2023-12-13 17:27:30 +02:00
Serhii
faf151a4dc
CW-531-Bitcoin-Fees-issue (#1218)
* SegWit transaction size

* [skip ci] fix electrum balances layout

* fix tapping area
2023-12-13 16:43:26 +02:00
Adegoke David
ef7762eaca
Polygon-Wallet-fixes (#1222)
* fix: Fix issues surrounding polygon release

* Add polygon generation command to pubspec script

* Remove unnecesary cast

* fix: Remove unneeded code

* fix: Adjust workflow file to pick polygonScan apikey

* fix: Issues noticed while testing

* fix: Issues noticed while testing

* fix: Transaction should reflect the token name

* fix: Remove unused import

* feat: Add alchemy node to default migration settings

* Fix sending Polygon delay
Remove alchemy node
Minor Enhancements

* Remove scrolling from multiple choices settings row and make them fill the whole space [skip ci]

* Add USDT poly
Add icon for USDC.e

* Fix ERC20 tokens overriding old wallets
Add USDC.e to exchange

* - Remove unnecessary code
- Minor Enhancements

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-12-13 16:03:07 +02:00
Matthew Fosse
7ce387c130
fix dot indicator color (#1228) 2023-12-11 18:47:22 +02:00
Konstantin Ullrich
72777fbf2c
Cw 534 monero wallet generic enhancements (#1225)
* Fix word count for polyseed on pre_seed_page

* Fix naming of advanced setting

* Set default Seed Type to Polyseed and disable bg-sync by default

* Fix inconsistency between seed type field in restore screen and the one in advanced settings

* Use pub.dev release of polyseed

* Add Legacy Seed to wallet_keys-Page in case of Polyseed
2023-12-09 03:37:39 +02:00
Serhii
2138c35e38
CW-532-DFX-buy-provider (#1209)
* dfx buy provider ui

* fix signing flow

* fixed provider determination based on wallet type and app settings

* update localization files

* minor fix

* Fix BTC, LTC und BCH signMessages

* Add signMessage to monero

* open dfx in webview

* Update dfx_buy_provider.dart

* Revert merge conflict

* Update bitcoin_flutter ref

---------

Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
2023-12-08 16:05:52 +02:00
Omar Hatem
b95af3a649
V4.11.0 v1.8.0 (#1216)
* V4.11.0 and v1.8.0

* Add polygon to iOS and macOS
Minor import fix for monero.com

* Remove Polygon temporarily

* Remove tor temorarily [skip ci]

* Remove tor temorarily [skip ci]
2023-12-05 02:35:33 +02:00
OmarHatem
869288cbb7 Merge branch 'v4.11.0_v1.8.0' of https://github.com/cake-tech/cake_wallet into cw_linux_direct_input_password 2023-12-05 00:14:36 +02:00
OmarHatem
b05b6aa8ea Remove tor temorarily [skip ci] 2023-12-05 00:14:13 +02:00
OmarHatem
f93e97a43c Fix polygon issues 2023-12-04 23:05:50 +02:00
OmarHatem
6eb0706b77 Merge branch 'v4.11.0_v1.8.0' of https://github.com/cake-tech/cake_wallet into cw_linux_direct_input_password
 Conflicts:
	cw_bitcoin/lib/electrum_transaction_history.dart
	cw_bitcoin/lib/electrum_wallet_snapshot.dart
	cw_bitcoin/lib/file.dart
	cw_core/lib/file.dart
	cw_core/lib/utils/file.dart
	lib/di.dart
	lib/src/screens/restore/wallet_restore_from_seed_form.dart
	lib/view_model/wallet_new_vm.dart
	model_generator.sh
	tool/configure.dart
2023-12-04 22:55:08 +02:00
Adegoke David
b3d579c24a
CW-527-Add-Polygon-MATIC-Wallet (#1179)
* chore: Initial setup for polygon package

* feat: Add polygon node urls

* feat: Add Polygon(MATIC) wallet WIP

* feat: Add Polygon(MATIC) wallet WIP

* feat: Add Polygon MATIC wallet [skip ci]

* fix: Issue with create/restore wallet for polygon

* feat: Add erc20 tokens for polygon

* feat: Adding Polygon MATIC Wallet

* fix: Add build command for polygon to workflow file to fix failing action

* fix: Switch evm to not display additional balance

* chore: Sync with remote

* fix: Revert change to inject app script

* feat: Add polygon erc20 tokens

* feat: Increase migration version

* fix: Restore from QR address validator fix

* fix: Adjust wallet connect connection flow to adapt to wallet type

* fix: Make wallet fetch nfts based on the current wallet type

* fix: Make wallet fetch nfts based on the current wallet type

* fix: Try fetching transactions with moralis

* fix: Requested review changes

* fix: Error creating new wallet

* fix: Revert script

* fix: Exclude spam NFTs from nft listing API response

* Update default_erc20_tokens.dart

* replace matic with matic poly

* Add polygon wallet scheme to app links

* style: reformat default_settings_migration.dart 

* minor enhancement 

* fix using different wallet function for setting the transaction priorities 

* fix: Add chain to calls

* Add USDC.e to initial coins

* Add other default polygon node 

* Use Polygon scan
some UI fixes

* Add polygon scan api key to secrets generation code

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-12-02 04:26:43 +02:00
Matthew Fosse
3760285a64
ios/mac secure storage pin migration (potential fix) (#1205)
* ios/mac secure storage pin migration

* function call was incorrect

* Update default_settings_migration.dart

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-11-30 23:39:09 +02:00
Konstantin Ullrich
2bddeb6ac2
Polyseed design changes (#1211)
* Add icons to Language- and Seedtype-picker to indicate it's clickability

* Add Seed Type Selector to New Wallet Page

* Rename "Advanced Privacy Settings" to "Advanced Settings"
2023-11-30 17:38:28 +02:00
Omar Hatem
4d245b7ff1
v4.11.0 and v1.8.0 (#1192)
* v4.11.0 and v1.8.0

* Add missing functionalities to mac os monero api.cpp

* Fix creating a new wallet issue

* Remove un-necessary linux, macos, and windows files from bitcoincash package
2023-11-30 16:51:19 +02:00
Konstantin Ullrich
d07efc81ca
Lookup NFTs only if the current wallet is an Ethereum Wallet (#1197) 2023-11-27 23:50:12 +02:00
OmarHatem
2c03f858bc fix conflicts with main 2023-11-27 17:44:40 +02:00
OmarHatem
7b20ff0223 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into cw_linux_direct_input_password
 Conflicts:
	cw_monero/ios/Classes/monero_api.cpp
	ios/Podfile.lock
	lib/router.dart
	lib/src/screens/restore/wallet_restore_from_seed_form.dart
	lib/src/screens/restore/wallet_restore_page.dart
	lib/store/settings_store.dart
	lib/view_model/wallet_new_vm.dart
	scripts/android/app_env.sh
	tool/configure.dart
2023-11-27 17:36:58 +02:00
Matthew Fosse
615d016dd5
be absolutely sure we delete secure storage keys before writing them (#1182)
* be absolutely sure we delete secure storage keys before writing them

* sync with other PR

---------

Co-authored-by: fossephate <fosse@book.local>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-11-27 15:28:34 +02:00
Konstantin Ullrich
00c97c74b8
Cw 462 monero polyseed restore support (#1109)
* CW-462 Mark Places to integrate Polyseed

* CW-462 Add Restore from Polyseed

* CW-462 Add Restore from Polyseed

* CW-462 Add new Monero date-height pairs

* CW-462 Little Cleanup

* CW-462 Ups I missed that Debug line :/

* CW-462 Fix Polyseed not showing in Wallet-Seed/Keys Page

* CW-462 Prepare for Wallet creation

* CW-462 Fix merge conflict

* CW-462 Fix generating monero.dart

* CW-462 Add Polyseed generation

* CW-462 Add Polyseed Languages to SeedLanguagePicker

* CW-462 Apply requested changes

* CW-462 Minor bug fixes in restore screen

* Update wallet_restore_from_seed_form.dart

* CW-462 Minor Bugfix

* CW-462 Fix Restore from QR for Polyseeds

* CW-462 Fix null-check-operator exception for Polyseeds and minor inconveniences

* CW-462 Fix minor inconveniences

* Fix conflicts and review comments and wrap unspent issue with try and catch with reporting failure

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2023-11-25 02:37:12 +02:00
Matthew Fosse
eeb9976d09
update wallet restore page to be less confusing for nano users (#1186)
* update wallet restore page to be less confusing for nano users

* update translations

* only include private key if seed phrase is null

* restore fixes

* fix default derivation being wrong on restore

* fix default nano derivationType & qr code parameters

* update language on nano restore (hex form)

* support hex seed from qr restore
2023-11-25 01:35:00 +02:00
Omar Hatem
fa25a4b224
Generic fixes (#1191)
* check on the url validity before using it

* handle tx nullability

* add localization script to configure
2023-11-25 01:31:49 +02:00
Adegoke David
0c77b23ecb
feat: Implement NFT Tab for Eth (#1166)
* feat: Implement NFT Listing and Importing of new NFTs, also display NFTs linked to the wallet address

* Adjust UI based on wallet type, display nfts only when an ethereum wallet

* fix: Prevent tab bar from scrolling

* feat:Add NFT tab: adjust models and add localization

* feat:Add NFT tab: adjust models and add localization

* chore: Remove unused widget

* fix: Adjust UI to reflect more data, display image based on type, either png or svg, adjust theme-a

* fix: Update viewmodel

* fix: Add missing dependency to fix failing CI

* fix: Revert change in inject app script

* Delete cw_polygon/pubspec.lock

* - Code enhancements
- UI fixes
- Removing unrelated files

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-11-22 19:43:26 +02:00
Omar Hatem
56619b8546
v4.10.5 and v1.7.5 (#1183)
* Update app version and release notes

* Add Tor to this release

* Minor readability enhancement [skip ci]

* Temporarily disable Tor feature
2023-11-20 19:40:47 +02:00
OmarHatem
6f7da06617 Merge branch 'v4.10.5_v1.7.5' of https://github.com/cake-tech/cake_wallet into cw_linux_direct_input_password
 Conflicts:
	cw_bitcoin/pubspec.lock
	cw_core/pubspec.lock
	cw_core/pubspec.yaml
	cw_haven/pubspec.lock
	cw_monero/example/pubspec.lock
	cw_monero/pubspec.lock
	cw_nano/pubspec.lock
2023-11-18 17:09:02 +02:00
OmarHatem
ddbea04735 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into v4.10.5_v1.7.5 2023-11-18 15:43:33 +02:00
Omar Hatem
ab83f5b67f
Cw 519 tor connection (#1158)
* initial draft for tor feature

* Configure nodes to use Tor proxy if enabled

* Add socks proxy upon connecting to tor
fix disconnect button

* Try tor with github actions

* accept defaults for rust installation

* Merge main
Change Tor tile name
2023-11-18 15:43:15 +02:00
OmarHatem
06fd8b640c Merge branch 'v4.10.5_v1.7.5' of https://github.com/cake-tech/cake_wallet into cw_linux_direct_input_password
 Conflicts:
	.github/workflows/pr_test_build.yml
	cw_bitcoin/lib/electrum_wallet.dart
	cw_monero/ios/Classes/monero_api.cpp
	cw_monero/lib/monero_wallet.dart
	lib/core/auth_service.dart
	lib/core/backup_service.dart
	lib/core/wallet_creation_service.dart
	lib/di.dart
	lib/ionia/ionia_service.dart
	lib/store/settings_store.dart
	macos/Flutter/GeneratedPluginRegistrant.swift
	pubspec_base.yaml
2023-11-18 03:48:28 +02:00
OmarHatem
2c63867378 Update app version and release notes 2023-11-18 03:15:43 +02:00
Omar Hatem
e092509264
Generic fixes (#1173)
* - Catch get balance network issues
- Disable remove button when adding node

* Update packages and android gradle version
minor enhancements

* Backup issue fix

* update workflow java version

* Remove useless permission check for saving file

* minor enhancements

* only delete secure storage key before overriding it on MacOS

* Minor UI changes

* Remove debug prints [skip ci]

* Revert FR localization changes
2023-11-18 00:15:15 +02:00
Konstantin Ullrich
539eb9b3eb
Cw 523 robinhood enhancements (#1176)
* CW-523 Add BCH support to Robinhood

* CW-523 Only show popup on Robinhood error

* CW-523 Add BitcoinCash to Robinhood Provider
2023-11-17 20:37:32 +02:00
Matthew Fosse
f4e71c72ef
Nano rep fixes (#1145)
* add preference keys for default nano/banano rep

* updates to change rep page, add success message

* forgot to save this file

* nano_client cleanup

* first pass

* refactor to use sharedprefs in nano_client

* review fixes
2023-11-17 20:35:46 +02:00
Serhii
8237b89d56
CW-520-Enable-user-to-choose-12-or-24-seed-words-for-BCH-and-ETH (#1181)
* seed phrase option UI

* bch seed length option

* eth seed lengh option

* update preseed info

* update localization files
2023-11-17 15:45:42 +02:00
Serhii
36361ef329
CW-526-Add-Trocador-providers-option-in-privacy-settings (#1177)
* Trocador settings page UI

* add trocador providers states

* add settings icon

* minor fix

* Revert "minor fix"

This reverts commit e59d9dfdaf.

* fixes

* PR fixes

* remove trocador menu icon
2023-11-17 01:23:34 +02:00
Serhii
bb5336ff60
CW-516-Improve-balance-layout-in-home-screen (#1171)
* unavailable balance

* localization

* unavailable balance description

* add unavailable balance popup
2023-11-17 01:22:10 +02:00
Konstantin Ullrich
8084f490b5
Cw 467 mark change outputs in unspent outputs list (#1137)
* CW-490 Use native Coin Freeze

* CW-467 Code cleanup

* CW-467 Fix native Code

* CW-467 Extend Unspend

* CW-467 Add isChange

* CW-467 Minor Fixes

* CW-467 Add isChange to Electrum Unspents

* CW-467 Localize Change Tag

* CW-467 Fix frozen balance showing on other monero wallets

* CW-467 Fix frozen balance showing on other monero wallets
2023-11-16 01:12:23 +02:00
Serhii
4cffc8d4c5
Update wallet_restore_page.dart (#1178) 2023-11-15 21:04:30 +02:00
Matthew Fosse
062315f01b
Secure storage overwrite fix (#1161)
* secure storage overwrite fix

* add comment

* bump encrypt package, use more explicit iv source

---------

Co-authored-by: fossephate <fosse@book.local>
2023-11-15 19:31:25 +02:00
Matthew Fosse
fdeee8874a
disable bio auth (#1172)
* disable bio auth

* enforce dark theme on desktop platforms

---------

Co-authored-by: fossephate <fosse@book.local>
2023-11-14 23:56:36 +02:00
OmarHatem
f5ffa1bc0f Fix missing localizations 2023-11-05 02:11:14 +03:00
OmarHatem
c9c7671c81 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into cw_linux_direct_input_password
 Conflicts:
	assets/text/Monerocom_Release_Notes.txt
	assets/text/Release_Notes.txt
	cw_monero/lib/monero_wallet.dart
	lib/entities/default_settings_migration.dart
	lib/router.dart
	res/values/strings_ar.arb
	res/values/strings_bg.arb
	res/values/strings_cs.arb
	res/values/strings_de.arb
	res/values/strings_en.arb
	res/values/strings_es.arb
	res/values/strings_fr.arb
	res/values/strings_ha.arb
	res/values/strings_hi.arb
	res/values/strings_hr.arb
	res/values/strings_id.arb
	res/values/strings_it.arb
	res/values/strings_ja.arb
	res/values/strings_ko.arb
	res/values/strings_my.arb
	res/values/strings_nl.arb
	res/values/strings_pl.arb
	res/values/strings_pt.arb
	res/values/strings_ru.arb
	res/values/strings_th.arb
	res/values/strings_tl.arb
	res/values/strings_tr.arb
	res/values/strings_uk.arb
	res/values/strings_ur.arb
	res/values/strings_yo.arb
	res/values/strings_zh.arb
	scripts/android/app_env.sh
	scripts/ios/app_env.sh
	scripts/macos/app_env.sh
2023-11-05 01:44:13 +03:00
Omar Hatem
a65c395337
v4.10.3 and v1.7.3 (#1159)
* Update app versions

* Ignore camera permission check for iOS
2023-11-05 01:40:11 +03:00
Omar Hatem
37c2ee9e9e
Generic fixes (#1154)
* Fix White screen issue
Bypass node certificate issue

* check on Fiat currency only with fiat templates

* Add possible missing cache file android error

* Dispose exchange state reaction when page is closed

* Fix minor chinese translation

* Temp remove BCH from robinhood

* Minor fixes
2023-11-03 21:24:45 +02:00
Serhii
ca6ccf1cf9
CW-506-Add-a-switch-to-enable-disable-domain-lookups (#1155)
* looks up domain ui

* update address resolv func

* add localization

* minor fixes

* Revert "Merge branch 'main' into CW-506-Add-a-switch-to-enable-disable-domain-lookups"

This reverts commit 92924a90e8, reversing
changes made to 5a2a203054.

* Revert "Revert "Merge branch 'main' into CW-506-Add-a-switch-to-enable-disable-domain-lookups""

This reverts commit 00cf6a1cad.

* fix merge commit
2023-11-03 21:23:11 +02:00
Serhii
2d454e0e48
CW-511-Tablet-iPad-keyboard-issue (#1143)
* fix keyboard issue

* Update responsive_layout_util.dart

* fix close button color

* minor fix

* [skip ci] Update pin_code_widget.dart

* Update main.dart

* fix qr widget overflow issue

* Fix minor UI issue

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-11-03 07:42:18 +02:00