Commit Graph

5156 Commits

Author SHA1 Message Date
ThomasV e8a8c8c3f1 fix #7921 2022-08-08 12:40:44 +02:00
ThomasV 4fcc5a580a prepare release 4.3.0: update version.py and locale 2022-08-05 14:05:49 +02:00
SomberNight c421bdaff4 (trivial) qml/qedaemon.py: add missing import 2022-08-04 21:52:22 +02:00
SomberNight 752b37a03b dependencies: bundle older hidapi in binaries
closes https://github.com/spesmilo/electrum/issues/7738
2022-08-04 21:47:50 +02:00
SomberNight d4f76143b0 qt ReceiveTabWidget: revert prev, and add frame in a different way
This reverts commit b97d080617.
2022-08-03 22:16:24 +02:00
SomberNight b97d080617 qt ReceiveTabWidget: add frame to "help label", and rm some nesting 2022-08-03 19:39:28 +02:00
ThomasV 58b56b3039 receive_tab: use QStackedWidget instead of QTabWidget 2022-08-03 18:15:56 +02:00
poiuty 018a83078c remove ca.poiuty.com (#7913) 2022-08-03 14:03:27 +00:00
ThomasV a5965933d2 Fix CTNs in should_be_closed_due_to_expiring_htlcs (fixes #7906).
Also fix sending too many fee updates.
Rename lnworker.on_channel_update, that name was misleading.
2022-08-02 18:00:39 +02:00
ThomasV 0c8a828704 follow-up 7dcd8d8dc8
- set minimumHeight of VTabWidget (needed for small window size)
  - keep self.tabBar visible, otherwise the widget border is rendered with a gap on linux
  - apply stylesheet to both tabTar and surrounding widget
  - buttons style: align text left, NoFocus
  - on button click: setChecked always True, draw qr code at the end because it is slow
2022-07-31 11:33:26 +02:00
ThomasV 98e6bd6f80 Merge pull request #7909 from SomberNight/202207_qt_receive_tab_macos
Qt receive_tab: fix receive_tabs widget on macOS
2022-07-31 11:32:01 +02:00
ThomasV a2e059ce7a receive_tab: workaround qdarkstyle bug 2022-07-31 09:55:07 +02:00
SomberNight 7dcd8d8dc8 Qt receive_tab: fix receive_tabs widget on macOS
QTabWidget with "West" tab pos and horizontal text looks completely broken on macOS
(despite looking good on e.g. Ubuntu GNOME and Windows).

The alternative here looks ok on all three OSes.

fixes https://github.com/spesmilo/electrum/issues/7908
2022-07-30 02:16:38 +02:00
ThomasV ad9030bd15 labels plugin: handle setting a label to None 2022-07-29 09:38:15 +02:00
ThomasV cace1b5013 lnwatcher: compare txids instead of tx objects, before calling add_transaction or set_label 2022-07-29 09:22:14 +02:00
Sander van Grieken 3de498907c qml: delete_wallet and add checks for channels, balance, pending requests 2022-07-28 18:56:27 +02:00
Sander van Grieken 008805d97c qml: implement initial wallet from master key 2022-07-28 16:55:50 +02:00
Sander van Grieken e719e70761 qml: fix icon paths 2022-07-28 11:53:20 +02:00
Sander van Grieken 5008cef491 qml: optimize imports 2022-07-28 16:53:05 +02:00
ThomasV eb9d211378 text GUI: add proper stop method 2022-07-27 12:08:50 +02:00
Sander van Grieken ae1e7eea4c qml: make sure the auth_protect decorator finishes when closing Pin dialog without reject/accept 2022-07-26 20:40:27 +02:00
Sander van Grieken 6c21a0ec67 qml: create PasswordField control 2022-07-26 20:40:21 +02:00
Sander van Grieken e9a1824a77 qml: parent channel open progress dialog to main.qml as it might live longer than OpenChannel 2022-07-26 20:40:13 +02:00
Sander van Grieken 4f3dc7a2cc qml: fixes 2022-07-26 18:08:32 +02:00
Sander van Grieken 509e0fcc07 qml: initial channel open progress dialog 2022-07-26 18:03:34 +02:00
Sander van Grieken 3b9c009e43 qml: include dialogs in back button navigation 2022-07-26 18:01:25 +02:00
ThomasV 725c70bc4a text GUI: simplify show_request 2022-07-26 13:16:06 +02:00
Sander van Grieken 33bc35940f qml: move dialogs out of controls/ 2022-07-26 11:30:21 +02:00
Sander van Grieken a27218dcb7 qml: copy/share the correct data, fix UI issue when no description 2022-07-26 11:30:16 +02:00
ThomasV 43ab4a779a various updates for the text GUI 2022-07-24 14:48:21 +02:00
ThomasV a59c8797dc wallet: write to disk in create_request 2022-07-22 17:01:46 +02:00
Sander van Grieken 83cb7aea9a qml: fix 2022-07-22 16:37:42 +02:00
Sander van Grieken b7167c11cf qml: fix missing parens 2022-07-22 16:27:28 +02:00
Sander van Grieken 92b08c08e6 qml: fix issue with proxy eval 2022-07-22 16:05:39 +02:00
Sander van Grieken b858336d5e qml: some fixes for gossip mode channel open. add kangaroo icon to channeldelegate 2022-07-22 15:53:10 +02:00
Sander van Grieken 93392b8917 qml: also show proxy in networkstatusindicator and a little gimmick when a fork is detected 2022-07-22 14:08:13 +02:00
Sander van Grieken 279b5a1b48 qml: let qenetwork monitor gossip events, start/stop gossip service on config change
add simple gossip feedback on NetworkStats page
2022-07-22 14:08:06 +02:00
Sander van Grieken c90504986c qml: use custom combobox so we have more control over cropping and styling
enable lightning routing choice combobox
2022-07-22 14:08:00 +02:00
Sander van Grieken 18ee90c2b8 qml: destroy dialogs instantiated from Send on close 2022-07-22 10:14:01 +02:00
nc50lc 1383c44090 Update network.py 2022-07-22 13:01:21 +08:00
Sander van Grieken 623de58b7b qml: network status improvements
create NetworkStatusIndicator component
add forks/chaintips and lagging property to qenetwork
add synchronizing and synchronizing progress properties to qewallet
Note: new wallet synchronizing is not picked up in UI yet, missing
an is_up_to_date event at the start still..
2022-07-21 19:46:12 +02:00
SomberNight 9b48a97f65 lnutil.LnFeatures.get_names: don't return Nones for unknown features
follow-up https://github.com/spesmilo/electrum/commit/85d354bf24525b5c636ecc15b82a17567bfa431c

`'\n'.join(lnaddr.get_features().get_names())` would raise otherwise
2022-07-21 17:06:20 +02:00
Sander van Grieken c0dc1a9eaa qml: separate proxy and server controls from wizardcontainer, so we can reuse them in
network settings later
2022-07-21 16:03:14 +02:00
Sander van Grieken ccd182ec18 qml: qenetwork events don't need to be handled in qt thread
don't retrieve fee histogram from backend as it's passed in the event
2022-07-21 14:15:06 +02:00
Sander van Grieken a970c0f78a qml: add initial bolt-11/bip-21 chooser in requestdialog
implement proper placement of icon over qr code
fix urlencoding in qr imageprovider
2022-07-21 12:56:55 +02:00
ThomasV f5b1f7d2d9 Generalize ChannelDetailsDialog to channel backups.
Access funding_tx and closing_tx from the dialog,
instead of from the channels_list context menu.
2022-07-21 11:41:49 +02:00
ThomasV 3afee67ea3 kivy GUI: show better error message if we cannot channel backup import because lightning is disabled or unavailable. fixes #7899 2022-07-21 09:11:55 +02:00
ThomasV b5617ec0fd lnworker: get_channel_objects method to be used by GUI 2022-07-20 21:07:13 +02:00
ThomasV 4a27e4e51a fix #7895: rename parameter 2022-07-20 20:31:26 +02:00
ThomasV af1fb1ae9f remove_channel_backup: a channel backup might be in both lists 2022-07-20 17:00:57 +02:00