Commit graph

44 commits

Author SHA1 Message Date
fiatjaf
5fbd1f08c4 lnurlp: only send success_action when it exists. 2021-06-05 15:20:36 -03:00
fiatjaf
05139b3305 lnurlp: fix success_url checking. 2021-06-04 00:29:55 -03:00
Tiago Vasconcelos
7a25c8ce24
Docs (#196)
Updated docs for LNURL pay, LNURL withdraw and Offline shop

Co-authored-by: Tiago Vasconcelos <tvasconcelos@gmail.com>
2021-06-02 14:16:03 -03:00
Pac
036e45d77c Enforce https on Success URL for lnurlp 2021-05-28 10:01:57 -03:00
fiatjaf
b6f015b561 lnurlp: account for invalid amount in querystring. 2021-04-27 15:52:44 -03:00
Pac
ffe39de391 API link fix for List Links docs (from v0 to v1) 2021-04-18 10:37:14 -03:00
fiatjaf
42bd5ea989 remove exception to black line-length and reformat. 2021-03-24 00:40:32 -03:00
fiatjaf
1bc59974a8 also support all currencies in lnurlp. 2021-03-14 21:50:05 -03:00
fiatjaf
adc3e62573 abstract exchange rates code into a "util". 2021-03-14 20:43:39 -03:00
fiatjaf
cda0819f64 improve and finish basic UI. 2021-03-07 14:41:47 -03:00
fiatjaf
88eb8e0e78 fix curl examples in extensions, path was duplicating the plugin names. 2021-02-07 08:23:01 -03:00
benarc
16fff9899f Added webhook for tickets 2020-11-30 14:59:21 +00: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
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
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
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
fiatjaf
bbe8d05af4 migrate from aiohttp to httpx following master. 2020-10-04 12:04:59 -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
Eneko Illarramendi
098089af75 PREFER_SECURE_URLS, get rid of FORCE_HTTPS hacks. 2020-09-24 13:08:59 -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
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
frennkie
a8e1aa3154
Consider port number on lnurlp URL
fix #86
2020-09-09 21:43:34 -03:00
fiatjaf
c965bca41d migration tracking. 2020-09-04 21:33:30 -03:00
Eneko Illarramendi
23cfe0d417 chore: update github workflows 2020-09-03 23:10:41 +02:00
fiatjaf
197af922d0 use {"tag": ext} for extension-related payments. 2020-09-02 12:44:54 -03:00
fiatjaf
ac20e06dc3 fix: correct db.cursor() usage on lnurlp. 2020-08-29 22:33:01 -03:00
fiatjaf
3ce1e72e10 lnurlp lnurl explanation slightly different from lnurlw. 2020-08-29 14:06:07 -03:00
fiatjaf
01b19add79 format: prettier lnurlp files. 2020-08-29 13:41:59 -03:00
fiatjaf
96b80fb3fc lnurlp: store description as memo. 2020-08-29 13:11:19 -03:00
fiatjaf
0c7284be31 description_hash fix. 2020-08-29 12:23:17 -03:00
fiatjaf
a79ec8f4a4 lnurlp extension. 2020-08-28 23:03:12 -03:00