Commit graph

1009 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Serhii
3424b9abde
incognito mode for keyboard (#829) 2023-03-14 02:30:05 +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
15237d5f79 Fix issues from code review 2023-03-02 17:13:25 +02:00
Godwin Asuquo
b0175719b9 Fix issues from code review 2023-03-01 23:44:15 +02:00
Godwin Asuquo
dbfbadffda Filter to use Tor only exchange 2023-03-01 15:50:31 +02:00
OmarHatem
ce4b1cd4ae Update fiat API version
Enable Tor support for Fiat
2023-02-28 18:23:21 +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
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
OmarHatem
54dab5883f Check for context first before showing popup 2023-02-15 17:50:48 +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
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
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
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
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
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
032a8c8c33 Add trocador exchange provider 2023-02-06 21:20:43 +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
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
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
Serhii
ef01554fdb fix openAlias address resolv 2023-01-31 21:39:08 +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
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
4353e778bb Increase QR version to support longer addresses 2023-01-28 15:47:44 +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
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
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
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
Omar Hatem
131f085f4c
Trigger workflow build 2023-01-18 21:55:01 +02: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
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
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
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
e904c0a7b7 Show popup on un-caught exceptions to send errors via email 2023-01-06 19:42:37 +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
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
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
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
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
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