Commit Graph

2040 Commits

Author SHA1 Message Date
Sander van Grieken
89936689fb qml: fix imports, flake issues 2022-11-14 12:19:56 +01:00
Sander van Grieken
97254bb0ed qml: remove ready signal hack, wizard_data now available at WizardComponent construction time 2022-11-14 12:19:56 +01:00
Sander van Grieken
3c903d8fd7 qml: allow wizard pages to supply title suffix 2022-11-14 12:19:56 +01:00
Sander van Grieken
428ba209f4 qml: multisig wizard; cosigner w. electrum seed 2022-11-14 12:19:56 +01:00
Sander van Grieken
5246f3d510 qml: refactor is_last checks to mostly lambdas, add multisig flow for 1st cosigner keystore,
add initial flow and view placeholders for additional cosigners.
2022-11-14 12:19:56 +01:00
Sander van Grieken
b8a8c848c7 qml: enable first wizard page of multisig 2022-11-14 12:19:56 +01:00
Sander van Grieken
5fd8b63091 qml: styling TxDetails 2022-11-14 11:41:33 +01:00
Sander van Grieken
e054e9f14e qml: styling channel details 2022-11-11 17:11:49 +01:00
Sander van Grieken
37b4352c29 qml: some styling fixes 2022-11-11 16:46:24 +01:00
Sander van Grieken
725a05643e qml: channels styling 2022-11-11 16:23:24 +01:00
Sander van Grieken
18131e5a38 qml: styling addresses/address details 2022-11-11 16:00:11 +01:00
Sander van Grieken
ff0f180fab qml: check max comment length for lnurl-pay, characters remaining indicator, styling. 2022-11-11 15:13:39 +01:00
Sander van Grieken
9ce9bb5a4c qml: show request details on receive dialog after adding message/amount 2022-11-11 14:03:43 +01:00
Sander van Grieken
79d12330ac qml: let WalletListModel update the wallet state when a wallet is loaded 2022-11-11 12:28:00 +01:00
Sander van Grieken
12086ba0de qml: unify to single WalletListModel, WalletDB trigger actions on every path set,
camelcase more QML exposed functions/slots.
2022-11-11 12:00:07 +01:00
Sander van Grieken
97f02bca3b qml: add import additional addresses/keys to import wallet 2022-11-04 15:59:27 +01:00
Sander van Grieken
0c9d4abb82 qml: show 2FA status and billing info in WalletDetails, expose billing schedule setting in config 2022-11-04 13:35:15 +01:00
Sander van Grieken
99b2970372 qml: forgot WalletDetails.qml 2022-11-03 12:23:41 +01:00
Sander van Grieken
0649f13ee8 qml: rework drawer, split wallet details from wallet list/picker 2022-11-02 16:43:10 +01:00
Sander van Grieken
3eaebe7b47 qml: flow tags to next line if exceeding most of screen width
properly update balance amount strings
2022-11-01 09:42:44 +01:00
Sander van Grieken
3f9df0517a qml: rename walletdetails to walletsummary 2022-11-01 09:40:57 +01:00
Sander van Grieken
00e1d1786c qml: balance piechart in walletdetails, fix menus to top header height 2022-11-01 09:39:20 +01:00
Sander van Grieken
6b979f2185 qml: add basic piechart 2022-10-30 22:51:10 +02:00
Sander van Grieken
7028435daa qml: create wallet details drawer 2022-11-01 09:37:57 +01:00
SomberNight
df2d0f4e1f qt send: use bolt11 fallback addr even if LN is disabled
Given a wallet with LN disabled,
and a bolt11 invoice (or a bip21 uri that only contains bolt11 but lacks a top-level address),
if the bolt11 invoice includes a fallback address,
we would previously just error "Lightning is disabled".

Now we offer the user to pay on-chain using the fallback address.

closes https://github.com/spesmilo/electrum/issues/8047
2022-10-31 19:15:03 +00:00
SomberNight
2fd762c308 qt send: bip21: ignore "lightning=" part if LN is disabled
A wallet with LN disabled could not pay a bip21 URI with an address and a "lightning=" key.
2022-10-31 19:09:08 +00:00
SomberNight
01b5e3f8e0 flake8: enable more mandatory tests 2022-10-31 16:13:22 +00:00
Sander van Grieken
26d9c06e0c qml: add export TX and scan of TX 2022-10-28 10:46:23 +02:00
SomberNight
45a939c146 tests: add test to check if we include xpubs in psbts
related: https://github.com/spesmilo/electrum/issues/8036
2022-10-27 15:55:01 +00:00
Sander van Grieken
afb0c3bdb7 qml: implement remove local tx, show channel backup after channel open 2022-10-26 13:22:39 +02:00
Sander van Grieken
34d39e84f0 qml: don't check min amount for amount-less invoice 2022-10-26 11:18:01 +02:00
Sander van Grieken
3ace53391f qml: disable pay button while editing amount, perform minimum amount check for lightning invoices, update amount in invoice list. 2022-10-26 11:12:58 +02:00
Sander van Grieken
e3b3f04afe qml: refresh address list on new transaction by setting dirty flag 2022-10-25 16:45:27 +02:00
Sander van Grieken
a2d1d5e288 qml: missing import 2022-10-25 16:27:15 +02:00
Sander van Grieken
571c626eb4 qml: run tx broadcast in thread, re-enable broadcast button in TxDetails when broadcast fails
show notification when broadcast fails
2022-10-25 16:24:56 +02:00
Sander van Grieken
902f16204c qml: initial RbF bump fee feature 2022-10-25 15:13:57 +02:00
Sander van Grieken
87ee3030a8 qml: actually use rbf selection 2022-10-24 17:08:57 +02:00
ThomasV
d922db0bdf Merge pull request #7986 from accumulator/wizard
New approach to implement new wallet wizard
2022-10-24 13:29:42 +02:00
Sander van Grieken
2adf034771 use apply() function on every wizard page, making sure wizard_data is always available
to wizard navigation evaluation
2022-10-24 13:04:46 +02:00
Sander van Grieken
fac4003354 qml: fix wizard_data not available to 'last' check on have seed wizard page
also refactor seed verification, split off seed_variant from seed_type (partial disambiguation),
fix bip39 wallet creation
2022-10-24 13:03:33 +02:00
accumulator
6e536d2d91 add invoice status to invoice_status callback (#8020)
* add invoice status to invoice_status callback

* debug statement fails tests

* removed commented lines, added progress/attempt counter comment in lnworker.pay_to_node,
and update the invoice_status event handler in qeinvoicelistmodel.py
2022-10-21 16:45:12 +00:00
Sander van Grieken
d65ee17100 qml: ui confirm tx dialog 2022-10-21 14:15:59 +02:00
Sander van Grieken
cf005a0f2a qml: ui close channel dialog 2022-10-21 14:11:14 +02:00
Sander van Grieken
daffa1a731 qml: ui swapdialog 2022-10-21 14:00:35 +02:00
Sander van Grieken
6ca733a12f move /gui/wizard.py to /wizard.py 2022-10-21 13:32:16 +02:00
Sander van Grieken
c6496d02ef add recovery paths (disable and confirm/reset OTP) for 2FA 2022-10-21 13:32:16 +02:00
Sander van Grieken
15e2ed4f58 rewrite server connect wizard to new wizard style
'last' property on WizardComponents is now queried from UI, not from the wizard.
This allows the content of the WizardComponent itself to be taken into account.
2022-10-21 13:32:16 +02:00
Sander van Grieken
6ea3a16cc8 add wallet type imported addresses/private keys to wizard 2022-10-21 13:32:16 +02:00
Sander van Grieken
acb88f21c1 implement success and failure paths, keep dialog over multiple tries 2022-10-21 13:32:16 +02:00
Sander van Grieken
20c95b26ea wip otp on pay 2022-10-21 13:32:13 +02:00