SomberNight
fb480fe5ed
follow-up prev: fix typo in comment
3 years ago
SomberNight
c9cc56b687
transaction: don't include WIT_UTXO for non-segwit txins
...
probably regression from d3227d7489
fixes https://github.com/spesmilo/electrum/issues/8305
3 years ago
ThomasV
460c198b02
qml: remove send_onchain (dead code)
3 years ago
Sander van Grieken
89003bba4a
qml: remove swapStarted, swapSuccess and swapFailed signals
...
the state property and associated stateChanged signal can be used instead
3 years ago
ThomasV
98c4c86a00
qeswaphelper: enrich user info
3 years ago
ThomasV
08c478f8d2
network: use IntEnum for connection states. Export user-visible strings in get_connection_status_for_GUI
3 years ago
Sander van Grieken
e059a3c04b
qml: apply long-press implementation also on ReceiveRequests
3 years ago
Sander van Grieken
3cab3b86b4
qml: remove SwapProgressDialog, introduce qeswaphelper.state and enable dialog elements
...
depending on qeswaphelper.state
TODO: we can now retrieve the pairs from the service asynchronously, which should eliminate
the startup delay when showing the SwapDialog
3 years ago
Sander van Grieken
f77ff2723c
qml: update userinfo
3 years ago
Sander van Grieken
79d5711003
qml: InfoTextArea add Spinner to styles
3 years ago
ThomasV
f562ad38cf
qml: add confirm dialog before disabling recoverable channels (similar to trampoline)
3 years ago
Sander van Grieken
3d75cf4223
qml: skip confirm messagedialog if pin is enabled
3 years ago
Sander van Grieken
21d1a6239f
qml: always pass wallet password to init_lightning.
...
emit also dataChanged so UI updates node pubkey
3 years ago
Sander van Grieken
5d4e6b1cd7
qml: fix setting empty password when switching to already open wallet with password
3 years ago
ThomasV
22745365ad
qeswaphelper: factorize code
3 years ago
SomberNight
2c1abf24fa
(trivial) use util.get_asyncio_loop() in some places
3 years ago
SomberNight
488dc4871e
wallet: is_up_to_date() to return False if taskgroup stopped
...
If the taskgroup died unexpectedly, this will result in the GUI
showing we are in the "synchronizing" state instead of the green orb.
Being stuck in "synchronizing" provides at least *some* feedback to
the user that something is wrong.
see https://github.com/spesmilo/electrum/issues/8301
3 years ago
ThomasV
8774e59347
exchange rate: if default unit is sat, display value of 1000 sats
3 years ago
ThomasV
8e9491e330
messageDialog: move yes to the right, no to the left.
...
According to the Google Android guidelines, "The dismissive action
of a dialog is always on the left."
source:
https://uxplanet.org/primary-secondary-action-buttons-c16df9b36150
3 years ago
Sander van Grieken
f43cd7b278
followup prev
3 years ago
Sander van Grieken
7a8e980712
qml: since qeswaphelper is tied to SwapDialog anyway, let's make it a direct child
3 years ago
Sander van Grieken
d5ce9c0994
qml: destroy qeswaphelper with SwapDialog and catch RuntimeErrors if qeswalhelper members are accessed after
3 years ago
Sander van Grieken
d6403400bc
qml: remove leftover commented code
3 years ago
Sander van Grieken
1a263b46be
qml: keep QEAmount instances in qechanneldetails,
...
use millisat amounts for local/remote capacity and can send/receive,
refactor channel capacity graphic to ChannelBar and use that as well
in ChannelDetails
3 years ago
Sander van Grieken
778d5f456a
qml: swap progress gimmick
3 years ago
Sander van Grieken
27cd7fe8a8
qml: deduplicate swap initiation, move to main.qml
3 years ago
Sander van Grieken
b0778d0281
qml: fix typo
3 years ago
Sander van Grieken
51356dff18
Revert "qml: add busy property and guards around swaphelper"
...
This reverts commit 5d350184a4 .
3 years ago
ThomasV
2e70776a72
fix missing import
3 years ago
Sander van Grieken
2773e0d8b8
qml: fix 46b25317a9
3 years ago
ThomasV
46b25317a9
qt and qml: update swap dialogs when new fees are received (see #8295 )
3 years ago
ThomasV
2203bba4ea
fix flake8 test
3 years ago
ThomasV
0544c4b651
payserver: fix #8299
3 years ago
Sander van Grieken
4d5be450d9
qml: default to system locale on android
3 years ago
Sander van Grieken
9bbc354e0e
qml: refactor txaccepted/txcancelled signals to standard accepted/rejected.
3 years ago
Sander van Grieken
a0939aad75
qml: add doAccept and doReject functions to ElDialog.
...
These functions make sure no duplicate accepted/rejected signals are emitted.
3 years ago
Sander van Grieken
75f63a4666
qml: remove yesClicked signal, use accept()/accepted signal in MessageDialog.
3 years ago
ThomasV
697bf2b1c8
Revert commit ddd778f7f7.
...
This fixes #8298 . The initial commit was good.
3 years ago
ThomasV
ddd778f7f7
follow-up previous commit
3 years ago
ThomasV
750a9b3613
network: remove network.notify() method; not really useful.
...
Not worth the added complexity.
3 years ago
SomberNight
e77b0560bf
android: fix notifications by fixing "plyer" dependency
...
upstreamed patch at https://github.com/kivy/plyer/pull/756
3 years ago
SomberNight
40cfa62c2d
android readme: update "access datadir on Android from desktop"
...
Added a section re pushing wallet to device.
It is surprisingly tricky, but using specifically the "/data/local/tmp"
folder as an intermediary, it works.
3 years ago
SomberNight
c0f8986188
qml: QEChannelOpener: accept any connection strings other GUIs accept
...
trying to paste a bare nodeid errored silently, logging:
174.76 | D | gui.qml.qechannelopener | AttributeError("'NoneType' object has no attribute '__contains__'")
3 years ago
SomberNight
36d800063f
lnutil: add docstring and more tests for extract_nodeid
3 years ago
SomberNight
72da9c1a6a
sanitise untrusted error bytes before logging it
...
full-blown paranoia kicking in
3 years ago
Sander van Grieken
2dd9b0796a
qml: right-align balance labels
3 years ago
Sander van Grieken
6cd1f553e4
qml: BalanceSummary remove height hint for fiat amount
3 years ago
Sander van Grieken
2e15899fda
followup prev
3 years ago
Sander van Grieken
f0d7983a46
qml: piechart from wallet.get_balances_for_piechart
3 years ago
Sander van Grieken
a45d2ce831
qml: highlight selected invoice, styling Invoices buttons
3 years ago