Commit Graph

84 Commits

Author SHA1 Message Date
Tiago vasconcelos
a00e46f629 Change _asdict() to dict() 2022-01-05 07:36:10 -03:00
benarc
d00bd9a995 lnul display without refresh 2021-12-09 10:32:03 +00:00
benarc
56397026c8 Chore, applied black 2021-11-26 05:58:20 +00:00
Tiago vasconcelos
cfac70d394 general cleanup and unused imports removal 2021-11-25 18:52:16 +00:00
benarc
afbe46be8b reverted memo default 2021-11-03 11:49:13 +00:00
benarc
52455e14cd tweaked create_invoice 2021-11-03 11:02:33 +00:00
Tiago vasconcelos
11499041be fix lnurlp update link 2021-10-25 12:11:58 +01:00
benarc
e03370188a Fixed payment checking 2021-10-22 00:41:30 +01:00
Tiago vasconcelos
a840970366 fix require admin key endpoints 2021-10-20 12:03:11 +01:00
benarc
1d3bb016a2 I want them to turn black 2021-10-17 18:33:29 +01:00
benarc
982415f013 Satsdice error, confused over url_for 2021-10-15 14:28:41 +01:00
Tiago vasconcelos
ce4235f858 Merge branch 'FastAPI' of https://github.com/arcbtc/lnbits into FastAPI 2021-10-12 10:38:29 +01:00
Tiago vasconcelos
de97c0f696 lnurlp import execption
withdraw not working
2021-10-11 11:46:36 +01:00
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