Commit graph

309 commits

Author SHA1 Message Date
julian
c9c9e79b5c Merge branch 'ui-fixes' into themes 2023-04-27 17:07:04 -06:00
likho
29a5a98063 Add light theme to json, clean out chan colors from dark theme 2023-04-27 14:17:33 +02:00
julian
289009be18 ensure only non segwit payment code is ever shown 2023-04-26 12:29:43 -06:00
likho
707dc204c5 Ensure themes path is loaded, use testing theme name instead of UUID 2023-04-26 14:26:35 +02:00
julian
8c3fffde9d segwit paynym.is updates and fixes 2023-04-25 15:06:12 -06:00
likho
857f0f2acc Clean up 2023-04-25 15:58:51 +02:00
likho
4ed34ad50f Correctly parse gradient 2023-04-25 15:12:56 +02:00
likho
d42f48ceee resolve json errors, move assets json into themes json 2023-04-24 19:36:05 +02:00
likho
c6ffe14a4e Rename assets json file 2023-04-24 18:42:22 +02:00
likho
5748de2251 Theme colors error fixes 2023-04-24 17:31:05 +02:00
julian-CStack
ec00f6aea4 WIP testing themes 2023-04-24 08:36:12 -06:00
likho
66f17b2ba1 Get assets from json 2023-04-24 14:53:51 +02:00
ryleedavis
15c2a8bb29 added boxShadowExt + boxShadows to ColorTheme 2023-04-21 09:57:20 -06:00
ryleedavis
00a287be53 merge conflicts 2023-04-20 10:18:33 -06:00
ryleedavis
1ae97df42a resolve merge conflict 2023-04-20 10:12:57 -06:00
ryleedavis
962fab6e3e added color ints to color theme 2023-04-20 10:11:05 -06:00
julian
e3888be1b1 embedded assets, provider, and example 2023-04-20 09:32:50 -06:00
julian-CStack
f6becfbe77 WIP re themeing 2023-04-18 10:46:04 -06:00
julian
3db3ad06c5 WIP isar theme class 2023-04-18 09:15:52 -06:00
julian
b2d2f20b50 WIP replacement for Map<String, dynamic> transactionObject 2023-04-11 09:18:29 -06:00
julian
5bf678d41a Balance class clean up 2023-04-10 12:00:23 -06:00
julian
4409562a94 clean up balance file 2023-04-09 13:00:47 -06:00
julian
1305b9f37c token balance json serialization fix 2023-04-07 14:13:28 -06:00
julian
25ff880280 move amount.dart file 2023-04-06 15:24:56 -06:00
julian
81c612ddd7 WIP use Amount 2023-04-05 16:06:31 -06:00
julian
563799feee Merge remote-tracking branch 'origin/staging' into add-ethereum 2023-04-03 10:37:51 -06:00
julian
b1e6ee8d47 Revert "disabled mb"
This reverts commit c9eba36f31.
2023-04-01 09:04:34 -06:00
julian
c8139007e3 use new transaction nonce property 2023-03-31 10:18:51 -06:00
julian
606e70a061 add nonce property to Transaction 2023-03-31 09:39:03 -06:00
julian
f69f9a5038 Merge remote-tracking branch 'origin/staging' into add-ethereum
# Conflicts:
#	lib/widgets/wallet_card.dart
2023-03-29 14:09:23 -06:00
julian
24904f3476 Merge remote-tracking branch 'origin/staging' into add-ethereum
# Conflicts:
#	lib/utilities/show_loading.dart
2023-03-28 12:37:09 -06:00
julian
4afa344965 only validate address in contact address entry form if a coin is selected 2023-03-28 09:17:22 -06:00
julian
c9eba36f31 disabled mb 2023-03-25 19:27:42 -06:00
julian
f4d61a9f58 use realAmount custom Amount class data in ui 2023-03-24 17:40:20 -06:00
julian
f7b2f01f01 update generated transaction part 2023-03-24 15:55:04 -06:00
julian
b2b9accee1 add serialized amount string to transaction 2023-03-24 15:31:05 -06:00
julian
44a87df41c merge clean up 2023-03-23 18:21:09 -06:00
julian
3e1e68237a Merge remote-tracking branch 'origin/staging' into add-ethereum
# Conflicts:
#	lib/models/isar/models/blockchain_data/address.dart
#	lib/pages/add_wallet_views/create_or_restore_wallet_view/create_or_restore_wallet_view.dart
#	lib/pages/settings_views/global_settings_view/appearance_settings_view.dart
#	lib/pages_desktop_specific/settings/settings_menu/appearance_settings.dart
#	lib/utilities/db_version_migration.dart
#	test/pages/send_view/send_view_test.mocks.dart
#	test/screen_tests/address_book_view/subviews/add_address_book_view_screen_test.mocks.dart
#	test/screen_tests/address_book_view/subviews/address_book_entry_details_view_screen_test.mocks.dart
#	test/screen_tests/address_book_view/subviews/edit_address_book_entry_view_screen_test.mocks.dart
#	test/screen_tests/exchange/exchange_view_test.mocks.dart
#	test/screen_tests/lockscreen_view_screen_test.mocks.dart
#	test/screen_tests/main_view_tests/main_view_screen_testA_test.mocks.dart
#	test/screen_tests/main_view_tests/main_view_screen_testB_test.mocks.dart
#	test/screen_tests/main_view_tests/main_view_screen_testC_test.mocks.dart
#	test/screen_tests/onboarding/backup_key_view_screen_test.mocks.dart
#	test/screen_tests/onboarding/backup_key_warning_view_screen_test.mocks.dart
#	test/screen_tests/onboarding/create_pin_view_screen_test.mocks.dart
#	test/screen_tests/onboarding/restore_wallet_view_screen_test.mocks.dart
#	test/screen_tests/onboarding/verify_backup_key_view_screen_test.mocks.dart
#	test/screen_tests/settings_view/settings_subviews/currency_view_screen_test.mocks.dart
#	test/screen_tests/settings_view/settings_subviews/network_settings_subviews/add_custom_node_view_screen_test.mocks.dart
#	test/screen_tests/settings_view/settings_subviews/network_settings_subviews/node_details_view_screen_test.mocks.dart
#	test/screen_tests/settings_view/settings_subviews/wallet_backup_view_screen_test.mocks.dart
#	test/screen_tests/settings_view/settings_subviews/wallet_settings_subviews/rescan_warning_view_screen_test.mocks.dart
#	test/screen_tests/settings_view/settings_subviews/wallet_settings_subviews/wallet_delete_mnemonic_view_screen_test.mocks.dart
#	test/screen_tests/settings_view/settings_subviews/wallet_settings_view_screen_test.mocks.dart
#	test/screen_tests/settings_view/settings_view_screen_test.mocks.dart
#	test/screen_tests/transaction_subviews/transaction_search_results_view_screen_test.mocks.dart
#	test/screen_tests/wallet_view/confirm_send_view_screen_test.mocks.dart
#	test/screen_tests/wallet_view/receive_view_screen_test.mocks.dart
#	test/screen_tests/wallet_view/send_view_screen_test.mocks.dart
#	test/screen_tests/wallet_view/wallet_view_screen_test.mocks.dart
#	test/widget_tests/managed_favorite_test.mocks.dart
#	test/widget_tests/table_view/table_view_row_test.mocks.dart
#	test/widget_tests/transaction_card_test.mocks.dart
#	test/widget_tests/wallet_info_row/sub_widgets/wallet_info_row_balance_future_test.mocks.dart
#	test/widget_tests/wallet_info_row/wallet_info_row_test.mocks.dart
2023-03-23 18:13:24 -06:00
julian
e99ef7497c update eth contract isar model class 2023-03-23 09:38:17 -06:00
julian
702054ac61 Merge remote-tracking branch 'origin/staging' into add-ethereum
# Conflicts:
#	assets/svg/themed/forest/ethereum.png
#	assets/svg/themed/forest/ethereum.svg
#	lib/pages/add_wallet_views/create_or_restore_wallet_view/create_or_restore_wallet_view.dart
#	lib/pages/receive_view/addresses/edit_address_label_view.dart
#	lib/pages/receive_view/addresses/receiving_addresses_view.dart
#	lib/pages/wallet_view/sub_widgets/wallet_navigation_bar.dart
#	lib/pages/wallet_view/wallet_view.dart
#	lib/route_generator.dart
#	lib/utilities/assets.dart
#	lib/utilities/constants.dart
#	lib/widgets/animated_widgets/rotate_icon.dart
#	pubspec.lock
#	pubspec.yaml
2023-03-22 08:54:25 -06:00
julian
c35eaf0b0f WIP address details 2023-03-21 17:18:07 -06:00
julian
172429f94a add address tags property and update generated 2023-03-21 10:37:01 -06:00
julian
260771061c prepare paynym interface to use SigningData 2023-03-09 12:31:36 -06:00
julian
ec237d0001 Merge remote-tracking branch 'origin/staging' into coin_control 2023-03-08 13:42:12 -06:00
julian
2b1d438953 balance refresh and total display fixes 2023-03-08 13:03:04 -06:00
julian
cf6fb46c5c update utxo 2023-03-08 08:57:17 -06:00
sneurlax
89c84a44b4 fix failing casts 2023-03-07 11:57:33 -06:00
sneurlax
af15f89d38 typo fix 2023-03-07 11:57:13 -06:00
julian
e40cb3d66d utxo details ui and edit functionality 2023-03-07 11:11:57 -06:00
julian
6465faa4e1 btc update utxo set 2023-03-07 09:00:42 -06:00
julian
2ccf6bfc71 utxo bugfix 2023-03-07 08:07:04 -06:00
julian
251f90834c update UTXO schema 2023-03-06 14:39:41 -06:00
julian-CStack
e8e8ffdf60
Merge branch 'staging' into mb-fixes 2023-03-03 15:15:58 -06:00
julian
40ca565d54 mb order status util and extra logging 2023-03-03 14:46:53 -06:00
julian
babbd75da3 use database contract data and contract management updates 2023-03-02 18:40:12 -06:00
sneurlax
83d0157600 add and use EpicBoxConfigModel and EpicBoxServerModel 2023-03-02 14:51:19 -06:00
julian
4cec54620a eth contract isar schema 2023-03-02 14:08:54 -06:00
julian
5bf18a541a json serialize fix 2023-03-01 14:03:44 -06:00
julian
e3548c5ecc WIP wallet token management 2023-02-28 18:36:54 -06:00
julian
0c11e859aa changenow v2 currencies call to access tokenContract param 2023-02-28 14:27:42 -06:00
julian
695d43bbd5 add token list ui 2023-02-28 13:26:17 -06:00
julian
d07906c4a7 add wallet entity clean up 2023-02-27 17:15:05 -06:00
julian
fcd8f01d93 convert token service to change notifier, add token cache per eth wallet, token balances, and fix routing issues 2023-02-27 10:01:06 -06:00
julian
5aed55235c WIP eth refactor 2023-02-23 16:59:58 -06:00
julian
15b37b6f5c merge clean up and update eth to use isar for tx history and addresses 2023-02-14 11:43:48 -06:00
julian
056fa1947c Merge remote-tracking branch 'origin/staging' into add-ethereum
# Conflicts:
#	lib/pages/settings_views/global_settings_view/manage_nodes_views/add_edit_node_view.dart
#	lib/pages/wallet_view/sub_widgets/wallet_navigation_bar.dart
#	lib/pages/wallet_view/wallet_view.dart
#	lib/services/price.dart
#	lib/utilities/assets.dart
#	pubspec.lock
#	pubspec.yaml
2023-02-14 08:24:04 -06:00
julian
218017ca51 populate initial values in exchange form 2023-02-10 08:04:12 -06:00
julian
8fa5aa779a json object serialize/deserialize 2023-02-09 16:02:01 -06:00
julian
86ca402401 close exchange step 4 back to wallet or exchange home view 2023-02-09 07:31:31 -06:00
julian
2eb0b2e123 clean up exchange rate type enum, build runner mocks 2023-02-08 16:46:30 -06:00
julian
4630d616cd only show exchanges supported by selected aggregate currency pair based on exchange flow type 2023-02-08 14:06:58 -06:00
julian
b1c8a56ba6 aggregate currency 2023-02-08 13:06:26 -06:00
julian
ae697928a6 no caching or switching of currencies based on exchange selection 2023-02-08 11:37:58 -06:00
julian
d4db845494 Merge branch 'exchange_refactor' into paynyms
# Conflicts:
#	test/pages/send_view/send_view_test.mocks.dart
#	test/widget_tests/managed_favorite_test.mocks.dart
#	test/widget_tests/table_view/table_view_row_test.mocks.dart
#	test/widget_tests/wallet_card_test.mocks.dart
#	test/widget_tests/wallet_info_row/sub_widgets/wallet_info_row_balance_future_test.mocks.dart
#	test/widget_tests/wallet_info_row/wallet_info_row_test.mocks.dart
2023-02-07 11:17:16 -06:00
julian
62f7ebbc3c Merge branch 'majestic_bank' into paynyms 2023-02-07 11:16:26 -06:00
julian
243acd09ba fix when leaving and returning to exchange view 2023-02-06 15:50:18 -06:00
julian
15207fc7f1 cache currencies and revert if needed on switching exchanges where currencies aren't available on both exchanges 2023-02-06 12:29:00 -06:00
julian
f174efcec0 clean up and exchange form state bug fixes 2023-02-06 10:27:24 -06:00
julian
be2a52301e clean up and QoL mods to exchange_form_state.dart 2023-02-06 09:44:23 -06:00
julian
18e089179b simplify Currency class and fixed image loading issue 2023-02-06 09:23:31 -06:00
julian
3d01ec8598 reduce size of Pair class 2023-02-06 08:43:16 -06:00
julian
10605d96a2 WIP exchange refactor and clean up 2023-02-05 17:50:40 -06:00
julian
4345a67d3f currency select function fix 2023-02-05 15:25:35 -06:00
julian
1455808d7a WIP refactor exchange to use isar as cache instead of in memory using riverpod 2023-02-05 14:32:39 -06:00
julian
a3b5ba5b04 majestic bank dart api impl 2023-02-04 09:16:05 -06:00
julian
9b4dee76a5 add derivationPath to Address constructor as required 2023-02-03 17:30:32 -06:00
julian
5b5ee30e41 centralized and cleaned up bip32 utils, and added mnemonic password functionality 2023-02-03 16:34:06 -06:00
julian
b0c00d8ec7 db refactor and added address labels 2023-02-03 13:22:21 -06:00
julian
3ba9f7d61b WIP majestic bank order calculate api call 2023-02-02 14:18:27 -06:00
julian
8bdf0413bd majestic bank limits and rates api calls 2023-02-02 12:56:55 -06:00
julian
bc5dc9a5d7 simple receiving addresses list view 2023-02-01 09:30:29 -06:00
julian
5de22ca858 Merge branch 'simplex' into paynyms 2023-01-26 10:16:01 -06:00
sneurlax
5f2b0de2d1 dart linting 2023-01-25 16:43:13 -06:00
sneurlax
64da385d29 add order to simplex model 2023-01-25 16:42:39 -06:00
sneurlax
4ae7876322 linting 2023-01-25 16:42:29 -06:00
sneurlax
2d7a50a5a1 linting 2023-01-25 16:42:21 -06:00
sneurlax
10c5a0a4b3 linting
remove unused functions and comments
2023-01-25 16:42:14 -06:00
sneurlax
510e0887ce remove pair 2023-01-25 16:42:10 -06:00
sneurlax
c0836f9c67 remove image property from Fiat and Crypto models
and don't check for them in selection views
2023-01-24 13:29:05 -06:00
sneurlax
32ca83673a Merge remote-tracking branch 'cypherstack/ui-fixes' into simplex 2023-01-24 12:29:13 -06:00
julian
165021ca2e Merge branch 'isar_migrate' into paynyms 2023-01-20 17:27:18 -06:00
sneurlax
2e6dfe0f62 fix cryptos with null networks/contractAddresses 2023-01-20 15:45:53 -06:00
sneurlax
c3dd04b830 use simplex_api supported_fiats and update fiat model 2023-01-20 15:45:37 -06:00
julian
830fd58754 Merge branch 'isar-transactions' into isar_migrate
# Conflicts:
#	lib/services/coins/bitcoin/bitcoin_wallet.dart
#	lib/services/coins/bitcoincash/bitcoincash_wallet.dart
#	lib/services/coins/coin_service.dart
#	lib/services/coins/dogecoin/dogecoin_wallet.dart
#	lib/services/coins/firo/firo_wallet.dart
#	lib/services/coins/litecoin/litecoin_wallet.dart
#	lib/services/coins/monero/monero_wallet.dart
#	lib/services/coins/namecoin/namecoin_wallet.dart
#	lib/services/coins/particl/particl_wallet.dart
#	lib/services/coins/wownero/wownero_wallet.dart
#	pubspec.yaml
2023-01-20 15:30:48 -06:00
sneurlax
adf83aa3a6 use simplex_api supported_cryptos and update crypto model 2023-01-20 15:30:35 -06:00
julian
c1182f61bc start centralizing custom exceptions 2023-01-20 12:25:32 -06:00
sneurlax
2ad0659cbc add SimplexOrder model and return it from simplex API
TODO add redirect API call which url_launcher's the redirect endpoint
2023-01-19 23:10:15 -06:00
sneurlax
8a1eee204b purchaseId -> id
because SimplexOrder qill have a quoteId, paymentId, and userId...
2023-01-19 17:47:27 -06:00
sneurlax
7191e502db use new cypherstack/simplex_api for quotes, update SimplexQuote
and add bool buyWithFiat to SimplexQuote to disambiguate request
2023-01-19 13:36:05 -06:00
julian
89f0704bd4 revert late on isLelantus 2023-01-18 18:03:53 -06:00
julian
42e53c31a6 build runner 2023-01-18 17:48:44 -06:00
julian
f507f6a60a make fields final and other small QOL changes 2023-01-18 17:45:51 -06:00
julian
4dabeebfab WIP migrate 2023-01-18 14:29:24 -06:00
sneurlax
e6a19d981d pass receiving address on to preview sheet 2023-01-16 18:08:37 -06:00
julian
d1f237ae51 explicit isar model constructors 2023-01-16 16:37:00 -06:00
sneurlax
0dff63d9ac put buy quote preview in floating sheet on desktop
TODO check if this breaks mobile
2023-01-16 15:35:38 -06:00
sneurlax
7eefe196c9 simplex supported currencies provider -> simplex provider
we may need to store a quote or "estimate" in the provider for UI dataflow purposes (because we can't run async functions in widget builds/constructors?)
2023-01-16 15:35:32 -06:00
julian
5562c14527 WIP refactor to single main isar db 2023-01-16 15:04:03 -06:00
julian
650ae9fe09 buy quote preview view and sample quote class 2023-01-15 18:09:11 -06:00
sneurlax
79edf1292d remove unneeded buy type and buys service
no history needed at this time
2023-01-13 19:12:03 -06:00
sneurlax
64662c9076 clean up buy form state functions
TODOs here
2023-01-13 19:00:07 -06:00
sneurlax
cfe40c76d9 change amount widget as in send views, read currency selections from API 2023-01-13 18:07:27 -06:00
julian
c503e8f8d8 confirms bugfix 2023-01-13 17:26:24 -06:00
julian
c1e860ff52 getConfirms fix 2023-01-13 16:45:20 -06:00
julian
afdc496331 update address model link 2023-01-13 15:57:49 -06:00
julian
4dd41a5048 update address class for nonWallet address flag 2023-01-13 14:49:56 -06:00
julian
f53a293583 build runner 2023-01-13 13:35:21 -06:00
julian
cb382e213f separate tx note from transaction object to ensure total separation of blockchain data from other user to ease rescanning the blockchain 2023-01-13 13:33:46 -06:00
sneurlax
61c971973c restyle coin and fiat selection widgets
and:
 - available -> supported
 - do not load simplex data on desktop menu item action
2023-01-13 13:14:56 -06:00
julian
d119296492 build runner 2023-01-13 11:13:52 -06:00
julian
52d5ab0d33 WIP tx parse + link address to transaction 2023-01-13 11:11:41 -06:00
sneurlax
44d3c26385 add available simplex currencies provider 2023-01-12 20:21:19 -06:00
sneurlax
b18ee6ba19 pare down crypto and fiat types and WIP stash of progress 2023-01-12 15:15:42 -06:00
julian
ccb9f254bd small bug fixes and added WalletCache mixin to handle balance cache etc 2023-01-12 12:15:28 -06:00
julian
1a7439f6a6 isar model updates 2023-01-11 21:16:45 -06:00
julian
30d8f8b810 update isCancelled flag name to be consistent with other isar model bool values 2023-01-11 14:48:55 -06:00
julian
e203da866d add general balance model to reduce clutter 2023-01-11 12:17:29 -06:00
julian
5937d92aee update isar models 2023-01-11 12:16:52 -06:00
sneurlax
2d6447eedd add fiat selection view 2023-01-11 11:49:59 -06:00
sneurlax
9724b40848 add fiat crypto toggle and crypto selection list 2023-01-11 11:19:19 -06:00
sneurlax
c746eb8865 23-1-10 updates
nonatomic updates
2023-01-11 09:54:39 -06:00
julian
f1131e3d61 missing updated address generated file 2023-01-10 18:13:37 -06:00
julian
b0c62015a1 update enum value name 2023-01-10 17:57:00 -06:00
julian
fdaa3f7d9d update isar transaction model 2023-01-10 17:51:34 -06:00
julian
ce05a647f0 update isar address class 2023-01-10 17:49:31 -06:00
sneurlax
290adfec21 stub pages for mobile and desktop
lots of extra code, lots of commented sections, the models are wrong, the pages just load on desktop and mobile.  need to complete the form and ... well, there's a lot, really
2023-01-10 15:25:20 -06:00
julian
064421cfba models modification and simple export 2023-01-10 14:40:09 -06:00
julian
279d7f37bd clean up 2023-01-10 11:51:38 -06:00
julian
fedb91f11c WIP isar address class 2023-01-10 11:29:36 -06:00
julian
3de937fe03 switch values that change over time to computed properties 2023-01-10 11:22:52 -06:00