Commit Graph

51 Commits

Author SHA1 Message Date
calle
96af5fc3a7
CI: Test core/views/generic.py (#772)
* Adds tests for GET /wallet

* Update `httpx` to `0.23.0` and `http-core` to `0.15.0` in `venv` installation path

* Fix `secp256k1 = "==0.14.0"` and `cffi = "==1.15.0"`
2022-07-23 10:39:58 +02:00
Arc
41dda6fd01
Revert "Fixed psycopg2 error on aarch64" (#729)
* Revert "Fixed psycopg2 error on aarch64 (#658)"

This reverts commit 8a20b779df.

* remove psycopg from build pipeline

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-07-11 17:18:28 +02:00
calle
089313f613
Logging with loguru (#708)
* logging

* requirements

* add loguru dependency

* restore it

* add loguru

* set log level in .env file

* remove service fee print

* set log level

* more logging

* more logging

* more logging

* pyament.checking_id

* fix
2022-07-07 14:30:16 +02:00
mrbitcoiner
8a20b779df
Fixed psycopg2 error on aarch64 (#658) 2022-06-22 15:37:14 +02:00
calle
0764f4fdf1
Support for encrypted macaroons (#521)
* encrypted macaroons

* fix GRPC env entry

* example config entry

* add pycryptodomex to requirements

* documentation

* Added pycryptodomex to pip file

Co-authored-by: Ben Arc <ben@arc.wales>
2022-02-14 17:54:05 +01:00
Aljaz Ceru
34b3188f96
Update requirements.txt 2022-02-01 00:51:42 +01:00
Aljaz Ceru
bdf5dd55f6
adding secp256k1 to requirements 2022-02-01 00:49:54 +01:00
Stefan Stammberger
27e1781464
chore: update requirements.txt 2021-09-30 18:52:37 +02:00
supertestnet
117ae1aec3
Update requirements.txt 2021-07-03 09:18:22 -04:00
fiatjaf
1b433f9cbc remove secure headers. 2021-06-23 17:21:53 -03:00
fiatjaf
808ded509d fix pipfile.lock and update dependencies. 2021-04-13 11:50:30 -03:00
Stepan Snigirev
a27a3885f3 add descriptor support 2021-04-07 19:27:26 +02:00
Ben Arc
b05b8c0115 Merge remote-tracking branch 'origin/master' into watchonly 2021-03-31 10:43:55 +01:00
fiatjaf
d511e92a04 update requirements.txt 2021-03-14 22:14:52 -03:00
benarc
a838706090 updated watchonly 2020-12-01 19:54:16 +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
c3ded859df fix requirements after rebase. 2020-10-04 14:07:52 -03:00
fiatjaf
08b2ce5c05 update requirements.txt 2020-10-02 08:40:50 -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
fiatjaf
2cecaa229b bolt11.py now supports everything. 2020-08-30 17:40:28 -03: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
0497c603c0 fix: lnurl bugfix
This is not using `$ pipenv update` because apparently other package updates break mynode installations, see #65
2020-08-13 22:19:36 +02:00
Eneko Illarramendi
5831fe2ab6 Revert "fix: requirements update, including lnurl bugfix"
This reverts commit bc984ab0db.
2020-08-13 22:16:16 +02:00
Eneko Illarramendi
bc984ab0db fix: requirements update, including lnurl bugfix 2020-08-04 19:22:24 +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
34e6d2a7bb chore: update requirements 2020-04-23 07:32:05 +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
Arc
f6f2304c5a
Update requirements.txt 2020-04-02 12:50:13 +01:00
Eneko Illarramendi
d03785558b refactor: a wallet is a wallet is a wallet 2020-03-31 19:05:25 +02:00
Eneko Illarramendi
49addb8d56 refactor: breaking bad 2020-03-08 23:00:41 +01:00
Arc
6e26e06aea
Added python-dotenv so flask would pick up .env 2020-03-05 23:27:13 +00:00
Eneko Illarramendi
f98a5040ac refactor: decorators, models and more broken bits 2020-03-04 23:11:15 +01:00
Arc
ee70161854
Update requirements.txt 2020-03-03 19:42:18 +00:00
Arc
e2cd162409
added gevent dependency 2020-02-27 10:16:54 +00:00
Eneko Illarramendi
6e921e5102 chore: update requirements 2020-02-18 21:01:28 +01:00
Eneko Illarramendi
f10585abe1 chore: update requirements 2020-01-31 20:20:45 +01:00
Eneko Illarramendi
676fa29852 chore: update requirements 2020-01-10 13:43:52 +01:00
Eneko Illarramendi
80c43701b3 refactor: clean lnurlwallet view 2019-12-14 12:24:21 +01:00
Eneko Illarramendi
21a6958458 fix: minor issues 2019-12-14 11:08:54 +01:00