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")
4 years ago
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
4 years ago
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
4 years ago
Eneko Illarramendi
0d0e00e699
chore: update Pipfile
4 years ago
fiatjaf
2cecaa229b
bolt11.py now supports everything.
4 years ago
Eneko Illarramendi
e01de0eae5
chore: update requirements (but lock `gevents`)
`gevents` has been locked to avoid myNode installation problems.
5 years ago
Eneko Illarramendi
0497c603c0
fix: `lnurl` bugfix
This is not using `$ pipenv update` because apparently other package updates break mynode installations, see #65
5 years ago
Eneko Illarramendi
5831fe2ab6
Revert "fix: requirements update, including `lnurl` bugfix"
This reverts commit bc984ab0db
.
5 years ago
Eneko Illarramendi
bc984ab0db
fix: requirements update, including `lnurl` bugfix
5 years ago
Eneko Illarramendi
8ea72c9934
feat: add CORS headers
5 years ago
Eneko Illarramendi
2c5e539795
refactor: make some wallet dependencies optional
5 years ago
Eneko Illarramendi
34e6d2a7bb
chore: update requirements
5 years ago
Eneko Illarramendi
d917feeb02
feat: prepare for deploying to Dokku
5 years ago
Eneko Illarramendi
94e524bf4c
chore: clean requirements
5 years ago
Eneko Illarramendi
dd23b20090
chore: various tweaks
5 years ago
Eneko Illarramendi
4397a6cab3
feat: use `cerberus` schemas to validate POST data
5 years ago
Eneko Illarramendi
8dc2143080
chore: update requirements
5 years ago
Arc
f6f2304c5a
Update requirements.txt
5 years ago
Eneko Illarramendi
d03785558b
refactor: a wallet is a wallet is a wallet
5 years ago
Eneko Illarramendi
49addb8d56
refactor: breaking bad
5 years ago
Arc
6e26e06aea
Added python-dotenv so flask would pick up .env
5 years ago
Eneko Illarramendi
f98a5040ac
refactor: decorators, models and more broken bits
5 years ago
Arc
ee70161854
Update requirements.txt
5 years ago
Arc
e2cd162409
added gevent dependency
5 years ago
Eneko Illarramendi
6e921e5102
chore: update requirements
5 years ago
Eneko Illarramendi
f10585abe1
chore: update requirements
5 years ago
Eneko Illarramendi
676fa29852
chore: update requirements
5 years ago
Eneko Illarramendi
80c43701b3
refactor: clean `lnurlwallet` view
5 years ago
Eneko Illarramendi
21a6958458
fix: minor issues
5 years ago
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.
5 years ago