Commit graph

3086 commits

Author SHA1 Message Date
OmarHatem
e842e818d9 revert flatpack path [skip ci] 2025-04-04 01:59:55 +02:00
OmarHatem
4c892d3d0b update versions [skip ci] 2025-04-04 01:25:39 +02:00
Omar Hatem
24ec5fa7fd
v4.25.0 Release Candidate (#2153)
* v4.25.0 Release Candidate

* update rest of platforms version [skip ci]

* replace macos icons [skip ci]

* fix: incorrect balance reporting (#2155)

* fix: monero frozen coins, call updateSendingBalance, display "ALL" balance properly

* fix: decred formatting on send page

---------

Co-authored-by: cyan <cyjan@mrcyjanek.net>
2025-04-04 00:49:44 +02:00
Serhii
2b493ff6dc
Update send_page.dart (#2154) 2025-04-03 16:34:07 +02:00
cyan
7a5999d90e
fix: getWlptr failing nullcheck in hardware monero wallets (#2149)
now null wptr on listener calls will be handled gracefully

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-04-03 03:34:45 +02:00
Omar Hatem
23a47ed561
Fix Scam tokens handling and make it persistent (#2138)
* Fix Scam tokens handling and make it persistent

* Add potential scam text next to scam tokens

* change UI of potential scam text
2025-04-03 03:32:00 +02:00
cyan
cbca4c9c77
CW-1024 Improve performance of xmr wallet (#2128)
* - enabled development options in CI builds.
- Implemented caching for account retrieval.
- refactor transaction handling in `dashboard_view_model.dart` to improve efficiency and reduce unnecessary updates in xmr.
- `DevMoneroCallProfilerPage`, for profiling performance of xmr,wow,zano wallet calls.

* use FeatureFlag.hasDevOptions

* prevent crashes in monero_c by using mutexes properly
improve performance of _transactionDisposer
remove unnecessary checks

* remove logging, bring back simplified logic

* update _transactionDisposer on length and confirmation of first and last transaction

* address comments from review

* don't throw unhandled exceptions in unawaited async code

* use cached transaction list in getAllSubaddresses, fix usage of txHistoryMutex

* [DNM] fix: crashes when opening wallet, performance issue when syncing and update dependencies

* Revert "use cached transaction list in getAllSubaddresses, fix usage of txHistoryMutex"

This reverts commit 4c4c33ac6a47603e970a6c8d940e90204525b241.

* Revert "[DNM] fix: crashes when opening wallet, performance issue when syncing and update dependencies"

This reverts commit d7603445ad6ae76d76bf179c34728ce242c8c610.

* Revert "use cached transaction list in getAllSubaddresses, fix usage of txHistoryMutex"

This reverts commit 4c4c33ac6a47603e970a6c8d940e90204525b241.

* update shared_preferences

* improve state management performance by not rendering multiple changes in transaction screen on a single frame

* fix wallet switching
2025-04-03 03:31:25 +02:00
Konstantin Ullrich
27eaa1b1cc
fix: Show correct title when reconnecting to your ledger device (#2152) 2025-04-03 00:20:13 +02:00
Omar Hatem
d318e9134c
Pass network correctly to url param (#2144) 2025-04-02 18:52:51 +02:00
OmarHatem
da2b3ce632 Fix displayed balance not updating when changing send currency
make mweb conditions only specific for Litecoin wallet
2025-04-02 18:48:41 +02:00
Konstantin Ullrich
65e771cbbe
Adopt bottom-sheet send flow for ledger (#2140)
* feat: new bottom-sheet send flow for ledger

* refactor: use correct context in ledger bottom-sheet
2025-04-02 18:18:24 +02:00
rottenwheel
7d34494800
spanish: some necessary, minor rewording for new background sync strings (#2150)
* fix: remove comma in OpenAlias title

* spanish: some necessary, minor rewording for new background sync strings
2025-04-02 17:52:19 +02:00
David Adegoke
b80afb1efe
fix: Background color for swap screen and external send details screen looking wierd across themes (#2151) 2025-04-02 17:32:57 +02:00
OmarHatem
79fe9da6b7 fix: calling SP check on other wallet types transactions 2025-04-02 01:47:08 +02:00
Omar Hatem
d04e9c4efa
Disable SimpleSwap from the Swap flow (#2148) 2025-04-01 20:04:43 +02:00
cyan
14a577f9b5
ci: updade runner from 20.04 to 24.04 (#2147)
https://github.com/actions/runner-images/issues/11101
2025-04-01 20:04:28 +02:00
Serhii
27bfd85ba5
fix XOSwap pair id (#2143) 2025-04-01 15:33:49 +02:00
OmarHatem
a49f1bc8c8 Add 2/3x images back 2025-03-31 21:45:15 +02:00
cyan
eab91de9f6
CW-1020 arm64 linux support (#2110)
* arm64 linux support

* add missing dependencies to Dockerfile

* run everything in docker to not break permissions

* remove current linux dir

* proper directory name

* Clean up build script by removing .flatpak-builder directory flatpak before build process

* account for arm64 in docs [skip ci]

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-03-31 07:19:01 +02:00
Omar Hatem
831e54498f
Fix fiat-based sending on Decred and Nano wallets (#2139) 2025-03-31 02:52:59 +02:00
Matthew Fosse
40a0989956
CW-997 coin control enhancements / send ALL fixes (#2114)
* computed sending balance value

* files that didnt get added before

* monero + move unspent calc to view model

* working

* remove old code

* Update lib/view_model/send/send_view_model.dart

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-03-30 16:52:46 +02:00
cyan
7831b421b1
set seed language if seed_language is in error message (#2135) 2025-03-30 04:09:35 +02:00
Serhii
eb136efb27
Cw 995 buy sell issues (#2127)
* add not supported warning

* warning localisation

* providers depend on the selected pair
2025-03-29 07:46:16 +02:00
cyan
48fa647a8c
update polish translations (#2133) 2025-03-29 00:13:03 +02:00
Serhii
869c5a83cf
Update adaptable_page_view.dart (#2134)
Co-authored-by: Matthew Fosse <matt@fosse.co>
2025-03-29 00:08:25 +02:00
Omar Hatem
b1e5d1503e
Better handle backup errors (#2132) 2025-03-28 16:17:38 +02:00
Omar Hatem
c223510438
New app icon (#2123)
* Change Cake Wallet Logo

* minor [skip ci]

* Change Cake Wallet Logo

* Change Cake Wallet Logo

* Update app icon

* Update app icon

* default rpc.nano node

* update android version [skip ci]

* update android version [skip ci]
2025-03-28 13:22:24 +02:00
cyan
16b180add0
rename background sync cache file (#2129) 2025-03-28 01:08:43 +02:00
Matthew Fosse
66d6fd478b
Cw 1013 deuro minor fix (#2130)
* add deuro token

* move to be before DAI

* add asset and update currencies list

* fix icon

* remove print

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-03-28 01:06:20 +02:00
Matthew Fosse
3d0f66c0be
CW-1013 Add deuro token (#2124)
* add deuro token

* move to be before DAI

* add asset and update currencies list

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-03-28 00:22:14 +02:00
Serhii
be81042a06
Cw 1018 minor UI enhancements (#2118)
* fix ui for monero batch sending

* minor ui fixes

* Revert "fix ui for monero batch sending"

This reverts commit 4827b17bfe.

* fix: focus node issue
2025-03-28 00:18:50 +02:00
cyan
3ec7d01c30
add missing import (#2125) 2025-03-27 14:39:15 +02:00
cyan
72184f5837
open wallet even when cache file backup is corrupted (#1720)
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-03-27 04:47:45 +02:00
OmarHatem
604432a66c Fixate mobx as it's causing an issue 2025-03-27 03:47:49 +02:00
Omar Hatem
78f0df1748
Update mweb (#2076)
* update mweb

* update mweb (synchronization should be 2x faster)

* update mweb version
2025-03-26 17:36:13 +02:00
cyan
2cedd53d13
remove autogenerated files and add them to gitignore (#2108) 2025-03-26 15:08:57 +02:00
Omar Hatem
19f0c5b05e
fix Monero view only wallet (#2121) 2025-03-26 15:03:02 +02:00
cyan
2f0cb28fb2
properly await multDest transactino so it won't freeze the UI (#2116) 2025-03-26 03:56:24 +02:00
cyan
18049308df
fix syntax errors in decred script (#2109)
* fix syntax errors in decred script

* [skip ci] fix typo in error message
2025-03-26 03:49:48 +02:00
cyan
72e011ead0
send logs about trace only in debug mode (#2115) 2025-03-26 03:34:39 +02:00
Slixe
36600dd82b
fix french translation (#2117) 2025-03-26 02:46:38 +02:00
Omar Hatem
0aa563ead7
v4.24.0 (#2102)
* - Add Decred Wallet
- Remove Haven Wallet
- Fix and Improve Solana Wallet
- Improve app usability and user experience
- User interface enhancements
- Bug fixes

* Release candidate feedback fixes

* Release candidate feedback fixes

* update release notes [skip ci]

* fix iOS stupidity [skip ci]

* minor fix

* decred: Do not create log file. (#2106) (#2107)

Co-authored-by: JoeGruffins <34998433+JoeGruffins@users.noreply.github.com>

* fix Monero HWW

* fix Monero view only wallet

* fix background sync for hardware and viewonly wallets

* check for status on correct wptr

* minor fixes [skip ci]

---------

Co-authored-by: JoeGruffins <34998433+JoeGruffins@users.noreply.github.com>
Co-authored-by: Czarek Nakamoto <cyjan@mrcyjanek.net>
2025-03-25 03:49:54 +02:00
Serhii
13dc6de8dd
fix-colors-for-address-tile-send-UI (#2113)
* Update confirm_sending_bottom_sheet_widget.dart

* Update standard_slide_button_widget.dart
2025-03-24 22:11:20 +02:00
cyan
102ab8dbe6
CW-875 BackupServiceV3 (#2064)
* implement v3 backup system

- Add new BackupServiceV3 with chunked backup support and checksums
- Implement json-based metadata in backup system
- Instead of binary file export a .zip file that user can open and
see that it is a cake backup
(should also prevent 3rd party software from corrupting binary
data inside of the file, in case it doesn't checksum will fail,
and user will know for sure that backup got corrupted)
- Update flutter to 3.27.4 to use archive ^4.x.x (it offers in memory
archive operations)

* fix wallets not getting restored properly

* prevent out of memory errors on files that are way too big during restore

* Update lib/view_model/backup_view_model.dart [skip ci]

* Update lib/core/backup_service.dart [skip ci]

* Update lib/core/backup_service.dart

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-03-22 03:16:54 +02:00
cyan
a085eff984
add decred to docs (#2105) 2025-03-21 20:04:50 +02:00
cyan
686580ff78
Implement background sync for xmr using flutter_daemon (#2094)
* Implement background sync for xmr using flutter_daemon

* - initialize app config in background thread
- initializeAppConfigs without loading the wallet.

* - properly do awaited calls in methodChannel
- prevent locking main thread during background sync

* add back background sync debug page
fix issues caused by xmr wallet being view only (and read only)

* changes from review
improve starting of bgsync task

* update stopBackgroundSync, await listener functions, ensure that listener always start (call _start in constructor)

* DO-NOT-MERGE: extre verbose monero logs

* stop background service when app is being opened

* improve monitoring of background sync

* update flutter_daemon to ensure network constraint
prevent throwing errors on isBackgroundSyncEnabled
check network before syncing

* Update lib/main.dart

* revert Update main.dart [skip ci]

* continously run network check

* disable charging requirement,
fix status reporting of background sync in UI

* Refactor background sync logic, and add UI notifications for battery optimization. Updated flutter_daemon version modified build.gradle for signing config to allow testing in both release and debug modes.

* verbose monero only when requested in code.
Do not start background sync when battery optimization is on

* fix background sync mode not properly reflecting state changes

* drop unnecessary dependency

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-03-21 19:22:00 +02:00
Serhii
d44621e6c7
fix new send UI (#2103)
* minor ui fixes

* localization

* Update confirm_sending_bottom_sheet_widget.dart
2025-03-21 19:11:26 +02:00
Konstantin Ullrich
597a716f9d
CW-686-polyseed-language-issues (#2098)
* feat: Fix space for japanese seed

* feat: Fix space for japanese seed

* feat: Upgrade Polyseed version with improved jp support

* feat: Fix monero legacy seed language falling back to english
2025-03-21 05:32:40 +02:00
Serhii
626e532fce
Cw 921 create new bottom sheet sending confirmation UI (#2099)
* init commit

* add slide button

* address book popup

* fix colors for themes

* update exchange page

* update cake pay purchase card page

* Update rbf_details_page.dart

* refactored code

* add generating tx bottom sheet

* add show scrollbar

* minor fixes
2025-03-21 05:24:22 +02:00
cyan
00642e6027
add missing android-35 dependency (#2101) 2025-03-21 05:03:17 +02:00