Commit Graph

2101 Commits

Author SHA1 Message Date
Sander van Grieken
30079c06a8 qml: handle android back button in wizard, map to prev page action instead of closing wizard.
Also add initial focus to WCHaveSeed and WCHaveMasterKey wizard components.
2023-01-02 17:02:19 +01:00
Sander van Grieken
562b4c50df qml: add a few more dialog icons 2023-01-02 17:02:19 +01:00
SomberNight
824ce64e66 qt gui: display nice error if QR code data overflows
there is existing handler-code at e.g.
1a7634e615/electrum/gui/qt/transaction_dialog.py (L309)
but we should make sure setData() always raises the exc when needed,
as paintEvent() is too late for nice handling.

closes https://github.com/spesmilo/electrum/issues/4288
closes https://github.com/spesmilo/electrum/issues/4280
2023-01-02 13:38:05 +00:00
SomberNight
253150cb36 qt network dialog: don't poll Tor socks proxy, but scan on interaction
Polling is introduces spam in Tor logs.
Also, Tor Browser 12.0 apparently has a bug where our polling renders
the socks proxy unusuable after some time.
see https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/41549

Instead of trying to detect a Tor socks proxy every 10 seconds, we now
run detection when the Qt network dialog gets opened, and also when
the user switches to the "Proxy" tab in the dialog.

fixes https://github.com/spesmilo/electrum/issues/7317
2023-01-02 11:58:16 +00:00
SomberNight
e3485de496 qt gui: handle swap server unreachable
note: testnet swap server is offline atm
closes https://github.com/spesmilo/electrum/issues/8107
2023-01-01 23:43:25 +00:00
Sander van Grieken
c51b6dd75a qml: server list styling, group indicator per chain 2022-12-31 12:52:10 +01:00
Sander van Grieken
f774174c85 qml: add serverlistmodel.py, add server list to ServerConfigDialog.qml 2022-12-30 23:46:04 +01:00
Sander van Grieken
f13b43d546 qml: styling server/proxy config 2022-12-30 22:46:52 +01:00
Sander van Grieken
e6e3fd7083 qml: move label outside of server/proxy config component 2022-12-30 22:40:14 +01:00
Sander van Grieken
90d64a004b qml: make dialog content flickable for small displays for CloseChannelDialog, OpemChannelDialog and InvoiceDialog 2022-12-28 16:07:30 +01:00
Sander van Grieken
87aa44eb26 qml: show swap service problem to user 2022-12-28 14:59:39 +01:00
Sander van Grieken
d80e9e7dea qml: don't crash when initiating swap when swap service is not available 2022-12-27 17:41:58 +01:00
ThomasV
a383f56909 Simplify RBF user experience:
- replace complex strategies with a simpler choice,
   between preserving or decreasing the payment.
 - Always expose that choice to the user.
 - Show the resulting fees to the user before they click OK
2022-12-13 11:26:44 +01:00
ThomasV
e1dc7d1e6f Set the RBF flat to all transactions, and remove the 'use_rbf'
preference from the GUI, because the mempoolfullrbf option in
Bitcoin 0.24 makes RBF signaling pretty meaningless. Fixes #8088.

Note: RBF remains disabled for channel funding transactions.
In that case, the flag is actually only used as a semaphore
between different instances of the same wallet.
2022-12-10 18:58:15 +01:00
SomberNight
8995a3e1bd Qt chan list: Ctrl+F filter to work for long channel id 2022-12-10 12:46:17 +00:00
ThomasV
e8ac09721c kivy: remove user_rbf boolean property (unused) 2022-12-07 15:59:11 +01:00
Sander van Grieken
96f4530eb2 qml: ReceiveDialog styling 2022-12-05 19:42:29 +01:00
Sander van Grieken
96af21faeb qml: show extra fee in ConfirmTxDialog (2fa) 2022-12-02 13:50:31 +01:00
Sander van Grieken
ad2b01716c qml: request details hooks to backend callback, not to QEWallet signal.
Also fix destructor issue
2022-12-01 11:39:28 +01:00
Sander van Grieken
4c7ab67474 qml: receive dialog flickable when challenged vertical space 2022-12-01 10:33:16 +01:00
Sander van Grieken
5e34f01f53 qml: keep elements in place when QR code (and size) changes in ReceiveDialog 2022-12-01 10:00:26 +01:00
Sander van Grieken
ffcd533a8d qml: refactor OpenChannel to dialog, fix lifecycle/race conditions swap & openchannel 2022-11-30 15:10:35 +01:00
Sander van Grieken
56e37f74d4 qml: swapdialog styling fixes 2022-11-30 14:20:29 +01:00
Sander van Grieken
969f84913e qml: keystore icon indicator for watch-only 2022-11-30 13:56:46 +01:00
Sander van Grieken
441ffff02b qml: network overview page 2022-11-30 11:05:57 +01:00
Sander van Grieken
1f22b865c3 qml: pastebutton and qr scan will only fill textarea after validation,
more clear text for pubkey and seed for cosigners
2022-11-29 11:28:59 +01:00
Sander van Grieken
9354dfc86d qml: skip multisig_show_masterpubkey view and instead present master pub key on every
cosigner key/seed import page.
2022-11-28 17:42:29 +01:00
Sander van Grieken
b7dcc1277c qml: listen for verified callbacks in fee bumpers, tx canceller and txdetails.
TxDetails updates the page, Rbf adn Cpfp fee bump dialogs and RbfCancelDialog auto-close.
2022-11-28 15:45:06 +01:00
Sander van Grieken
31f30a9247 qml: disable drawer for now 2022-11-28 14:19:23 +01:00
Sander van Grieken
4fb010da1a qml: move balance from drawer to history listview header 2022-11-28 13:12:07 +01:00
Sander van Grieken
535754363e qml: fix imports 2022-11-25 20:53:30 +01:00
Sander van Grieken
ebb714fa1b qml: feebump button in TxDetails next to tx fee, remove RbF flag 2022-11-25 18:44:28 +01:00
Sander van Grieken
78df722419 qml: add initial logic and UI for CPFP 2022-11-25 18:43:05 +01:00
Sander van Grieken
8fbfe87e78 qml: rename QETxFeeBumper -> QETxRbfFeeBumper, BumpFeeDialog.qml -> RbfBumpFeeDialog.qml 2022-11-23 17:10:34 +01:00
Sander van Grieken
7397a0c2b4 follow-up prev 2022-11-23 17:09:53 +01:00
Sander van Grieken
990ec311d2 qml: implement cancel rbf tx 2022-11-22 13:37:46 +01:00
Sander van Grieken
9c82a94ad0 qml: add final/rbf to txdetails 2022-11-22 12:41:57 +01:00
Sander van Grieken
cccd5ff19b qml: add 'local' and 'mempool' sections to history, update section on on_tx_verified callback 2022-11-22 00:34:31 +01:00
Sander van Grieken
fbc5be54a9 qml: fix create/confirm seed_variant parameter, styling receivedetailsdialog 2022-11-21 23:05:46 +01:00
Sander van Grieken
1731c36234 qml: add lightning node id to walletdetails 2022-11-18 23:08:22 +01:00
Sander van Grieken
98e395e78e qml: show all keystores on WalletDetails page 2022-11-18 22:53:34 +01:00
Sander van Grieken
ad04ca84d8 qml: always try to generate an address for request regardless of bolt11_fallback config. 2022-11-18 18:32:43 +01:00
SomberNight
d19d82be64 follow-up prev 2022-11-18 16:53:50 +00:00
SomberNight
c38022b5fc Qt request list: Ctrl+F filter to work for addr, LN invoice, LN rhash
add new hidden columns, mainly for ability to find a request that corresponds to an address
2022-11-18 16:49:36 +00:00
Sander van Grieken
6e3bd69e80 qml: fix normal submarine swap max amount calculation, add error reporting to swap initiation 2022-11-18 13:40:20 +01:00
ThomasV
5352de6a04 Merge pull request #8072 from SomberNight/202211_2fa_qrcode
qt wizard: (fix) during 2fa wallet creation, shared QR to be drawn
2022-11-17 07:43:11 +01:00
SomberNight
95a8df69b4 qt wizard: (fix) during 2fa wallet creation, shared QR to be drawn
This was a regression from 2a31f80d09,
before which, when using the default `QRCodeWidget()` constructor,
there had been a min size set on the widget. I like that old behaviour:
reasonable size should be set by default, and if you want to set the
size manually, opt-in to that.

fixes https://github.com/spesmilo/electrum/issues/8071
2022-11-17 03:58:32 +00:00
Sander van Grieken
bc69e4f907 qml: show channelbackups in channel list,
add channelbackups support in qechanneldetails.py,
only request-fclose option in CloseChannelDialog
2022-11-16 17:37:39 +01:00
Sander van Grieken
495d8d6fae qml: add import channel backup 2022-11-16 16:50:23 +01:00
Sander van Grieken
0687785994 qml: only show channel peer node name if known, add node pubkey to ChannelCloseDialog 2022-11-16 13:40:22 +01:00