fiatjaf
7f41d73a84
SSE-based invoices stream for LNbitsWallet.
2020-10-09 17:06:50 -03:00
fiatjaf
f638a1088e
lnurlp: fix querystring handling in success_url.
2020-10-09 16:40:49 -03:00
fiatjaf
ea3418c21d
lnurlp: support success_text and success_url.
2020-10-09 16:17:16 -03:00
fiatjaf
f6bcff01f4
presort vendored paths list.
...
an attempt to fix https://github.com/lnbits/lnbits/issues/99 .
2020-10-08 22:10:21 -03:00
fiatjaf
33fa540744
adjust docs to match 91853
2020-10-08 21:51:40 -03:00
fiatjaf
6f72f1fe6d
fix typo: LND_MACAROON -> LND_REST_MACAROON
2020-10-08 16:24:23 -03:00
fiatjaf
76633fb71f
lndrest: check last 20 payments instead of first 20.
...
fixes https://github.com/lnbits/lnbits/issues/110
2020-10-08 16:08:13 -03:00
fiatjaf
9185342c72
simplify environment variables required.
...
instead of multiple keys/macaroons with different permissions we request only one.
if someone wants to use lnbits with an invoice macaroon they're free to do it and
we will just fail on 'pay' methods, as before.
this also grandfathers the previous environment variables names so everything keeps
working without people having to change their setups.
in the meantime some bugs with lntxbot and c-lightning were fixed and the `requests`
dependency was eliminated because I can't organize myself into meaningful chunks of
changes.
2020-10-08 16:03:21 -03:00
HamishMacEwan
fc6e49b821
Change .env variable names to match lnbits.py
...
The required values are expected in LNBITS_INVOICE_KEY & LNBITS_ADMIN_KEY according to https://github.com/lnbits/lnbits/blob/master/lnbits/wallets/lnbits.py
2020-10-07 01:27:16 -03:00
fiatjaf
35f8e3334c
fix typo: LnbitsWallet -> LNbitsWallet.
2020-10-06 23:04:25 -03:00
fiatjaf
0b1f3c22e0
lndhub: fix "token" -> "refresh_token".
2020-10-06 21:53:43 -03:00
fiatjaf
24c8201920
add current git commit to summary.
2020-10-06 17:42:33 -03:00
fiatjaf
9a16dfa960
remove annoying warnings and unnecessary prints.
...
show a summary of some settings on startup when running __main__.py
2020-10-06 12:59:08 -03:00
fiatjaf
c5352c0309
register channel listeners instead of callbacks.
...
makes for a little less black magic and more reasonable use of nurseries
and less unnecessary pseudo-requests.
2020-10-06 01:50:56 -03:00
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
e1744caec5
Merge pull request #101 from lnbits/invoice-listeners
2020-10-05 13:40:31 -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
e408febf97
hypercorn -k trio
2020-10-04 23:09:11 -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
fiatjaf
e2f6c20e3b
update docs so master is runnable.
2020-10-02 14:59:29 -03:00
fiatjaf
08b2ce5c05
update requirements.txt
2020-10-02 08:40:50 -03:00
benarc
5971eefe44
Fixed register page blank bug
2020-10-01 19:44:04 +01:00
benarc
a11b967ffc
Merge remote-tracking branch 'origin/master'
2020-10-01 19:40:16 +01:00
Arc
f6e6bf73d3
Pointed people towards a stable release
2020-10-01 18:12:29 +01:00
benarc
f2619a4bbc
piplockupdtae
2020-09-30 19:22:19 +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
fiatjaf
2dfae9ecc1
adapt Procfile hypercorn call.
2020-09-28 21:11:34 -03:00
Eneko Illarramendi
3ab29e6e50
fix: lnbits.com deploy
2020-09-28 23:49:11 +02: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