Commit Graph

2025 Commits

Author SHA1 Message Date
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
Sander van Grieken
e579f5b8a5 properly remember wallet password and pass to tx signing call 2022-10-21 13:31:24 +02:00
Sander van Grieken
e0a3efe5b5 move wallet creation from wizard to ui agnostic NewWalletWizard 2022-10-21 13:31:24 +02:00
Sander van Grieken
43bac2edff qml: use new wizard approach in qml and also implement 2FA/trustedcoin 2022-10-21 13:31:24 +02:00
Sander van Grieken
a4195267ff new wizard approach 2022-10-21 13:31:24 +02:00
Sander van Grieken
b37262f232 qml: proper check for max amount onchain. move max amount lightning to superclass 2022-10-21 13:24:39 +02:00
Sander van Grieken
a1fac70ebc qml: fix bug with lingering info text from previous shown invoice 2022-10-21 13:01:45 +02:00
sorenstoutner
f995a5001d Fix CRLF issues. (#8026) 2022-10-20 18:43:54 +00:00
Sander van Grieken
65250e69d8 qml: add max amount option in invoice dialog and show in invoice delegate 2022-10-20 17:18:46 +02:00
SomberNight
c5d17183f7 qt BTCAmountEdit: clamp field to <=21 million bitcoins
fixes https://github.com/spesmilo/electrum/issues/5223
2022-10-19 18:07:02 +00:00
SomberNight
1f5ab5cb8d qt AmountEdit: small refactor 2022-10-19 17:22:23 +00:00
Sander van Grieken
c7cdd42665 qml: ui 2022-10-19 14:15:24 +02:00
Sander van Grieken
bb3f3991e8 qml: detect request paid status on receive dialog 2022-10-19 10:02:11 +02:00
Sander van Grieken
49037ecc85 qml: handle bitcoin: and lightning: uri intents 2022-10-18 18:31:59 +02:00
Sander van Grieken
3a8cfcd5b8 qml: add total balance, fix initialization of create recoverable channels setting 2022-10-17 17:24:46 +02:00
Sander van Grieken
80f2bf7c09 qml: incoming flag not always correct for determining debit/credit. Use 'value' instead 2022-10-17 16:43:38 +02:00