Ben Arc
a147a07bab
works
2022-01-31 00:12:59 +00:00
Ben Arc
4a9b5840ab
Ngrok init
2021-10-19 21:08:12 +01:00
Stefan Stammberger
c906421088
fix: add Jinja2 as an dependency
2021-09-19 13:24:19 +02:00
Stefan Stammberger
d9849d43d2
refactor: replace Trio with asyncio/uvloop
2021-08-30 19:55:02 +02:00
Stefan Stammberger
3e5af8c1d1
refactor: purge Quart from the codebase
...
Most functionality is still broken
2021-08-27 20:54:42 +02:00
Tiago vasconcelos
d582ee87e5
fix postgres not showing payments
2021-08-05 08:57:50 -03:00
fiatjaf
1b433f9cbc
remove secure headers.
2021-06-23 17:21:53 -03:00
fiatjaf
688149fade
add trio typing.
2021-06-20 21:17:32 -03:00
fiatjaf
808ded509d
fix pipfile.lock and update dependencies.
2021-04-13 11:50:30 -03:00
Ben Arc
5eba071acc
Updated pip
2021-04-12 17:35:57 +01:00
Ben Arc
b05b8c0115
Merge remote-tracking branch 'origin/master' into watchonly
2021-03-31 10:43:55 +01:00
fiatjaf
510ccbc007
update mypy.
2021-03-28 02:02:21 -03:00
benarc
13f440d517
added pypng
2021-02-26 17:54:50 +00:00
benarc
c03c463171
Added LNURLw as image view
2021-02-26 16:54:57 +00:00
benarc
c62678b3aa
generated fresh addresses nicely
2020-12-03 17:26:11 +00:00
fiatjaf
409f62dee7
dependencies update.
2020-11-24 16:25:32 -03:00
fiatjaf
9185342c72
simplify environment variables required.
...
instead of multiple keys/macaroons with different permissions we request only one.
if someone wants to use lnbits with an invoice macaroon they're free to do it and
we will just fail on 'pay' methods, as before.
this also grandfathers the previous environment variables names so everything keeps
working without people having to change their setups.
in the meantime some bugs with lntxbot and c-lightning were fixed and the `requests`
dependency was eliminated because I can't organize myself into meaningful chunks of
changes.
2020-10-08 16:03:21 -03:00
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