Commit graph

1965 commits

Author SHA1 Message Date
OmarHatem
ac1c198940 minor
Some checks failed
Cache Dependencies / test (push) Has been cancelled
2024-12-19 22:48:52 +02:00
David Adegoke
a6f61c595f
fix: Bug when building Monero.Com resulting from solana exceptions situated in send viewmodel from cw_solana package (#1893)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
2024-12-19 19:41:59 +02:00
OmarHatem
301cb3b7e0 minor: add examples for address resolver scheme [skip ci] 2024-12-18 19:55:48 +02:00
OmarHatem
3473cfe0a0 fix currency text
Some checks failed
Cache Dependencies / test (push) Has been cancelled
2024-12-18 17:25:11 +02:00
Omar Hatem
502a7eaafa
v4.22.0 release candidate (#1879)
* update app versions

* change default solana node

* update unspents more frequently to avoid unupdated state

* temporary fix for polygon sending issue

* change tron default node
2024-12-18 16:46:36 +02:00
Konstantin Ullrich
77c4eaaf4f
More Ledger Monero Fixes (#1888)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
* More Ledger Monero Fixes

* Minor fixes
2024-12-17 20:57:57 +02:00
tuxsudo
6499aa2d6f
generic-enhancements (#1886)
* Finishing updating docs and community links

* Add missing images
2024-12-17 01:08:56 +02:00
David Adegoke
ae80fb3b55
CW-774: Enforce Seed Verification (#1874)
* feat: Switch UI for seeds display

* feat: Add localization for disclaimer text

* fix: Modify color for warning on seeds screen

* Fix: Adjust UI styling for seed page

* chore: Revert podfile.lock

* Fix column colors

* Fix more colors

* Fix more colors and update strings

* feat: Enforce Seed Verification Implementation

* fix: Error extracting seed words in Japanese because of spacing type used

* fix: Modify styling for copy image button

* fix: Add back button to the seed page and adjust styling to seed verification question text

* Update seed verification image [skip ci]

* Update description text weight [skip ci]

* Make seed page wider

* Seed page changes

---------

Co-authored-by: tuxpizza <tuxsudo@tux.pizza>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-12-14 02:55:49 +02:00
Serhii
d55e635f61
Cw 853 mweb utxos are not displayed in coin control screen (#1873)
* fix displaying mweb utxos

* fallback for failed electrum UTXO updates

* remove throwing uncaught exception and un needed try/catch

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-12-14 02:37:48 +02:00
rafael xɱr
707395b71a
Confirmation checkboxes (#1877)
* feat: confirmation checkboxes

* Update lib/src/screens/cake_pay/cards/cake_pay_confirm_purchase_card_page.dart

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-12-14 02:21:04 +02:00
tuxsudo
ca4d4ae641
Update support links (#1876) 2024-12-14 02:20:16 +02:00
Konstantin Ullrich
ae758756d8
Ledger monero fix (#1834)
* Fix sending for monero ledger

* Ignore no tx keys found error

* re-add Monero to Ledger enabled wallets

* Fix No Element Exception on requireHardwareWalletConnection check

* Fix Showing connection screen again

* Maybe fix Race condition

* fix namespace

* Maybe fix Race condition and add missing pop

* Minor fixes

* Minor fixes

* Fix minor localization

* Fix minor localization

* Add Text prompt if device is not showing after 10 seconds.

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
Co-authored-by: Czarek Nakamoto <cyjan@mrcyjanek.net>
2024-12-14 01:32:36 +02:00
David Adegoke
c620d7f486
CW-829 Solana Enhancements (#1858)
* feat: Solana enhancements with rent handling for accounts

* fix: Add exception classes with handled error messages to ensure proper error handling process

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-12-14 01:31:10 +02:00
Serhii
9a60b0146f
add transaction success info page (#1878)
Some checks failed
Cache Dependencies / test (push) Has been cancelled
2024-12-14 01:27:46 +02:00
David Adegoke
3ad04227a4
test: Attempting automation for testing (#1734)
* 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

* test: Attempting automation for testing

* test: Print out working directory

* test: See if I can cut down time by removing the build step

* test: More logs

* test: Pubspec was not generated, checking if this fixes it

* test: Pubspec was not generated, checking if this fixes it

* test: Pubspec was not generated, checking if this fixes it

* test: Pubspec was not generated, checking if this fixes it

* test: Pubspec was not generated, checking if this fixes it

* test: Pubspec was not generated, checking if this fixes it

* test: Another trial

* test: Another trial

* test: Another trial

* test: Another trial

* test: Another trial

* test: Another trial

* fix: Adjust config file

* test: Add commands to generate files and set codebase up as new

* test: try another route

* test: try another route - 2

* test: try another route

* test: try another route - 2

* test: Uncomment KVM and optimizations-a

* test: Try with sudo permissions-a

* test: Try again

* test: Pause build and rename steps, see how faster it resolves

* test: Try using working directory

* test: Check details of current working directory

* test: Switch test run command from flutter drive to flutter test

* test: Adding secrets to CI workflow

* fix: add working directory to emulator and reactivate build step

* test: Add verbosity

* test: Check tat emulator is present and ready to connect

* test: Try a direct test to see if it'll trigger properly

* test: Try the flutter drive command

* test: Try uninstalling before running

* test: Create an aggregator test file as the entry point for all tests

* test: Try without awaiting each test

* test: Another trial at getting combined tests running

* test: Use a test runner script that'll be responsible for running all available integration tests

* test: Add command to make integration test runner file an executable

* test: Fix failing exchange flow test

* test: fix failing exchange flow test

* test: Fix issue with send flow test

* test: Fix issue with confirm seeds flow test

* test: Modify create and restore flows to reflect modified onboarding flow

* chore: Remove package declaration in AndroidManifestBase file to fix issue of it being deprecated

* test: Bump up flutter version

* fix: Add meld keys

* chore: Remove package name declarations from AndroidManifests

* better write close function definition
comment integration tests workflow for now

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-12-13 21:45:41 +02:00
David Adegoke
e21cf7113d
CW-703: Better Seed UI/UX - Fix for Japanese PolySeeds (#1875)
* feat: Switch UI for seeds display

* feat: Add localization for disclaimer text

* fix: Modify color for warning on seeds screen

* Fix: Adjust UI styling for seed page

* chore: Revert podfile.lock

* Fix column colors

* Fix more colors

* Fix more colors and update strings

* fix: Error extracting seed words in Japanese because of spacing type used

---------

Co-authored-by: tuxpizza <tuxsudo@tux.pizza>
2024-12-13 21:44:39 +02:00
Serhii
489a409bea
Cw 807 add extra fields for xrp and xlm exchanges (#1869)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
* show extra id for xrp/xlm Stealth

* extra id for xrp/xlm LetsExchange

* extra id xrp/xml for Sideshift and Trocador

* fix Exolix min amount issue

* fix extra id ui
2024-12-13 01:24:37 +02:00
tuxsudo
ad34caa5be
UI Enhancements (#1824)
* Fix button color

* Unify search icon

* Update select button colors

* Modify tap to hide for balance card

* Modify tap to hide constants

* Modify hidden balance behaviour

* Add tap to hide to second value

* Make tap to hide persistent

* Change to switchBalanceValue function

* Fix MWEB card spacing [skip ci]

* Swap buttons on wallets screen [skip ci]
2024-12-12 10:24:45 +02:00
tuxsudo
5abd524af3
Update seed page strings and colors (#1871) 2024-12-12 09:49:17 +02:00
Serhii
1320b3ea3c
Update address_validator.dart (#1805) 2024-12-11 22:39:59 +02:00
cyan
e2a1d865af
CW-673: Save Haven seeds to show it to the user after Haven removal (#1518)
* haven: backup seeds

* haven backup fixes

* ci fix

* reorder build script

* disable haven

* properly call cw_haven code

* [skip ci] update PR

* Update evm_chain_transaction_history.dart

remove print

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-12-11 22:31:01 +02:00
David Adegoke
329a1fd6de
CW-703: Better Seed UI/UX (#1868)
* feat: Switch UI for seeds display

* feat: Add localization for disclaimer text

* fix: Modify color for warning on seeds screen

* Fix: Adjust UI styling for seed page

* chore: Revert podfile.lock

* Fix column colors

* Fix more colors

---------

Co-authored-by: tuxpizza <tuxsudo@tux.pizza>
2024-12-11 22:19:52 +02:00
David Adegoke
6e8cc9c39e
CW-854 Monero Wallet Group Fix (#1865)
* Fix: Tentative fix to wrong wallet groupings, specifically monero or non bip39 wallet types

* fix: Modify logic to filter out single wallets and multi group wallets

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-12-11 20:51:09 +02:00
OmarHatem
82bad3a951 fix regex for xrp and wow 2024-12-11 19:30:56 +02:00
David Adegoke
9590aa25b6
CW-802: Ethereum enhancements (#1826)
* fix: Ethereum enhancements around fees and computations relating to signing and sending transactions

* feat: Add nownodes key for evm to workflow

* feat: Reactivate send all on both eth and polygon wallet types

* fix: Add generic function for updating the node for a wallet type, move ethereum transaction error fees handler to a new file

* fix: Revert podfile.lock

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-12-11 16:45:15 +02:00
OmarHatem
35cf4a716f separate CI steps more clearly
Some checks are pending
Cache Dependencies / test (push) Waiting to run
Add more info to error reports
2024-12-10 14:06:56 +02:00
Serhii
03ff2287db
Cw 658 make the addressbook popup can be turned off from the settings (#1856)
* make ‘Add to Addressbook’ popup optional in settings

* localisation

* fix contacts page background color
2024-12-09 22:37:06 +02:00
cyan
c78662fbfe
CW 781 replace all print statements with printV (#1733)
* replace all print statements with printV

* restore backup error message

* missing print statements, error fixes

* Update cw_core/lib/utils/print_verbose.dart [skip ci]

* Update cw_core/lib/utils/print_verbose.dart [skip ci]

* CW-846: Correctly display balance (#1848)

* Correctly display balance even with frozen coins

* remove package= from AndroidMainfest.xml

* update namespace

* print -> printV

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-12-09 20:23:59 +02:00
OmarHatem
93ed71f615 temporarily ignore flutter secure storage errors 2024-12-09 14:25:36 +02:00
OmarHatem
ad6eb7db15 macos new build
Some checks are pending
Cache Dependencies / test (push) Waiting to run
linux new build
2024-12-03 21:29:40 +03:00
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
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
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
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
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
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
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
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
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