Sander van Grieken
7cb8c347b5
Add @auth_protect decorator.
...
This guards function calls by storing the function, args and kwargs into
an added attribute '__auth_fcall' on the object using the decorator,
then emits a signal that can be handled by the UI.
The UI can signal auth-success or auth-failure back to the object by
calling either the authProceed() slot or the authCancel slot.
The object utilizing this decorator MUST inherit/mixin the AuthMixin
class, which provides the above two slots, and handling of state.
The decorator also accepts a 'reject' parameter, containing the name of
a parameterless function on the object, which is called when
authentication has failed/is cancelled.
4 years ago
Sander van Grieken
0b8de89e66
add hamburger menu to Wallets page
4 years ago
Sander van Grieken
f8dd411148
styling
4 years ago
Sander van Grieken
4e98022686
fix some issues with QEAmount use
...
- always cast amount_sat and amount_msat to int within QEAmount to avoid conversion issues
on the Qt/python boundary
- lightningBalance/lightningCanSend/lightningCanReceive were returning a floating QEAMount instance, leading to a crash
4 years ago
Sander van Grieken
b3920f0408
add frozen balance to balancesummary
4 years ago
Sander van Grieken
5889c92e81
improve network status display and states of items when no wallet loaded
4 years ago
Sander van Grieken
d3e88064d0
Use screen size as upper bound for qr code size
...
also fix some typing issues
4 years ago
Sander van Grieken
486ef414af
implement enable lightning button
4 years ago
Sander van Grieken
098b384348
enable generating lightning request.
...
currently very simple heuristics: if requested amount < lightningCanReceive
then create a lightning request, else onchain
4 years ago
Sander van Grieken
e340f3fe9f
make QR always fit within 400px
4 years ago
Sander van Grieken
8819a7189c
try tabbar at bottom
4 years ago
Sander van Grieken
1d5a273629
add address to InvoiceDialog for OnchainInvoice type
4 years ago
Sander van Grieken
02ccd46fd5
add numtx and address history model to addres details
4 years ago
Sander van Grieken
8f8a1fc8cf
wip
4 years ago
Sander van Grieken
f6a46f3900
initial create invoice from user input
4 years ago
Sander van Grieken
d7c8a1592e
the invoice/request key issue is annoying
4 years ago
Sander van Grieken
3fd33169f5
frontend improvements, refactor qeinvoicelistmodel
4 years ago
Sander van Grieken
3046c0bbae
rename ConfirmInvoiceDialog to InvoiceDialog and style buttons like RequestDialog
4 years ago
Sander van Grieken
6a9df9b665
fix one init_model call on a potentially undefined _addressModel
4 years ago
Sander van Grieken
c3db1e5cc1
add can send/can receive (totals and per-channel), fiat, channel ratio indicator
4 years ago
Sander van Grieken
7ef52c6625
listmodels self-initialize,
...
lazy-load listmodels in QEWallet,
process channel updates in qechannellistmodel
4 years ago
Sander van Grieken
3c1926c3c2
some fixes, add lightning balance to BalanceSummary
4 years ago
Sander van Grieken
d69ed7a204
initial channel list model and delegate
4 years ago
Sander van Grieken
dc69391204
initial working channel open flow
4 years ago
Sander van Grieken
81b1f774e2
expose more trampoline boilerplate
...
allow delegation of make_tx and accept/send
4 years ago
Sander van Grieken
8807a428ed
rename ConfirmPaymentDialog to ConfirmTxDialog
...
generalize/parameterize some labels
and inject TxFinalizer instead of encapsulate
4 years ago
Sander van Grieken
c55aa7bb48
wip lightning
4 years ago
Sander van Grieken
69eb0f3f47
also move new-quotes event to FiatField
4 years ago
Sander van Grieken
e84bc4561f
bold font wasn't loaded when regular font loading was succesful
...
some styling fixes
4 years ago
Sander van Grieken
5e92624f33
refactor btc <-> fiat amount behaviour into separate controls
4 years ago
Sander van Grieken
532d19979d
expose additional wallet properties
...
(lightning enabled, balance, masterpubkey)
and a few smaller improvements
4 years ago
Sander van Grieken
98c03ec991
about page
4 years ago
Sander van Grieken
bbc1f4dba8
enable android share option
4 years ago
Sander van Grieken
a6e72ae42f
add initial Transaction Details page and backing qobject
4 years ago
Sander van Grieken
e78a239bf5
bugfixes, lifecycle improvements
4 years ago
Sander van Grieken
a584c06eb2
more rebase fixes, add invoice delete
4 years ago
Sander van Grieken
e1f53c4ea0
QEDaemon uses internal QEWalletDB for wallet open pre-checks
...
various other fixes
4 years ago
Sander van Grieken
52c1ed10dc
add section dependent datetime formatting
4 years ago
Sander van Grieken
4cc3acabb3
colors in history
4 years ago
Sander van Grieken
b188b48e2f
after-rebase fixes
4 years ago
Sander van Grieken
00430d674e
font sizes, accent colors
4 years ago
Sander van Grieken
81435f431c
use rbf flag, show tx outputs, actually send tx in confirmpaymentdialog
4 years ago
Sander van Grieken
7cd0d752a2
fiat and balance amount fixes
4 years ago
Sander van Grieken
15dec47516
compat with android/python3.8
4 years ago
Sander van Grieken
bb2b1738b7
add initial address detail page
4 years ago
Sander van Grieken
ef91969fba
support update of address in addresslistmodel
4 years ago
Sander van Grieken
2b691c9216
small fixes
4 years ago
Sander van Grieken
300e5e2168
add fiat to balance summary
4 years ago
Sander van Grieken
bf072b037c
hook up invoice confirm to payment flow (onchain only)
...
fix some leftover QEAmount issues
4 years ago
Sander van Grieken
0dce872d37
add invoice status
4 years ago