1
0
Commit Graph

15686 Commits

Author SHA1 Message Date
Sander van Grieken
c7cb2fb9e6 qml: explicitly use None when empty string is used as password
backend requires None, Qt5 passes empty string
2023-02-28 14:51:19 +01:00
Sander van Grieken
7e84aed9c2 qml: log and reraise any exceptions in the constructor of QEAbstractInvoiceListModel, so we
at least see the root cause of the confusing AttributeError: 'QEWallet' object has no attribute 'requestModel'
2023-02-28 14:32:26 +01:00
Sander van Grieken
a88c2ced25 qml: qerequestdetails check lnworker before deref 2023-02-28 14:15:37 +01:00
Sander van Grieken
d59e687cdb qml: follow-up fe540200a9 2023-02-28 14:11:52 +01:00
Sander van Grieken
fe540200a9 qml: report wallet open problems when walletdb cannot open a wallet (WalletFileException) 2023-02-28 14:04:20 +01:00
Sander van Grieken
0928c0190a qml: fix toaster quirkyness 2023-02-28 11:58:15 +01:00
ThomasV
da402973cd follow-up 72fb43f950 2023-02-28 09:34:03 +01:00
ThomasV
cb8cc76e1f requests list: remove hidden column LN_INVOICE 2023-02-27 21:40:43 +01:00
Sander van Grieken
68a3364c33 qml: clear deferred intent after processing 2023-02-27 14:42:26 +01:00
Sander van Grieken
8faf8f4a31 wine: add --allow-downgrades to second apt-get command 2023-02-27 12:45:44 +01:00
Sander van Grieken
6a6982cdae qml: defer intent handling at startup, otherwise it gets lost as the app is not handling the signal yet.
Also defer intent handling until a wallet is opened.
2023-02-27 12:20:51 +01:00
Sander van Grieken
65abb90049 build: update build container base image versions, update apt sources to current 2023-02-27 11:16:04 +01:00
Sander van Grieken
40a2591351 qml: wording/styling NetworkOverview 2023-02-27 11:07:00 +01:00
Sander van Grieken
5426411f99 android: include p4a cherry-pick 70fa6ddd040dc14f3cb28ebc2cfc5779c5cc5342,
avoid sh>=2
2023-02-27 10:57:12 +01:00
Sander van Grieken
2b216ef6b9 qml: avoid stacking ReceiveRequests pages 2023-02-25 13:44:49 +01:00
Sander van Grieken
4cb3d411ea qml: override finish button text in ServerConnectWizard 2023-02-24 22:11:20 +01:00
Sander van Grieken
d85ee1b639 qml: move max ln receive to ReceiveDetailsDialog, always show invoice fields on ReceiveDialog 2023-02-24 22:09:44 +01:00
Sander van Grieken
adf23f602d qml: don't show option Never for expiry combobox when in preferences 2023-02-24 20:24:51 +01:00
Sander van Grieken
f12fe4af4d qml: add option to open ReceiveDialog with existing request key 2023-02-24 14:47:28 +01:00
Sander van Grieken
3a90f35888 qml: reintroduce receive requests list page 2023-02-24 12:11:54 +01:00
Sander van Grieken
5ee91594d3 qml: replace Enter manually option in SendDialog with Invoices, which is removed from main menu 2023-02-24 11:15:12 +01:00
ThomasV
72fb43f950 lnworker: do not assume MPP in num_sats_can_receive 2023-02-25 12:23:34 +01:00
ThomasV
e72b76707a Merge pull request #8204 from spesmilo/privacy_analysis
Privacy analysis
2023-02-25 12:00:17 +01:00
ThomasV
e4273e5ab9 utxo privacy analysis:
- add a new event, 'adb_removed_tx'
 - new wallet method: get_tx_parents
 - number of parents is shown in coins tab
 - detailed list of parents is shown in dialog
2023-02-25 11:46:47 +01:00
ThomasV
77fe2e6421 Qt tx dialog: rename Save and Export actions 2023-02-25 11:07:23 +01:00
Sander van Grieken
7fe5282f7c qml: hamburger styling/menu position 2023-02-23 21:49:23 +01:00
Sander van Grieken
e589d859ae qml: reset position in history to top when loading another wallet 2023-02-23 21:27:19 +01:00
Sander van Grieken
9d425b5b23 qml: move remaining buttons to bottom of dialogs 2023-02-23 21:22:44 +01:00
Sander van Grieken
32d00b2982 qml: wallet loading indicator as modal dialog, unclosable 2023-02-23 20:46:56 +01:00
Sander van Grieken
e511701c74 qml: ElDialog assure close behavior is consistent with allowClose property 2023-02-23 20:44:25 +01:00
Sander van Grieken
278486602b qml: add loader overlay, avoid interacting with the to-be-unloaded wallet 2023-02-23 18:20:29 +01:00
Sander van Grieken
a56c9687c8 qml: initial async wallet load 2023-02-23 14:39:55 +01:00
SomberNight
0af7f68dd8 qt tx dialog: fix "preview" for unsigned pre-segwit tx
```
629.08 | E | gui.qt.exception_window.Exception_Hook | exception caught by crash reporter
Traceback (most recent call last):
  File ".../electrum/electrum/gui/qt/invoice_list.py", line 170, in <lambda>
    menu.addAction(_("Pay") + "...", lambda: self.send_tab.do_pay_invoice(invoice))
  File ".../electrum/electrum/gui/qt/send_tab.py", line 573, in do_pay_invoice
    self.pay_onchain_dialog(self.window.get_coins(), invoice.outputs)
  File ".../electrum/electrum/gui/qt/send_tab.py", line 251, in pay_onchain_dialog
    self.window.show_transaction(tx)
  File ".../electrum/electrum/gui/qt/main_window.py", line 1074, in show_transaction
    show_transaction(tx, parent=self, desc=tx_desc)
  File ".../electrum/electrum/gui/qt/transaction_dialog.py", line 351, in show_transaction
    d = TxDialog(tx, parent=parent, desc=desc, prompt_if_unsaved=prompt_if_unsaved)
  File ".../electrum/electrum/gui/qt/transaction_dialog.py", line 450, in __init__
    self.set_title()
  File ".../electrum/electrum/gui/qt/transaction_dialog.py", line 858, in set_title
    self.setWindowTitle(_("Transaction") + ' ' + self.tx.txid())
TypeError: can only concatenate str (not "NoneType") to str
```
2023-02-22 14:05:27 +00:00
SomberNight
2242a506a9 ledger: fix sign_transaction for Ypub / sh(wsh(multi())) wallets
regression from https://github.com/spesmilo/electrum/pull/8041
2023-02-22 14:02:24 +00:00
ThomasV
4e9ddf6ddd cosignerpool: minor fix, follow-up new GUI flow 2023-02-21 13:15:06 +01:00
SomberNight
7aa1609718 tests: disable asyncio debug mode
see https://bugs.python.org/issue38608
2023-02-20 16:53:47 +00:00
SomberNight
d4338fb503 tests: clean-up use of asyncio 2023-02-20 16:53:44 +00:00
SomberNight
3ebf1e44bf tox.ini: allow running tox from local dev env
Some folders e.g. contrib/*/fresh_clone should not be searched.
2023-02-20 16:53:28 +00:00
SomberNight
dcd158dfdc tox.ini: (trivial) reformat tabs->spaces 2023-02-20 16:53:24 +00:00
SomberNight
f5eabaff55 ci: also run unit tests with PYTHONASYNCIODEBUG=1
This can reveal additional asyncio-related bugs,
and due to also enabling the full "debug mode", maybe more.
2023-02-20 16:53:18 +00:00
ThomasV
9a5496cfd8 Qt: remove redundant history_list update 2023-02-20 10:06:26 +01:00
SomberNight
9ad2c9138d tests: rm SequentialTestCase to further simplify inheritance 2023-02-18 11:29:58 +00:00
SomberNight
c5bdd5007c tests: rework testnet
Inheritance was overkill here, and now we can use inheritance for new functionality X
without having to create classes for all combinations of {X, is_testnet}.
2023-02-18 11:29:54 +00:00
SomberNight
72e1be6f5e swaps: rm support for p2wsh-p2sh lockup scripts
- unused
- the client was already refusing to fund such lockup addresses (if the server asked)
- no existing unit tests for it, and as the choice is up to the server, it is hard to create tests
- no clear reason to want to use p2sh-nested scripts here, aside from curiosity
2023-02-17 14:10:03 +00:00
SomberNight
8a4c06b692 swaps: small refactor and add unit tests for claim tx 2023-02-17 14:04:03 +00:00
SomberNight
373db76ac9 util: kill bh2u
no longer useful, and the name is so confusing...
2023-02-17 11:43:11 +00:00
SomberNight
1ce37c8bb1 transaction: rm hardcoded sighash magic numbers 2023-02-17 11:40:12 +00:00
SomberNight
1c53035b93 ecc.py: add/fix some type hints 2023-02-17 11:38:01 +00:00
SomberNight
845f4aee4d transaction.py: move Tx.serialize_input -> TxInput.serialize_to_network 2023-02-17 11:37:22 +00:00
Sander van Grieken
15d73daf8d qml: fix lifecycle issues with swap helper.
previously tied to Channels view, now dynamically created and parented to app
2023-02-16 13:24:23 +01:00