Commit graph

33 commits

Author SHA1 Message Date
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
Arc
5a74f52712
Update views_api.py 2020-02-04 22:53:00 +00:00
Arc
5a1727df58
Update views_api.py 2020-02-04 22:51:50 +00:00
Eneko Illarramendi
9e90aabead refactor: use Flask Blueprints to organize extensions
- extensions are now blueprints: keep views, templastes and statics in the same folder
- increase app security using `flask-talisman`
- whenever possible use {{ url_for }} for links between pages
- remove references to non-existing JavaScript code
- add missing favicon.ico
2020-01-31 21:07:05 +01:00