Commit graph

1489 commits

Author SHA1 Message Date
OmarHatem
5775313b1d Merge branch 'main' of https://github.com/cake-tech/cake_wallet into new-fiat-currencies
 Conflicts:
	lib/reactions/on_current_wallet_change.dart
2023-03-03 01:53:23 +02:00
Justin Ehrenhofer
2a48d645ae Revert part of the Haven change 2023-03-02 17:47:10 -06:00
OmarHatem
fce4328a3f Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-317-change-fiat-api 2023-03-02 21:45:51 +02:00
Omar Hatem
3128d458f8
Merge pull request #765 from cake-tech/CW-282-add-trocador-exchange
CW-282 add trocador exchange
2023-03-02 21:42:30 +02:00
Omar Hatem
960f761c05
Merge pull request #794 from cake-tech/error-report-enhancements
Error Reports Enhancements
2023-03-02 21:39:43 +02:00
OmarHatem
60f47e5e9f Fix calling wrong path 2023-03-02 21:13:19 +02:00
OmarHatem
29e9bb2181 Call Onion API from http 2023-03-02 19:24:52 +02:00
OmarHatem
de62987338 Add Fiat API mode to advanced privacy settings page 2023-03-02 19:13:00 +02:00
OmarHatem
8625e33537 Merge branch 'CW-282-add-trocador-exchange' of https://github.com/cake-tech/cake_wallet into CW-317-change-fiat-api
 Conflicts:
	lib/src/screens/settings/privacy_page.dart
2023-03-02 18:58:23 +02:00
Godwin Asuquo
d5c4bd0236 change type to int 2023-03-02 17:43:42 +02:00
Godwin Asuquo
15237d5f79 Fix issues from code review 2023-03-02 17:13:25 +02:00
Godwin Asuquo
9f952cda40 Remove disableExchangeKey from sharedpreference 2023-03-01 23:46:05 +02:00
Godwin Asuquo
b0175719b9 Fix issues from code review 2023-03-01 23:44:15 +02:00
OmarHatem
861616fda2 use Http protocol for onion connection 2023-03-01 23:24:52 +02:00
OmarHatem
248e8037a9 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-317-change-fiat-api 2023-03-01 18:54:10 +02:00
cppethereum
cf25878a61
Merge branch 'main' into add-indonesian-language 2023-03-01 10:04:47 -05:00
Godwin Asuquo
dbfbadffda Filter to use Tor only exchange 2023-03-01 15:50:31 +02:00
OmarHatem
247ec24e46 Re-organize ignored errors in ascending order of errno [skip ci] 2023-03-01 15:47:16 +02:00
OmarHatem
f23a2ccfe6 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into error-report-enhancements 2023-03-01 15:40:26 +02:00
Justin Ehrenhofer
c9726403ec Remove TRY
Ideally this asset would be supported, but it's not worth devoting effort to fix this 1 currency right now
2023-02-28 12:51:44 -06:00
OmarHatem
18af7e7661 remove print statements [skip ci] 2023-02-28 18:36:39 +02:00
OmarHatem
ce4b1cd4ae Update fiat API version
Enable Tor support for Fiat
2023-02-28 18:23:21 +02:00
Godwin Asuquo
8419767c4f Add limit query to trocador 2023-02-28 18:12:24 +02:00
Justin Ehrenhofer
dfcdfd87d1 [skip ci] Remove Haven USD hardcode 2023-02-28 10:03:31 -06:00
Justin Ehrenhofer
7ba88699d4 [skip ci] Remove AED 2023-02-28 10:02:23 -06:00
holecekp
c14fd50625 Merge remote-tracking branch 'remotes/upstream/main' 2023-02-28 16:44:44 +01:00
OmarHatem
d05f77d16c Merge branch 'main' of https://github.com/cake-tech/cake_wallet into error-report-enhancements 2023-02-28 15:37:37 +02:00
cr0mll
11da732ad1
Merge branch 'main' into bulgarian_support 2023-02-28 09:57:48 +02:00
Justin Ehrenhofer
c6f6ab0bc9 Add missing clp 2023-02-27 12:29:05 -06:00
Justin Ehrenhofer
b500540072 Test fix for TRY
As suspected: https://github.com/cake-tech/cake_wallet/actions/runs/4285241568/jobs/7463282181#step:13:306

This might not work depending on how the const is used, so will test the build
2023-02-27 11:55:01 -06:00
Justin Ehrenhofer
afb3c7ddaf Add fiat currencies
Adds:
AED, ARS, BDT, CLP, COP, EGP, GHS, GTQ, IRR, MAD, NGN, PKR, SAR, THB, TRY, UAH, VND

This may mess things up because of TRY, so I'll test the PR and make changes as needed
2023-02-27 11:43:07 -06:00
Omar Hatem
d96dda319f
Merge pull request #764 from rex4539/typos
Fix typos
2023-02-27 18:50:28 +02:00
Omar Hatem
9fcb379d19
Merge pull request #784 from cake-tech/fix-support-page-links
Fix Support links
2023-02-27 18:39:35 +02:00
Omar Hatem
18a8ad04d4
Merge pull request #808 from cake-tech/fix-null-checks-on-disposed-screens
Fix null checks on disposed screens
2023-02-27 18:39:16 +02:00
Omar Hatem
db861c036e
Merge pull request #783 from cake-tech/fix-share-backup-on-ipad
Fix Share issue on iPad
2023-02-27 18:37:27 +02:00
OmarHatem
9c26912ce9 Add Socket exception to ignored errors [skip ci] 2023-02-27 18:28:30 +02:00
OmarHatem
f470723ece Add try/catch block in case launch url throws a platform exception 2023-02-27 16:07:22 +02:00
OmarHatem
2c43f29d64 Check if context is still mounted before showing a popup [skip ci] 2023-02-27 15:59:20 +02:00
cr0mll
cf5cee946b Added Bulgarian language 2023-02-25 19:34:23 +02:00
Waffle Man
e099133ae8
Merge branch 'cake-tech:main' into main 2023-02-24 14:56:55 +02:00
OmarHatem
db1fdac2b5 Add connection timed out error to ignored exceptions [skip ci] 2023-02-22 04:15:18 +02:00
OmarHatem
37ea2d341f Add Exception handler to report loading wallet issues 2023-02-20 22:25:54 +02:00
OmarHatem
7b35604ff5 Add app version and device info to error report 2023-02-20 22:17:41 +02:00
OmarHatem
54dab5883f Check for context first before showing popup 2023-02-15 17:50:48 +02:00
Omar Hatem
13ee217502
Merge pull request #770 from cake-tech/CW-285-Show-number-of-confirmations-in-transactions-screen-for-Monero-and-Haven-if-10
add number of confirmations to transactions
2023-02-14 16:02:39 +02:00
Omar Hatem
f77a9592b2
Add nullability check on description [skip ci] 2023-02-14 15:17:28 +02:00
Serhii
7235d8c9c2 redesign user object 2023-02-14 00:23:57 +02:00
OmarHatem
6d7ce369bf Add connection timed out error to ignored errors [skip ci] 2023-02-13 23:05:08 +02:00
OmarHatem
f49695f417 Fix support links/emails not opening 2023-02-13 20:44:23 +02:00
OmarHatem
b5542d9f7d Add share files to share utils and unify the fix for ipad 2023-02-13 20:41:18 +02:00
Dimitris Apostolou
1fe1b2fd87
Fix typos 2023-02-13 18:50:03 +02:00
Serhii
a3f332342f minor fix 2023-02-13 18:46:53 +02:00
Justin Ehrenhofer
891a9d3368 Add 5 new assets and map TRX -> TRC20 2023-02-13 08:51:26 -06:00
Serhii
5c663c5596 redesign user object 2023-02-13 00:38:12 +02:00
Serhii
8bae7d2179 minor fix 2023-02-12 16:22:05 +02:00
Serhii
e464d4a70a Merge branch 'main' into CW-285-Show-number-of-confirmations-in-transactions-screen-for-Monero-and-Haven-if-10 2023-02-10 00:06:57 +02:00
Serhii
25228eb633 fix confirmations 2023-02-10 00:01:58 +02:00
Justin Ehrenhofer
6711d9530f Normalize remaining tags/networks
Also rename Cake `C-CHAIN` tag to `AVAXC`, which will result in a clearer situation for user if we later add USDT (AVAXC), for example.
2023-02-09 10:52:24 -06:00
Godwin Asuquo
5f6b447706 Fix _network normalize function 2023-02-09 18:24:59 +02:00
Serhii
624036d00c add address lookup for pinned tweet 2023-02-09 12:23:13 +02:00
Justin Ehrenhofer
11a5831b08 Fix support URLs 2023-02-08 13:33:54 -06:00
OmarHatem
51a11d0bc2 Make coolDownDuration private 2023-02-08 20:47:23 +02:00
OmarHatem
8a45cb4dc7 - Add Linter rules for return types and final fields
- Enhance exception_handler code
- Add ShareUtil to unify modification point
2023-02-08 20:16:12 +02:00
Serhii
c10105872c add number of confirmations to transactions 2023-02-08 18:47:12 +02:00
OmarHatem
27f242a5ee Use view model variable hasRescan instead [skip ci] 2023-02-08 18:45:38 +02:00
OmarHatem
9a5244ffed Revert changes to show_pop_up.dart 2023-02-08 17:12:41 +02:00
OmarHatem
fa54ebe855 Fix popup null context as it was using a dismissed (unmounted) context [skip ci] 2023-02-08 17:01:23 +02:00
OmarHatem
1b42d2b61c Fix Share on iPad and Mac "https://pub.dev/packages/share_plus#known-issues" 2023-02-08 00:06:47 +02:00
OmarHatem
e67b484613 - Fix RangeError due to changes in _tradeAvailableProviders while the Futures complete
- Silently catch "Concurrent modification during iteration"
2023-02-07 23:48:10 +02:00
OmarHatem
74b571fc77 Add exceptions for user errors 2023-02-07 22:11:25 +02:00
Godwin Asuquo
f1b0a5adb6 Add trocador provider and password to transaction details 2023-02-07 19:39:39 +02:00
OmarHatem
bf407bedec Check if widget is mounted before showing popups 2023-02-07 18:03:31 +02:00
Godwin Asuquo
f770e095a1 Fix advance privacy setting set state 2023-02-07 17:12:34 +02:00
OmarHatem
a8025ffbec Add cool-down of 7 days between reports 2023-02-07 16:53:57 +02:00
Godwin Asuquo
a517993961 add trocador key to secrets 2023-02-06 22:20:46 +02:00
Godwin Asuquo
70238c1308 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-282-add-trocador-exchange 2023-02-06 21:48:31 +02:00
Godwin Asuquo
37045578c2 Check if fixed rate 2023-02-06 21:42:17 +02:00
Godwin Asuquo
032a8c8c33 Add trocador exchange provider 2023-02-06 21:20:43 +02:00
OmarHatem
861ba81531 Add "Connection reset by peer" error to ignored errors 2023-02-06 19:56:55 +02:00
OmarHatem
03f5544545 Ensure widget is still mounted before showing popup 2023-02-06 19:08:44 +02:00
OmarHatem
c94aed6fb1 Remove unused wallet_menu_item.dart 2023-02-06 18:47:20 +02:00
OmarHatem
d4e720f5c0 - Remove old wallet menu widgets
- Remove Rescan option from Electrum wallets
2023-02-06 18:46:18 +02:00
OmarHatem
c45a988481 - Fix nullability issue
- Update Flutter and Packages
2023-02-06 18:33:12 +02:00
holecekp
4444a075c6 Add Czech language 2023-02-04 15:42:41 +01:00
OmarHatem
d85805902d - Ignore Socket Exception "bad file descriptor"
- Add nullability to anypay API response failure [skip ci]
2023-02-03 14:44:13 +02:00
OmarHatem
65b2ae6680 Add LTC to twitter address parsing 2023-02-02 18:36:57 +02:00
Serhii
7425beb1ed Update localization variable 2023-02-02 13:00:44 +02:00
Serhii
50f1c051f9 Merge branch 'main' into CW-302-Update-Cake-Pay-checkout-wording-for-Bitcoin-only 2023-02-02 12:54:15 +02:00
Omar Hatem
97388a1a8d
Merge pull request #755 from cake-tech/avoid_reporting_user_network_errors
Avoid reporting user errors
2023-02-01 21:10:52 +02:00
Waffle Man
c0115b1b77
Merge branch 'cake-tech:main' into main 2023-02-01 20:15:15 +02:00
Waffle Man
cf83d0ca8c
init_urdo 2023-02-01 20:14:26 +02:00
Omar Hatem
2268e89b19
Merge pull request #743 from cake-tech/CW-287-Get-Address-from-twitter-bio
CW-287 get address from twitter bio
2023-02-01 19:40:49 +02:00
OmarHatem
15e7395fe9 Separate Exception Handler class from main [skip ci] 2023-02-01 17:37:18 +02:00
OmarHatem
08ff37e23c Add Exception for user's network issues to not be reported [skip ci] 2023-02-01 17:24:36 +02:00
Omar Hatem
aba1d80899
Merge pull request #747 from cake-tech/changenow-usdc-poly
CW-307 Mapping for ChangeNOW and SimpleSwap
2023-02-01 16:30:51 +02:00
Serhii
ef01554fdb fix openAlias address resolv 2023-01-31 21:39:08 +02:00
Omar Hatem
61050ac715
Merge pull request #752 from cake-tech/receive-screen-issue
CW-284 Fix QR code UI and logic issues
2023-01-31 19:10:53 +02:00
OmarHatem
0e9d30c915 Fixate QR background and foreground colors in all themes 2023-01-31 17:31:42 +02:00
Justin Ehrenhofer
81f59cacd9 Change to parentheses
This way we don't need to translate and create different strings for the "on", which will appear odd in languages other than English. I also added it for FIO and OpenAlias.

Further, I removed the 1 instance of openalias_alert_title. It can be removed from the localization file if/when it's convenient.

I did NOT change anything for Unstoppable, because that appeared to touch a dependency. That has its own custom (but similar) text response
2023-01-30 15:18:19 -06:00
Justin Ehrenhofer
50d19e706f Fix bttc, maticpoly, matic
bttc mapped to trx, so changed the label instead of changing the mapping

maticpoly was mislabeled on changenow

maticpoly and matic were mislabeled on simpleswap
2023-01-30 14:05:17 -06:00