1
0
Commit Graph

15911 Commits

Author SHA1 Message Date
SomberNight
8db1c3814b qt export history: let util.filename_field decide default path
which uses:
directory = config.get('io_dir', os.path.expanduser('~'))
2023-03-17 15:47:42 +00:00
Sander van Grieken
7d2ba3cc39 qml: fix 43d6fd2aef 2023-03-17 16:46:58 +01:00
Sander van Grieken
24a3d6e10f qml: remove editmode toggle, now enabled only on amount-less invoices 2023-03-17 16:46:58 +01:00
ThomasV
c3a0f9c078 Qt swaps_dialog: do not use side effects to update tx.
Use the app timer instead, so that the tx is not recomputed
on every slider move (like in ConfirmTxDialog).

A similar modification is needed for QML. I started with
Qt in order to get a sense of how it should be done.
2023-03-17 15:07:06 +01:00
Sander van Grieken
8eca3e0aaf follow up 7c2f13a76e 2023-03-17 12:33:53 +01:00
ThomasV
7c2f13a76e follow-up fcbd25c1fd. fixes #8253 2023-03-17 12:30:58 +01:00
Sander van Grieken
0b3279820a rm log 2023-03-17 12:01:55 +01:00
Sander van Grieken
8528907a5b qml: trsutedcoin layout consistency 2023-03-17 11:51:56 +01:00
Sander van Grieken
a571451179 qml: allow pay while amount in edit mode 2023-03-17 11:51:48 +01:00
ThomasV
fcbd25c1fd qml: display network status and history server status separately. Also, show network fees on full screen width 2023-03-17 10:15:07 +01:00
ThomasV
49683d6ff1 qml: do not set oneserver based on auto_connect. 2023-03-17 09:22:35 +01:00
Sander van Grieken
0bb41a32c8 qml: fix layout issues in ShowConfirmOTP. fixes #8249 2023-03-17 00:23:50 +01:00
Sander van Grieken
3e5c692660 qml: don't log (potentially) sensitive data, closes #8124 2023-03-17 00:13:16 +01:00
ThomasV
3574c99275 qml: in the password dialogs, disable the password confirmation
line if the first entered password is too short.

Without that, a user may enter two passwords that are identical
but too short, and then click on the eye icon in order to discover
that they actuall are identical.. and only at this point guess that
the size might be the problem.

Also, raise the minimum length to 6, because that is what is was
on Kivy.

One of the password dialogs still had two eye icons; that was only
fixed in the wizard. I guess that could be avoided if both dialogs
used the same code.
2023-03-16 20:51:17 +01:00
SomberNight
ff2da7ceb9 crash reporter: hardcode gui text. do not trust the server with it
paranoia.
2023-03-16 19:48:35 +00:00
ThomasV
849d987d0d qml: fix #8247 2023-03-16 20:23:29 +01:00
ThomasV
57a4cbb984 follow-up 7a86d8d: ask proxy first 2023-03-16 20:07:58 +01:00
ThomasV
6890268b1d qml: fix display of server fee in swap dialog
The previously displayed amount was not the percentage,
but the mining fee plus the percentage.
2023-03-16 19:29:56 +01:00
SomberNight
d4d6d05d9f qml wizard: enable restore from "2fa" legacy seeds
not sure why it was disabled, there should be no meaningful distinction at that point
2023-03-16 17:40:30 +00:00
ThomasV
13a9d1e2fb Add info on how to scan channel backups 2023-03-16 17:24:07 +01:00
ThomasV
2ef60b906f Reword proxy question.
The second alternative in previous phrase can be misinterpreted as:
'Do you want to connect to the internet through an ISP?'
2023-03-16 17:12:21 +01:00
SomberNight
0a5d18634c exchange_rate: guard against garbage hist data coming from exchange
See discussion at 583089d57b (r104678577)
CoinGecko for PLN gives "None" str as rate (instead of null) for two months mid-2014:
```
  2.29 | D | exchange_rate.CoinGecko | found corrupted historical_rate: rate='None'. for ccy='PLN' at 2014-05-10
```
Thanks to @lukasz1992 for reporting.
2023-03-16 16:11:02 +00:00
ThomasV
7207f13e97 Qt: set history_rates both through settings_dialog and history_list
follow-up 503776c0de
2023-03-16 16:48:12 +01:00
SomberNight
3a7bc82881 icons: add "cloud_yes.png", and rename existing "nocloud" 2023-03-16 15:22:10 +00:00
Sander van Grieken
7a86d8dc9e qml: ask user whether to configure Tor or other proxy before presenting proxy detail config screen 2023-03-16 15:42:24 +01:00
Sander van Grieken
39eaf9d871 qml: sharing channel backup only shows QR, not the data as text 2023-03-16 15:12:51 +01:00
Sander van Grieken
d985c9eecc qml: use InfoTextArea for help text in GenericShareDialog 2023-03-16 15:10:42 +01:00
Sander van Grieken
67cb08a835 qml: slider render voids 2023-03-16 15:03:05 +01:00
Sander van Grieken
f49ef14de8 qml: SwapDialog slider styling; add zero tick and fill slider range from zero 2023-03-16 14:14:46 +01:00
ThomasV
e2867b7fe8 qml: move Pay button to the right
the default action should always be to the right side, because
right-handed people are dominating the world :-).
2023-03-16 13:02:54 +01:00
ThomasV
3334b2f731 follow-up qml slider: remove unneeded setters 2023-03-16 12:28:44 +01:00
Sander van Grieken
64dde8bc0b qml: show disconnected state in BalanceSummary 2023-03-16 12:19:38 +01:00
ThomasV
5b8fdacac9 qml: ensure that the slider neutral position is in the middle of the screen 2023-03-16 12:13:14 +01:00
Sander van Grieken
f0d44d0681 qml: expand clickable area to full toolbar height and a bit more padding for right-side menu 2023-03-16 12:09:57 +01:00
Sander van Grieken
b59a1410a2 qml: fix network histogram gradient fee range to 600-1 2023-03-16 11:57:35 +01:00
Sander van Grieken
46d5fdbc86 qml: PIN protect wallet seed display 2023-03-16 11:45:28 +01:00
Sander van Grieken
6d67f51e44 qml: show fiat state only for non-lightning wallets 2023-03-16 11:29:49 +01:00
ThomasV
c5dc133c4c qml: use daemon threads
Without this, if a user starts a lightning payment and quits the
app before the payment succeeds or fails, the app hangs indefinitely
and needs to be killed, because the future never returns.
2023-03-16 10:38:35 +01:00
Sander van Grieken
bcb06e5075 qml: set default minimum histogram if histogram empty 2023-03-16 10:25:15 +01:00
Sander van Grieken
8db2dcabe3 qml: Invoice Dialog technical details header only relevant for lightning 2023-03-16 10:11:33 +01:00
ThomasV
337d2a32d8 qml PIN: do not lock inactive app, and remove timeout
- the activity callback does not work properly on android
  (does not work on my phone). Also, it duplicates the lock
  screen function of most phones.

- if we do not lock inactive app, then the PIN feature does
  not need a timeout, and is easier to understand without it.

- in Preferences, explain what it does
2023-03-16 09:37:43 +01:00
ThomasV
09afacd51c qml: fix logical error with PIN code timeout. 2023-03-16 08:29:36 +01:00
ThomasV
43d6fd2aef qml: use get_node_alias in name_for_node_id.
(fixes crash caused by lnworker.channel_db being None with trampoline.)
2023-03-16 08:26:57 +01:00
ThomasV
4e2b7c6ab3 qml: remove requestExpiry from preferences dialog (redundant) 2023-03-16 05:51:57 +01:00
ThomasV
4872ec75ff add initial release notes for 4.4.0 2023-03-15 16:31:13 +01:00
ThomasV
91f36db8ef type checking, follow-up 206bacbcb3 2023-03-15 15:42:58 +01:00
ThomasV
3ddffb9773 follow-up 206bacbcb3 2023-03-15 15:41:08 +01:00
Sander van Grieken
c690c9c1be Revert "qml: ElDialog titlebar click moves focus, hack for android to remove onscreen keyboard"
This reverts commit f0f320b119.
2023-03-15 15:39:35 +01:00
Sander van Grieken
2881c49671 qml: move technical details to bottom of InvoiceDialog, add routing hints 2023-03-15 15:19:30 +01:00
ThomasV
206bacbcb3 move MyTreeView and related classes to own submodule 2023-03-15 14:25:42 +01:00