Commit Graph

12 Commits

Author SHA1 Message Date
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