Sander van Grieken
e579f5b8a5
properly remember wallet password and pass to tx signing call
3 years ago
Sander van Grieken
e0a3efe5b5
move wallet creation from wizard to ui agnostic NewWalletWizard
3 years ago
Sander van Grieken
43bac2edff
qml: use new wizard approach in qml and also implement 2FA/trustedcoin
3 years ago
Sander van Grieken
a4195267ff
new wizard approach
3 years ago
Sander van Grieken
b37262f232
qml: proper check for max amount onchain. move max amount lightning to superclass
3 years ago
Sander van Grieken
a1fac70ebc
qml: fix bug with lingering info text from previous shown invoice
3 years ago
sorenstoutner
f995a5001d
Fix CRLF issues. ( #8026 )
3 years ago
Sander van Grieken
65250e69d8
qml: add max amount option in invoice dialog and show in invoice delegate
3 years ago
SomberNight
c5d17183f7
qt BTCAmountEdit: clamp field to <=21 million bitcoins
...
fixes https://github.com/spesmilo/electrum/issues/5223
3 years ago
SomberNight
1f5ab5cb8d
qt AmountEdit: small refactor
3 years ago
Sander van Grieken
c7cdd42665
qml: ui
3 years ago
Sander van Grieken
bb3f3991e8
qml: detect request paid status on receive dialog
3 years ago
Sander van Grieken
49037ecc85
qml: handle bitcoin: and lightning: uri intents
3 years ago
Sander van Grieken
3a8cfcd5b8
qml: add total balance, fix initialization of create recoverable channels setting
3 years ago
Sander van Grieken
80f2bf7c09
qml: incoming flag not always correct for determining debit/credit. Use 'value' instead
3 years ago
Sander van Grieken
26534094db
qml: invoicemodel and requestmodel update invoice status via event listener
3 years ago
Sander van Grieken
0c163a5322
qml: don't duplicate invoice (e.g. when scanned twice)
...
also add invoice to invoiceModel from python, not qml
3 years ago
Sander van Grieken
f64d344dcd
qml: Remove key exist check in lnworker.payment_info
...
We don't use its result, and I've seen one occasion where a payment exists in history, but not in payment_info dict
3 years ago
Sander van Grieken
5042d9971c
qml: update history when LN payment arrives
3 years ago
SomberNight
4b8790c919
qt 2fa: show different status-bar icon for "2fa disabled" wallet
...
related: https://github.com/spesmilo/electrum/issues/8018
3 years ago
SomberNight
f2e3d11014
qt gui __init__: rm deprecated QApplication attr AA_X11InitThreads
...
From https://doc.qt.io/qt-5/qt.html :
> The following values are deprecated or obsolete:
> Constant Value Description
> Qt::AA_X11InitThreads 10 This value is obsolete and has no effect.
We started setting this attribute back when using Qt4,
as a workaround for some threading issues: https://github.com/spesmilo/electrum/pull/2820
However,
- in Qt5 it no longer has any effect,
- the original threading issues were fixed
in https://github.com/spesmilo/electrum/pull/3326 and https://github.com/spesmilo/electrum/pull/3330
3 years ago
SomberNight
174cbde762
kivy: window.request_focus_for_main_view: fix compat with newer pyjnius
...
```
Traceback (most recent call last):
File "kivy/_clock.pyx", line 645, in kivy._clock.CyClockBase._process_events
File "kivy/_clock.pyx", line 218, in kivy._clock.ClockEvent.tick
File "/home/user/wspace/electrum/.buildozer_kivy/android/app/electrum/gui/kivy/uix/dialogs/password_dialog.py", line 227, in <lambda>
File "/home/user/wspace/electrum/.buildozer_kivy/android/app/electrum/gui/kivy/uix/dialogs/password_dialog.py", line 333, in <lambda>
File "/home/user/wspace/electrum/.buildozer_kivy/android/app/electrum/gui/kivy/main_window.py", line 721, in on_open_wallet
File "/home/user/wspace/electrum/.buildozer_kivy/android/app/electrum/gui/kivy/main_window.py", line 687, in on_wizard_success
File "/home/user/wspace/electrum/.buildozer_kivy/android/app/electrum/util.py", line 445, in <lambda>
File "/home/user/wspace/electrum/.buildozer_kivy/android/app/electrum/util.py", line 441, in do_profile
File "/home/user/wspace/electrum/.buildozer_kivy/android/app/electrum/gui/kivy/main_window.py", line 940, in load_wallet
File "/home/user/wspace/electrum/.buildozer_kivy/android/app/electrum/gui/kivy/main_window.py", line 950, in request_focus_for_main_view
File "jnius/jnius_export_class.pxi", line 844, in jnius.jnius.JavaMethod.__call__
jnius.jnius.JavaException: Cannot call instance method b'requestFocusForMainView' on class b'org/kivy/android/PythonActivity'
```
3 years ago
SomberNight
34b594ea40
android: add setting to enable debug logs
...
If enabled, we log to stderr, which can get inspected via logcat.
Not user-friendly at all - but previously there was no way to get logs from a release build.
closes https://github.com/spesmilo/electrum/issues/7409
3 years ago
Sander van Grieken
685f32750c
qml: ui
3 years ago
Sander van Grieken
488600788e
qml: open invoices list after saving invoice, add invoice to model instead of reloading the whole list
3 years ago
Sander van Grieken
090706bfd6
qml: fix crashes on tx finalizing
3 years ago
Sander van Grieken
2118eb57bd
qml: follow-up de83a10c20
3 years ago
Sander van Grieken
de83a10c20
qml: restore Save button in InvoiceDialog, restore invoice list view, now from menu
3 years ago
Sander van Grieken
6dab3de1f2
qml: start new wallet wizard if no wallets exist, create/open button opens wizard if no wallets exist
3 years ago
Sander van Grieken
8184093a34
qml: start new wallet wizard immediately after network wizard on initial start
3 years ago
Sander van Grieken
dff435a745
qml: expose use_recoverable_channels in config/preferences
3 years ago
Sander van Grieken
e5951bbd2d
qml: expose RbF in config/preferences
3 years ago
Sander van Grieken
98c747ea6e
qml: use -w command line parameter to open wallet, if specified
3 years ago
Sander van Grieken
f9156912a3
qml: move balancesummary to controls/
3 years ago
Sander van Grieken
b4d13ffb41
qml: show balance summary on top
3 years ago
Sander van Grieken
54b69348f4
qml: scroll-drag in history, fix a few more assumptions w.r.t positioning of listview and size of indicator
3 years ago
Sander van Grieken
ce068eb8fc
qml: no need for an active wallet to access server/proxy settings
3 years ago
Sander van Grieken
5a64d62b24
qml: lnurl comment only when allowed by server
3 years ago
Sander van Grieken
8538bfe49b
qml: add lnurl-pay comment feature
3 years ago
Sander van Grieken
68b630a2e9
qml: unify dialog headers
3 years ago
Sander van Grieken
fd791f4fb1
qml: make request types clickable, some fixes
3 years ago
Sander van Grieken
ae15c0527b
qml: expose bolt11_fallback in preferences
3 years ago
Sander van Grieken
95b2f6fd63
qml: use Lightning, URI and Address for type names in ReceiveDialog
3 years ago
Sander van Grieken
8437e13666
add initial lnurl-pay
3 years ago
Sander van Grieken
2778a1bc20
fix dialog stack handling when closing from outside
3 years ago
Sander van Grieken
d65a7e7efc
change address-only handling: create amount=0 onchain invoice
...
invoicedialog auto enables edit mode when amount is 0
3 years ago
Sander van Grieken
fb68931a8d
allow zero amount invoices, add edit amount option for invoices
3 years ago
Sander van Grieken
5f9068d7b0
add default request expiry to preferences/config
3 years ago
Sander van Grieken
dd58328534
ui, fix payment failed
3 years ago
Sander van Grieken
d50d83e186
icons, buttons, receivedialog lifecycle
3 years ago