Commit Graph

23 Commits

Author SHA1 Message Date
fiatjaf
e408febf97 hypercorn -k trio 2020-10-04 23:09:11 -03:00
fiatjaf
9994e61615 migrate to trio so c-lightning sockets stop hanging. 2020-10-04 12:06:20 -03:00
fiatjaf
211ac0391b overengineered async fix for /lnurlwallet internal hanging. 2020-09-29 18:24:08 -03:00
fiatjaf
cd8a447ba0 pytest quibbles and dev dependencies. 2020-09-17 22:41:30 -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
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
Eneko Illarramendi
6b33f150c6 fix: revert default python version to 3.7 in Pipfile, closes #85
But tests will be run on both 3.7 and 3.8 as we want to support >= 3.7
2020-09-04 21:19:06 +02:00
Eneko Illarramendi
a651f747ac chore: remove gunicorn and gevent from minimum requirements
It is now up to the user to install these (or other) for production deployment.
More info: https://flask.palletsprojects.com/en/1.1.x/tutorial/deploy/#run-with-a-production-server
2020-09-03 19:38:01 +02:00
Eneko Illarramendi
0d0e00e699 chore: update Pipfile 2020-09-02 14:31:44 +02:00
Eneko Illarramendi
e01de0eae5 chore: update requirements (but lock gevents)
`gevents` has been locked to avoid myNode installation problems.
2020-08-18 08:43:04 +02:00
Eneko Illarramendi
8ea72c9934 feat: add CORS headers 2020-05-18 23:33:07 +02:00
Eneko Illarramendi
2c5e539795 refactor: make some wallet dependencies optional 2020-05-02 19:16:10 +02:00
Eneko Illarramendi
178fe65fb2 test: configure Travis for CI 2020-04-27 19:39:00 +02:00
Eneko Illarramendi
d917feeb02 feat: prepare for deploying to Dokku 2020-04-21 23:13:37 +02:00
Eneko Illarramendi
94e524bf4c chore: clean requirements 2020-04-21 08:17:55 +02:00
Eneko Illarramendi
dd23b20090 chore: various tweaks 2020-04-16 20:58:16 +02:00
Eneko Illarramendi
4397a6cab3 feat: use cerberus schemas to validate POST data 2020-04-11 20:16:54 +02:00
Eneko Illarramendi
8dc2143080 chore: update requirements 2020-04-03 22:52:08 +02:00
Eneko Illarramendi
49addb8d56 refactor: breaking bad 2020-03-08 23:00:41 +01:00
Eneko Illarramendi
f98a5040ac refactor: decorators, models and more broken bits 2020-03-04 23:11:15 +01:00
Eneko Illarramendi
f10585abe1 chore: update requirements 2020-01-31 20:20:45 +01:00
Eneko Illarramendi
21a6958458 fix: minor issues 2019-12-14 11:08:54 +01:00
Eneko Illarramendi
3d3632a06f refactor: add some dev files and black original code
Original server code has been moved to __init__ file, so we can
work on `lnbits` as a package.
2019-12-13 17:56:19 +01:00