Commit graph

2563 commits

Author SHA1 Message Date
Adegoke David
04f5391be1
feat: Add otp url link to qa screen (#1098) 2023-09-23 03:30:06 +03:00
Serhii
572d928848
CW-442-Update-exchange-selector-checkboxes-with-checkboxes-from-transactions-filter-screen (#1074)
* Update checkboxes

* fix exchange provider selector

* checkbox picker refactoring

* Revert "checkbox picker refactoring"

This reverts commit 66eea9d690.

* Update check_box_picker.dart
2023-09-22 18:09:30 +03:00
Omar Hatem
95ea825728
Add Brightness Util to check for platform before increasing brightness (#1096) 2023-09-22 17:53:30 +03:00
fosse
b5852509f3 fix 2023-09-22 10:24:16 -04:00
fosse
14d3401137 translation fixes 2023-09-22 09:56:50 -04:00
fosse
f8cb8657f6 remove bad translations 2023-09-22 09:50:09 -04:00
fosse
147abc6203 small fix 2023-09-21 10:16:57 -04:00
fosse
a52c7b053e ens working 2023-09-21 10:16:27 -04:00
fosse
d8d2335a5f version fix 2023-09-19 12:21:51 -04:00
fosse
6b1c7e832d ens changes 2023-09-19 12:09:13 -04:00
fosse
ed5a139490 save 2023-09-18 14:57:57 -04:00
Omar Hatem
b6de1be6c4
Update app version and release notes (#1093) 2023-09-17 13:23:14 +03:00
Konstantin Ullrich
0eecf0bee5
Cw 483 add tagalog and filipino localizations (#1086)
* CW-483 Add "Add new language Script"

* CW-483 Add Filipino Language
2023-09-15 00:41:54 +03:00
Konstantin Ullrich
d972363417
Add additional Buy Provider (#1071)
* CW-466 Add Buy Options Page

* CW-466 Add Buy Options

* CW-466 Add Default Buy Provider to Other Settings

* CW-466 Onramper is working from Buy Options

* CW-466 Onramper is working from Buy Options

* CW-466 Translation improvements

* CW-466 Add Onramper & Robinhood Logos

* CW-466 Implement Robinhood Flow

* CW-466 Fix Robinhood Flow

* CW-466 Add RH-Secrets

* CW-466 Have RH Translation in English only

* Add missing URI details

* CW-466 Implement default Buy Provider

* CW-466 Fix Padding Buy Provider Options

* CW-466 Fix Bitcoin and Litecoin Signatures

* CW-466 Fix Error Message

* CW-466 Resolve requested changes

* Add exception handler to robinhood API calls

* CW-466 Fix Theming

---------

Co-authored-by: Justin Ehrenhofer <justin.ehrenhofer@gmail.com>
Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2023-09-14 22:14:49 +03:00
Omar Hatem
ce4d375abf
Generic fixes and enhancements (#1083)
* Add exception handler to fiat APIs
Increase send card size for coin control
Fix Monero.com unspent coins hive box issue
minor bug fix

* Remove EIP-1559 parameters from Eth transaction
Enhance error reporting

* Throw error if not enough monero utx outputs are selected

* Fix Search text color

* Fix Ethereum sending EIP-1559 transactions

* Add transaction data to ERC20 transactions

* Add input check in single output transactions as well

* Fix Node deletion issue
Handle user input error in anonpay

* Remove exception handler from fiat conversion since it's not working with isolates

* Require enough utxo for amount and fees; More insightful Error messages

* Add cakewallet to applinks [skip ci]

* Add cakewallet app link for iOS [skip ci]

* Add applink depending on app scheme variable

* Add applink in iOS custom to the app getting built [skip ci]

* Handle normal app links without considering them as Payment URIs

* Minor fix [skip ci]

* Fixate encrypt package version as the recent update they made has some issues [skip ci]

---------

Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
2023-09-14 22:14:16 +03:00
Omar Hatem
4c9c6a1eae
CW- 463 Fix transaction receive address not showing for Eth/Erc20 (#1076)
* Fix transaction receive address not showing for Eth/Erc20 [skip ci]

* Fix transaction receive address for Eth/Erc20
2023-09-14 22:12:41 +03:00
Konstantin Ullrich
4bcf6162f1
CW-476 Only get Transactions of one Account on tx-history refresh (#1077) 2023-09-08 20:12:54 +03:00
Omar Hatem
94f256997f
New versions (#1073) 2023-09-08 17:15:28 +03:00
Omar Hatem
68a821cc0e
Fiat api fix (#1070)
* Cw 474 linux swapping wallets btc then xmr still shows btc receive qr code (#1068)

* feat: improve address page txt field

* fix: switching wallets from the desktop dropdown updates dashboard pages

* Revert "feat: improve address page txt field"

This reverts commit 0a30e6d9e1.

* refactor: rename to WalletChangeListener

* fix: _init also behaves on wallet change

* Fix Fiat conversion API parsing
Cherry pick fix for Desktop switching wallets not updating dashboard screens

* Minor indentations fix [skip ci]

---------

Co-authored-by: Rafael Saes <76502841+saltrafael@users.noreply.github.com>
2023-09-01 18:06:18 +03:00
Adegoke David
710fe82d7a
CW-471-Changing-nodes-bug (#1062)
* chore: Cleanup

* fix: Node selection not updating

* fix: Node selection not updating

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-09-01 17:05:45 +03:00
Adegoke David
e634562cf4
Cw-465-Remove CakePay Button on Mobile/Desktop (#1057)
* feat: Remove CakePayButton Mobile

* feat: Remove CakePayButton Desktop

* feat: Remove CakePay Mobile Button

* feat: Remove CakePay Mobile Button

* feat: Remove CakePay Mobile Button

* fix: Action breaking
2023-09-01 16:59:18 +03:00
Konstantin Ullrich
8757390c8f
CW-481 Fix empty Address (#1072) 2023-09-01 14:04:35 +03:00
Adegoke David
d51b9bd684
feat: Replace transfer.sh (#1066)
* feat: Replace transfer.sh

* Update build_haven.sh

* Update pr_test_build.yml

* Update pr_test_build.yml

* Update pr_test_build.yml

* feat: Change apk name in PR workflow

* feat: Change apk name in PR workflow

* feat: Change apk name in PR workflow

* fix: Remove test-apk prefix in app name

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-08-31 20:09:10 +03:00
Matthew Fosse
feca2410b8
Merge pull request #1067 from cake-tech/generic_fixes
Generic fixes
2023-08-30 12:30:45 -04:00
OmarHatem
6b9c47563e Allow triggering cache workflow manually
Fix haven build script
2023-08-30 19:15:07 +03:00
Omar Hatem
1cc2c645fa
Fix Wallet Loading issues (basic_string & input_stream) (#1059)
* Recover from wallet loading exceptions (basic_string & input_stream)
Recover from removed cached wallets

* Fix restoring as Monero wallets
Fix restoring wallets with invalid files

* Add coin control missing changes for macos monero files

* Add same key for cached dependencies [skip ci]
2023-08-30 18:11:56 +03:00
Godwin Asuquo
fff5a1c419
CW-228 Auto generate monero subaddress (#902)
* Add UI and setting logic for subaddresses

* Enable auto generate subaddresses

* Rename variable

* Add comment to unused code

* Fix issue with initial state change

* Fix observable for isAppSecure

* Filter sub account contacts

* Fix select account use unused address

* Use add address if last address is unused

* Fix auto generate wallet issues

* Fix button color

* Add translation and refactored naming

* Fix PR review

* Remove unused code

* Remove unused overrides in electrum

* Fix address info null check

* CW-228 Fix ContactListViewModel condition

* CW-228 Fix Account Tile; Rework updateAddressesInBox; Fix _getAllUnusedAddresses

* CW-228 Fix unintentional address_page.dart regression

* CW-228 Fix Merge Conflicts

* CW-228 Add more translation Tools

* CW-228 More merge conflict fixes

* CW-228 Fix Merge Conflicts

* CW-228 Auto Translation improvements

* CW-228 Resolve requested Changes

---------

Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
2023-08-29 19:11:51 +03:00
Justin Ehrenhofer
9999816850
Improve ChangeNOW and Trocador network mapping (#1058)
* Improve ChangeNOW network mapping

Follows Trocador code to use the title instead of the const name, and to allow normalizing across the tag level instead of needing to map the `legacyTicker`

I will test

* Missing `}`

* Remove `:`

* Add normalizeTitle for zec

* Missing `;`

* Make functions private and fix zec for Trocador

* Add supported assets [skip ci]

* Change name [skip ci]
2023-08-25 00:30:53 +03:00
Godwin Asuquo
f6670c0236
CW-415 add coin control for xmr (#985)
* Added CoinsInfo to monero_api_cpp

* Add struct on dart

* Add struct on dart

* Set coins value

* CW-415 Use add-coin-to-monero branch

* CW-415 Add get Coin and build Monero Deps using Docker

* CW-415 Fix Typo

* CW-415 add debug log info

* CW-415 Add preferred key Images for coin control to Monero

* CW-415 Fix generation

* CW-415 Skip GA Cache Externals

* CW-415 Skip GA Cache Externals

* CW-415 Coin Control: remove Block Explorer for Monero, Add Tx hash, save note on field exit

* CW-415 Coin Control: Throw Exception when all outputs are deselected

* CW-415 Coin Control: Show Frozen Balance on Dashboard

* CW-415 Coin Control: Show Frozen Balance on Dashboard

* CW-415 Ignore cached Monero deps in Workflow

* CW-415 Fix displaying frozen Balance

* Use own Translator with http 1.1.0

* CW-415 Resolve requested Changes

* CW-415 Resolve requested Changes

* CW-415 Resolve requested Changes

* CW-415 Apply requested Changes

* CW-415 Apply requested Changes

* CW-415 Ensure opening of UnspentCoinsInfo Box, even for Monero.com

---------

Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
2023-08-24 16:54:05 +03:00
Omar Hatem
3577730de8
Add restore from private key to Ethereum (#1055)
* Add restore from private key to Ethereum
Add restore from QR code for Ethereum in both seeds/keys

* Add node network issue to ignored errors [skip ci]
2023-08-23 15:33:20 +03:00
Adegoke David
43cf8a896e
fix: Rotate TOTP Secret (#1056) 2023-08-23 02:05:48 +03:00
Rafael Saes
ee586ab514
Cw 470 additional theming fixes (#1052)
* fix: revert theme order (bright-purple as default)

* fix: missing card borders

* fix: high contrast gradients (send/exchange)

* fix: contact list page

* feat: add picker search border and change high contrast search fill

* fix: balance page txts

* fix: accounts_subaddresses button

* fix: exchange page buttons

* Revert "fix: revert theme order (bright-purple as default)"

This reverts commit 8e13b2241c.

* fix: themetype enum

* feat: add localized strings to backup dialog

* fix: onramper flow
2023-08-22 21:49:37 +03:00
Omar Hatem
5556d9ef96
Fix Ethereum network for anonpay invoice (#1051) 2023-08-19 00:55:18 +03:00
Omar Hatem
9ddab2b472
Flutter update (#1048)
* Update Flutter
Update packages

* Fix localization issues
Fix UI issues
Update old packages
Update workflow
Update how to build guide

* Additional UI fixes for merged conflicts
2023-08-18 18:37:17 +03:00
Rafael Saes
09c942564e
Cw 396 additional themes (#962)
* fix: SectionStandardList using BuildContext as param

* refactor: deprecated backgroundColor -> colorScheme.background

* refactor: themeBase and current themes

* refactor: accentTextTheme.titleLarge.color -> dialogTheme.backgroundColor

* refactor: gradient background

* refactor: text themes using the same color as primaryColor

* refactor: accentTextTheme.bodySmall.color -> cardColor

* refactor: text themes using same dialogBackgroundColor

* refactor: scrollbarTheme

* refactor: create SyncIndicatorTheme

* refactor: SectionDivider

* refactor: base_page improvements and simplify

* refactor: collapsible_standart_list improvements

* refactor: accentTextTheme.bodyLarge.backgroundColor -> KeyboardTheme.keyboardBarColor

* refactor: create PinCodeTheme for accentTextTheme.bodyMedium

* refactor: create SupportPageTheme for accentTextTheme.displayLarge.backgroundColor and fix cases that use it

* refactor: accentTextTheme.displayLarge.color -> disabledColor

* refactor: create ExchangePageTheme

* refactor: create DashboardPageTheme and use textColor

* refactor: create NewWalletTheme for accentTextTheme.displayMedium

* refactor: create BalancePageTheme for accentTextTheme.displaySmall.backgroundColor

* refactor: create AddressTheme for accentTextTheme.displaySmall.color

* refactor: create IndicatorDotTheme

* refactor: create CakeMenuTheme

* refactor: create FilterTheme

* refactor: create WalletListTheme

* refactor: accentTextTheme.bodySmall.decorationColor -> InfoTheme.textColor

* refactor: accentTextTheme.titleLarge.backgroundColor -> PickerTheme.dividerColor

* refactor: primaryTextTheme.bodyLarge.backgroundColor -> AlertTheme.leftButtonTextColor

* refactor: primaryTextTheme.displayLarge.backgroundColor -> OrderTheme.iconColor

* refactor: create SendPageTheme

* fix: missing migrated styles

* refactor: primaryTextTheme.labelSmall.decorationColor -> PlaceholderTheme.color

* refactor: create TransactionTradeTheme

* refactor: create CakeTextTheme

* refactor: create AccountListTheme

* refactor: create ReceivePageTheme

* refactor: create QRCodeTheme

* refactor: move remaining items to CakeTextTheme and some missing fixes

* feat(display_settings): add new theme selector

* feat: additional themes

* fix: conflict error

* fix(lag): move colorScheme initialization to constructor

* feat: add backdropColor to alert and picker backdrop filters

* fix: merge fixes

* fix: send template page missing new colors

* fix: anonpay pages title and icon colors

* fix: merge fixes

* fix: unspent coins page

* fix: also fix exchange template

* fix: missing checkbox

* fix: fixes for high contrast theme

* Merge branch 'main' into CW-396-additional-themes

* fix: merge fixes

* fix: .gitignore and rm added files

* Fix review comments

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2023-08-17 18:28:31 +03:00
Omar Hatem
5ec930cbc6
Re add chatwoot (#1044)
* Revert "Revert "Cw 397 chatwoot live support (#1011)""

This reverts commit ecdc7baa2e.

* Re-add chatwoot
Change chatwoot base url
2023-08-15 03:47:25 +03:00
Omar Hatem
ad6edd9a05
V4.8.1 v1.5.1 (#1038)
* Revert "Cw 397 chatwoot live support (#1011)"

This reverts commit af9b5ff10c.

* Add Version 4.8.1 configs

* Update macos build version [skip ci]
2023-08-14 16:57:47 +03:00
Omar Hatem
f4fad4d94d
Fix Erc20 send all feature (#1030)
* Fix Erc20 send all feature

* Remove debug prints

* Add user connection issues and certificate issues to ignored errors [skip ci]
2023-08-11 16:58:11 +03:00
Justin Ehrenhofer
07844a6ef4
Readme: update to include desktop (#1032)
Fix my major omission 😬

skip ci
2023-08-11 14:33:36 +03:00
Justin Ehrenhofer
8d8bfb350d
Remove old screenshots [skip ci] (#1033)
[skip ci]
2023-08-11 14:32:14 +03:00
Justin Ehrenhofer
f6d76a6bb6
Add Ethereum and f-droid to readme (#1031)
* Add Ethereum and f-droid to readme

skip-ci

* minor fixes [skip ci]

fix wrong indentation for adding new localization text

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-08-10 19:07:12 +03:00
Konstantin Ullrich
af9b5ff10c
Cw 397 chatwoot live support (#1011)
* initial button refactor and gradient background

* CW-397 Use a separate Hive instance to avoid Issues with plugins using Hive

* CW-397 Add Support Page Strings

* CW-397 Add new Support Page

* CW-397 Add Support Live Chat Page

* CW-397 Add Hive Type Ids Doc

* CW-397 Use Newer Chatwoot SDK Version and add new Images

* CW-397 Update pubspec_base.yaml

* CW-397 Add own Chatwoot Widget

* Lowercase `s` skip-ci

* CW-397 Fix WebMessageListener

* CW-397 Fix Merge conflicts

* CW-397 Add Erc20 Hive Type ID

* CW-397 Fix Ethereum Hive Error

* CW-397 Revert to Restore Button

* CW-397 Only use In App chat on mobile

* CW-397 Move Chatwoot Website Token to secrets

* CW-397 Add Chatwoot Website Token to workflow

* CW-397 Move Chatwoot fetchUrl to Support View Model

---------

Co-authored-by: Rafael Saes <git@saes.io>
Co-authored-by: Justin Ehrenhofer <justin.ehrenhofer@gmail.com>
2023-08-10 16:42:53 +03:00
Justin Ehrenhofer
e348f12491
Update UD domains (#1017)
* Try adding `.eth` to UD service

* Remove eth and coin, add other supported

https://api.unstoppabledomains.com/resolve/supported_tlds

https://unstoppabledomains.com/blog/categories/announcements/article/coin
2023-08-10 15:38:53 +03:00
Justin Ehrenhofer
21c656fdc3
Add PYUSD to token list [skip ci] (#1027)
PayPal USD (PYUSD) is disabled by default, to appear only in the token search list.

https://github.com/paxosglobal/pyusd-contract
2023-08-10 15:37:38 +03:00
Justin Ehrenhofer
edd31954b0
Minor changes: Update privacy policy (#1029)
Minor changes, including:

* Better reference Fiat API service and the ability to turn it off
* Better reference optional Error logs sending
* Minor other clarifications
2023-08-10 15:36:18 +03:00
Adegoke David
fb5a1112e2
feat: Replace buy action to use onramper (#1026) 2023-08-08 18:09:51 +03:00
Omar Hatem
8185b88b4a
Enable Eth/Erc20 auto send in exchange (#1024)
* Generate missing secrets file for ethereum

* Enable Sending ERC-20 and Ethereum automatically from an Exchange
2023-08-08 04:02:09 +03:00
Omar Hatem
d1684f5be8
v4.8.0 and v1.5.0 (#1021)
* Update versions
Add Ethereum to MacOS
Fix Ethereum config when building Monero.com

* Fix Restore from backup issue

* Update app build versions
Fix minor UI issue
2023-08-07 14:43:04 +03:00
Omar Hatem
aedf310c9d
Cw 155 monero synchronization (#1014)
* Run Monero Synchronization task in background on Android

* Add monero sync task in the load function to be registered/cancelled when user changes wallets

* Revert unused file changes

* Register Sync task on all monero wallets if any

* Add Sync Modes and change task frequency based on user's choice

* Register background task after current wallet is set

* Add Sync All toggle and change task wallets to sync accordingly

* Enable background notifications in release mode temporarily

* Disable constraints and increase the frequency of tasks

* Decrease frequency of background tasks

* Delay the background task thread till the syncing thread finish (Dummy Trial-1)

* Start Sync process and wait for it to finish

* Wait for synchronization to finish before ending the background thread
Add 10 minutes timeout duration for sync process

* Connect to node before syncing wallet

* replace testing configuration with the configurations agreed on

* Fix Conflicts with main

* Update and Migrate Background tasks to null safety

* Update workmanager version in pubspec_base also

* Move Sync options to Connection and sync page
Show Sync options only for Monero and Haven
Minor Enhancements

* Remove debugging notifications
Revert aggressive mode frequency to 6 hours [skip ci]

* Add iOS configs

* Revert debugging changes
Fix conflicts with main

* Add/Extract Sync configurations to/from backup file [skip ci]
2023-08-04 20:55:56 +03:00
Omar Hatem
68a057b91b
CW-450 Add version code & version name to android configs (#1020)
* Add version code and version name to android configuration

* Update inject_app_details.sh

configure script to run on Linux
2023-08-04 20:02:05 +03:00