Commit graph

53 commits

Author SHA1 Message Date
Tiago vasconcelos
46ab9960ad url_for issues 2021-10-06 14:40:12 +01:00
Tiago vasconcelos
81826f3c13 fix: lnurlp, withdraw 2021-10-05 09:19:21 +01:00
Tiago vasconcelos
65aa1b24d8 ext: widthraw - views_api 2021-09-29 11:04:37 +01:00
Tiago vasconcelos
ede038976f refactor http status responses 2021-08-25 15:44:18 +01:00
Tiago vasconcelos
3e0fd39175 some syntax refactoring 2021-08-22 12:16:31 +01:00
Ben Arc
a9dc087f61 All extensions semi-switched 2021-08-21 00:34:48 +01:00
Ben Arc
8deea85999 fixing withdraw 2021-08-20 22:21:15 +01:00
Stefan Stammberger
37a7950f0f
fix: syntax errors 2021-08-20 20:54:59 +02:00
Ben Arc
9ea3c51b92 Changed routs to request types 2021-08-20 17:15:04 +01:00
Ben Arc
e36cd18640 Started converting withdraw 2021-08-20 16:35:24 +01:00
Ben Arc
861e2fbf67 sfabsbd 2021-08-20 16:15:49 +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
42bd5ea989 remove exception to black line-length and reformat. 2021-03-24 00:40:32 -03:00
Ben Arc
fa383ced1c Changed api to check lnurl exists and checking hash sent 2021-03-20 01:06:08 +00:00
benarc
ad545e7fe1 prettier/black 2021-03-17 19:27:52 +00:00
benarc
66cde0154b api docs 2021-03-17 18:02:52 +00:00
benarc
514329045f Should work 2021-03-17 16:33:12 +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
fiatjaf
594e28eab7 formatting. 2020-11-18 22:26:30 -03:00
benarc
091f9b74f3 Fixed LNURL bug 2020-11-02 21:15:47 +00:00
fiatjaf
211ac0391b overengineered async fix for /lnurlwallet internal hanging. 2020-09-29 18:24:08 -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
197af922d0 use {"tag": ext} for extension-related payments. 2020-09-02 12:44:54 -03:00
fiatjaf
bf3c44b3c4 extra fields on apipayments + index payments by payment_hash 2020-09-02 11:10:48 -03:00
fiatjaf
2cecaa229b bolt11.py now supports everything. 2020-08-30 17:40:28 -03:00
arcbtc
6cf488ea4f Fixed lnurlw bugs 2020-08-19 08:49:52 +01:00
benarc
c73fbe1b27 Fixed unique LNURLw for print 2020-07-20 22:08:54 +01:00
benarc
294beb2fca Updated Withdraw extension to handle unique facets 2020-07-20 21:03:23 +01:00
Eneko Illarramendi
14d61eaf56 feat(withdraw): type casting 2020-05-08 21:12:31 +02:00
Eneko Illarramendi
083f7a0a8d chore: use standard library's HTTP status codes 2020-05-03 15:57:05 +02:00
Eneko Illarramendi
97f4fabea1 fix: create temporal payments to keep balance updated 2020-04-24 14:56:10 +02:00
Eneko Illarramendi
4bf93d36c6 refactor: change the WITH_ONION env var and use FORCE_HTTPS instead 2020-04-23 18:37:22 +02:00
Eneko Illarramendi
efbba20872 style: minor tweaks 2020-04-21 23:13:37 +02:00
Arc
51587d7de2
Update views_api.py 2020-04-20 08:00:22 +01:00
Eneko Illarramendi
fd4dddda6e chore: rename api-key-macaroon 2020-04-16 20:58:16 +02:00
Eneko Illarramendi
a834a64319 refactor(withdraw): migrate extension to Vue 2020-04-16 20:58:16 +02:00
Arc
36ba680a5d
Update views_api.py 2020-02-24 19:12:49 +00:00
Arc
6f06bcfb36
Update views_api.py 2020-02-24 16:05:24 +00:00
Arc
3c8a1f0667
Update views_api.py 2020-02-24 14:53:30 +00:00
Arc
17f059a8de
Added endpoint for easy LNURL fetching 2020-02-19 22:17:19 +00:00
Arc
331905b8a9
Update views_api.py 2020-02-12 13:42:09 +00:00
Arc
645261f274
Update views_api.py 2020-02-12 13:41:30 +00:00
Eneko Illarramendi
0d33bc2933 refactor: remove databases from code an use schemas instead
All databases are now saved together in the same LNBITS_DATA_FOLDER.
Extensions have to define a schema.yml file for creating the necessary database.
2020-02-10 19:40:01 +01:00
Arc
e3fd6b4ff1
Update views_api.py 2020-02-05 13:04:43 +00:00
Arc
9f0c72acc9
Update views_api.py 2020-02-05 12:57:45 +00:00
Arc
a8f91b00a5
Update views_api.py 2020-02-05 12:27:56 +00:00
Arc
21bd049164
Crude hack to try and make the faucets work 2020-02-05 12:14:18 +00:00