Commit graph

2843 commits

Author SHA1 Message Date
Omar Hatem
01faeabefe
test (#1842)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
* test

* macos new build
2024-12-03 14:04:11 +03:00
ArTombado
0691b9ddb3
NanoGPT portuguese string fix (#1839) 2024-12-03 14:03:24 +03:00
MyEcoria
2e6dbe71af
(fix)[translations]: update French translations for wallet (#1850) 2024-12-03 14:02:50 +03:00
Serhii
3e1cb3905e
fix infinity values in LetsExchange fixed rate (#1849)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-12-03 01:26:33 +03:00
Omar Hatem
5b162c54da
Update AndroidManifestBase.xml 2024-12-02 20:24:01 +03:00
Konstantin Ullrich
c83913820a
Merge pull request #1843 from cake-tech/apk-verification
Some checks are pending
Cache Dependencies / test (push) Waiting to run
Add APK verification to readme
2024-12-01 20:06:16 +01:00
tuxsudo
de15c400b5
Add APK verification to readme 2024-11-30 15:49:48 -05:00
Omar Hatem
bd38393acf
fix sending issue (#1840)
Some checks failed
Cache Dependencies / test (push) Has been cancelled
* fix sending issue

* Update pr_test_build_android.yml
2024-11-29 23:15:55 +03:00
Omar Hatem
de970fcb80
test (#1838)
* update versions

* android fix trial

* minor translation fix [skip ci]

* update monero_c

* minor
2024-11-29 14:16:59 +03:00
Omar Hatem
79f20c2847
update versions (#1835)
* update versions

* android fix trial

* minor translation fix [skip ci]

* update monero_c
2024-11-29 13:43:10 +03:00
cyan
17d34beae9
CW-782: Show error report popup without cooldown (#1739)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
* improve exception throwing on broken wallets
- put _lastOpenedWallet to avoid issues on windows (file is currently open by)
- don't throw corruptedWalletsSeed - instead store it inside of secureStorage
- await ExceptionHandler.onError calls where possible to makse sure that popup won't be canceled by some UI element
- adjust BaseAlertDialog to be scrollable if the text is too long
- add ExceptionHandler.resetLastPopupDate - that can be called when we want to show error report screen (bypassing cooldown)

* fix: HiveError: Box has already been closed.

* await the alerts to be sure that each one of them is being shown
fix typo in secure storage

* Update lib/core/backup_service.dart

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>

* address comments on github

* don't store seeds in secure storage

* fix wallet password

* update monero_c
update corrupted seeds UI
prevent app from crashing when wallet is corrupted

* show alert with seeds

* Update corrupted wallet UI
Fix wallet opening cache

* remove unused code

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-11-28 21:28:31 +02:00
Serhii
d8d4190608
prevent calling unsupported payment method (#1836) 2024-11-28 21:02:10 +02:00
Rafael
63f26c034f
[Cakepay] alert iOS availability (#1837)
* feat: alert iOS availability

* feat: use regex, check iOS
2024-11-28 18:50:30 +02:00
Serhii
9cd69c4ba3
Cw 830 coin control getting cleared (#1825)
* init commit

* add select all button

* localisation all coins

* fix isSending and isFrozen state updates

* fix: clean up electrum UTXOs

* ui fixes

* address the review comments[skip ci]

* remove onPopInvoked[skip ci]

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-11-28 17:53:03 +02:00
Serhii
4ca50b5e63
Cw 649 rbf improvements opt in (#1772)
* initial commit

* revert changes

* allow adding inputs to RBF transactions

* address review comments[skip ci]

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-11-28 02:42:46 +02:00
Serhii
5ca1c0c56e
Cw 765 onboarding flow improvements (#1817)
* update onboarding flow

* update welcome subtitle

* update wallet title

* add create restore wallet subtitles

* info button

* minor fix [skip ci]

* Update text and iconbutton

* Cleanup

---------

Co-authored-by: tuxpizza <tuxsudo@tux.pizza>
2024-11-27 23:05:04 +02:00
OmarHatem
13c4fbd225 minor UI change 2024-11-27 19:33:53 +02:00
Serhii
125c40b49a
fix onramper network tag plus UI (#1832) 2024-11-27 19:06:28 +02:00
Serhii
c3978bfbe1
enhance exception handling in cakePay getVendors (#1833) 2024-11-27 17:42:00 +02:00
cyan
87178b2a54
CW-766 fix coin freezing (#1751)
* fix coin freezing

* fix frozen balance

* update monero_c hash

* update monero_c hash (after merge)

* fix test E
make it ready

* revert local change

* throw error on wow as well

* experiment with view model code

* move view model into di.dart
2024-11-27 17:34:36 +02:00
OmarHatem
9706243c81 change default tron node to nowNodes if not already
Some checks failed
Cache Dependencies / test (push) Has been cancelled
2024-11-27 02:20:08 +02:00
cyan
765ae87712
Automatically upgrade non-SSL nodes to SSL if they fail (#1757)
* Automatically upgrade non-SSL nodes to SSL if they fail

* another ssl catch

* [skip ci] pr fixes
2024-11-26 16:59:22 +02:00
Seth For Privacy
eff6616981
Migrate to new self-hosted mempool.space instance (#1820)
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-11-26 16:56:00 +02:00
cyan
738731d3e5
CW-826 Fix missing tx keys in monero (#1828)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
* CW-826 Fix missing tx keys in monero

* force store wallet

* don't return error string
2024-11-26 15:43:56 +02:00
cyan
09bc186fea
Cw 835 investigate failed to get earliest block height when sending monero (#1827)
* update flutter to 3.24.3

* bump flutter to 3.24.4, fix all android issues (i hope)

* update uni_links path

* update sensitive_clipboard

* update dependencies

* update fast_scanner

* update the ref

* Update how_to_add_new_wallet_type.md [skip ci]

* Update how_to_add_new_wallet_type.md [skip ci]

* Update how_to_add_new_wallet_type.md [skip ci]

* Update how_to_add_new_wallet_type.md [skip ci]

* CW-835: Fix failed to get earlist block height when sending monero

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-11-26 15:40:26 +02:00
OmarHatem
83cfc7dd70 fix building with haven
Some checks are pending
Cache Dependencies / test (push) Waiting to run
2024-11-25 21:05:36 +02:00
cyan
8ceaa013eb
Fix sed (again) (#1830)
* fix sed

* 0, -> 1, so it doesn't silently error out

* remve hardcoded CONFIG_ARGS
2024-11-25 20:55:05 +02:00
Omar Hatem
59e8550e4e
Generic fixes (#1823)
* add timeout for mempool fee api and make it only in bitcoin

* disable Monero Ledger for desktop

* handle onramper tag issue

* better handle main actions UI

* make service status scrollable with a better UI

* fix stupid race condition

* minor handling

* update btc fee api
update our xmr node to use ssl

* manually add supported unstoppable domains for now

* change bitcoin default node
code enhancement

* revert debugging code [skip ci]

* minor enhancements [skip ci]

* increase sync indicator size [skip ci]

* fix selecting USA country not triggering the reaction

* fix scrolling on cake features page [skip ci]
2024-11-25 18:26:41 +02:00
cyan
367c36b4d5
fix sed (#1829) 2024-11-25 18:00:37 +02:00
cyan
505ea26533
CW-798 Fix macos 15 issues (#1775)
* update flutter to 3.24.3

* bump flutter to 3.24.4, fix all android issues (i hope)

* update uni_links path

* update sensitive_clipboard

* update dependencies

* update fast_scanner

* update the ref

* Update how_to_add_new_wallet_type.md [skip ci]

* Update how_to_add_new_wallet_type.md [skip ci]

* Update how_to_add_new_wallet_type.md [skip ci]

* Update how_to_add_new_wallet_type.md [skip ci]

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-11-25 16:08:30 +02:00
cyan
cfe78d4e5f
Fix error reporting in transaction creation (#1821)
Some checks failed
Cache Dependencies / test (push) Has been cancelled
2024-11-24 10:49:42 +02:00
XD22
29b659e748
Fix Whitespace in secret_key.dart (#1812)
Some checks failed
Cache Dependencies / test (push) Has been cancelled
2024-11-21 14:04:46 -06:00
Omar Hatem
ff5fbd7946
v4.21.0 Release Candidate (#1795)
* new versions

* minor fix of cache key

* fix cache hit

* - potential improvement for sync status
- update with latest main

* disable thorchain by default [skip ci]

* update monero_c commit hash

* minor fixes
update versions

* remove monero ledger

* increase macos build number [skip ci]
2024-11-16 16:23:54 -06:00
Omar Hatem
9be990a3c0
Move the api key of trocador to the headers (#1808)
Some checks failed
Cache Dependencies / test (push) Has been cancelled
2024-11-16 11:06:49 -06:00
Serhii
cf7f019a92
fix the UI issue with address book (#1803)
Some checks failed
Cache Dependencies / test (push) Has been cancelled
2024-11-13 19:20:08 -06:00
Omar Hatem
ed5e701d80
Potential fix for the race condition of loading a wallet while the name in the shared prefs hasn't updated yet (#1801)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
2024-11-13 10:55:46 +01:00
Konstantin Ullrich
0adb69d095
Better Ledger Connection handling (#1802) 2024-11-13 10:44:43 +01:00
Omar Hatem
c4698576a3
add xmr to unstoppable domain (#1800)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
2024-11-13 01:19:50 +02:00
Serhii
96db38c0aa
Cw 744 improve address book (#1771)
* add sort function to contact list

* fix UI

* prevent duplicate contact names

* dispose contact source subscription

* fix custom order issue

* update the address book UI

* fix saving custom order

* fix merge conflict issue

* fix the address book filter by the selected currency

* add dropdown for wallets with multiple address types

* minor fixes

* add dropdown for wallets with multiple address types

* Update lib/entities/contact.dart [skip ci]

* Update lib/src/screens/contact/contact_list_page.dart [skip ci]

* Update lib/src/screens/contact/contact_list_page.dart [skip ci]

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-11-12 05:29:32 +02:00
Konstantin Ullrich
2c37e427e9
Cw 660 add ledger monero (#1747)
* Fix conflicts with main

* fix for multiple wallets

* Add tron to windows application configuration.

* Add macOS option for description message in configure_cake_wallet.sh

* Include missed monero dll for windows.

* fix conflicts with main

* Disable haven configuration for iOS as default. Add ability to configure cakewallet for iOS with  for configuration script. Remove cw_shared configuration for cw_monero.

* fix: scan fixes, add date, allow sending while scanning

* add missing nano secrets file [skip ci]

* ios library

* don't pull prebuilds android

* Add auto generation of manifest file for android project even for iOS, macOS, Windows.

* feat: sync fixes, sp settings

* feat: fix resyncing

* store crash fix

* make init async so it won't lag
disable print starts

* fix monero_c build issues

* libstdc++

* Fix MacOS saving wallet file issue
Fix Secure Storage issue (somehow)

* update pubspec.lock

* fix build script

* Use dylib as iOS framework. Use custom path for loading of iOS framework for monero.dart. Add script for generate iOS framework for monero wallet.

* fix: date from height logic, status disconnected & chain tip get

* fix: params

* feat: electrum migration if using cake electrum

* fix nodes
update versions

* re-enable tron

* update sp_scanner to work on iOS [skip ci]

* bump monero_c hash

* bump monero_c commit

* bump moneroc version

* bump monero_c commit

* Add ability to build monero wallet lib as universal lib. Update macOS build guide. Change default arch for macOS project to .

* fix: wrong socket for old electrum nodes

* Fix unchecked wallet type call

* get App Dir correctly in default_settings_migration.dart

* handle previous issue with fetching linux documents directory [skip ci]

* backup fix

* fix NTFS issues

* Close the wallet when the wallet gets changed

* fix: double balance

* feat: node domain

* fix: menu name

* bump monero_c commit

* fix: update tip on set scanning

* fix: connection switching back and forth

* feat: check if node is electrs, and supports sp

* chore: fix build

* minor enhancements

* fixes and enhancements

* solve conflicts with main

* Only stop wallet on rename and delete

* fix: status toggle

* minor enhancement

* Monero.com fixes

* bump monero_c commit

* update sp_scanner to include windows and linux

* Update macOS build guide. Change brew dependencies for build unbound locally.

* fix conflicts and update macos build guide

* remove build cache when on gh actions

* update secure storage

* free up even more storage

* free up more storage

* Add initial wownero

* fix conflicts

* fix workflow issue

* build wownero

* ios and windows changes

* macos

* complete wownero flow (app side)

* add keychain group entitlement and update script for RunnerBase on macos

* update secure_storage version to 8.1.0 in configure.dart

* add wownero framework

* update ios builds

* proper path for wownero and monero

* finalizing wownero

* finalizing wownero

* free up even more storage

* revert commenting of build gradle configs

* revert commenting of secrets [skip ci]

* free more storage

* minor fixes

* link android wownero libraries

* bump monero_c commit

* wownero fixes

* rename target

* build_single.sh using clean env

* bump monero_c commit

* minor fix

* Add wownero polyseed

* fix conflicts with main

* fix: wallet seed display
fix: wownero not refreshing

* fix: wallet seed display
fix: wownero not refreshing

* bump monero_c commit

* minor fixes

* fix: incorrectly displaying XMR instead of WOW

* fix: incorrect restore height in wownero

* bump monero_c commit

* Add Inno Setup Script for windows exe installer

* drop libc++_shared.so

* fixes from comments

* Fix CMake for windows

* Merge latest monero dart changes [skip ci]

* bump monero_c commit

* add wownero to build scripts for macos [skip ci]

* add 14 word seed support to wownero

* UI fixes for wownero seed restore

* minor fixes

* reformat code to pass lints

* Add debug ledger code

* Add Litecoin Hardware Wallet Creation

* Add Litecoin Hardware Wallet Creation

* Fix Bitcoin not sending on Ledger

* Fixes to sending LTC using Ledger

* CW-679 Fix merge conflicts

* CW-679 Fix merge conflicts

* CW-679 Minor fixes

* CW-679 Add derivation Path of change address

* Add create Monero Wallet from Ledger

* bug fix to create Monero Wallet from Ledger

* ledger flutter plus refactoring

* ledger flutter plus refactoring

* ledger flutter plus refactoring

* Ups :|

* Ups :| I forgot USB

* Handle BT Off

* Fix Issue with A14 and USB

* Small Ledger Quality of life improvements

* Small Ledger Quality of life improvements

* Small Ledger Quality of life improvements

* Small Ledger Quality of life improvements

* Small Ledger Quality of life improvements

* Small Ledger Quality of life improvements

* Small Ledger Quality of life improvements

* Pls work

* Pls work

* Pls work

* Pls work

* Fix overpopulation

* Fix ble device detection and support for Stax and Flex

* clean up pubspec

* clean up

* MWeb merge fix

* MWeb merge fix

* Migrate to Ledger Flutter Plus

* Add connect device page before loading the wallet (Only monero)

* Add connect device page before loading the wallet (Only monero)

* Fix merge error

* Fix merge error

* Fix merge error && Allow for wallet switching

* Please compile now

* Move monero/ledger.dart from monero_c to cw_monero

* Upgrade ledger_flutter_plus

* Add more popups if action on the device is needed.

* Update monero_c dependency hash

* Yay ledger monero is even more efficient and avoids memory leaks 🥳

* [skip-ci] more code

* Fix Minor Bug

* Fix Minor Bug

* Apply requested changes

* [skip ci] Apply requested changes

* Minor Cleanup

* Welp I'm dumb :/

* Implement requested changes

* Increase ledger refresh speed

* Add Monero Ledger keep connection alive

* Add Monero Ledger keep connection alive

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
Co-authored-by: Czarek Nakamoto <cyjan@mrcyjanek.net>
Co-authored-by: m <m@cakewallet.com>
Co-authored-by: Rafael Saes <git@rafael.saes.dev>
Co-authored-by: Matthew Fosse <matt@fosse.co>
2024-11-12 05:26:09 +02:00
Serhii
e148f64508
fix the UI issue with sending outputs (#1798)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
2024-11-11 19:39:45 +02:00
OmarHatem
89525b1897 temporarily disable key caching
Some checks failed
Cache Dependencies / test (push) Has been cancelled
2024-11-10 01:16:21 +02:00
OmarHatem
ed69dc803b fix cache key 2024-11-10 00:14:38 +02:00
Serhii
5301ee4584
Update onramper_buy_provider.dart (#1796)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
2024-11-09 23:44:08 +02:00
Omar Hatem
2881646037
Updatable builds (#1791)
* save and increment build number for each PR

* cd into repo path

* trial

* try generating the release build without a keystore

* cache keystore to maintain same signature for PR builds

* weird fix

* potential fix

* fix key path

* meh

* Update cache_dependencies.yml
2024-11-09 21:07:17 +02:00
Serhii
02f53055b1
Cw 657 new buy sell flow (#1553)
* init commit

* onramper

* moonPay

* dfx provider

* meld

* dfx payment methods

* fiat buy credentials

* moonpay payment method

* payment loading state

* dfx sell quote

* onramper launch trade

* meld launch trade

* country picker

* update option tile

* buy/sell action

* meld refactor

* update pr_test_build.yml

* ui fixes

* revert country picker commit

* update the ui

* recommended providers

* payment method [skip ci]

* provider option tile

* remove buy action

* minor fixes

* update the best rate when the amount is changed

* fixes for currency title

* fix icons

* code refactoring

* null issue

* code review fixes

* Update pr_test_build_linux.yml

* Update meld_buy_provider.dart

* Update meld_buy_provider.dart

* add show wallets action

* remove default sell / buy provider setting

* localisation

* providerTypes

* icons

* remove duplicate file [skip ci]

* minor changes [skip ci]

* fixes from review

* disable dfx for non eur/chf currencies
fix providers to be fetched with the selected currency

* fix breaking from loop if one element failed

* fix minor naming issue from merging conflicts

* add fiat check for moonpay

* fix address validation

* merge conflict

* fix destination and source currency

* minor fix

* minor fix

* update the flow

* fix bch address format

* fix wallet addresses

* fix initial fetching amount.

* Update address_validator.dart

* review comments

* revert switch case to return null

* minor fix

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-11-09 21:00:56 +02:00
cyan
cea3084bb3
WIP: CW-665 Implement AirGapped Monero Transactions (#1535)
* replace qr scanner with fast_scanner

* bump java version

* fix qr code scanning

* add flashlight and camera switch

* airgap work

* commitTransactionUR

* bump fast_scanner, fix configure script

* add option to restore wallet from NERO qr format

* fixes to the flow and logic
use gsed or otherwise it fails?

* remove Expanded() to fix URQR on release builds

* cache key to allow app updates

* rename cache key

* [skip ci] cache key.jks in cache_dependencies

* update fast_scanner to work on ios, with light mlkit dependency

* ui fixes

* error handling fix

* update fast_scanner to drop iOS dependency

* changes from review

* Update lib/entities/qr_scanner.dart

* changes from review

* remove useless commit

* don't set state multiple times
remove return Container() for non monero wallets

* return on fail
don't handle empty qr codes

* set node as trusted
display primary address in seed screen

* fix wow and haven

* migrate node to trusted

* - update trusted node for existing users
- update locales
- fix conflicts
- move menu item

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-11-09 20:59:47 +02:00
Rafael
8e12fb1ad9
fix: paymentUrls is null (#1786)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
* fix: paymentUrls is null

* feat: potential secure storage error
2024-11-09 07:20:06 +02:00
Omar Hatem
389c334f10
Electrum enhancements (#1794)
* Enhance the code for sending/sending-ALL for Electrum

* remove prints [skip ci]
2024-11-08 12:50:21 +02:00
David Adegoke
0fcfd76afd
Automated Integration Tests Flows (#1686)
Some checks failed
Cache Dependencies / test (push) Has been cancelled
* feat: Integration tests setup and tests for Disclaimer, Welcome and Setup Pin Code pages

* feat: Integration test flow from start to restoring a wallet successfully done

* test: Dashboard view test and linking to flow

* feat: Testing the Exchange flow section, selecting sending and receiving currencies

* test: Successfully create an exchange section

* feat: Implement flow up to sending section

* test: Complete Exchange flow

* fix dependency issue

* test: Final cleanups

* feat: Add CI to run automated integration tests withan android emulator

* feat: Adjust Automated integration test CI to run on ubuntu 20.04-a

* fix: Move integration test CI into PR test build CI

* ci: Add automated test ci which is a streamlined replica of pr test build ci

* ci: Re-add step to access branch name

* ci: Add KVM

* ci: Add filepath to trigger the test run from

* ci: Add required key

* ci: Add required key

* ci: Add missing secret key

* ci: Add missing secret key

* ci: Add nano secrets to workflow

* ci: Switch step to free space on runner

* ci: Remove timeout from workflow

* ci: Confirm impact that removing copy_monero_deps would have on entire workflow time

* ci: Update CI and temporarily remove cache related to emulator

* ci: Remove dynamic java version

* ci: Temporarily switch CI

* ci: Switch to 11.x jdk

* ci: Temporarily switch CI

* ci: Revert ubuntu version

* ci: Add more api levels

* ci: Add more target options

* ci: Settled on stable emulator matrix options

* ci: Add more target options

* ci: Modify flow

* ci: Streamline api levels to 28 and 29

* ci: One more trial

* ci: Switch to flutter drive

* ci: Reduce options

* ci: Remove haven from test

* ci: Check for solana in list

* ci: Adjust amounts and currencies for exchange flow

* ci: Set write response on failure to true

* ci: Split ci to funds and non funds related tests

* test: Test for Send flow scenario and minor restructuring for test folders and files

* chore: cleanup

* ci: Pause CI for now

* ci: Pause CI for now

* ci: Pause CI for now

* test: Restore wallets integration automated tests

* Fix: Add keys back to currency amount textfield widget

* fix: Switch variable name

* fix: remove automation for now

* tests: Automated tests for Create wallets flow

* tests: Further optimize common flows

* tests: Add missing await for call

* tests: Confirm Seeds Display Properly WIP

* tests: Confirm Seeds Display Correctly Automated Tests

* fix: Add missing pubspec params for bitcoin and bitcoin_cash

* feat: Automated Tests for Transaction History Flow

* fix: Add missing pubspec parameter

* feat: Automated Integration Tests for Transaction History flow

* test: Updating send page robot and also syncing branch with main

* test: Modifying tests to flow with wallet grouping implementation

* fix: Issue with transaction history test

* fix: Modifications to the PR and add automated confirmation for checking that all wallet types are restored or created correctly

* test: Attempting automation for testing

* fix: Issue from merge conflicts

* test: Remove automation of test in this PR

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-11-07 16:46:08 +02:00