Commit graph

2493 commits

Author SHA1 Message Date
Rafael Saes
4a3140035f inital commit: testnet, silent payments 2023-10-06 12:20:45 -03:00
Omar Hatem
021e88e667
Merge branch 'main' into cw_linux_direct_input_password 2023-09-29 20:29:12 +03:00
Omar Hatem
ae71f2045b
New versions v4.9.2 and v1.6.2 (#1108) 2023-09-29 20:28:26 +03:00
Omar Hatem
b1859b9e63
Generic Fixes (#1103)
* Update trade_details_page.dart

* let web3dart calculate gas price and max gas while just providing the priority fee per gas needed
2023-09-29 01:53:53 +03:00
Adegoke David
f07062d987
fix: Cake-2FA-setup-issue (#1097)
* fix: Cake 2FA setup issue

* fix: 2FA Setup issue

* fix: 2FA setup bug
2023-09-28 21:40:15 +03:00
Konstantin Ullrich
dc36c31197
CW-489 Skip Warning if all monero utxo are selected (#1106) 2023-09-28 20:49:46 +03:00
Procyon Lotor
9eb6867ab9
Exolix integration (#1080)
* Add Exolix exchange integration

* update tx payload

* remove import

* Improve mapping

* Additional fixes

* fix apiBaseUrl

* Update trade_details_view_model.dart

* Update exolix_exchange_provider.dart

* Fix status URL

* Fix fetch rates API error handling update limits API to use a valid amount and validate on success status code

---------

Co-authored-by: Justin Ehrenhofer <justin.ehrenhofer@gmail.com>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-09-28 19:20:08 +03:00
Rafael Saes
6180dac659 fix: reverse include for android to be first 2023-09-26 18:50:07 -03:00
Rafael Saes
a447249ccb fix: another linux include attempt 2023-09-26 17:24:27 -03:00
Rafael Saes
f16a86cdfe fix: only use new directory in the failure case
since other builds could have worked and have already wallet files in the documents folder
2023-09-26 15:50:08 -03:00
Rafael Saes
678e402633 fix: include statement for different linux cases 2023-09-26 15:45:11 -03:00
Serhii
d6c641242f
CW-475-Better-error-message-if-there-isnt-enough-network-fee-asset-available (#1092)
* Better error message

* minor fixes

* localization

* Update strings_tl.arb

* Update append_translation.sh
2023-09-25 15:20:11 +03:00
Adegoke David
04f5391be1
feat: Add otp url link to qa screen (#1098) 2023-09-23 03:30:06 +03:00
OmarHatem
e3d1e26934 fix include statement for linux 2023-09-22 20:43:39 +03:00
OmarHatem
47a5761f05 Update java version in workflow
pull latest main changes
2023-09-22 19:14:26 +03:00
OmarHatem
f3e8767203 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into cw_linux_direct_input_password 2023-09-22 19:11:26 +03:00
Serhii
572d928848
CW-442-Update-exchange-selector-checkboxes-with-checkboxes-from-transactions-filter-screen (#1074)
* Update checkboxes

* fix exchange provider selector

* checkbox picker refactoring

* Revert "checkbox picker refactoring"

This reverts commit 66eea9d690.

* Update check_box_picker.dart
2023-09-22 18:09:30 +03:00
Omar Hatem
95ea825728
Add Brightness Util to check for platform before increasing brightness (#1096) 2023-09-22 17:53:30 +03:00
Rafael Saes
5827a8977c
Cw linux direct input password build changes (#1091)
* chore: build changes

* refactor: better solution to `nice()` problem

* fix: errors trying to open documents file

* fix: haven wallet class

* chore: use forked device_display_brightness
2023-09-22 17:50:51 +03:00
OmarHatem
9c0d0955a7 Fix translation file format 2023-09-17 13:55:48 +03:00
OmarHatem
4bb9f854fd Update Linux version
Merge main
2023-09-17 13:52:16 +03:00
OmarHatem
002e7cddd1 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into cw_linux_direct_input_password
 Conflicts:
	cw_ethereum/lib/ethereum_wallet.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_tr.arb
	res/values/strings_uk.arb
	res/values/strings_ur.arb
	res/values/strings_yo.arb
	res/values/strings_zh.arb
2023-09-17 13:45:57 +03:00
Omar Hatem
b6de1be6c4
Update app version and release notes (#1093) 2023-09-17 13:23:14 +03:00
Konstantin Ullrich
0eecf0bee5
Cw 483 add tagalog and filipino localizations (#1086)
* CW-483 Add "Add new language Script"

* CW-483 Add Filipino Language
2023-09-15 00:41:54 +03:00
Konstantin Ullrich
d972363417
Add additional Buy Provider (#1071)
* CW-466 Add Buy Options Page

* CW-466 Add Buy Options

* CW-466 Add Default Buy Provider to Other Settings

* CW-466 Onramper is working from Buy Options

* CW-466 Onramper is working from Buy Options

* CW-466 Translation improvements

* CW-466 Add Onramper & Robinhood Logos

* CW-466 Implement Robinhood Flow

* CW-466 Fix Robinhood Flow

* CW-466 Add RH-Secrets

* CW-466 Have RH Translation in English only

* Add missing URI details

* CW-466 Implement default Buy Provider

* CW-466 Fix Padding Buy Provider Options

* CW-466 Fix Bitcoin and Litecoin Signatures

* CW-466 Fix Error Message

* CW-466 Resolve requested changes

* Add exception handler to robinhood API calls

* CW-466 Fix Theming

---------

Co-authored-by: Justin Ehrenhofer <justin.ehrenhofer@gmail.com>
Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2023-09-14 22:14:49 +03:00
Omar Hatem
ce4d375abf
Generic fixes and enhancements (#1083)
* Add exception handler to fiat APIs
Increase send card size for coin control
Fix Monero.com unspent coins hive box issue
minor bug fix

* Remove EIP-1559 parameters from Eth transaction
Enhance error reporting

* Throw error if not enough monero utx outputs are selected

* Fix Search text color

* Fix Ethereum sending EIP-1559 transactions

* Add transaction data to ERC20 transactions

* Add input check in single output transactions as well

* Fix Node deletion issue
Handle user input error in anonpay

* Remove exception handler from fiat conversion since it's not working with isolates

* Require enough utxo for amount and fees; More insightful Error messages

* Add cakewallet to applinks [skip ci]

* Add cakewallet app link for iOS [skip ci]

* Add applink depending on app scheme variable

* Add applink in iOS custom to the app getting built [skip ci]

* Handle normal app links without considering them as Payment URIs

* Minor fix [skip ci]

* Fixate encrypt package version as the recent update they made has some issues [skip ci]

---------

Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
2023-09-14 22:14:16 +03:00
Omar Hatem
4c9c6a1eae
CW- 463 Fix transaction receive address not showing for Eth/Erc20 (#1076)
* Fix transaction receive address not showing for Eth/Erc20 [skip ci]

* Fix transaction receive address for Eth/Erc20
2023-09-14 22:12:41 +03:00
OmarHatem
8992ee6d29 Update build guides [skip ci] 2023-09-08 20:28:53 +03:00
Konstantin Ullrich
4bcf6162f1
CW-476 Only get Transactions of one Account on tx-history refresh (#1077) 2023-09-08 20:12:54 +03:00
Rafael Saes
325d20a66a fix: missing coin control fixes 2023-09-08 13:20:37 -03:00
OmarHatem
104bcbd5b1 Update linux version [skip ci] 2023-09-08 17:29:24 +03:00
OmarHatem
567db81ebb Merge branch 'main' of https://github.com/cake-tech/cake_wallet into cw_linux_direct_input_password 2023-09-08 17:16:35 +03:00
Omar Hatem
94f256997f
New versions (#1073) 2023-09-08 17:15:28 +03:00
Rafael Saes
6917668029
fix: Fixes specific to Linux (#1079) 2023-09-08 15:04:28 +03:00
OmarHatem
665770c733 Fix conflicts with main 2023-09-07 22:52:03 +03:00
Omar Hatem
bdb3ec2048 Add Encryption file utils to Ethereum (#1025) 2023-09-07 21:49:18 +03:00
OmarHatem
74b5ee315a Add Ethereum to Linux
Fix conflicts with main
2023-09-07 21:44:06 +03:00
OmarHatem
9fbb206a7c Merge branch 'main' of https://github.com/cake-tech/cake_wallet into cw_linux_direct_input_password
 Conflicts:
	.gitignore
	assets/text/Monerocom_Release_Notes.txt
	assets/text/Release_Notes.txt
	cw_bitcoin/lib/bitcoin_wallet_service.dart
	cw_bitcoin/lib/electrum_transaction_history.dart
	cw_bitcoin/lib/litecoin_wallet_service.dart
	cw_bitcoin/pubspec.yaml
	cw_core/pubspec.lock
	cw_monero/ios/Classes/monero_api.cpp
	cw_monero/lib/monero_wallet.dart
	cw_monero/lib/monero_wallet_service.dart
	lib/core/backup_service.dart
	lib/core/wallet_loading_service.dart
	lib/di.dart
	lib/entities/default_settings_migration.dart
	lib/entities/get_encryption_key.dart
	lib/entities/main_actions.dart
	lib/main.dart
	lib/router.dart
	lib/src/screens/dashboard/desktop_widgets/desktop_action_button.dart
	lib/src/screens/dashboard/desktop_widgets/desktop_wallet_selection_dropdown.dart
	lib/src/screens/dashboard/widgets/market_place_page.dart
	lib/src/screens/dashboard/widgets/transactions_page.dart
	lib/src/screens/receive/anonpay_invoice_page.dart
	lib/src/screens/restore/wallet_restore_from_keys_form.dart
	lib/src/screens/restore/wallet_restore_page.dart
	lib/src/screens/settings/security_backup_page.dart
	lib/src/screens/wallet/wallet_edit_page.dart
	lib/src/screens/wallet_list/wallet_list_page.dart
	lib/store/settings_store.dart
	lib/utils/distribution_info.dart
	lib/view_model/wallet_creation_vm.dart
	lib/view_model/wallet_list/wallet_edit_view_model.dart
	lib/view_model/wallet_list/wallet_list_view_model.dart
	lib/view_model/wallet_new_vm.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_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
	tool/configure.dart
2023-09-07 21:28:40 +03:00
Rafael Saes
8d157e6207 Linux: fixes for wallet rename (#1000)
* fix: missing MarketPlaceViewModel register

* fix: no auth route on wallet list _loadWallet

* fix: fixes for wallet rename with password flow

* fix: missing monero condition

* fix: navigator pop

* fix: going back case
2023-09-07 19:00:03 +03:00
Omar Hatem
3bdc86ec67 Old state (#999)
* Fix Bitcoin transactions not showing (#978)

* handle multiple responses coming in a single event

* Add timeout for getting transaction info, to allow other transactions to be returned in case of any failure or network issue

* Handle other cases of receiving multiple messages in the same response

* Fix shib and storj (#997)

* Merge main branch

* Add missing files

---------

Co-authored-by: Justin Ehrenhofer <justin.ehrenhofer@gmail.com>
2023-09-07 18:57:02 +03:00
Harold Than
f55059ce61 Button: Cursor to Pointer on Hover (#982)
* Button: Cursor to Pointer on Hover

* Updated build-guide-linux.md to Revert Flutter Version

---------

Co-authored-by: Harold <harold@pop-os.localdomain>
2023-09-07 18:37:18 +03:00
Omar Hatem
68a821cc0e
Fiat api fix (#1070)
* Cw 474 linux swapping wallets btc then xmr still shows btc receive qr code (#1068)

* feat: improve address page txt field

* fix: switching wallets from the desktop dropdown updates dashboard pages

* Revert "feat: improve address page txt field"

This reverts commit 0a30e6d9e1.

* refactor: rename to WalletChangeListener

* fix: _init also behaves on wallet change

* Fix Fiat conversion API parsing
Cherry pick fix for Desktop switching wallets not updating dashboard screens

* Minor indentations fix [skip ci]

---------

Co-authored-by: Rafael Saes <76502841+saltrafael@users.noreply.github.com>
2023-09-01 18:06:18 +03:00
Adegoke David
710fe82d7a
CW-471-Changing-nodes-bug (#1062)
* chore: Cleanup

* fix: Node selection not updating

* fix: Node selection not updating

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-09-01 17:05:45 +03:00
Adegoke David
e634562cf4
Cw-465-Remove CakePay Button on Mobile/Desktop (#1057)
* feat: Remove CakePayButton Mobile

* feat: Remove CakePayButton Desktop

* feat: Remove CakePay Mobile Button

* feat: Remove CakePay Mobile Button

* feat: Remove CakePay Mobile Button

* fix: Action breaking
2023-09-01 16:59:18 +03:00
Konstantin Ullrich
8757390c8f
CW-481 Fix empty Address (#1072) 2023-09-01 14:04:35 +03:00
Adegoke David
d51b9bd684
feat: Replace transfer.sh (#1066)
* feat: Replace transfer.sh

* Update build_haven.sh

* Update pr_test_build.yml

* Update pr_test_build.yml

* Update pr_test_build.yml

* feat: Change apk name in PR workflow

* feat: Change apk name in PR workflow

* feat: Change apk name in PR workflow

* fix: Remove test-apk prefix in app name

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-08-31 20:09:10 +03:00
Matthew Fosse
feca2410b8
Merge pull request #1067 from cake-tech/generic_fixes
Generic fixes
2023-08-30 12:30:45 -04:00
OmarHatem
6b9c47563e Allow triggering cache workflow manually
Fix haven build script
2023-08-30 19:15:07 +03:00
Omar Hatem
1cc2c645fa
Fix Wallet Loading issues (basic_string & input_stream) (#1059)
* Recover from wallet loading exceptions (basic_string & input_stream)
Recover from removed cached wallets

* Fix restoring as Monero wallets
Fix restoring wallets with invalid files

* Add coin control missing changes for macos monero files

* Add same key for cached dependencies [skip ci]
2023-08-30 18:11:56 +03:00
Godwin Asuquo
fff5a1c419
CW-228 Auto generate monero subaddress (#902)
* Add UI and setting logic for subaddresses

* Enable auto generate subaddresses

* Rename variable

* Add comment to unused code

* Fix issue with initial state change

* Fix observable for isAppSecure

* Filter sub account contacts

* Fix select account use unused address

* Use add address if last address is unused

* Fix auto generate wallet issues

* Fix button color

* Add translation and refactored naming

* Fix PR review

* Remove unused code

* Remove unused overrides in electrum

* Fix address info null check

* CW-228 Fix ContactListViewModel condition

* CW-228 Fix Account Tile; Rework updateAddressesInBox; Fix _getAllUnusedAddresses

* CW-228 Fix unintentional address_page.dart regression

* CW-228 Fix Merge Conflicts

* CW-228 Add more translation Tools

* CW-228 More merge conflict fixes

* CW-228 Fix Merge Conflicts

* CW-228 Auto Translation improvements

* CW-228 Resolve requested Changes

---------

Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
2023-08-29 19:11:51 +03:00