1
0
Commit Graph

15854 Commits

Author SHA1 Message Date
ThomasV
20e93af70c lightning_tx_dialog: add editable tx description 2023-03-15 10:48:03 +01:00
ThomasV
0bda808b29 Qt lists: always show item detail on double click
No longer enter edit mode for editable columns.
(that behaviour was difficult to learn, because
it is not explicit which columns are editable)
2023-03-15 10:35:44 +01:00
ThomasV
660a8ebc7f Qt: let user edit tx label from tx_dialog
This allows users to edit labels from the utxo_dialog,
without having to search for the transaction in history.

Also, remove block hash from tx dialog: not very useful, and
available through block explorers. (the situation where this
could be useful is case of a chain fork, but in that case the
tx might be mined in both branches of the fork, and we would
want to know that).
2023-03-15 09:33:11 +01:00
SomberNight
d166fa886e qt: fix paying to openalias
Probably got broken in https://github.com/spesmilo/electrum/pull/7839 ,
which got released in 4.3.0, ~7 months ago.
As no one complained, this really again raises the question of removing openalias...

related https://github.com/spesmilo/electrum/issues/6232
2023-03-14 17:21:33 +00:00
SomberNight
02a2f02d02 qml: actually do the x509 validation for bip70
as in other GUIs
2023-03-14 17:04:39 +00:00
SomberNight
e14ed717a8 qml: fix paying bip70 invoices 2023-03-14 16:32:14 +00:00
ThomasV
f770905551 follow-up d56162c588 2023-03-14 17:28:33 +01:00
ThomasV
d56162c588 follow-up 842229c 2023-03-14 17:12:38 +01:00
ThomasV
49847f3544 Merge pull request #8243 from SomberNight/202303_db_metadata
Store file creation date and version in db
2023-03-14 16:45:35 +01:00
Sander van Grieken
0799560ae4 qml: make fiat and btc states in BalanceSummary hopefully equally tall 2023-03-14 16:36:34 +01:00
SomberNight
a6c4069617 qt send_tab: allow saving bip70 payment requests
probably got disabled in or around https://github.com/spesmilo/electrum/pull/7839 by accident
2023-03-14 14:54:15 +00:00
Sander van Grieken
f0f320b119 qml: ElDialog titlebar click moves focus, hack for android to remove onscreen keyboard 2023-03-14 15:52:24 +01:00
ThomasV
1f4cedf56a Rework PaytoEdit:
- show a QLineEdit by default, a QTextEdit only if paytomany is active.
   paytomany is a rare use case, it should not interfer with regular
   use (e.g. when a user inadvertently types enter).
 - this also fixes the visual appearance if the payto line
 - keep paytomany menu in sync with actual state
2023-03-14 15:37:20 +01:00
Sander van Grieken
1b0a58a0ff qml: don't pass lightning flag from GUI when creating payment requests 2023-03-14 14:49:58 +01:00
Sander van Grieken
950d8f4885 qml: Pin dialog wider (small form factor issue) 2023-03-14 14:01:03 +01:00
Sander van Grieken
876b0ff295 qml: handle empty histogram more gracefully, set histogram limit to 10MB 2023-03-14 13:59:56 +01:00
Sander van Grieken
5feb16ad75 qml: SeedTextArea only lower case input 2023-03-14 12:46:00 +01:00
Sander van Grieken
7fc4153f46 qml: render balance bar using (local|remote) capacity instead of can_(send|receive) 2023-03-14 12:42:52 +01:00
Sander van Grieken
842229c4bb qt: fit StatusBarButton to inner height of status bar 2023-03-14 12:37:34 +01:00
Sander van Grieken
4979346881 qml: detect channel backups in send dialog 2023-03-14 10:20:42 +01:00
Sander van Grieken
c0ce0296f8 qml: show channel backups together with channels in Channels, remove Channel backups button from WalletDetails,
filter backups to bottom, add backups section header
2023-03-14 10:06:31 +01:00
SomberNight
acc1f22442 qt: MyTreeView: small clean-up for WatcherList and ContactList 2023-03-13 19:00:46 +00:00
SomberNight
1740765125 qt settings_dialog: fix trampoline_cb 2023-03-13 18:51:34 +00:00
SomberNight
9d64fe7046 qt: MyTreeView: disambiguate "parent" and "main_window" 2023-03-13 17:29:29 +00:00
Sander van Grieken
5fd7721508 qml: de-dupe broadcastFailed handler, styling InvoiceDialog amount 2023-03-13 18:22:51 +01:00
Sander van Grieken
faf0c80893 qml: enable canPay in InvoiceDialog if wallet has insufficient funds to pay via lightning
and invoice has fallback address and amount can be paid on-chain.
In WalletMainView, follow on-chain payment path if available lighting balance is
insufficient for the invoice amount
2023-03-13 18:07:37 +01:00
SomberNight
dd27c6beff qt utxo list: copy menu: separate items for short/long outpoint 2023-03-13 16:41:10 +00:00
SomberNight
08c37ab088 qt: HistoryList to also use BaseColumnsEnum 2023-03-13 16:39:13 +00:00
Sander van Grieken
8e2a5853b8 qml: don't crash on bolt11 invoice when wallet is non-lightning 2023-03-13 17:20:01 +01:00
SomberNight
d3c241db4c qt: MyTreeView: use enum.auto() in Columns enum 2023-03-13 16:12:50 +00:00
SomberNight
638c896b11 qt: MyTreeView: make item labels independent of column order 2023-03-13 15:54:52 +00:00
SomberNight
950065a3de Store file creation date and version in db
Store the electrum version used to create a wallet file and a timestamp,
in the file itself. This can be useful for debugging.
2023-03-13 15:15:50 +00:00
SomberNight
9e0d7b61bb util.format_time: trivial clean-up 2023-03-13 15:03:36 +00:00
Sander van Grieken
c29e82053f qml: use config.FEERATE_DEFAULT_RELAY as lower bound for fee histogram 2023-03-13 15:51:36 +01:00
ThomasV
2571eeeecd coins tab: add toolbar. 2023-03-13 15:35:35 +01:00
SomberNight
c39653c796 qt wallet info dlg: make mess smaller 2023-03-13 14:21:40 +00:00
ThomasV
0f1fe1b1f1 address_list: fix counter (was not displaying filtered count) 2023-03-13 14:38:21 +01:00
ThomasV
32ee70438c Address filter: remove label 2023-03-13 14:30:45 +01:00
Sander van Grieken
a7e5349a58 qml: clamp min fees in histogram to 1, server can report invalid 0 fees 2023-03-13 14:24:11 +01:00
ThomasV
b690f2e5cd qr_window: keep menu in sync with actual visibility 2023-03-13 14:23:36 +01:00
SomberNight
375ae851ec qt tx dialog: better size policy. for nicer window resizing 2023-03-13 13:14:03 +00:00
ThomasV
90b46885a9 address_dialog: set num_tx_label 2023-03-13 12:55:30 +01:00
ThomasV
2bf2d815d2 Qt: add tx and address counters 2023-03-13 12:25:55 +01:00
Sander van Grieken
0ebec200e2 qml: render fee histogram as a HSV gradient over next 25 blocks 2023-03-13 12:17:36 +01:00
ThomasV
cbab50e4ce channels_list: move swap and rebalance buttons into toolbar 2023-03-13 12:11:50 +01:00
ThomasV
303ad02d17 privacy analysis: add warning about tx downstream of address reuse 2023-03-13 11:41:36 +01:00
ThomasV
439f1e6331 settings_dialog: add confirmation dialog before disabling trampoline 2023-03-13 11:08:04 +01:00
ThomasV
e150a9ccad restructure settings_dialog, create 'Units' tab 2023-03-13 10:02:47 +01:00
ThomasV
519926ade3 move 'allow_instant_swaps' option from preferences dialog to swap_dialog toolbar 2023-03-13 09:53:08 +01:00
ThomasV
4909cebdae move recoverable channel option from preferences to new_channel_dialog toolbar 2023-03-13 09:36:02 +01:00