Sander van Grieken
2adf034771
use apply() function on every wizard page, making sure wizard_data is always available
to wizard navigation evaluation
2 years ago
Sander van Grieken
fac4003354
qml: fix wizard_data not available to 'last' check on have seed wizard page
also refactor seed verification, split off seed_variant from seed_type (partial disambiguation),
fix bip39 wallet creation
2 years ago
Sander van Grieken
0a9c100382
force subclassing of self.last_if_single_password in NewWalletWizard
2 years ago
SomberNight
32ce64faa5
merchant www: allow symlinks for vendored libs
debian packager would like to replace vendored libs with system provided ones
(using symlinks). This requires "follow_symlinks=True".
discussion of security implications: https://serverfault.com/q/244592
to minimise attack surface, we only set this option for the "vendor/" directory.
related: https://github.com/spesmilo/electrum/issues/8023
2 years ago
accumulator
6e536d2d91
add invoice status to invoice_status callback ( #8020 )
* add invoice status to invoice_status callback
* debug statement fails tests
* removed commented lines, added progress/attempt counter comment in lnworker.pay_to_node,
and update the invoice_status event handler in qeinvoicelistmodel.py
2 years ago
Sander van Grieken
d65ee17100
qml: ui confirm tx dialog
2 years ago
Sander van Grieken
cf005a0f2a
qml: ui close channel dialog
2 years ago
Sander van Grieken
daffa1a731
qml: ui swapdialog
2 years ago
Sander van Grieken
6ca733a12f
move /gui/wizard.py to /wizard.py
2 years ago
Sander van Grieken
28b5103d93
remove qml_test plugin, remove plugin settings test
2 years ago
Sander van Grieken
c6496d02ef
add recovery paths (disable and confirm/reset OTP) for 2FA
2 years ago
Sander van Grieken
15e2ed4f58
rewrite server connect wizard to new wizard style
'last' property on WizardComponents is now queried from UI, not from the wizard.
This allows the content of the WizardComponent itself to be taken into account.
2 years ago
Sander van Grieken
6ea3a16cc8
add wallet type imported addresses/private keys to wizard
2 years ago
Sander van Grieken
255f508574
remove unused, add type checking imports
2 years ago
Sander van Grieken
acb88f21c1
implement success and failure paths, keep dialog over multiple tries
2 years ago
Sander van Grieken
20c95b26ea
wip otp on pay
2 years ago
Sander van Grieken
e579f5b8a5
properly remember wallet password and pass to tx signing call
2 years ago
Sander van Grieken
e0a3efe5b5
move wallet creation from wizard to ui agnostic NewWalletWizard
2 years ago
Sander van Grieken
43bac2edff
qml: use new wizard approach in qml and also implement 2FA/trustedcoin
2 years ago
Sander van Grieken
a4195267ff
new wizard approach
2 years ago
Sander van Grieken
b37262f232
qml: proper check for max amount onchain. move max amount lightning to superclass
2 years ago
Sander van Grieken
a1fac70ebc
qml: fix bug with lingering info text from previous shown invoice
2 years ago
SomberNight
2089f06ffa
add .gitattributes file for end-of-line normalisation
This should prevent accidentally committing files with CRLF line endings to the repo.
related: https://github.com/spesmilo/electrum/issues/8025
see https://git-scm.com/docs/gitattributes#_end_of_line_conversion :
> If you want to ensure that text files that any contributor introduces to the repository have their line endings normalized, you can set the text attribute to "auto" for all files.
> ```
> * text=auto
> ```
>
> From a clean working directory:
> $ echo "* text=auto" >.gitattributes
> $ git add --renormalize .
> $ git status # Show files that will be normalized
> $ git commit -m "Introduce end-of-line normalization"
-----
I have tried to find some large cross-platform projects that use git for EOL normalisation.
Notably the golang/go project recommends against it, but the others have it in some form:
4ec9ed8fde/.gitattributes
160bb0e66b/.gitattributes
7fda097623/.gitattributes
103a5c98b8/.gitattributes
0990046d8d/.gitattributes
1c2dc79f51/.gitattributes
0d65a985b9/.gitattributes
d3bafb8b6e/.gitattributes
2 years ago
sorenstoutner
f995a5001d
Fix CRLF issues. ( #8026 )
2 years ago
Sander van Grieken
65250e69d8
qml: add max amount option in invoice dialog and show in invoice delegate
2 years ago
SomberNight
c5d17183f7
qt BTCAmountEdit: clamp field to <=21 million bitcoins
fixes https://github.com/spesmilo/electrum/issues/5223
2 years ago
SomberNight
1f5ab5cb8d
qt AmountEdit: small refactor
2 years ago
SomberNight
eb00012c95
invoices: fix is_paid for zero-amount onchain pay reqs
fixes https://github.com/spesmilo/electrum/issues/8022
2 years ago
SomberNight
60769e4769
be more robust to "electrum/www" missing
2 years ago
SomberNight
0fc90e07c9
update "www" submodule: adapt payserver js to electrum 4.3 invoice api
2 years ago
Sander van Grieken
3590385fa2
Revert "only create lightning invoice if the wallet has channels in a suitable state"
This reverts commit 717b6dd5fb
.
2 years ago
Sander van Grieken
c7cdd42665
qml: ui
2 years ago
Sander van Grieken
717b6dd5fb
only create lightning invoice if the wallet has channels in a suitable state
2 years ago
Sander van Grieken
bb3f3991e8
qml: detect request paid status on receive dialog
2 years ago
Sander van Grieken
49037ecc85
qml: handle bitcoin: and lightning: uri intents
2 years ago
Sander van Grieken
3a8cfcd5b8
qml: add total balance, fix initialization of create recoverable channels setting
2 years ago
Sander van Grieken
80f2bf7c09
qml: incoming flag not always correct for determining debit/credit. Use 'value' instead
2 years ago
Sander van Grieken
26534094db
qml: invoicemodel and requestmodel update invoice status via event listener
2 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
2 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
2 years ago
Sander van Grieken
922fa1adbc
ci: add QML Android CI builds for arm64 and arm32 architectures
conservatively only builds on tagged commits, or any commit on the ci-qml-beta branch
2 years ago
Sander van Grieken
5042d9971c
qml: update history when LN payment arrives
2 years ago
SomberNight
4b8790c919
qt 2fa: show different status-bar icon for "2fa disabled" wallet
related: https://github.com/spesmilo/electrum/issues/8018
2 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
2 years ago
SomberNight
6d01dbcc5c
android build: "req..-build-android.txt" to only use source pkgs
2 years ago
SomberNight
a99c8cca1e
requirements-build-android: update deps for buildozer
virtualenv does not seem to be needed given python3-venv
upstream ref: https://github.com/kivy/buildozer/pull/1515
2 years ago
SomberNight
bba1bce833
requirements-build-android: update deps for python-for-android
`six` no longer required:
1f62452375
`pep517` version bound was relaxed:
25f3a534d8
2 years ago
ghost43
7d4538ce22
Merge pull request #7999 from SomberNight/202208_build_tighten2
build: tighten build system to only use source pkgs in more places
2 years ago
SomberNight
c6246a7e1c
rerun freeze_packages
2 years ago
SomberNight
5f83538f05
requirements: pin protobuf "<4" also in "req..-hw.txt"
related:
52b73880f9
https://github.com/spesmilo/electrum/issues/7922
2 years ago