Commit graph

339 commits

Author SHA1 Message Date
Kristjan
33b48341f1 checks before creating new subdomain 2021-01-03 00:26:33 +01:00
Kristjan
dc4a786dda black formatting 2021-01-02 22:56:36 +01:00
Kristjan
10414be0d2 now payments are finalized and dns registered when the event happens instead when user polls the backend 2021-01-02 22:55:52 +01:00
Kristjan
e1abea77f5 moved code for generating new dns name and updating the invoice in database to the invoiceListener 2021-01-02 22:38:28 +01:00
Kristjan
8a7652c06f started working on payment listeners 2021-01-02 20:49:39 +01:00
Kristjan
be0f853346 validation for the ip address and record type 2021-01-02 19:21:39 +01:00
Kristjan
afa7fce1c4 prettier formatting for lnticket extension 2021-01-02 17:05:24 +01:00
Kristjan
94b3416300 prettier formatting 2021-01-02 16:58:03 +01:00
Kristjan
c082c953f3 black formatting 2020-12-31 18:50:16 +01:00
Kristjan
128888be92 refactoring & bug fixes 2020-12-31 18:39:16 +01:00
Kristjan
bd4a668d23 added instructions and better formatting to the readme file 2020-12-30 12:20:37 +01:00
Kristjan
399a07b98a added basic information 2020-12-30 12:08:53 +01:00
Kristjan
493ab5464e integration with cloudflare, working prototype 2020-12-30 11:50:49 +01:00
Kristjan
6c4b5ea406 working subdomains frontend, table, popup, payments 2020-12-29 20:52:54 +01:00
Kristjan
c0d7371137 subdomains public window 2020-12-29 19:16:04 +01:00
Kristjan
e96ec08f44 code refactor 2020-12-28 23:24:47 +01:00
Kristjan
2eb44674d0 added public facing api 2020-12-28 22:40:46 +01:00
Kristjan
307a919d17 added CRUD operations 2020-12-28 22:32:04 +01:00
Kristjan
3c398a8276 started working on subdomains extension 2020-12-28 19:51:45 +01:00
benarc
503c981bc9 Updated example extension 2020-12-02 10:45:12 +00:00
benarc
31b1c0d1d5 Fixed tpos links not being fetched 2020-12-01 22:53:52 +00:00
benarc
ae59c74c24 Added if webhook to stop 500 in webhook absence 2020-12-01 22:35:06 +00:00
benarc
52956a62a2 Added unique hash check to lnurlw 2020-11-30 22:27:53 +00:00
benarc
ccb9d107d5 fixed unique update lnurlw 2020-11-30 22:19:17 +00:00
benarc
edc533e902 Moved amount update to cb in lnurlw 2020-11-30 22:03:20 +00:00
benarc
9db327d5db changed 'comment' top 'content' in webhook 2020-11-30 21:12:00 +00:00
benarc
16fff9899f Added webhook for tickets 2020-11-30 14:59:21 +00:00
benarc
67e8c567a3 Fixed some lnticket bugs 2020-11-30 14:02:17 +00:00
fiatjaf
d84915cb00 oops: formatting. 2020-11-21 23:23:11 -03:00
fiatjaf
03706dcbad withdraw: fix incorrect setting of used+1.
fixes https://github.com/lnbits/lnbits/issues/123
2020-11-21 23:20:27 -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
Christian Rotzoll
f877dde2b0
fix #125 qrcode printing (#126)
Authored-by: rootzoll <rotzoll@MacBook2020.fritz.box>
2020-11-19 22:18:22 -03:00
fiatjaf
594e28eab7 formatting. 2020-11-18 22:26:30 -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
2e12c0ba3c lnurlp: actually fix what the previous commit did not. 2020-11-03 19:47:13 -03:00
fiatjaf
8947358c80 lnurlp: fix ?amount satoshi -> msatoshi conversion. 2020-11-03 19:12:10 -03:00
benarc
091f9b74f3 Fixed LNURL bug 2020-11-02 21:15:47 +00:00
benarc
cf3c5d83fe Fixed LNURLw QR bug 2020-11-02 15:52:56 +00:00
fiatjaf
2863653261 lnurlp: accept comments, USD prices, min/max ranges. 2020-10-22 15:58:15 -03:00
fiatjaf
7a5159f293 send/create/scan buttons for clear LNURL support. 2020-10-12 23:21:45 -03:00
fiatjaf
b5a07c7ae7 add status() method to wallets to be used in initial check. 2020-10-12 22:30:19 -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
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
fiatjaf
0b1f3c22e0 lndhub: fix "token" -> "refresh_token". 2020-10-06 21:53:43 -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
1eac618a25 lnurlp: allow creation of pay_links without webhook_url. 2020-10-05 20:12:24 -03:00
fiatjaf
c3ded859df fix requirements after rebase. 2020-10-04 14:07:52 -03:00
fiatjaf
b3c69ad49c invoice listeners support on lnd and other fixes around wallets/ 2020-10-04 12:05:01 -03:00