fiatjaf
95e8573ff8
SSE endpoint for paid invoices.
...
also move very essential stuff from core/tasks.py to tasks.py so things
are more organized.
2020-10-06 00:40:18 -03:00
fiatjaf
4e68a0e7e6
lndrest: two small fixes.
2020-10-05 22:43:49 -03:00
fiatjaf
16541d40c6
show more data in txinfo modal and fee on main table.
...
- also center-align icons in main table.
- and use "x time ago" instead of raw dates by default in main table
(raw date is accessible on a tooltip, on the modal and on the CSV export).
2020-10-05 22:38:06 -03:00
fiatjaf
bb965e4119
lndrest: account for when there are pending checking_ids from other sources.
2020-10-05 22:16:28 -03:00
fiatjaf
5ead82f57c
fix /lnurlwallet again. db.commit() and wait 3 seconds.
...
should finally fix https://github.com/lnbits/lnbits/issues/103
2020-10-05 20:33:01 -03:00
fiatjaf
1eac618a25
lnurlp: allow creation of pay_links without webhook_url.
2020-10-05 20:12:24 -03:00
fiatjaf
39c331a7b9
fix opennode stupid syntax errors.
2020-10-05 08:46:20 -03:00
fiatjaf
6e6ce093f0
guard against lndrest URLs without a leading http...
2020-10-05 08:45:57 -03:00
fiatjaf
1ce9936561
better handling of missing dependencies on lndgrpc.
2020-10-05 08:45:32 -03:00
fiatjaf
c3ded859df
fix requirements after rebase.
2020-10-04 14:07:52 -03:00
fiatjaf
f5b8ed8fc6
make lndgrpc work using the purerpc library and a manually-declared method.
2020-10-04 12:06:54 -03:00
fiatjaf
9994e61615
migrate to trio so c-lightning sockets stop hanging.
2020-10-04 12:06:20 -03:00
fiatjaf
e74cf33f90
broken invoice listener on c-lightning and other fixes around wallets.
2020-10-04 12:05:59 -03:00
fiatjaf
b3c69ad49c
invoice listeners support on lnd and other fixes around wallets/
2020-10-04 12:05:01 -03:00
fiatjaf
90c640b659
fix async so now it is a mess that works.
2020-10-04 12:05:01 -03:00
fiatjaf
28e6f40bea
async fixes on _invoice_listener.
2020-10-04 12:05:01 -03:00
fiatjaf
bbe8d05af4
migrate from aiohttp to httpx following master.
2020-10-04 12:04:59 -03:00
fiatjaf
2c92205703
async invoice listeners through webhooks: lnpay and opennode.
2020-10-04 12:04:49 -03:00
fiatjaf
74117ffc57
lnurlp webhooks.
2020-10-04 12:04:49 -03:00
fiatjaf
04222f1f01
basic invoice listeners.
2020-10-04 12:04:47 -03:00
benarc
5971eefe44
Fixed register page blank bug
2020-10-01 19:44:04 +01:00
fiatjaf
88b8826bfd
fix balance calculation vue glitch.
2020-09-29 20:04:02 -03:00
fiatjaf
211ac0391b
overengineered async fix for /lnurlwallet internal hanging.
2020-09-29 18:24:08 -03:00
fiatjaf
e0b8470d40
show unpaid invoices, balance calculated on server-side so isn't affected.
2020-09-29 15:43:11 -03:00
Eneko
f60cebb072
fix: add missing assets
command ( #100 )
2020-09-28 23:11:59 +02:00
benarc
d8da88aefa
Fixed QR codes not printing
2020-09-28 16:59:20 +01:00
fiatjaf
49baa07141
fix proxyfix.
2020-09-28 00:21:53 -03:00
Eneko Illarramendi
098089af75
PREFER_SECURE_URLS, get rid of FORCE_HTTPS hacks.
2020-09-24 13:08:59 -03:00
fiatjaf
39cd96594e
pass appropriate parameters to create_payment on lnurlwallet.
2020-09-24 13:09:02 -03:00
fiatjaf
ef0bdf8363
mypy quibbles.
2020-09-16 20:24:17 -03:00
fiatjaf
75047c5bc3
fix static extensions js url.
2020-09-16 20:21:42 -03:00
fiatjaf
2b38207100
mimic x_proto, x_host params from old ProxyFix.
2020-09-15 17:19:34 -03:00
fiatjaf
6928f431a7
poor man's flask-assets.
2020-09-15 15:54:05 -03:00
fiatjaf
3a0762ff82
proxy fix (x-forwarded-...).
2020-09-14 23:56:25 -03:00
fiatjaf
42c6620a07
quart run settings and hypercorn on docker/Procfile.
2020-09-14 23:28:14 -03:00
fiatjaf
f01028eac7
migrate from flask to quart.
...
also remove all flaskiness from static file serving.
and reference all vendored scripts on the base tempĺate for simplicity.
2020-09-14 16:03:25 -03:00
fiatjaf
f452b9c00d
withdraw: replace location.hostname with location.host.
...
fixes https://github.com/lnbits/lnbits/issues/88
2020-09-14 15:46:25 -03:00
fiatjaf
1e2dd412c7
lnurlp: remove wrong /pay/ segments from docs.
2020-09-14 09:35:58 -03:00
fiatjaf
e6ad42dbe1
update prettier to 2.1.1
2020-09-14 09:14:51 -03:00
fiatjaf
1faf0b152c
remove annoying print().
2020-09-13 21:48:46 -03:00
fiatjaf
f4fffc19aa
lndhub extension frontend.
2020-09-12 21:55:13 -03:00
fiatjaf
6210305791
checking pending invoices and payments from lndhub interface.
2020-09-12 21:55:13 -03:00
fiatjaf
ce038193cf
lndhub extension backend.
2020-09-12 21:55:13 -03:00
fiatjaf
5ac91ee2cf
db commits at the right places when sending payments.
...
fixing vulnerabilities introduced in https://github.com/lnbits/lnbits/pull/90
2020-09-11 21:25:44 -03:00
fiatjaf
4855e2cd3d
make every request a database transaction.
2020-09-11 14:17:09 -03:00
fiatjaf
487f082eb2
take extra care on check_internal()
2020-09-11 14:17:09 -03:00
frennkie
a8e1aa3154
Consider port number on lnurlp URL
...
fix #86
2020-09-09 21:43:34 -03:00
fiatjaf
130beaf38a
fix undeclared ok error.
2020-09-06 23:39:46 -03:00
fiatjaf
ab6229806c
fix: column is called hash, not payment_hash.
2020-09-06 22:15:29 -03:00
Eneko Illarramendi
d62031b068
chore: let's just call it flask_migrate
...
I think it should stay, because it can come handy for some deployment methods.
2020-09-06 21:06:01 -03:00