Commit graph

1803 commits

Author SHA1 Message Date
Rafael Saes
baabc0a915
Cw 373 theme refactoring in preparation to support additional themes (#933)
* refactor(Theme): migrate accentColor

- based on the specs at https://docs.flutter.dev/release/breaking-changes/theme-data-accent-properties#migration-guide.

* refactor(Theme): all deprecated TextTheme styles

* refactor(Theme): deprecated backgroundColor for colorScheme.background

* refactor(Theme): deprecated buttonColor to use TextTheme backgroundColor instead

* refactor(Theme): deprecated isAlwaysShown to use thumbVisibility instead
2023-05-25 02:19:51 +03:00
Serhii
c835059d13
CW-371-Restore-height-issue-with-QR-code-Wallet-incorrectly-assigns-today's-restore-height-to-legacy-wallets (#925)
* fix height for legacy wallets

* get height by first tx under singular seed
2023-05-25 00:00:54 +03:00
Serhii
18ba724009
CW-379-Investigate-trade-ID-status-updates (#930)
* cancel Anonpay updateInvoice timer

* Remove un-needed dependency injection of anonpayDetailsViewModel since it can be accessed via the parent class [skip ci]

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2023-05-24 19:12:42 +03:00
Justin Ehrenhofer
53c55523c2
Ionia don't->didn't (#941) 2023-05-24 19:02:28 +03:00
Rafael Saes
9668863655
CW-320-validate-address-case (#934)
* feat: allow all-lowercase OR all-uppercase ltc1 addresses (btc1 already working)

* fix: ltc length
2023-05-24 16:48:06 +03:00
Godwin Asuquo
1ac74b3182
CW-388 Add hausa language (#936)
* Add hausa language

* Add hausa language

* Add cupertino delegete

* Add flag to git

* - Fix hausa_intl.dart issue
- Fix menu items not updating properly
- Fix Nav bar issue

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2023-05-19 17:33:16 +03:00
Godwin Asuquo
1e868f876e
CW-352 add enable disable screenshot feature to i os (#931)
* Disable ios screen recording

* Minor Enhancements

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2023-05-17 18:34:41 +03:00
Adegoke David
43e062d1ac
Cw-263-TOTP-2FA-In-Security-Settings (#892)
* CW-263-TOTP-2FA-in-security-settings WIP

* Implement TOTP 2FA WIP

* Implement TOTP 2FA Authentication

* chore: Remove unneeded formatting

* revert formatting

* fixes

* CW-263-TOTP-2FA-in-security-settings WIP

* Setup TOTP Complete, left with Modify TOTF

* CW-263-TOTP-2FA-in-security-settings

* CW-263-TOTP-2FA-in-security-settings

* CW-263-TOTP-2FA-in-security-settings

* fix: Add copy-to-clipboard for qr secret key

* fix: Translation

* chore: Move strings into translation files

* feat: End to end flow for TOTP

* hotfix: Switch totp to use sha512

* Update strings; 8 digits and error explanation

* fix: Totp 2fa implementation feedback

* hotfix: same action for button and alert close

* feat: App should show both normal and totp auths when totp is enabled

* hotfix: prevent barrier from dismissing

* fix: Changes requested during PR review

* - Minor Enhancements
- Minor UI fixes

---------

Co-authored-by: Justin Ehrenhofer <justin.ehrenhofer@gmail.com>
Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2023-05-17 17:43:23 +03:00
Rafael Saes
40f3ccbe42
Cw 268 contact address validation (#905)
* feat: Proper Bitcoin address validation in exchange screen

* fix: use custom validation in addition to RegEx to make sure all address cases are validated

- for cases like P2SH addresses starting with a 3, which are not validated by bitcoin_flutter functions

* feat: add bitcoin_flutter to root project

* refactor: improve conditional isValid return chain

* feat: enhance contact page address validation

- only shows address box when a currency is selected, to prevent the selected value from being null
- changes TextValidator() for the new AddressValidator()

* fix: use -1 for initial selectedAtIndex, since there is no currency yet selected
2023-05-15 15:43:52 +03:00
Rafael Saes
0231298381
CW-254-proper-bitcoin-address-validation-in-exchange-screen (#900)
* feat: Proper Bitcoin address validation in exchange screen

* fix: use custom validation in addition to RegEx to make sure all address cases are validated

- for cases like P2SH addresses starting with a 3, which are not validated by bitcoin_flutter functions

* feat: add bitcoin_flutter to root project

* refactor: improve conditional isValid return chain
2023-05-15 15:39:00 +03:00
Rafael Saes
7fa7c45c0c
CW-370-add-options-to-enable-disable-buy-and-sell-actions (#920)
* feat: In the privacy settings screen, add 2 options to Enable/Disable Buy and Sell actions

* fix: add strings

* fix: add the rest of the strings

* fix: disable instead of hide buy & sell buttons

* fix: use disableSell

* fix: main actions able to be onTapped even when disabled
2023-05-15 15:26:56 +03:00
Omar Hatem
1a3d47748d
V4.6.4 bug fixes (#922)
* Fix Concurrent modification exception

* Fix minor UI issues

* Change onramper crypto asset name for Litcoin

* Fix secure storage issue, fetching password/PIN with null

* - Fix Navigation issue while keyboard is displaying
- Remove deprecated screen

* Take currency From/To info from our trade not the returned one

* Fix anon pay fields UI

* Fix Anonpay border/icons UI

* Add extra padding in QR image as a safe layer

* Generalize ignored connection error

* Remove Bio Auth option from desktop

* Fix some Transaction info not parsed correctly
2023-05-10 16:58:31 +03:00
Rafael Saes
e28e2fbdde
CW-376-picker-ui-issue (#919)
* feat: use common modal widget for repeated picker logic and display

* refactor: rename widget

* refactor: clear wrapper logic from picker widget and move title to hasTitle

* Minor code readability enhancements [skip ci]

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2023-05-10 15:19:38 +03:00
Godwin Asuquo
759e61f67e
Fix keyboard is not entering text in fields until focus (#918) 2023-05-10 14:35:41 +03:00
Serhii
086019d926
CW-365-Wallet-QR-codes-not-working-properly-on-some-devices (#909)
* add exception for range error

* add app links for wallets

* Update reference to qr.flutter clone

* QrImage update

* Update fullscreen_qr_page.dart

* Add automatic version for wallet QR

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2023-05-08 23:30:14 +03:00
Godwin Asuquo
9714961298
CW-260 show amount received for each account (#907)
* Show amount received for each account

* Enable litcoin send all

* disable litcoin send all

* Indent code

* Fix large font resolution for account title
2023-05-05 15:58:41 +03:00
Godwin Asuquo
25b743df47
CW-368 Fix Range error accessing outputs (#912) 2023-05-05 03:15:35 +03:00
Rafael Saes
f012aaebf4
Cw 363 back button on receive screen in bright theme is white (#910)
* feat: Add missing title on wallet_list_page.dart

* feat: add bool lightTitleColor value when theme needs lighter color title, instead of hardcoding to Colors.white

- Light color theme taken from Share button from receive page

* fix: revert changes & use currentTheme.type to use proper theme style

* fix: use share button color logic also on overriden leading Widget on address_page

* refactor: remove unnecessary titleColor
2023-05-04 03:33:05 +03:00
Serhii
f47f690803
fix getting correct currency from template (#898) 2023-05-03 10:01:51 +03:00
Omar Hatem
367efb3cae
V4.6.4 fixes (#904)
* Check if context is still mounted or not before showing popup

* - Refactor Restore route flow
- Fix Monero.com restore from QR
- Remove deprecated restore classes
- Update Monero.com app version and notes

* Update Macos version and release notes

* Fixate android plugin versions as Flutter published new fail packages version

* Revert desktop changes as it's not supported yet to scan QR code on Desktop [skip ci]

* Revert macos version update [skip ci]
2023-04-27 17:06:09 +02:00
Omar Hatem
82b513d1f8
V4.6.3 bug fixes (#896)
* Add blocking screenshots native function to Monero.com [skip ci]

* Fix seeds QR data

* Update app versions and release notes [skip ci]

* Update only build number for macos since it wasn't released yet [skip ci]

* Fix adding sub-address

* Fix Accounts Popup UI

* Update app versions and release notes [skip ci]

* Fix add/edit node issue

* Update app versions and release notes [skip ci]

* Fix input fields focus/keyboard issues

* Update app versions and release notes [skip ci]
2023-04-26 14:59:27 +02:00
Omar Hatem
9d47e0e67c
V4.6.3_1.3.3 (#893)
* - Update App versions
- Add release notes

* Modify Monero.com release notes

* Fix issues with Frozen balance for Monero.com build

* Update cake wallet app build number
2023-04-24 14:02:17 +02:00
Serhii
1eb8d0c698
CW-229 Improved restore options from QR code (#793)
* add restoring wallet from qr

* add restore mode

* add alert for exceptions

* add restore from seed

* add check for create wallet state

* convert sweeping page into stateful

* fix parsing url

* restoration flow update

* update restoring from key mode

* update config

* fix restor of BTC and LTC wallets

* fix pin code issue

* wallet Seed/keys uri or code fix

* fix key restore credentials

* update the restore workflow

* update from main

* PR coments fixes

* update

* update

* PR fixes
2023-04-21 20:36:47 +02:00
Godwin Asuquo
f2b8dd21a1
CW-240 Receive fiat currency amount and receive animations (#877)
* Redesign receive amount field

* Fix issues with animations

* Fix issues with animations

* Fix max fraction digit to 8

* add another 0

* Update amount when currency is changed

---------

Co-authored-by: Justin Ehrenhofer <justin.ehrenhofer@gmail.com>
Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2023-04-21 20:03:42 +02:00
Serhii
8ffac75e8c
CW-59-New-update-highlight-popup (#863)
* add update pop up

* add release notes for monero com

* PR comments fixes

* Pr coments fixes

* minor fixes

* update from main

* [skip ci] remove unrelated mac os files

* add check isNewInstall

* update pop-up UI

* fix size

* Add update popup to desktop dashboard page [skip ci]

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2023-04-21 17:21:31 +02:00
Justin Ehrenhofer
ab20312e61
Add btcln; add 2 assets to SideShift (#890)
* Add btcln; add 2 assets to SideShift

* fix regex line

* change ordering
2023-04-20 20:55:44 +02:00
Adegoke David
8f16af4748
CW-344-Exchanging-TO-the-current-wallet-currency-should-allow-changing-the-address (#880)
* CW-344-Exchanging-TO-the-current-wallet-currency-should-allow-changing-the-address

* Delete widget_test.dart

* fix: Revert unneeded changes made

* CW-344-Exchanging-TO-the-current-wallet-currency-should-allow-changing-the-address

* CW-344-Exchanging-TO-the-current-wallet-currency-should-allow-changing-the-address

* fix: Requested changes

* Update

* CW-344-Exchanging-TO-the-current-wallet-currency-should-allow-changing-the-address

* fix: Filter address in address book

* Update local branch

* CW-344-Exchanging-TO-the-current-wallet-currency-should-allow-changing-the-address

* CW-344-Exchanging-TO-the-current-wallet-currency-should-allow-changing-the-address
2023-04-20 19:14:11 +02:00
Serhii
315c4c911c
CW-325-Coin-Control-enhancements (#846)
* fix checkbox

* save the output state

* add note as a header

* Allow copy the Amount and Address

* add frozen balance to dashboard

* add block explorer

* fix url launcher

* code formatting

* minor fixes

* Revert "minor fixes"

This reverts commit d230b6a07b.

* fix missing implementations error

* [skip ci] update localization

* fix unspent with same txid

* add amount check

* add vout check

* remove formattedTotalAvailableBalance

* remove unrelated mac os files
2023-04-20 15:46:41 +02:00
Serhii
f26815efb8
CW-351-Add-option-in-Privacy-settings-to-enable-disable-screenshots (#885)
* add prevent screenshots option

* fix prevent screen recording

* update localization

* Update strings_ja.arb
2023-04-20 11:59:59 +02:00
Adegoke David
7b91b0e938
Cw 262 better handle user exchange amount below minimum or maximum trade size (#868)
* CW-262-Better-handle-user-exchange-amount-below-minimum-or-maximum-trade-size

* fix: App should compute conversion even if it's not within the limits
2023-04-20 03:13:37 +02:00
Godwin Asuquo
efef30f8eb
CW-278 Enhance PIN timeout feature code (#886)
* CW-278 enhance pin timeout feature

* CW-278 enhance pin timeout feature

* Update flow to remove extension

* Replace pin request on other instances
2023-04-20 02:54:25 +02:00
Omar Hatem
27961f2f25
Pre-release bug fixes (#888)
* Fix Exchange picker UI issue

* Fixate local_auth_android version

* Remove shared pref android package override since it's fixed
2023-04-19 16:38:07 +02:00
Rafael Saes
5ad67b62a5
Cw 304 enhance talkback (#887)
* fix(#536): add talkback support to missing main and common elements

* fix(#564): add talkback support for slidable node items & addresses page

* fix: add missing delete button from add pin widget
2023-04-18 19:36:56 +02:00
Omar Hatem
9e7009f339
V4.6.2 Bug Fixes (#874)
* Added a temporary workaround for empty receive addresses

* Fix Typo in PR template

* Make existing node private [skip ci]

* Fix transactions page background color [skip ci]

* Update ios version for internal test build [skip ci]

* update macos version for internal test build [skip ci]
2023-04-17 21:09:26 +02:00
Godwin Asuquo
a472527c6f
CW-33 Add app review after successful transactions and exchange (#864)
* Add app reveiw on transactions and exchange

* Update Onramper page

* Fix issues in popup review
2023-04-17 20:06:58 +02:00
Adegoke David
4a203a43c8
CW-331-Add-option-to-disable-market-place-in-display-settings (#872)
* CW-331-Add-option-to-disable-market-place-in-display-settings [skip ci]

* CW-331-Add-option-to-disable-market-place-in-display-settings [skip ci]
2023-04-16 15:45:35 +02:00
Rafael Saes
77ab6b49f4
feat: Add Click to Copy for the Exchange Amount in the invoice (#882)
Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2023-04-16 15:27:33 +02:00
Serhii
3b69aa8686
CW-273-Don't-add-node-under-Advanced-Privacy-Settings-if-it-already-exists (#876)
* don't add existing node

* minor fixes

* Add back IsExecutingState to connect [skip ci]

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-04-14 20:55:12 +02:00
Rafael Saes
ff7a217d84
CW-338: Currency picker UI when keyboard is showing (#854)
* fix: Currency picker UI when keyboard is showing

* refactor: move picker logic into the common Picker widget

- CurrencyPicker uses the common Picker widget in grid mode
- SeedLanguagePicker uses the common Picker widget in grid mode
- Added logic for keyboard showing UI into Picker widget
- Added `softWrap: true` to the item text, so it doesn't overflow

* fix: remove subPickerItemsList

* fix: add final

* fix: move function out of initState()

* fix: keep build functions separate to remove boolean comparisons

* fix: remove onItemSelected from already selected item

* fix: change Expanded for Flexible widget
2023-04-14 16:52:07 +02:00
Omar Hatem
c5477e4f9e
Dashboard desktop view (#737)
* Add build scripts for macOS. Add macos for cw_monero plugin. Add macos proj to the application.

* - Update Flutter secure storage to work with macos
- Enable uni links only on Mobile
- Update devcelocale to work with macos

* Add network access to mac

* Change Dashboard view on desktop size screens

* Add on Tap to desktop_action_button.dart
Remove unused functions

* Fix arch match for monero lib for darwin x86_64 -> x86-64

* Add Bundle ID in entitlements files through app config script

* Update deployment target to 10.13

* Revert back to Cake fork for secure storage

* Revert back to Cake fork for secure storage

* Revert mac os version

* Revert mac os version

* Add platform channel specific code for mac os

* Add desktop sidebar

* [skip ci] Add desktop sidebar

* [skip ci] Add desktop sidebar

* - Remove legacy migration from macos
- Remove wake lock native code and just use the ready made package

* Remove wake lock native code and just use the ready made package

* Remove unstoppable domain from macos since it's not supported

* Temporarily fetch unstoppable domains only on mobile

* refactor desktop settings sidebar

* Ignore increasing brightness for non-mobile platforms

* Add Wallet selection dropdown to dashboard desktop view

* Generate MacOS icons

* localize settings

* fix dashboard sidebar and responsive utils

* Change Mac os app name and bundle id

* Fix exchange page as fullScreenDialog

* Remove constants

* - Refactor onRamper to have a single point of modification
- Enlarge initial app size
- update Flutter and Packages

* Add pubspec.lock and Podfile.lock to gitignore

* Remove Podfile.lock from cache

* Fix bug on sidebar reset

* Fix issues from code review

* [skip ci] reformat desktop dashboard

* [skip ci] reformat desktop dashboard

* Revert removing .lock files

* Revert changes in .gitignore

* [skip ci] remove .project changes

* [skip ci] remove .project changes

* Separate Dashboard desktop view from mobile view

* constraint images and pincoded box

* Remove drawer from mac os

* - Listen to keyboard events in PIN screen
- Fix PIN buttons style

* Fix desktop nav bar UI

* Add Marketplace to dashboard view

* Update trailing icon to open transaction page

* Update widget contraints

* Add empty trailing to center page title on desktop

* Refresh desktop dashboard actions on wallet change

* Change ionia welcome page animation

* Fix Constrained width screens UI

* Refactor sidebar state management

* remove empty line

* Add max width constrain to Welcome page

* Change Exchange page UI depending on platform

* - Change design/paddings for Send page on desktop view
- Make AddTemplateButton instead of having it duplicated in send/exchange

* Fix Desktop dashboard actions background color

* Constrain primary Buttons width

* Make side menu items toggle back to dashboard

* Add padding to support page

* Add width constraints to desktop dashboard

* Fix UI issues, paddings and alignments

* Rename misleading variable
Change initial mac window size

* Fix wallet create in settings

* remove unnecessary code

* remove unnecessary code

* Remove duplicated constrains

* - Use close icon on main screens
- Minor UI fixes

* fix pageview controller reset index

* Add create and restore wallet options to dropdown menu

* Fix desktop background color and address book view issues

* Fix input field

* Add onFieldSubmitted to allow "enter" button interaction

* Fix issue from code review

* Fix Popup width constraint and add focus orders

* Fix variable name

* Fix issues from code review

* refactor dropdown items

* Fix alignment in create and restore wallet screens

* Fix dropdown change state bug

Hide scanner for desktop

* remove space

* override navbar with desktopnavbar

* Remove autofocus

* remove unused code

* Fix ionia input field alignment

* Replace removed code

* Add app lock feature on mac

* Add assertion to avoid null

* Add Nano currency image

* Enable adding contact from send screen

* Fix UI issues
Add missing translation

* pop only PIN screen after successful auth

* Add back wallet settings page to desktop settings actions

* Fix Navigation animation for settings screens

* Fixate MobX version to fix restore issue

* CW-324 Refresh current settings page if wallet changed (#811)

* Fix refresh current settings page if wallet changed

* Fix refresh current settings page if wallet changed

* Refresh Wallet Seeds/Keys List upon wallet change

---------

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

* Remove navigation workaround for duplicate key, and fix the issue by handling creation/disposing of global key (#840)

* Cw 323 add wallet list to settings on mac (#843)

* Remove navigation workaround for duplicate key, and fix the issue by handling creation/disposing of global key

* - Register Wallet List as singleton in Desktop to be modify the same instance from settings and dropdown
- General Fixes and Enhancements

* Fix Changing/Restoring wallet from settings

* Fix Create wallet not showing seeds screens if launched from settings

* Add max width constraint for Alerts

* - Add Desktop API keys
- Fix Change back up password issue
- Fix Popup width

* Sync Mac with latest main updates

* Swap Transactions icon with lock icon

* Save backup file locally on desktop

* Sync with latest main updates

* Fix Navigation issues with anonpay

* Update macos build version

* Remove deprecated custom wake lock code for Android

* Remove Legacy CryptoSwift package from MacOS

* - Refactor Payfura page code
- Add OnRamper new configs to onramper_buy_provider.dart
- Fix Conflicts with main

* Updated device locale package

* Update android tools

* Revert changes and update only gradle version

* Downgrade android tools version

* Update gradle version

* Update package/gradle/plugin version

* - Fixate device locale version
- Downgrade gradle version

* Update kotlin version

* Update gradle version

* Trial for a custom fork from devicelocale

* Fixate shared preferences package version

* Revert gradle version

* Revert kotlin version

* Downgrade gradle version

* Downgrade gradle version

* Repair cache and clean before build

* Fixate flutter version

* update google services version

* revert google services version

* Force shared pref android version

* Override shared prefs android package version

* Override shared prefs android package [skip ci]

---------

Co-authored-by: M <m@cakewallet.com>
Co-authored-by: Godwin Asuquo <godilite@gmail.com>
Co-authored-by: Godwin Asuquo <41484542+godilite@users.noreply.github.com>
2023-04-14 06:39:08 +02:00
Godwin Asuquo
4fd8b722e9
Add padding to adjust top (#861)
* Add padding to adjust top

* Update padding
2023-04-07 17:53:01 +02:00
Omar Hatem
37ef63d09e
V4.6.1 report fixes (#859)
* Add exception handler to anypay api response failure

* Check if context is still mounted before fetching iPad position

* Add user connection issue to ignored errors

* Wrap launchURL in empty try catch to avoid package un-needed exceptions
2023-03-31 21:14:22 +02:00
Serhii
72df78ad8c
CW-335-Add-Payfura-widget-for-XMR-Buy (#857)
* add payFura widget

* Update pr_test_build.yml

* Change Buy strings

Also add Sell string to ZH, which was missing

* minor fixes

* update alert for monero.com

---------

Co-authored-by: Justin Ehrenhofer <justin.ehrenhofer@gmail.com>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-03-31 20:34:39 +02:00
Justin Ehrenhofer
7cd4e6583c
Add fiatApiKey (#858) 2023-03-31 20:22:51 +02:00
Serhii
9f1325ba0f
Merge pull request #853 from cake-tech/CW-339-Advanced-settings-page-crash-on-a-fresh-install
CW-339-Advanced-settings-page-crash-on-a-fresh-install
2023-03-31 15:53:45 +03:00
Serhii
ca638ebd71 [skip ci] minor fix 2023-03-31 15:52:47 +03:00
Serhii
f579f67c15 [skip ci] minor fix 2023-03-31 15:42:48 +03:00
Serhii
3e43e899a5 truncate exchange amount 2023-03-31 12:45:54 +03:00
Serhii
1ff4b9bf88 fix node editing 2023-03-30 18:39:43 +03:00
Godwin Asuquo
8b7bfd74e3
Fix anonpay clear form buttton (#850) 2023-03-30 16:43:26 +02:00
Serhii
045852ec4d fix fresh install bug 2023-03-30 15:43:34 +03:00
Godwin Asuquo
3006679560
Cw 314 trocador receive screen update (#823)
* Change receive screen ui

* Upgrade flutter packages

* revert Upgrade flutter packages

* revert Upgrade flutter packages

* Adjust flow for anon invoice page navigation

* Add receive screen ui

* Implement anonpay invoice

* Add invoice detail to transactions page

* Implement donation link

* Fix transaction filter and details view

* Save donation link

* Fix transaction display issues

* Fix formatting

* Fix merge conflict

* Fix localization

* Fix transaction amount display

* Fix transaction limit for fiat

* Update fix from code review

* Fix issues from code review

* Make amountTo nullable to avoid potential

* Remove encoding for description in donation link

* Remove optional params from request

* Fix QR image version

* Refactor QRCode, fix issues from code review

* Pass version to QRCode full page

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2023-03-24 17:26:42 +02:00
Godwin Asuquo
893a267de6
Require pin code on backup and seed/view page (#844)
* Require pin code on backup and seedview page

* Require pin code on backup and seedview page
2023-03-23 18:18:02 +02:00
Omar Hatem
ab4d020560
New Version Updates v4.6.1 and v1.3.1 (#837) 2023-03-20 17:15:14 +02:00
Omar Hatem
4027619ad3
V4.6.0 reports fixes (#835)
* Add user network connection issue to ignored errors

* Check current nodes on each app start

* Add user network connection error to ignored errors

* Fix sharing files issue on iOS
2023-03-17 21:15:28 +02:00
Serhii
df52516964
fix auto valid for receive screen (#834) 2023-03-17 13:33:45 +02:00
Serhii
7dfc5b23bc
CW-243-Better-error-message-for-too-many-decimals (#818)
* update amoung validation

* fix decimal validator

* minor fix
2023-03-15 19:22:08 +02:00
Serhii
fc2627df38
CW-319-Wallet-Seed-keys-URI-QR-code (#831)
* wallet QR code on Wallet/Seed screen

* fix restore height for new wallet

* fix height parameter

* fix currenHeight and HeightByDate for haven

* update configure.dart

* fix coments

* minor fix
2023-03-15 17:30:06 +02:00
Serhii
f458e5b349
CW-277-Allow-editing-nodes (#827)
* allow editing nodes

* fix buttons size

* fix comments
2023-03-15 15:24:38 +02:00
Justin Ehrenhofer
2571bf7fbe
Merge pull request #832 from cake-tech/unstoppable-polygon
Add `.polygon` to unstoppable domains
2023-03-14 16:23:16 -05:00
Justin Ehrenhofer
4ccb395c1e Add .polygon to unstoppable domains
https://unstoppabledomains.com/blog/categories/announcements/article/unstoppable-domains-and-polygon-labs-launch-.polygon
2023-03-14 10:16:20 -05:00
Serhii
3424b9abde
incognito mode for keyboard (#829) 2023-03-14 02:30:05 +02:00
Godwin Asuquo
2bce2eb949
Fix payout and input address swap trocador (#826)
* Fix payout and input address swap trocador

* Fix address swap in trocodor find trade map
2023-03-11 00:21:25 +02:00
OmarHatem
44a9ad7487 Update MobX
Fix auth state not triggering onAuthState changed due to same value
2023-03-06 18:42:15 +02:00
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
Omar Hatem
e42e3f8ba4
Merge pull request #732 from cake-tech/CW-247-Exchange-confirmation-screen-address-labels
CW-247 exchange confirmation screen address labels
2023-01-30 21:24:32 +02:00
Serhii
9869cd60cc udate alert text 2023-01-30 21:15:10 +02:00
Serhii
304240f34e Merge branch 'main' into CW-287-Get-Address-from-twitter-bio 2023-01-30 21:10:53 +02:00
OmarHatem
425914ade3 - Replace QR package with another reade made one to exclude error being from painting QR
- Revert QR version change so its re-producible if it happens again
2023-01-30 20:03:47 +02:00
OmarHatem
4704d70605 Save exceptions if happened while there is an already existing report dialog [skip ci] 2023-01-30 19:33:40 +02:00
OmarHatem
4353e778bb Increase QR version to support longer addresses 2023-01-28 15:47:44 +02:00
cppethereum
076ec52546
Updating idn language code ISO 3166-1 alpha-3 2023-01-28 00:49:37 -05:00
cppethereum
0e78def2fd
amending language_service.dart for Indonesian 2023-01-28 00:36:16 -05:00
OmarHatem
ae0f9df041 Prevent multiple UI errors from showing multiple alerts [skip ci] 2023-01-27 03:49:25 +02:00
Serhii
6825b6e625 minor fixes 2023-01-26 20:05:09 +02:00
Omar Hatem
194902d8cb
Merge pull request #733 from cake-tech/CW-296-Edit-sub-address-grey-screen
CW-296 fix editing label subaddresses
2023-01-26 19:35:06 +02:00
Serhii
ed30cf1e13 [skip ci] minor fixes 2023-01-26 19:07:19 +02:00
Serhii
cce56a61a3 minor fixes 2023-01-26 13:33:33 +02:00
Serhii
71d5a9b790 Merge branch 'main' into CW-247-Exchange-confirmation-screen-address-labels 2023-01-26 11:54:03 +02:00
Justin Ehrenhofer
3b23f68b27 usdcpoly -> usdcmatic for ChangeNOW 2023-01-25 11:09:02 -06:00
Serhii
9ec006bb03 Merge branch 'main' into CW-302-Update-Cake-Pay-checkout-wording-for-Bitcoin-only 2023-01-25 18:31:30 +02:00
Serhii
337e311d4f Update Cake Pay checkout wording 2023-01-25 18:21:10 +02:00
OmarHatem
ddd5b1ecb3 Fix QR scheme to compare with currency full name not the abbreviated one 2023-01-25 15:29:59 +02:00
Serhii
40569962c8 Merge branch 'main' into CW-287-Get-Address-from-twitter-bio 2023-01-24 20:25:56 +02:00
Serhii
83c1907e31 add twitter api 2023-01-24 20:24:46 +02:00
OmarHatem
477d46b1d2 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-237-enhance-error-catching-reporting 2023-01-24 03:03:07 +02:00
OmarHatem
c1c49e878e [skip ci]
- Revert disabling UI error reporting as it will also disable some errors from the view models
- Fix warnings in node list row (potential nullability issue fix)
2023-01-24 02:46:22 +02:00
Justin Ehrenhofer
38012abb56 Change Ionia ToS links 2023-01-23 12:37:20 -06:00
Serhii
912a4af866 fix nullable type 2023-01-20 23:18:58 +02:00
Serhii
2fa7365218 small fix 2023-01-20 21:50:45 +02:00
Serhii
af01cb3243 minor fixes 2023-01-20 21:44:08 +02:00
Omar Hatem
5b5c5bad66
Merge pull request #711 from cake-tech/CW-269-research-if-we-can-avoid-re-requesting-camera-permission-on-web-view-in-buy-screen
CW-269 replace webview plugin with inappwebview plugin
2023-01-20 15:41:22 +02:00
Serhii
b8f74e50db [skip ci] specify class type 2023-01-20 14:48:44 +02:00
Omar Hatem
e6f562b43e
Merge branch 'main' into main 2023-01-19 16:10:17 +02:00
qweewqi
e022d4dfcf
mmr lang 2023-01-19 03:36:48 +02:00
Omar Hatem
131f085f4c
Trigger workflow build 2023-01-18 21:55:01 +02:00
Godwin Asuquo
fa16d5e278 [skip ci] remove unrelated files 2023-01-18 17:11:35 +01:00
Godwin Asuquo
e71e8c8350 remove unrelated files 2023-01-18 17:01:09 +01:00
Godwin Asuquo
2393fca435 [skip ci] Update permission check logic 2023-01-18 09:21:07 +01:00
Godwin Asuquo
1b92a86842 Update permission check logic 2023-01-18 09:01:11 +01:00
Serhii
8c016e946c fix editing label subaddresses 2023-01-17 14:14:02 +02:00
Godwin Asuquo
aced1ed147 Update permission status 2023-01-16 19:25:29 +01:00
Godwin Asuquo
3d5bce903d Fix android permission request 2023-01-16 17:46:04 +01:00
Serhii
4636aacae7 formatting 2023-01-16 17:31:31 +02:00
Serhii
b4249f21a9 add payout address item to confirmation screen 2023-01-16 17:27:49 +02:00
Serhii
7f37bd3d59 update localization files 2023-01-14 23:29:47 +02:00
Serhii
25a71fa31e Merge branch 'main' into CW-252-Add-notice-when-connecting-to-.onion-node 2023-01-13 15:43:29 +02:00
Godwin Asuquo
9bc337534c Fix initial url 2023-01-12 18:06:07 +01:00
OmarHatem
d79b481d3e Wrap sending error file in try/catch for unexpected behaviors [skip ci] 2023-01-12 17:08:38 +02:00
Omar Hatem
fa655fcea8
Merge pull request #694 from cake-tech/CW-222-Address-book-incorrect-header-color
CW-222 fix header color
2023-01-12 15:37:32 +02:00
HardenedSteel
1c139386a7 Add Turkish Language 2023-01-12 05:45:30 +03:00
OmarHatem
43dc729db4 Trim the content scanned via QR to remove extra spaces/new lines 2023-01-10 19:52:53 +02:00
Godwin Asuquo
3cb5e5b2ee Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-269-research-if-we-can-avoid-re-requesting-camera-permission-on-web-view-in-buy-screen 2023-01-10 18:18:04 +01:00
Godwin Asuquo
6434f36f1a update webview permission implementation 2023-01-10 18:14:26 +01:00
OmarHatem
fcde1bd7b6 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-237-enhance-error-catching-reporting
 Conflicts:
	README.md
2023-01-10 01:46:05 +02:00
OmarHatem
8d68ccfc7b Ignore UI issues from exceptions report 2023-01-09 20:03:26 +02:00
OmarHatem
a373253fd2 Add localizations for error dialog content 2023-01-09 18:16:50 +02:00
OmarHatem
e904c0a7b7 Show popup on un-caught exceptions to send errors via email 2023-01-06 19:42:37 +02:00
xd
c11be70948 Merge branch 'main' of https://github.com/cake-tech/cake_wallet 2023-01-06 17:27:18 +02:00
xd
15d5375eb6 Add Support for Arabic Language 2023-01-06 17:14:33 +02:00
OmarHatem
baeff1ea14 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-237-enhance-error-catching-reporting 2023-01-06 16:18:21 +02:00
Omar Hatem
71350c2953
Merge pull request #698 from maddymodd/main
Add thai language localization file
2023-01-06 15:19:29 +02:00
Godwin Asuquo
3dbf5d8b8c update onramperpage webview 2023-01-06 08:08:36 +01:00
Mathias Herberts
768320003c Fixed FR translations. Added localized strings in contact list 2023-01-05 22:39:32 +01:00
rosedaler
7551181b09 Add thai language localization file 2023-01-05 11:39:08 -05:00
Serhii
e53602afa3 Add alert for onion nodes 2023-01-05 12:53:05 +02:00
Godwin Asuquo
b8293ac0ae replace webview plugin with inappwebview plugin to check camera permission once in app 2023-01-05 09:40:05 +01:00
Serhii
e579839596 fix header color 2023-01-04 13:59:59 +02:00
Omar Hatem
a0e98e6d90
Merge pull request #624 from cake-tech/fix-trade-details-screen-UI
fix UI on trade details screen with new design CW-138
2023-01-03 16:04:37 +02:00
Omar Hatem
9bd0de6d08
Merge pull request #625 from cake-tech/CW-122-Rework-filter-on-the-transactions-list-screen
[CW-122] rework filter on the transactions list screen
2022-12-28 20:50:17 +02:00
Serhii
daa9fc4acc minor fixes 2022-12-28 14:00:59 +02:00
Omar Hatem
4bf2fa6216
Merge pull request #525 from cake-tech/CW-175-Refactoring-of-crypto-currency-list
[CW-175] refactoring of crypto currency list
2022-12-27 23:02:31 +02:00
Serhii
dec818a27a fix localisation key name 2022-12-26 21:18:52 +02:00
Serhii
ca79052914 PR fixes 2022-12-26 20:41:21 +02:00
Serhii
d893562dad update localization 2022-12-24 01:09:54 +02:00
Serhii
89028500e7 extract SectionDivider widget 2022-12-23 23:58:39 +02:00
Omar Hatem
ffed123f18
Merge pull request #683 from cake-tech/CW-286-add-cake-pay-web-card
[CW-286] Add Cake Pay Web Card to marketplace
2022-12-22 18:40:19 +02:00
Omar Hatem
915b265f69
Merge pull request #680 from cake-tech/CW-275-fix-picker-search-issue
Fix Settings Pickers Search
2022-12-21 21:04:52 +02:00
OmarHatem
e005e2aed7 Add Cake Pay Web Card to marketplace 2022-12-21 19:15:02 +02:00
Omar Hatem
501e62829b
Merge pull request #608 from cake-tech/CW-167-Custom-redeem-screens-fix
CW-258 fix increasing brightness
2022-12-19 16:04:36 +02:00
Serhii
00c008ed8b Merge branch 'main' into CW-122-Rework-filter-on-the-transactions-list-screen 2022-12-16 15:14:13 +02:00
OmarHatem
6148b91c8a Fix Generic Type being enforced to extend Object 2022-12-16 14:33:33 +02:00
Omar Hatem
3f7889dac0
Merge pull request #677 from cake-tech/fix-not-opening-send-screen-from-uri
Fix Send screen not opening from URI
2022-12-15 19:57:14 +02:00
Omar Hatem
34f0e0912b
Merge pull request #675 from cake-tech/CW-280-fix-pin-timeout
[CW-280] Fix PIN timeout issue
2022-12-15 19:35:06 +02:00
OmarHatem
4c9fd5db65 Navigate to send screen even if the user does not need to authenticate 2022-12-15 18:00:56 +02:00
OmarHatem
f9566cf33e Check whether it needs to request auth or not AFTER the user gets back to the app 2022-12-15 14:14:54 +02:00
OmarHatem
586ad210b3 use defined bitcoin instead of direct import to transaction priority 2022-12-15 02:29:30 +02:00
OmarHatem
eb0ebbac41 Validate bitcoin's saved transaction priority [skip ci] 2022-12-15 02:05:00 +02:00
OmarHatem
710de57847 Validate bitcoin's saved transaction priority 2022-12-15 02:00:59 +02:00
Omar Hatem
d1832aa510
Merge branch 'main' into CW-225-pin-timeout 2022-12-13 20:40:20 +02:00
Omar Hatem
b21bcf3652
Merge pull request #657 from cake-tech/CW-66-open-app-from-qr-code
Cw 66 open app from qr code
2022-12-13 20:38:06 +02:00
Godwin Asuquo
dbf214ee1b [skip ci] fix issues from code review 2022-12-13 18:26:25 +01:00
Godwin Asuquo
b486edb803 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-225-pin-timeout 2022-12-13 16:24:28 +01:00
Godwin Asuquo
f15bc28219 [skip ci] fix issues from code review 2022-12-13 16:19:31 +01:00
Godwin Asuquo
0d889416d4 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-161-partial-redemption-fix 2022-12-13 06:44:34 +01:00
OmarHatem
30ef231d24 Fix fill data condition 2022-12-12 22:16:46 +02:00
Justin Ehrenhofer
ab989697ab
Merge pull request #653 from cake-tech/CW-235-Today's-Transactions-disappear-after-restarting-the-app
[CW-235] fix updateTradeList bug
2022-12-12 13:30:40 -06:00
Justin Ehrenhofer
53e713a105 Move address book above security settings in menu 2022-12-12 12:51:28 -06:00
Serhii
ad33c5373d Merge branch 'main' into CW-235-Today's-Transactions-disappear-after-restarting-the-app 2022-12-12 18:57:19 +02:00
Justin Ehrenhofer
b5ba26adcd [CW-276] Privacy settings icon, name, and position 2022-12-12 10:07:37 -06:00
OmarHatem
826ae46b07 - Fix not filling fiat amount
- Fix conflicts with master
2022-12-12 18:01:42 +02:00
OmarHatem
01024b6694 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-66-open-app-from-qr-code
 Conflicts:
	lib/di.dart
	lib/src/screens/send/send_page.dart
	lib/src/screens/send/widgets/send_card.dart
	lib/view_model/send/send_view_model.dart
	res/values/strings_de.arb
	res/values/strings_en.arb
	res/values/strings_es.arb
	res/values/strings_fr.arb
	res/values/strings_hi.arb
	res/values/strings_hr.arb
	res/values/strings_it.arb
	res/values/strings_ja.arb
	res/values/strings_ko.arb
	res/values/strings_nl.arb
	res/values/strings_pl.arb
	res/values/strings_pt.arb
	res/values/strings_ru.arb
	res/values/strings_uk.arb
	res/values/strings_zh.arb
2022-12-12 15:41:16 +02:00
Serhii
2da50776d1 code formatting 2022-12-12 14:28:53 +02:00
Serhii
b1120cf2f8 fix filter for SideShift 2022-12-12 14:01:37 +02:00
Serhii
7d08bb0e76 Add SimpleSwap 2022-12-12 00:37:03 +02:00
Serhii
b536973077 make checkbox stateless 2022-12-12 00:07:05 +02:00
Serhii
c57507e530 redesigh checkbox 2022-12-10 12:56:37 +02:00
Serhii
ff28dfbb9c Rename Change.NOW 2022-12-10 11:40:04 +02:00
Serhii
b9ef71749e Merge branch 'main' into CW-122-Rework-filter-on-the-transactions-list-screen 2022-12-09 23:35:14 +02:00
Godwin Asuquo
59484e5b91 Fix formatting 2022-12-09 20:19:23 +01:00
Godwin Asuquo
6836ac6d1a Fix formatting 2022-12-09 20:18:36 +01:00
Godwin Asuquo
f6c5f96929 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-225-pin-timeout 2022-12-09 19:42:36 +01:00
Godwin Asuquo
07ea937d37 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-225-pin-timeout 2022-12-09 19:42:07 +01:00
OmarHatem
87e72eabdf Fix conflicts with main [skip ci] 2022-12-09 20:36:51 +02:00
OmarHatem
f97a4fec28 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-239-fix-restore-from-backup-using-6-digit-pin
 Conflicts:
	lib/store/settings_store.dart
2022-12-09 20:29:50 +02:00
OmarHatem
899e999d78 check nullability of wallet and disable fiat api state before updating rates [skip ci] 2022-12-09 20:04:44 +02:00
OmarHatem
fde1ea74de Remove duplicate fetching for fiat rate [skip ci] 2022-12-09 19:55:23 +02:00
OmarHatem
5310c265a7 Separate update fiat rate in a function to enhance readability [skip ci] 2022-12-09 19:41:54 +02:00
Godwin Asuquo
9ef1186c45 Fix issues from code review 2022-12-09 17:08:52 +01:00
OmarHatem
4140742bb9 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-239-fix-restore-from-backup-using-6-digit-pin
 Conflicts:
	lib/store/settings_store.dart
2022-12-09 15:59:25 +02:00
OmarHatem
3c1f619395 Update Settings Store attributes within reload function to get latest shared prefs data 2022-12-09 15:57:45 +02:00
OmarHatem
ae1d2a3bec Add validation on node input in advanced privacy settings 2022-12-08 21:33:14 +02:00
OmarHatem
1ef8ef269c Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-118-Allow-disabling-of-fiat 2022-12-08 21:17:59 +02:00
Omar Hatem
3edba88b96
Merge pull request #667 from cake-tech/CW-271-fixed-rate-incorrect-amount
[Cw 271] fixed-rate incorrect amount
2022-12-08 21:14:54 +02:00
OmarHatem
4b1e9a10eb - Rename calculateAmount to fetchRate to be more descriptive
- Add Disable Exchange change reaction to save in shared prefs [skip ci]
2022-12-08 21:14:42 +02:00
OmarHatem
ce19be56a0 - Fix haven and litecoin fee transaction priority issue
- Revert removing fiat rate update and use it to update fiat rate periodically if Fiat API is not disabled
2022-12-08 17:23:17 +02:00
OmarHatem
6395d6b2f7 - Add Disable fiat API option to advanced privacy settings 2022-12-08 14:10:58 +02:00
OmarHatem
fddac23b94 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-118-Allow-disabling-of-fiat
 Conflicts:
	res/values/strings_de.arb
	res/values/strings_en.arb
	res/values/strings_es.arb
	res/values/strings_fr.arb
	res/values/strings_hi.arb
	res/values/strings_hr.arb
	res/values/strings_it.arb
	res/values/strings_ja.arb
	res/values/strings_ko.arb
	res/values/strings_nl.arb
	res/values/strings_pl.arb
	res/values/strings_pt.arb
	res/values/strings_ru.arb
	res/values/strings_uk.arb
	res/values/strings_zh.arb
2022-12-08 14:01:20 +02:00
Omar Hatem
f3b89a2c7f
Merge pull request #601 from cake-tech/CW-159-Filter-address-book-by-type
[CW-159] filter contacts and wallets by type
2022-12-08 13:51:01 +02:00
Omar Hatem
346376aa4e
Merge pull request #666 from cake-tech/CW-180-advanced-startup-privacy-settings
[CW 180] advanced startup privacy settings
2022-12-08 13:50:40 +02:00
Serhii
2becd32ab8 Merge branch 'CW-118-Allow-disabling-of-fiat' of https://github.com/cake-tech/cake_wallet into CW-118-Allow-disabling-of-fiat 2022-12-08 09:56:08 +02:00
Serhii
a1dd22232b [skip ci] fix fiat settings display 2022-12-08 09:56:04 +02:00
Omar Hatem
192d45e1b2
Merge pull request #665 from cake-tech/fix-navigation-error-on-app-first-open
Fix navigation error on app first open
2022-12-08 01:26:07 +02:00
OmarHatem
d0c22aa082 - Fix Change now request missing type
- Only send either to or from amount depending on fixed rate
- take the trade amount from the response
2022-12-08 01:21:45 +02:00
OmarHatem
d2fe7b26e0 Remove unused fiat_rate_update.dart [skip ci] 2022-12-08 00:26:19 +02:00
OmarHatem
dac0b02c7d Disable updating fiat rate if the option is disabled [skip ci] 2022-12-08 00:11:09 +02:00
OmarHatem
55b37164dc - Make getters to ease attribute access
- Add the old 'disable_fiat' translation
- rename getters to be more bool like names
2022-12-07 22:07:32 +02:00
OmarHatem
0da48f66fe Delegate returning rate to each provider to handle its logic internally 2022-12-07 21:09:15 +02:00
Godwin Asuquo
0203f686c5 fix issue with custom redeem amount remaining 2022-12-07 18:12:45 +01:00
OmarHatem
8ff8cf38b8 Check if the provider supportsFixedRate only if fixed rate is applied [skip ci] 2022-12-07 18:15:30 +02:00
OmarHatem
8b333f2925 - Add disable exchange to the export/import flow
- Save changes to Disable Exchange
2022-12-07 17:14:27 +02:00
OmarHatem
c235df8935 - Fix reloading settings store
- Revert changes to backup_service.dart
2022-12-07 16:41:04 +02:00
Serhii
37ca795756 [skip ci] change fiat api UI to swich mode 2022-12-07 15:31:33 +02:00
Serhii
228e157b39 [skip ci] Update localization 2022-12-07 14:04:14 +02:00
Serhii
e472c84466 Merge branch 'main' into CW-118-Allow-disabling-of-fiat 2022-12-07 12:47:38 +02:00
Serhii
f4148e0989 [skip ci] rework UI for disable fiat mode 2022-12-07 12:44:08 +02:00
OmarHatem
a9f0466825 Revert SimpleSwap changes since we disabled it for fixed rate 2022-12-06 20:10:26 +02:00
OmarHatem
f14c01303f - Add whether this provide supports fixed rate or not
- Fix Change now fixed rate exchange due to wrong rate id
2022-12-06 19:23:46 +02:00
Serhii
214c1fe0db Merge branch 'main' into CW-118-Allow-disabling-of-fiat 2022-12-06 17:37:12 +02:00
OmarHatem
e65bd87f06 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-271-fixed-rate-incorrect-amount 2022-12-06 17:33:08 +02:00
Omar Hatem
50fd6accef
Merge pull request #623 from cake-tech/fix-trade-datails-screen-for-SideShift
CW-255 SideShift confirm sending screen bug
2022-12-06 17:30:05 +02:00
Omar Hatem
fa5c705bc8
Add nullability to status String [skip ci] 2022-12-06 17:29:44 +02:00
Serhii
f29f17476c add null check [skip ci] 2022-12-06 17:14:07 +02:00
OmarHatem
8514887da6 Negate is Fixed rate mode in simpleswap 2022-12-06 15:40:40 +02:00
OmarHatem
36c2702688 - Recalculate best rate if isFixedRate changed
- check limits against the receive amount if isFixedRate
2022-12-06 13:30:11 +02:00
Serhii
35b7c05bc1 fix null check 2022-12-06 11:41:25 +02:00
Godwin Asuquo
c156691e09 [skip ci] undo formatting in di 2022-12-05 20:14:46 +01:00
Godwin Asuquo
e4576fe699 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-225-pin-timeout 2022-12-05 19:58:42 +01:00
OmarHatem
d19f7b6d38 Remove unused state 'denied' from authentication state [skip ci] 2022-12-05 18:40:53 +02:00
OmarHatem
3aa0e626ff Pass selected currency to the view model instead of the UI 2022-12-05 18:37:35 +02:00
Omar Hatem
945dc8e859
Merge pull request #650 from cake-tech/CW-73-check-support-of-exchange-for-open-alias
[CW-73] check support of exchange for open alias
2022-12-05 16:54:07 +02:00
Godwin Asuquo
65cbdd3fbb Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-225-pin-timeout 2022-12-05 13:33:17 +01:00
OmarHatem
9eb8a442d8 Allow setting the new added node as the current selected node 2022-12-04 17:30:09 +02:00
OmarHatem
7e64399476 remove un-necessary attributes passing 2022-12-04 05:27:49 +02:00
OmarHatem
9d64789983 Fix Conflict with main
Rename classes to advanced privacy settings to avoid confusion between settings/privacy-settings
2022-12-04 05:08:42 +02:00
OmarHatem
f792b58338 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-180-advanced-startup-privacy-settings
 Conflicts:
	lib/di.dart
	lib/routes.dart
	lib/view_model/node_list/node_create_or_edit_view_model.dart
	res/values/strings_de.arb
	res/values/strings_en.arb
	res/values/strings_es.arb
	res/values/strings_fr.arb
	res/values/strings_hi.arb
	res/values/strings_hr.arb
	res/values/strings_it.arb
	res/values/strings_ja.arb
	res/values/strings_ko.arb
	res/values/strings_nl.arb
	res/values/strings_pl.arb
	res/values/strings_pt.arb
	res/values/strings_ru.arb
	res/values/strings_uk.arb
	res/values/strings_zh.arb
2022-12-04 04:34:32 +02:00
Omar Hatem
dc60123f79
Merge pull request #529 from cake-tech/CW-182-allow-trusted-nodes
Cw 182 allow trusted nodes
2022-12-04 02:17:35 +02:00
Omar Hatem
707df3717d
Merge pull request #662 from cake-tech/CW-259-fix-change-now-trade
[CW-259] Fix Change now trade issue
2022-12-03 23:49:45 +02:00
OmarHatem
9330859177 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into fix-navigation-error-on-app-first-open 2022-12-03 23:39:07 +02:00
Omar Hatem
6be2d6f2ef
Merge pull request #648 from cake-tech/CW-251-fix-duplicate-nodes
CW-251-fix-duplicate-nodes
2022-12-03 23:38:07 +02:00
OmarHatem
98da1c221d revert nullability change with navigation in authentication state change [skip_ci] 2022-12-03 23:36:27 +02:00
OmarHatem
11a5e97711 Fix navigation error when state is changed to denied at app first start [skip_ci] 2022-12-03 23:34:23 +02:00
Serhii
4c7a0a8cb9 rework _getCurrencyImage func 2022-12-03 00:34:34 +02:00
Serhii
5f1e8e9d33 remove isEditable parameter 2022-12-02 23:36:22 +02:00
OmarHatem
116e468581 calculate best rate based on deposit/receive amount 2022-12-02 23:20:06 +02:00
OmarHatem
3bcd31ac44 calculate best rate based on min/max amount 2022-12-02 20:38:16 +02:00
OmarHatem
d961a4645e Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-239-fix-restore-from-backup-using-6-digit-pin 2022-12-02 16:59:56 +02:00
Omar Hatem
a281124c18
Merge pull request #654 from cake-tech/CW-234-Gift-cards-filter-button-null-exception
[CW-234] gift cards filter button null exception
2022-12-02 15:03:33 +02:00
OmarHatem
091ac41ee2 allow null minimum amount in limits 2022-12-01 22:37:13 +02:00
OmarHatem
dd99508d3e Fix static amount value for determining best rate and replace it with the input the user types 2022-12-01 22:11:51 +02:00
Omar Hatem
bfcd3ee002
Merge pull request #643 from cake-tech/CW-223-settings-reorganization
Cw 223 settings reorganization
2022-12-01 21:37:43 +02:00
OmarHatem
914fffe51c Initialize wallet directly from constructor argument [skip ci] 2022-12-01 21:33:17 +02:00
Godwin Asuquo
03748d680a [skip ci] format files 2022-12-01 21:21:51 +02:00
OmarHatem
cbe31aa5aa Revert allowing nullable values for input and refund addresses 2022-12-01 18:21:19 +02:00
OmarHatem
47764835c3 Fix nullability issue in create trade response 2022-12-01 18:09:21 +02:00
Omar Hatem
c547295a02
Merge pull request #658 from cake-tech/CW-257-bitcoin-explorer-mempool.space
[CW-257] Change Bitcoin block explorer to mempool.space
2022-12-01 17:26:41 +02:00
OmarHatem
ffd0079e1d Check if user already has onion node before adding it 2022-12-01 14:29:03 +02:00
Serhii
292c4c396c remove HUSD and rename BTTBSC 2022-11-30 23:53:57 +02:00
Godwin Asuquo
34cfe7591f Fix authentication required when minimize app 2022-11-30 22:57:48 +02:00
Godwin Asuquo
8511805ee3 Fix correct adjusted amount for custom redeem 2022-11-30 10:00:05 +02:00
OmarHatem
59ee7aa975 Add onion node to already existing users 2022-11-30 01:37:56 +02:00