Commit Graph
69 Commits
Author SHA1 Message Date
calleandGitHub 80a94aa9ce Fix/cashu update protocol (#1433)
* updates NOTE: fix pyproject and requirements

* revert GET to POST

* update cashu on pip and change name of models

* adjust client to spendable

* refactor spendable
2023-01-30 09:29:44 +01:00
calleandGitHub 12d037901e Dependencies: update protobuf and grpcio to latest versions (#1420)
* update protobuf and grpcio to latest versions

* fix their versions
2023-01-26 14:24:17 +01:00
calleandGitHub 9a39a5d5ba fix all library versions (#1419) 2023-01-26 13:51:12 +01:00
d89a6a337a boltz extension v2, recurring swaps (#981)
* add status to statusdialog

* first commits for boltz update

* formatting

* add latest boltz-clien package

* big refactor, depending on boltz_client package, clean up, mypy issues, not tested yet

* blacking, sorting and stuff

* remove unused req_wrap helper

* remove api docs from frontend

* bug: frontend boltz limits error

* clean up buttons

* update to boltz-client 0.0.8

* fix tests to poetry version 1.3.1

* update requirements

* formatting

* recurring swap works now, need more finetuning

* add exceptions for multiple auto swaps and swapping in with active auto swap

* black

* auto reverse swap actually works :)

* remove swap status dialogs

* update to boltz_client 0.0.9

* update to boltz-client 0.1.1, and fix startup

* update requirement.txt for boltz-client

* fixup columns in table, remove unused payment.extra, change deezy label

* remove balance check for auto swap out

* update boltzc-lient to 0.1.2, fix mypy issue inside boltz package

* nitpicks calle tasks.py

* calle nitpicks crud

* calle nitpicks crud

* refactor

* fix formatting

* circular import

* black :)

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2023-01-19 10:30:47 +01:00
calleandGitHub 17f5b734b2 Cashu 0.8 (#1370)
* support cashu 0.8

* dont comment out script

* update cashu logo on mint page

* fixing versions

* installing cashu from pypi works

* update requirements.txt
2023-01-15 11:24:11 +01:00
callebtc cef4244bfc update to cashu 0.6.0 2022-12-15 00:33:24 +01:00
callebtc cdefd58e12 fix: requirements.txt bump cashu to 0.5.5 2022-12-08 21:33:51 +01:00
callebtc 35c5542b2f restore 7f64f426c2 2022-11-30 16:24:13 +01:00
ArcandGitHub 9549ecdf90 Revert "Revert "update requirements"" 2022-11-29 11:48:54 +00:00
ArcandGitHub 9c3f7e8e34 Revert "update requirements" 2022-11-29 11:40:40 +00:00
callebtc 45c121c590 update requirements 2022-11-29 11:52:04 +01:00
calleandGitHub 5c09469d61 Revert "Extension: Cashu" 2022-11-27 18:03:20 +01:00
callebtc e3187a1d89 lock cashu version 2022-11-26 15:26:32 +01:00
callebtc a9b4dd251f generate requirements from poetry 2022-10-21 15:23:44 +02:00
callebtc ea58ae77ef add cashu to requirements.txt 2022-10-21 15:17:44 +02:00
5a12f4f237 Improved SSE listeners (#865)
* logging listeners

* comments

* generate privkey upon init

* listener queue

* remove duplicate check

* make format

* reuse channel

* error handling in sse listener

* uuid for listeners

* register named invoices

* uuid for listeners and listener list

* fix poetry lock

* setuptools

* requirements asyncio timeout

* setuptool;s

* make format

* remove async-timeout

* async_timeout readd

* try lower setuptools version

* try lower lower setuptools version

* back to current version + fix, maybe

* fix worflows to use poetry 1.2.1

* remove uneeded setuptools from build-system

* fix up formatting workflow

* debug to trace

* more traces

* debug logs to trace

Co-authored-by: dni  <office@dnilabs.com>
2022-10-04 09:51:47 +02:00
ben 17cd1dec47 Added dependencies 2022-08-01 09:26:15 +01:00
ben 6e344561e3 Updated requirements 2022-07-27 14:49:13 +01:00
calleandGitHub 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
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
calleandGitHub 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
mrbitcoinerandGitHub 8a20b779df Fixed psycopg2 error on aarch64 (#658) 2022-06-22 15:37:14 +02:00
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 CeruandGitHub 34b3188f96 Update requirements.txt 2022-02-01 00:51:42 +01:00
Aljaz CeruandGitHub 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
supertestnetandGitHub 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 Illarramendiandfiatjaf 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