Ben Arc
96082978d1
Merge remote-tracking branch 'origin/master' into watchonly
2021-04-04 13:35:42 +01:00
fiatjaf
946279674a
stop bloating the logs with checking routine.
2021-03-31 20:24:46 -03:00
fiatjaf
11679a4fa7
actually do the fee abs() thing on the balances view.
2021-03-31 20:22:34 -03:00
Ben Arc
045e069312
All fees are negative
2021-04-01 00:02:24 +01:00
Ben Arc
0db516b6e0
watchonly working, satspay broken
2021-03-31 23:49:36 +01:00
fiatjaf
08d124c62a
nicer print checking status.
2021-03-28 01:34:37 -03:00
fiatjaf
e112258c39
improve checking routine.
...
check pending invoices only once on startup,
then check outgoing payments every 30 minutes,
and delete outgoing payments that return False (meaning they have failed).
also fix a bug on sparko.
2021-03-28 00:11:45 -03:00
fiatjaf
574358a118
fix: lnurlpay comment was being parsed as number.
2021-03-26 21:10:15 -03:00
fiatjaf
85011d23c3
fix sqlite database locked issues by using an async lock on the database and requiring explicit transaction control (or each command will be its own transaction).
2021-03-26 19:10:30 -03:00
fiatjaf
a787d60d93
be extra safe when failing a payment if pay_invoice throws on sparko.
2021-03-24 02:02:54 -03:00
fiatjaf
aabe3364f4
only check pending from the last 15 days.
2021-03-24 01:41:19 -03:00
fiatjaf
d4d069fc77
make all methods from all wallets async.
2021-03-24 01:01:09 -03:00
fiatjaf
42bd5ea989
remove exception to black line-length and reformat.
2021-03-24 00:40:32 -03:00
fiatjaf
7e4a42e7ff
stop doing the check_invoices thing on each call. do it once on lnbits starup and then rely on the invoices listener.
2021-03-21 17:57:33 -03:00
fiatjaf
f27c2ebc21
marginally improve the checkpending situation.
2021-03-21 17:11:00 -03:00
fiatjaf
8df4dd702d
Merge pull request #154 from lnbits/offlineshop
2021-03-14 21:55:52 -03:00
fiatjaf
1630a28da0
prettier and black stuff.
2021-03-07 19:18:02 -03:00
fiatjaf
63ae553565
QR codes, printing, success-action and other fixes.
2021-03-07 16:13:20 -03:00
fiatjaf
732d06c1e5
basic offlineshop functionality.
2021-03-07 00:08:36 -03:00
fiatjaf
ec193ca697
put export-with-qr-code on a toggleable section.
2021-02-13 21:45:22 -03:00
fiatjaf
ea51af90d0
remove "Renew Keys" button.
...
it wasn't doing anything.
closes https://github.com/lnbits/lnbits/issues/147
2021-02-13 21:45:22 -03:00
Pac
378e408dca
Update wallet.html
2021-02-13 21:45:22 -03:00
Pac
e251291076
Display QRcode for easy wallet export
...
This adds a QRcode of the "url_root/wallet?usr=#####&wal=####" so that
the user can create a wallet on desktop and easily use it on his phone.
Also, in a use case where the <User Manager> extension is used, the
manager can create a wallet and show the QRcode for the user to take it
(e.g. in a hotel front desk the clerk creates it and the user takes it
in his phone browser, to pay for laundry, massage, soda machine...)
2021-02-13 21:45:22 -03:00
fiatjaf
9c126696fc
delete pending payments after WALLET.pay_invoice fails.
...
fixes https://github.com/lnbits/lnbits/issues/138
2021-01-05 22:29:02 -03:00
fiatjaf
45148d285e
Revert "Fixed fee deduction "
...
This reverts commit 14b6e21a02
.
2021-01-05 19:49:27 -03:00
Arc
e96c92e6df
Merge pull request #135 from grmkris/extensions/subdomains
...
subdomains extension
2021-01-05 22:35:06 +00:00
benarc
14b6e21a02
Fixed fee deduction
2021-01-05 21:54:58 +00:00
Kristjan
c082c953f3
black formatting
2020-12-31 18:50:16 +01:00
fiatjaf
1c922a5ddc
finish webhooks for normal invoices with two extra columns.
2020-12-24 09:39:46 -03:00
fiatjaf
4623220316
specify webhooks from invoice creation and call them.
2020-12-24 09:39:46 -03:00
fiatjaf
d84915cb00
oops: formatting.
2020-11-21 23:23:11 -03:00
fiatjaf
d3fc52cd49
migrate to sqlalchemy-aio.
...
a big refactor that:
- fixes some issues that might have happened (or not) with asynchronous
reactions to payments;
- paves the way to https://github.com/lnbits/lnbits/issues/121 ;
- uses more async/await notation which just looks nice; and
- makes it simple(r?) for one extension to modify stuff from other extensions.
2020-11-21 23:02:14 -03:00
fiatjaf
594e28eab7
formatting.
2020-11-18 22:26:30 -03:00
fiatjaf
a198842f50
wallet name on <title>
2020-11-12 15:32:41 -03:00
fiatjaf
54881d777e
lnurl-auth: show wallet name on modal.
2020-11-11 22:43:01 -03:00
fiatjaf
b7e337b0ee
lnurl-auth: show the correct wallet linking_key on modal.
2020-11-11 22:42:40 -03:00
fiatjaf
b794f8302d
lnurl-auth: hashing_key -> linking_key.
2020-11-11 22:37:55 -03:00
fiatjaf
805000cd06
fix ecdsa signing because these libraries are too naïve.
2020-11-11 02:41:41 -03:00
fiatjaf
bb94dc6526
fix perform_lnurl error handling.
2020-11-11 02:40:41 -03:00
fiatjaf
d4e30356c7
fix: return "message" instead of "error" so it is handled better at the client.
2020-11-10 22:59:50 -03:00
fiatjaf
eaec3480e6
lnurl-auth from lnbits wallets to services.
2020-11-10 11:36:10 -03:00
fiatjaf
2552fd8fc9
internal payments get reported on async listeners.
2020-10-22 15:36:37 -03:00
fiatjaf
a773584f6f
tags and extras metadata in payment details dialog.
2020-10-21 09:50:45 -03:00
fiatjaf
85ec111ff0
return proper error codes on /lnurlscan
...
so the notification works.
2020-10-20 23:19:23 -03:00
fiatjaf
52619ecc0f
improve querystring handling on lnurl fallback scheme.
2020-10-18 13:33:05 -03:00
fiatjaf
32d75f7a60
support the lnurl fallback scheme.
...
completing https://github.com/lnbits/lnbits/issues/63
2020-10-17 15:24:10 -03:00
fiatjaf
435f5405c6
minor prettier change.
2020-10-16 14:45:28 -03:00
fiatjaf
9cb58833ad
make httpx calls async when doing them from view functions.
...
this is important so lnbits can call itself without hanging forever.
and these functions are already async so it should have been this way since ever.
2020-10-15 13:04:56 -03:00
fiatjaf
c81e61e4fe
guards and safety timeouts around paymentChecker intervals.
2020-10-15 12:32:28 -03:00
fiatjaf
bdbb58b2b0
wrap memo columns in payments table.
2020-10-15 00:59:00 -03:00