fiatjaf
b5a07c7ae7
add status() method to wallets to be used in initial check.
2020-10-12 22:30:19 -03:00
fiatjaf
9a16dfa960
remove annoying warnings and unnecessary prints.
...
show a summary of some settings on startup when running __main__.py
2020-10-06 12:59:08 -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
c3ded859df
fix requirements after rebase.
2020-10-04 14:07:52 -03:00
fiatjaf
9994e61615
migrate to trio so c-lightning sockets stop hanging.
2020-10-04 12:06:20 -03:00
fiatjaf
90c640b659
fix async so now it is a mess that works.
2020-10-04 12:05:01 -03:00
fiatjaf
2c92205703
async invoice listeners through webhooks: lnpay and opennode.
2020-10-04 12:04:49 -03:00
fiatjaf
04222f1f01
basic invoice listeners.
2020-10-04 12:04:47 -03:00
Eneko
f60cebb072
fix: add missing assets
command ( #100 )
2020-09-28 23:11:59 +02:00
fiatjaf
49baa07141
fix proxyfix.
2020-09-28 00:21:53 -03:00
fiatjaf
ef0bdf8363
mypy quibbles.
2020-09-16 20:24:17 -03:00
fiatjaf
2b38207100
mimic x_proto, x_host params from old ProxyFix.
2020-09-15 17:19:34 -03:00
fiatjaf
6928f431a7
poor man's flask-assets.
2020-09-15 15:54:05 -03:00
fiatjaf
3a0762ff82
proxy fix (x-forwarded-...).
2020-09-14 23:56:25 -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
1faf0b152c
remove annoying print().
2020-09-13 21:48:46 -03:00
fiatjaf
4855e2cd3d
make every request a database transaction.
2020-09-11 14:17:09 -03:00
Eneko Illarramendi
d62031b068
chore: let's just call it flask_migrate
...
I think it should stay, because it can come handy for some deployment methods.
2020-09-06 21:06:01 -03:00
Eneko Illarramendi
1bc5e144d3
refactor: clean up __init__ file following some Flask conventions
...
Flask extensions are loaded in a way that makes them easily reusable by blueprints.
In this commit we are also adding `environs` to manage .env and settings:
breaking changes!
- FLASK_APP=lnbits.app
- LNBITS_ALLOWED_USERS needs to be empty now to allow all users (NOT "all")
2020-09-06 21:06:01 -03:00