Commit graph

2696 commits

Author SHA1 Message Date
cyan
8524e238b0
make analyzer less red (#1628)
Some checks failed
Cache Dependencies / test (push) Has been cancelled
* remove cw_*.dart files from analyzer

* Run gen_framework.sh on iOS
2024-08-24 04:42:50 +03:00
Serhii
4c2d061363
rbf fixes issues sum utxo and fee calculation (#1625)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
* total out amount issue

* fix empty inputs and outputs addresses for new tx

* fix sum value of utxo not spending

* Update configure.dart

* Update electrum_wallet.dart

* receiving address

* review fixes
2024-08-23 16:19:42 +03:00
tuxsudo
d01199bd04
Merge pull request #1618 from cake-tech/flags
Some checks are pending
Cache Dependencies / test (push) Waiting to run
Update flags
2024-08-22 15:37:39 -04:00
tuxsudo
0dc6e2656a
Merge branch 'main' into flags 2024-08-22 15:37:21 -04:00
OmarHatem
9c3f0b329b minor fix 2024-08-22 15:34:31 +03:00
OmarHatem
47ca649060 update translations
Some checks are pending
Cache Dependencies / test (push) Waiting to run
2024-08-22 03:55:23 +03:00
smgthbusr
92f87a5366
Add Armenian language (#1623)
* Add Armenian strings

* Add Armenian

* Add Armenian flag
2024-08-22 03:47:30 +03:00
Jorge
799ddcdc6f
Fix Spanish string (#1622) 2024-08-22 03:45:16 +03:00
Omar Hatem
9390ceb323
Merge branch 'main' into flags 2024-08-22 03:42:18 +03:00
cyan
3cefe3b288
update setup-java and switch distribution (#1629) 2024-08-22 03:36:11 +03:00
Rafael
c0e0cf02aa
Fix testnet (#1632)
* fix: failed connection and misc changes

* default isTestnet to false

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-08-22 01:31:20 +03:00
Matthew Fosse
49d2560eb9
fix (#1633)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
2024-08-21 22:49:47 +03:00
tuxsudo
9ad4c9b46b
Merge branch 'main' into flags 2024-08-21 09:36:29 -04:00
Konstantin Ullrich
5449b94ba4
Windows fix (#1624)
Some checks failed
Cache Dependencies / test (push) Has been cancelled
* CW-488 Fix missing Wownero logo

* Temporary fix for windows
2024-08-19 17:06:57 +03:00
OmarHatem
19c600ba10 update macos build number
Some checks are pending
Cache Dependencies / test (push) Waiting to run
minor fixes
2024-08-18 17:15:23 +03:00
cyan
4071e460f6
fix universal build (#1621) 2024-08-18 15:25:44 +03:00
OmarHatem
fe4b3e4eb0 push haven fix
Some checks are pending
Cache Dependencies / test (push) Waiting to run
2024-08-18 03:48:25 +03:00
Omar Hatem
c59d39d42d
Generic fixes (#1619)
* update fee rates

* periodically update fees

* minor enhancements

* minor enhancements

* some improvements
add solana node

* handle empty hex as null

* minor improvement

* fix imports

* fix app hanging on splash screen

* update app versions
temporarily disable sign/verify for hardware wallets
2024-08-18 03:37:15 +03:00
Matthew Fosse
7c9b72483a
Socket null handling (#1610)
* return null if in connection failure state

* reconnect on connection failure

* better connection handling

* probably not necessary but just incase

* connection handling updates

* add cancelOnError: true
2024-08-18 02:28:45 +03:00
Matthew Fosse
83ef61e928
Cw 565 sign messages (#1378)
* version bump to 3.13.9, auth working on mac

* bump flutter version in workflow file

* workflow fix

* test fix

* downgrade flutter version

* test fix

* test fix

* update gradle version

* start working on ui for message signing

* updates

* sign working for a few wallet types

* updates & verification for electrum currencies

* nano support

* sign/verify working on eth, bitcoin broken

* update translations

* Implement Verify Message for Monero

* save [skip ci]

* pub key extraction working

* fixes for electrum signing

* verify working for solana!

* electrum still not working :( [skip ci]

* electrum messages working!

* fixes for updated dart version, localization file updates

* remove accidental inclusion

* missed some unimplemented throws

* Update res/values/strings_de.arb

Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>

* Apply suggestions from code review

Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>

* review suggestions and updates [skip ci]

* [skip ci] add polygon

* [skip ci] merge mac-auth/update version

* fix litecoin

* bio auth mac fix

* remove comment and change duration from 2 to 0

* cherry pick previous changes

* litecoin fixes, sign form fixes, use new walletAddressPicker

* support accounts

* verify messages working for monero

* working sign and verify messages for nano

* electrum signing working [skip ci]

* additional nano fixes

* update translations

* attempt to decode signatures with base64

* workaround for secure storage bug on mac

* bump version to 3.19.5 (because breez will need this version anyways)

* some code cleanup

* some changess didn't get saved

* just documenting the issue [skip ci]

* undo accidental removal + minor code cleanup

* merge conflicts

* merge fixes [skip ci]

* add tron support

* [wip] fixing

* remove duplicate references to electrum path for maintainability

* fixes

* minor fix

* fixes

* undo debug comment

* update migration for all electrum based wallets

* hotfixes

* copy over the rest of the fixes

* minor code cleanup [skip ci]

* updates

* electrum signing workinggit statusgit statusgit statusgit status!

* copy same fixes for litecoin

* litecoin fixes

* add v to litecoin signatures

* fix dependencies

* fix bitcoin_base version

* merge fix

* dep override

* fix conflicts with main

* trial fix for android build

* fixes

* fix

* dep fix, should build

* fix signing for bitcoin cash

* [skip ci] minor code cleanup

* [skip ci] minor code cleanup 2

* forgot wonero, various other fixes

* more fixes

* fix solana (untested)

---------

Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-08-18 02:10:27 +03:00
tuxsudo
c7957634a2
Merge branch 'main' into flags 2024-08-17 12:41:18 -04:00
tuxpizza
e8a03fc00e Update even more flags 2024-08-17 12:40:52 -04:00
cyan
eef319658a
Fix legacy seeds not being displayed when polyseed is not supported (#1608)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
* Fix legacy seeds not being displayed when polyseed is not supported

* fallback to english on Japanese, it errors with empty errorString - probably some kind of normalization issue
2024-08-17 05:30:48 +03:00
cyan
ec8c404086
fix rosseta builds (#1593) 2024-08-17 05:25:10 +03:00
tuxpizza
989f7fe197 Update more flags 2024-08-16 21:09:23 -04:00
tuxpizza
ab1f267c78 Update flags 2024-08-16 18:45:06 -04:00
David Adegoke
fb3f64facf
fix: Restore backup bug fix and clean up sol error message (#1614)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
* fix: Restore backup bug fix and clean up sol error message

* fix: Add async await to reinitialize
2024-08-17 01:21:03 +03:00
Rafael
102139b061
feat: more info on privkey error (#1612)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
2024-08-16 04:34:41 +03:00
René Brunner
40496fbfe7
Major overhaul of the Tagalog localization (#1611)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
2024-08-15 20:04:11 +03:00
cyan
4fa487fa27
seed fixes (#1594)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
* seed fixes + jCenter removal

* set seed language to English if none
show error when requesting seed

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-08-15 02:41:22 +03:00
Rafael
d96bab43c9
fix: p2sh addr (#1607) 2024-08-15 02:40:40 +03:00
Omar Hatem
183f9c191d
Update pr_test_build_linux.yml
Some checks are pending
Cache Dependencies / test (push) Waiting to run
2024-08-14 17:49:56 +03:00
OmarHatem
20252cdea8 cache only android deps
Some checks are pending
Cache Dependencies / test (push) Waiting to run
only have linux build as an artifact
2024-08-14 01:37:04 +03:00
OmarHatem
390fdda023 fix caching linux deps 2024-08-14 00:58:13 +03:00
OmarHatem
b0ece46f29 use the cached deps for both jobs [skip ci] 2024-08-13 23:15:32 +03:00
Omar Hatem
525df820c3
Generic fixes (#1605)
* minor fixes

* fix not saving wallet password to secure storage

* cache linux deps as well
2024-08-13 22:51:25 +03:00
David Adegoke
4e7e00b975
Fix: Remove resolution scope from unstoppable domains plugin (#1604) 2024-08-13 21:25:18 +03:00
cyan
4b69277858
add mutex around _confirmForm to prevent the wallets from breaking (#1602)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
* add mutex around _confirmForm to prevent the wallets from breaking

* add async

* drop mutex for a boolean

* don't make the variable global
2024-08-13 16:47:37 +03:00
cyan
2949299821
unstoppable domains fix (#1600) 2024-08-13 15:15:31 +03:00
tuxsudo
0491ad9ee2
Update support links (#1595)
* Update support links list, add proper support for light/dark icons, update provider icons

* Update trocador icon

* Update variable

* trial fix for android build

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-08-13 14:15:47 +03:00
cyan
1ce60d62b3
CW-676 Add Linux scripts to build monero_c for linux platform (#1527)
* Revert "Revert btc address types"

This reverts commit a49e57e3

* Re-add Bitcoin Address types
Fix conflicts with main

* fix: label issues, clear spent utxo

* chore: deps

* fix: build

* fix: missing types

* feat: new electrs API & changes, fixes for last block scanning

* Update Monero

* not sure why it's failing

* Enable Exolix
Improve service updates indicator
New versions

* Add exolix Api token to limits api

* Ignore reporting network issues

* Change default bitcoin node

* Merge main and update linux version

* Update app version [skip ci]

* New versions

* Fix conflicts and update linux version

* minor fix

* feat: Scan Silent Payments homepage toggle

* chore: build configure

* feat: generic fixes, testnet UI improvements, useSSL on bitcoin nodes

* fix: invalid Object in sendData

* feat: improve addresses page & address book displays

* feat: silent payments labeled addresses disclaimer

* fix: missing i18n

* chore: print

* feat: single block scan, rescan by date working for btc mainnet

* feat: new cake features page replace market page, move sp scan toggle, auto switch node pop up alert

* feat: delete silent addresses

* fix: red dot in non ssl nodes

* fix: inconsistent connection states, fix tx history

* fix: tx & balance displays, cpfp sending

* feat: new rust lib

* chore: node path

* fix: check node based on network

* fix: missing txcount from addresses

* style: padding in feature page cards

* fix: restore not getting all wallet addresses by type

* fix: auto switch node broken

* fix: silent payment txs not being restored

* update linux version

* feat: change scanning to subscription model, sync improvements

* fix: scan re-subscription

* fix: default nodes

* fix: improve scanning by date, fix single block scan

* refactor: common function for input tx selection

* various fixes for build issues

* initial monero.dart implementation

* ...

* multiple wallets
new lib
minor fixes

* other fixes from monero.dart and monero_c

* fix: nodes & build

* update build scripts
fix polyseed

* remove unnecessary code

* Add windows app, build scripts and build guide for it.

* Minor fix in generated monero configs

* Merge and fix main

* fix: send all with multiple outs

* add missing monero_c command

* add android build script

* update version

* Merge and fix main

* undo android ndk removal

* Fix modified exception_handler.dart

* Temporarily remove haven

* fix build issues

* fix pr script

* Fixes for build monero.dart (monero_c) for windows.

* monero build script

* wip: ios build script

* refactor: unchanged file

* Added build guides for iOS and macOS. Replaced nproc call on macOS. Added macOS configuration for configure_cake_wallet.sh script.

* Update monero.dart and monero_c versions.

* Add missed windows build scripts

* Update the application configuration for windows build script.

* Update cw_monero pubspec lock file for monero.dart

* Update pr_test_build.yml

* chore: upgrade

* chore: merge changes

* refactor: unchanged files [skip ci]

* Fix conflicts with main

* fix for multiple wallets

* update app version [skip ci]

* Add tron to windows application configuration.

* Add macOS option for description message in configure_cake_wallet.sh

* fix missing encryption utils in hardware wallet functions [skip ci]

* fix conflicts

* Include missed monero dll for windows.

* reformatting [skip ci]

* 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.

* remove tron

* 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++

* merge main and update version

* 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

* update version

* 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

* Add Tron
Update Linux version

* 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

* merge main

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

* fix: Tron file write, build scripts

* - merge linux with Monero Dart
- Temporarily disable Monero

* fix other issues with linux

* linux ci
fix build script

* Update pr_test_build_linux.yml

install required packages

* add linux desktop dependencies

* don't use apk in linux build releases

* don't copy the file to test-apk

* fix linux runtime issues

* remove libc++_shared.so

* fix issues with linux

* prepare both android and linux (because otherwise it will fail)

* ci script updates

* run apt update

* bump image to ubuntu 22.04
note: remember to put it down later

* bump python version

* remove some dependencies

* remove unused import

* add missing dependencies

* fix dependencies

* some fixes

* remove print [skip ci]

* Add back RunnerBase.entitlements
minor fixes [skip ci]

* fix memory leak / infinite recurrsion when opening xmr wallet

* url_launcher_linux: 3.1.1 # https://github.com/flutter/flutter/issues/153083

* fix conflicts with main

* handle walletKeysFile with encryptionUtils

* update app version [skip ci]

* add wownero [skip ci]

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
Co-authored-by: Rafael Saes <git@rafael.saes.dev>
Co-authored-by: M <m@cakewallet.com>
Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
2024-08-13 01:18:14 +03:00
Omar Hatem
3b635218a5
minor fix (#1597) 2024-08-13 01:04:05 +03:00
tuxsudo
1809f91f01
Fix logo sizing (#1592) 2024-08-12 22:17:01 +03:00
Omar Hatem
88a57c1541
V4.19.2 v1.16.2 (#1591)
* refactor: remove bitcoin_flutter, update deps, electrs node improvements

* feat: connecting/disconnecting improvements, fix rescan by date, scanning message

* chore: print

* Update pubspec.yaml

* Update pubspec.yaml

* handle null sockets, retry connection on connect failure

* fix imports

* update app versions

* fix transaction history

* fix RBF

* update android build number [skip ci]

---------

Co-authored-by: Rafael Saes <git@rafael.saes.dev>
Co-authored-by: Matthew Fosse <matt@fosse.co>
2024-08-12 02:53:13 +03:00
Rafael
bbba41396d
Fixes node connection, and sp, and electrum (#1577)
* refactor: remove bitcoin_flutter, update deps, electrs node improvements

* feat: connecting/disconnecting improvements, fix rescan by date, scanning message

* chore: print

* Update pubspec.yaml

* Update pubspec.yaml

* handle null sockets, retry connection on connect failure

* fix imports

* fix transaction history

* fix RBF

* minor fixes/readability enhancements [skip ci]

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
Co-authored-by: Matthew Fosse <matt@fosse.co>
2024-08-12 02:49:45 +03:00
David Adegoke
96baf460f3
Filters out TRC10 spam transactions and modifies Solana error messages (#1587)
Some checks failed
Cache Dependencies / test (push) Has been cancelled
* fix: Tron and solana fixes

* fix: Disable send all for solana wallets

* fix: Add localization and add tostring to get more info on error

* fix: Fix spelling for comment

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-08-10 02:02:47 +03:00
Serhii
b412d45f0e
Cw 567 cant swipe through menus on desktop builds (#1563)
* MaterialApp scrollBehavior

* accessibility improvements
2024-08-10 01:21:26 +03:00
Serhii
9c29dbd6fd
fix zero initial fee rates in RBF rate picker (#1585)
* fix zero initial fee rates in RBF rate picker

* fix for other settings page[skip ci]
2024-08-10 01:18:55 +03:00
Serhii
acadee6ed5
fix custom rate issue (#1579)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-08-10 00:49:27 +03:00
Serhii
14e99daa73
align the hint with the prefix in the text field (#1571)
* Update send_card.dart

* update currency amount text field widget

* Update qr_widget.dart
2024-08-10 00:48:36 +03:00