benarc
9ff1313b0b
should be working
2021-10-10 23:57:15 +01:00
Stefan Stammberger
c1a82dad9d
fix: lnurlp templates and path functions
...
While rendering the tempaltes the link.lnurl() function was not found
as no request object was passed.
Compute the lnurl before rendering the template. This way we can avoid
computing it multiple times and do not to have to pass the request object
in the template.
2021-10-10 11:05:43 +02:00
Tiago vasconcelos
7e3b0c08dc
lnurlp cleaned and finished
2021-10-08 12:10:43 +01:00
Tiago vasconcelos
7646bbefd5
can't seem to make url_for work
2021-10-06 11:10:24 +01:00
Tiago vasconcelos
81826f3c13
fix: lnurlp, withdraw
2021-10-05 09:19:21 +01:00
Tiago vasconcelos
c0280838e7
ext: withdraw ported + lnurlp fixes
2021-09-30 14:42:04 +01:00
Tiago vasconcelos
4c724e6f01
typos fix
2021-09-29 11:03:02 +01:00
Tiago vasconcelos
dcad7ea5fa
lnurlp fastAPI port
2021-09-28 18:10:22 +01:00
Tiago vasconcelos
3e0fd39175
some syntax refactoring
2021-08-22 12:16:31 +01:00
Stefan Stammberger
d20c3ce119
fix: syntax errors
2021-08-21 12:14:23 +02:00
Ben Arc
bbdb96f4ac
Converted views
2021-08-21 01:55:07 +01:00
Ben Arc
a9dc087f61
All extensions semi-switched
2021-08-21 00:34:48 +01:00
Ben Arc
8dea1e28f0
Added pydantic to models
2021-08-20 14:46:08 +01:00
Ben Arc
fe123d6d31
Put extensions back so we can start converting
2021-08-20 12:44:03 +01:00
Ben Arc
9c313586bd
removed all but one extension, so we can focus on core
2021-08-16 18:12:48 +01:00
fiatjaf
26b3599325
fix insertion bugs/incompatibilities with lastrowid stuff.
2021-08-11 22:19:27 -03:00
Tiago vasconcelos
16f8071731
fix issue #267
2021-08-06 12:37:30 -03:00
Ben Arc
aa1c83cdc4
added dynamic titles for continuity
2021-07-25 14:26:20 +01:00
fiatjaf
e2d43e786f
fix wrong schema for apipayments usage inside extensions.
2021-07-02 17:34:33 -03:00
fiatjaf
2f309c9863
postgres support.
2021-07-02 17:34:31 -03:00
Arc
aee3640171
Merge pull request #239 from cryptoteun/master
...
Fix for #238 Minor issues in API documentation of lnurlp extension
2021-07-01 00:32:01 +01:00
ton
a147c43a97
Fix for #238 Minor issues in API documentation of lnurlp extension
...
https://github.com/lnbits/lnbits/issues/238
2021-06-30 14:03:16 +02:00
Ben Arc
b0c0b9f851
Changed primary/secondary colours to branded
2021-06-29 02:10:30 +01:00
fiatjaf
688149fade
add trio typing.
2021-06-20 21:17:32 -03:00
Tiago vasconcelos
e7209d2883
Fixed issue deleting lnurlp
2021-06-14 08:51:07 -03:00
Fitti
1e0367a451
Fixes #212
...
This is a quick and dirty fix of issue #212 .
Partially reverts previous changes from commit 5fbd1f08c4
Re-implements the change in a slightly different way.
2021-06-14 05:01:34 -03:00
Tiago Vasconcelos
6a59208297
Fix form reset on LNURLp ( #201 )
...
Co-authored-by: Tiago Vasconcelos <tvasconcelos@gmail.com>
2021-06-07 18:54:22 -03:00
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