* 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
* 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>
* support cashu 0.8
* dont comment out script
* update cashu logo on mint page
* fixing versions
* installing cashu from pypi works
* update requirements.txt
* 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>
* 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"`
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.
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")