Commit Graph
100 Commits
Author SHA1 Message Date
cyanandGitHub 2dc95b2bf0 feat: use better embedded Tor (#2453)
* feat: use better embedded Tor

* update docs [skip ci]

* fix: update torch properly add minimum os version for iOS

* fix: use of invalid thread api on iOS

* fix: disable use of lzma and zstd system libraries

* fix: update torch_dart to work on linux
2025-09-05 23:07:26 +03:00
cyanandGitHub 7b600c9cd8 ui: better QR switcher (#2477) 2025-08-23 01:27:01 +03:00
cyanandGitHub 2bb11f253a fix: uneven hex split for coldcard (#2465) 2025-08-19 20:14:32 +03:00
cyanandGitHub 013211e7a6 fix: don't close closed sockets (#2462) 2025-08-19 18:04:08 +03:00
cyanandGitHub 4d33bddb67 fix: syntax error in InfoBase.plist (#2452) 2025-08-14 05:01:28 +03:00
cyanandGitHub 75b811f9de fix: key image comparision (#2448)
* fix: key image comparision

* Revert "fix: frozen coins displaying incorrect amounts in monero (#2385)"

This reverts commit b6a7dde8e4.
2025-08-13 07:32:12 +03:00
cyanandGitHub b8a9863a21 feat: CakeTorSocks respect SOCKS_SERVER (#2444) 2025-08-13 01:00:39 +03:00
cyanandGitHub 1a173e7e1e fix: prevent writes to socket after closing (#2449) 2025-08-12 16:23:39 +03:00
cyanandGitHub 9d30c1d4e2 fix(dev): don't build in initState (#2433) 2025-08-07 05:46:12 +03:00
cyanandGitHub c0ad8e2f70 fix: pin hashlib version (#2432) 2025-08-06 02:59:59 +03:00
cyanandGitHub 7468fed91b fix: use async api to checkNodeHealth (#2421) 2025-07-31 19:49:17 +03:00
e4806ad141 CW948: feat: bitcoin view-only (#2261)
* feat: bitcoin view-only

* fix: add UR to cw_bitcoin, fix payjoin issue

* feat: add unsignedPsbt to PendingBitcoinTransaction

* wip

* feat: xpub restore from bitcoin URI QR

* feat(dev): debug UR codes [skip ci]

* fix: master fingerprint default in create bitcoin transaction

* fix: handle empty private key in bitcoin transaction building

* fix: show success dialog after btc ur transaction

* fix(ui): remove SP from UI in view only wallet

* fix(cw_bitcoin): tx sending on non-airgap

* fix(cw_bitcoin): disable all non-segwit addresses

* feat(ur): support BBQR for coldcard qr

* flutter 3.27.0 -> 3.27.4

* feat: raw xpub qr support for coldcard q

* fix: update ledger_bitcoin
fix: update switching button

* fix: restore button not showing up after scanning

* feat: commit raw tx (from coldcard Q)

* feat: legacy crypto-psbt support for seed signer

* chore: address comments from review

* fix(cw_bitcoin): disable sp and payjoin for cupcake

* feat: enable DNSSEC BIP353 in PSBT (#2397)

* feat: enable DNSSEC BIP353 in PSBT

* chore: put bitcoin view only behind a featureflag

* fix: update Monero wallet to work with new internal URQR return format

* feat: add "Restore from Cupcake App" option with localized strings

* feat: enable DNSSEC BIP353 in PSBT using dnssec-prover (#2401)

* fix: use dnssec-prover
chore: bump ndk to r28c

* fix: validate DNSSEC proof before updating the UI

* fix: rename button to copy debug info to not hide actions on URQR widget

---------

Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
2025-07-29 17:01:33 +03:00
cyanandGitHub 995a3bb750 fix: monero_c hash (#2412) 2025-07-25 20:38:05 +03:00
cyanandGitHub b6a7dde8e4 fix: frozen coins displaying incorrect amounts in monero (#2385) 2025-07-18 05:21:28 +03:00
0da7047c2a fix: incorrect restore height sometimes being set on monero (#2390)
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-07-17 06:41:34 +03:00
cyanandGitHub 4009f64ee9 fix: wallet not reporting finishing sync (#2377) 2025-07-12 00:17:27 +03:00
0e23138040 feat: introduce feeFormattedValue and feeFormatted to remove string parsing in view model (#2366)
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-07-11 03:31:12 +03:00
cyanandGitHub 3b9f1ce15e fix: monero wallets crashing when switching back from hardware wallet to another monero wallet (#2370) 2025-07-10 14:25:31 +03:00
cyanandGitHub 37ed413a72 fix: make socket calls sync (#2363) 2025-07-09 05:18:51 +03:00
cyanandGitHub ff999f9a17 fix: make tor wait only for 5 seconds (#2360) 2025-07-04 02:50:14 +03:00
068558d0c8 feat: add tor icon to sync bar (#2359)
* feat: add tor icon to sync bar

* minor readability [skip ci]

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-07-04 02:48:50 +03:00
cyanandGitHub f1acc43927 fix: incorrect mapping of tokens for DFX (#2348) 2025-07-03 20:22:50 +03:00
cyanandGitHub e34cc77f6a fix(cw_solana): signMessage to return properly formatted signature (#2352)
feat(dfx) add initial support for solana and tron
2025-07-03 04:11:17 +03:00
ae3c4d24f9 feat: show gas conversion rate for dEURO savings (#2351)
* feat: show gas currency on EVM chains

* feat: show gas conversion rate for dEURO savings

* Update lib/polygon/cw_polygon.dart [skip ci]

* Update cw_evm/lib/evm_chain_wallet.dart [skip ci]

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-07-03 04:09:07 +03:00
cyanandGitHub 1097fbe7a7 fix: set useLegacyPackaging = true so libtor.so gets extracted (#2346)
This is a temporary workaround. Proper fix will involve not using `libtor.so` as an
executable and using it as static library.
That fix will most likely occur when we will bring support for iOS.
2025-07-02 02:45:22 +03:00
cyanandGitHub 900304d405 fix(cw_monero): keys nullcheck handling (#2338)
add default values to monero wallet keys functions in order to prevent null check crashes
2025-06-27 15:06:56 +03:00
cyanandGitHub 73588071ba feat(tor): add Tor endpoints for fiat-api and service-api (#2339) 2025-06-27 15:05:54 +03:00
5082dc20f3 CW-519 Enable built-in Tor (#1950)
* tor wip

* Enable tor on iOS

* Prevent app lag when node is exceptionally slow (usually over tor)

* fix: logic in daemonBlockchainHeight refresh
fix: storing tor state

* Pin ledger_flutter_plus dependency to fix builds

* bump arti version

* wip

* add single httpclient

* route everything I was able to catch trough the built-in tor node

* Enable proxy for http.Client [run tests]

* add tor proxy support to cw_evm, cw_tron and cw_polygon [run tests]

* remove log pollution, cleanup [skip slack]

* fix tests not working in latest main [skip slack] [run tests]

* remove cw_wownero import

* fix build issues

* migrate all remaining calls to use ProxyWrapper
add a CI action to enforce using ProxyWrapper instead of http/http.dart to prevent leaks

* fix tor background sync (will work on test builds after #2142 is merged and this PR is rebased on top)

* wip [skip ci]

* relicense to GPLv3 add socks5 license, build fixes

* use ProxyWrapper instead of http in robinhood

* Revert "relicense to GPLv3"

* feat(cw_bitcoin): support socks proxy and CakeTor

* fix(tor): migrate OCP and EVM over to ProxyWrapper()

* chore: cleanup
fix: show tor loading screen when app is starting

* fix: tor switch properly dismisses fullscreen loading dialog
fix: connectToNode after tor startup on app start

* fix(tor): status check for xmr/wow/zano

* fix(tor): onramper request fix

* fix(api): ServicesResponse is now being cached and doesn't fetch data everytime DashboardViewModel is being rebuilt
fix(tor): do not fallback to clearnet when tor failed.
fix(tor): do not leak connections during app startup
chore: refactor bootstrap() function to be separated into bootstrapOffline and bootstrapOnline
fix(cw_bitcoin): migrate payjoin to use ProxyWrapper

* [skip ci] remove print

* address comments from review

* fix: derusting tor implementation

Instead of rust-based Arti I've moved back to the
OG C++ tor implementation.
This fixed all issues we had with Tor.
- onion services now work
- all requests are going through without random errors
- we don't have to navigate a maze of multiple forks of multiple packages
- fully working `torrc` config file (probably will be needed for Tari).
- logging for Tor client
- and so on.

feat: network logging tab
feat: use built-in proxy on Tails - this should resolve all issues for Tails users (needs testing though)

* fix conflicts with main
bump https to fix build issue
relax store() call

* fix(cw_wownero): tor connection
fix(tor): connection issues

* fix(cw_evm): add missing chainId
fix(cw_core): solana rpc fix

* feat: mark tor as experimental
fix: drop anonpay onion authority
fix: drop fiatapi onion authority
fix: drop trocador onion authority
fix: disable networkimage when tor is enabled
fix: handle cakepay errors gracefully

* fix re-formatting [skip ci]

* changes from review

* Delete android/.kotlin/sessions/kotlin-compiler-2468481326039681181.salive

* fix missing imports

* Update pubspec_base.yaml

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2025-06-20 22:56:18 +03:00
cyanandGitHub 17d99e5451 feat(ui): add app logo to qr code (#2072)
fix(ui): use high instead of low error correction for QR codes
2025-06-17 01:32:11 +03:00
a96b493b60 CW 1080: fix(cw_monero): call store() directly after commiting tx (#2312)
* fix(cw_monero): call store() directly after commiting tx to make sure that tx key is written to cache
also, store it in TransactionDescription hive box

* Update lib/view_model/send/send_view_model.dart

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-06-16 17:49:43 +03:00
cyanandGitHub e03dcc7fe9 feat: better backup errors (#2290)
Instead of creating error reports show the error to user
use BackupVersion.unknown
2025-05-26 11:38:36 +03:00
cyanandGitHub fd3158293e fix(cw_monero): properly await transaction commit (#2284) 2025-05-24 22:21:49 +03:00
cyanandGitHub 1c7dd02a53 fix(cw_monero): wait a bit before refreshing txlist so it appears (#2275) 2025-05-17 02:03:02 +03:00
cyanandGitHub bc52cf485e fix(cw_monero): transaction not appearing after send (#2268)
* fix: catch error in newly added fetchTransactions call
fix: null handling in cw_monero

* fix(cw_monero): transaction not appearing after send
2025-05-15 19:48:43 +03:00
cyanandGitHub 66efce4d70 fix(cw_monero): move isolates to top level functions so WalletBase will not get sent over. (#2269) 2025-05-15 15:17:56 +03:00
cyanandGitHub 40084ec532 fix: catch error in newly added fetchTransactions call (#2265)
fix: null handling in cw_monero
2025-05-15 02:07:17 +03:00
cyanandGitHub a2294c4a06 fix(cw_monero): prevent monero wallet from breaking during rename (#2214)
* fix(cw_monero): prevent monero wallet from breaking during rename

* update to cleaned up monero.dart

* fix: transaction screen not refreshing in monero

* fix: wallets not opening until app restart after rename.

* fix(cw_decred): wallet renaming throwing

* fix: transaction not being shown after sending until 1st confirmation

* fix(cw_monero): loop safeguard

* fix: don't await wallet.fetchTransactions
2025-05-02 15:30:39 +03:00
cyanandGitHub da8a82a10f feat(dev): add secrets dev screen (used to recover corrupted wallet) (#2234)
* feat(dev): add secrets dev screen (used to recover corrupted wallet)

* fix(dev): decode only password fields
2025-04-30 09:29:08 +03:00
02e74b5997 CW-1000 Background sync improvements (#2142)
* feat: background sync improvements

- dev options on ci build cherrypick
- add permissions for background sync to AndroidManifestBase
- enable desugaring + update java compatibility to 17
- update walletconnect_flutter_v2
- update ens_dart
- update nostr_tools
- add notification for new transactions found in background
- expose more settings from flutter_daemon in UI
- remove battery optimization setting when it's already disabled
- fix notification permission handling
- fix background sync last trigger saving
- prevent notifications from being duplicated

* potential fix for multiple notifications firing for the same tx

* improve logging in background sync

* ui improvements to ignore battery optimization popup

* feat: logs for bg sync
disable decred bgsync

* fix: call store() directly to be sure that it is writing the data

* chore: rename logs to background sync logs

* Update lib/view_model/dashboard/dashboard_view_model.dart

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

* chore: remove unused key

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-04-24 19:06:43 +02:00
cyanandGitHub 3e25be6dcf fix: allow bakcups to be created even if one of the wallets is corrupted (#2221) 2025-04-22 21:41:31 +02:00
53efdced68 fix: more verbose errors in backups (#2196)
* fix: more verbose errors in backups

* show user friendly error, but prompt to send the full logs [skip ci]

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-04-19 01:13:07 +02:00
cyanandGitHub 87207c61ba fix: wallet grouping eating wallets (#2203) 2025-04-14 18:47:31 +02:00
cyanandGitHub 5f4dc95ca5 fix: do not overwrite monero backup files if they exist. (#2202) 2025-04-14 18:46:45 +02:00
cyanandGitHub db051232ce remove shrinkResources and minifyEnabled to reduce apk size (#2104)
* remove shrinkResources and minifyEnabled to reduce apk size

* remove shrinkResources and minifyEnabled to reduce apk size
2025-04-11 02:12:40 +02:00
cyanandGitHub ea9b87d480 fix(cw_monero): wrong function in account rename call (#2183) 2025-04-10 23:17:52 +02:00
cyanandGitHub 494207290e fix: disable impeller backend (#2176) 2025-04-09 02:52:14 +02:00
cyanandGitHub ea27a39e50 ui: maxLines: 1 on bottom menu (#2173) 2025-04-07 18:42:29 +02:00
cyanandGitHub fd16a099ea fix: incorrect balance in send card (#2158)
* fix: incorrect balance in send card

* fix: ensure that all unique Unspent are used in calculation
2025-04-04 12:56:07 +02:00
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
cyanandGitHub 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
cyanandGitHub 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
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
cyanandGitHub 7831b421b1 set seed language if seed_language is in error message (#2135) 2025-03-30 04:09:35 +02:00
cyanandGitHub 48fa647a8c update polish translations (#2133) 2025-03-29 00:13:03 +02:00
cyanandGitHub 16b180add0 rename background sync cache file (#2129) 2025-03-28 01:08:43 +02:00
cyanandGitHub 3ec7d01c30 add missing import (#2125) 2025-03-27 14:39:15 +02:00
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
cyanandGitHub 2cedd53d13 remove autogenerated files and add them to gitignore (#2108) 2025-03-26 15:08:57 +02:00
cyanandGitHub 2f0cb28fb2 properly await multDest transactino so it won't freeze the UI (#2116) 2025-03-26 03:56:24 +02:00
cyanandGitHub 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
cyanandGitHub 72e011ead0 send logs about trace only in debug mode (#2115) 2025-03-26 03:34:39 +02:00
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
cyanandGitHub a085eff984 add decred to docs (#2105) 2025-03-21 20:04:50 +02:00
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
cyanandGitHub 00642e6027 add missing android-35 dependency (#2101) 2025-03-21 05:03:17 +02:00
cyanandGitHub cec414e44b add ci check for restricted imports that would prevent monero.com from building (#2093)
cherry picked from old bgsync pr
2025-03-19 02:01:04 +02:00
cyanandGitHub 8798c1bf9e drop slack suffix on ci builds (#2037) 2025-02-19 00:32:28 +02:00
cyanandGitHub dd8ccee1ba CW-934 Implement passphrase creation for zano (#2026)
* CW-934 Implement passphrase creation for zano

* Update monero_c dependency to latest commit
Fix issue with zano keys not showing during sync
Fix delays when invoking read only commands in zano
Fix extra padding above passphrase
Reduced lag during app use
2025-02-19 00:28:27 +02:00
cyanandGitHub 57d88663c9 fix download monero_c prebuilds issue caused by cleanup (#2015) 2025-02-17 15:56:01 +02:00
cyanandGitHub ff8c8a4d14 fix x64 monero_c android dependencies (#2030) 2025-02-17 15:55:34 +02:00
2078407608 Migrate to .xcframework (#2006)
* add libmd to linked libraries

* ios 16 fixes, new moneroc, simulator support

* update app version [skip ci]

* update monero.com as well [skip ci]

* migrate away from {Monero,Wownero,Zano}Wallet.framework
Generate .xcframework dynamically
Fix mweb requiring manual steps in xcode

* fix app_config.sh when .dylib are not yet present

* fix typo in model_generator.sh

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2025-02-17 15:53:10 +02:00
cyanandGitHub f98dd7dd7a Use different error message for invalid seed restore (#2029) 2025-02-13 09:39:38 +03:00
241e3bcc6e Fix ledger issues (#2022)
Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2025-02-12 14:57:12 +03:00
cyanandGitHub 64395a21a2 fix cn_slow_hash on devices with limited stack (#2012) 2025-02-12 14:53:13 +03:00
cyanandGitHub 637bc1cdc9 Fix errors from seed restore not being shown to user properly (#2019) 2025-02-12 14:41:35 +03:00
cyanandGitHub 7f3c76cc57 Update secret_key.dart (#2014)
fix: https://github.com/cake-tech/cake_wallet/issues/337#issuecomment-2647196378
2025-02-10 13:28:12 +03:00
cyanandGitHub 1dc7f9309a fix null check when user exits out of qr code scanner (#2002) 2025-02-05 03:40:06 +02:00
8b56c52dc6 CW-711 passphrase for XMR/WOWcreation (#1992)
* add monero passphrase
add wownero passphrase
add passphrase to seed screen

* obscure passphrase by default
disable passphrase create for zano

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

* Update lib/src/screens/wallet_keys/wallet_keys_page.dart [skip ci]

* Update lib/view_model/advanced_privacy_settings_view_model.dart

* dynamic passphrase icon

* fix polyseed not being encrypted by passphrase

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-02-01 03:43:01 +02:00
cyanandGitHub 448b48063f CW-898 fix fast scanner (#1957)
* wip

* Minor fixes

* i hate this

* update fast scanner

* Update fast_scanner, fix: CW-876

* update fast_scanner (androidx camera / camera2)

* bring back sleep
2025-01-30 23:42:46 +02:00
cyanandGitHub 5fae4bc5d1 Update error message (#1988) 2025-01-30 15:40:56 +02:00
cyanandGitHub c3c5c8644c fix MAKE_JOB_COUNT on darwin, and use it on ios and macos scripts (#1981) 2025-01-28 14:22:30 +02:00
cyanandGitHub 00906bc455 Fix monero.com build by removing cw_wownero import (#1982) 2025-01-28 14:21:36 +02:00
cyanandGitHub aef71d16f1 CW-860 Fix status for http auth nodes (#1943) 2025-01-20 17:52:13 +02:00
cyanandGitHub f072bc8dce Pin ledger_flutter_plus dependency to fix builds (#1965) 2025-01-15 23:15:42 +02:00
cyanandGitHub f431091f5e Hotfix CI (#1963)
* [skip slack] It looks like during our sleep github decided to break artifact upload api..

* [skip slack] Name the artifact
2025-01-15 15:24:29 +02:00
3e10023e18 CW-827 CI/CD update (#1948)
* CI update
- use existing build outputs in build_monero_all.sh
- update $HOME, fix gh actions
- add secrets earlier in the runtime (potentially speed up 'Build generated code' step)
- add windows dockerfile
- add linux/android dockerfile
- update android/linux ci script

* [skip slack] [run tests] Run tests on CI, fix tests

* [skip slack] [run tests] force enable kvm in android

* [skip slack] [run tests] remove inexisting flag

* [run tests] [skip slack] update tests

* add extra dependencies [skip ci]

* [skip slack] [run tests] Add secrets

* [skip slack] [run tests] Timeout test cases, continue on error

* [skip slack] [run tests] Xvfb fix, timeout fix

* [skip slack] [run tests] Start dbus to clean up the logs, use SIGKILL

* [skip slack] [run tests] Enable network manager

* [skip slack] [run tests] Screen record test, resize screen

* [skip slack] [run tests] Improve status report for tests

* [skip slack] [run tests] Increase framerate

* [skip slack] [run tests] Remove test that I am unable to fix locally easily from CI

* [skip slack] [run tests] Simplify ffmpeg command

* [skip slack] [run tests] Increase timeout, add comment

* [skip slack] Update dockerfile, migrate from mrcyjanek to cake-tech for the ghcr org

* Update lib/entities/default_settings_migration.dart

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

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-01-15 13:09:59 +02:00
e42d49f3ed fix print in default_settings_migration (#1953)
* fix print in default_settings_migration

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

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-01-11 22:36:41 +02:00
cyanandGitHub 82b65e8934 Fix normal wallets showing export outputs QR code (#1952) 2025-01-11 22:35:45 +02:00
cyanandGitHub da9c309805 CW-873 automatically export outputs (#1885)
* automatically export outputs

* remove print statements

* update configure script

* Update logic behind import/export keyimages/outputs

* discussed changes

* replace store with just waiting for the wallet to update it's state
2025-01-04 06:28:04 +02:00
cyanandGitHub d33a901f66 Fix unavailable balance not refreshing after the app got opened (#1920) 2024-12-31 18:47:17 +02:00
cyanandGitHub df6ea551aa CW-848-amount-0-fee-error-fix-in-monero (#1866)
* update monero_c hash

* update monero_c hash

* update monero_c hash

* update monero_c hash

* update monero_c hash
2024-12-12 23:32:05 +02:00
cyanandGitHub fd6801cafb CW-834 Empty error when spending in wownero (#1870)
* CW-834 Empty error when spending in wownero

* monero -> wownero
2024-12-11 23:03:34 +02:00
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
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
cyanandGitHub 9fcbc4d72a CW-846: Correctly display balance (#1848)
* Correctly display balance even with frozen coins

* remove package= from AndroidMainfest.xml

* update namespace
2024-12-04 15:01:49 +03:00
17d34beae9 CW-782: Show error report popup without cooldown (#1739)
* 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
cyanandGitHub 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
cyanandGitHub 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
cyanandGitHub 738731d3e5 CW-826 Fix missing tx keys in monero (#1828)
* CW-826 Fix missing tx keys in monero

* force store wallet

* don't return error string
2024-11-26 15:43:56 +02:00
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