57 Commits
Author SHA1 Message Date
fusion44andPavol Rusnak d6ac3d2672 fix: remove custom devshells from the flake
The definition of the dev shell in the flake file had several
issues when opening a development shell. However, this is
unnecessary as mkPoetryApplication already creates a
default working dev shell.
2023-12-28 13:25:34 +01:00
fusion44andGitHub b47685f8aa Updates and fixes (#912)
* feat: add support for python 3.10

* fix: move all in-line comments to their own line

On some systems the environs package was uable to parse values as it
tried read the comments as code...
2022-09-23 11:02:23 +03:00
989c6b51ba Updates to documentation (#574)
* fix: rpc library install when using LND

fixes #563

* chore: improve some out of date docs

Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2022-08-03 10:03:01 +02:00
fusion44andGitHub 799065e982 Merge pull request #576 from lilcheti/IRT-api
add IRT api
2022-03-31 18:52:53 +02:00
Stefan Stammberger 3831bca9e2 fix: cleanup core/views/generic.py
* Fixed withdraw endpoint query params access
    was: request.query_params.get("usr")
    corrected: request.query_params.get("usr")
* Added missing response classes
* Removed old comments and commeted out code
* Deleted the unused auth_bearer.py file
2021-11-27 10:13:32 +01:00
Stefan Stammbergerandbenarc efec7cb8f0 Revert "chore: apply black to all .py files"
This reverts commit 83b7779972.
2021-11-26 05:56:30 +00:00
Stefan Stammberger 83b7779972 chore: apply black to all .py files 2021-11-24 14:31:55 +01:00
Stefan Stammberger d8e4237961 fix: TipJar wallet access bug 2021-11-17 14:33:23 +01:00
Stefan Stammberger cba8fe40bd Merge branch 'FastAPI' of github.com:arcbtc/lnbits into FastAPI 2021-11-09 19:16:02 +01:00
Stefan Stammberger 0968c1b182 feat: print a message when all migrations are done 2021-11-09 19:15:43 +01:00
Stefan Stammberger 8ea2d20389 fix: wallets not loading when protobuf is missing 2021-11-09 18:15:07 +01:00
Stefan Stammberger 768aa05b11 fix: switch from purerpc to grpcio for LND Wallet
purerpc is unmaintained and had some old dependencies.
2021-11-07 17:24:22 +01:00
Stefan Stammberger 54f4dfd838 fix: paid_invoices_stream for C-Lightning wallet 2021-11-04 19:49:48 +01:00
Stefan Stammberger fa1f6e5038 fix: crash when a currency pair is unavailable 2021-10-25 18:57:58 +02:00
Stefan Stammberger d1b628375a fix: revert some changes from last commit
Reintroduced the controller which canceles remaining requests once
two results are received.
2021-10-24 10:14:16 +02:00
Stefan Stammberger 7550c968e7 fix: fetch btc price function 2021-10-23 16:41:53 +02:00
Stefan Stammberger 70facdaa93 fix(lndhub): require admin key for sending funds 2021-10-17 10:30:59 +02:00
Stefan Stammberger cb6f9e1f72 fix: copilot websocket connections 2021-10-16 13:35:50 +02:00
Stefan Stammberger 570e8d28dd fix: lndhub auth handling 2021-10-15 19:55:24 +02:00
Stefan Stammberger 9a18720a96 fix: embeddable img link in withdraw extension 2021-10-10 18:49:41 +02:00
Stefan Stammberger c1a82dad9d fix: lnurlp templates and path functions
While rendering the tempaltes the link.lnurl() function was not found
as no request object was passed.

Compute the lnurl before rendering the template. This way we can avoid
computing it multiple times and do not to have to pass the request object
in the template.
2021-10-10 11:05:43 +02:00
Stefan Stammberger dba988a969 fix: reactivate catch-all exception handler 2021-09-30 19:16:38 +02:00
Stefan Stammberger 27e1781464 chore: update requirements.txt 2021-09-30 18:52:37 +02:00
Stefan Stammberger 87c784aa0c fix: create and pay a ticket code 2021-09-29 20:57:35 +02:00
Stefan Stammberger 534dfdb4e0 fix: startup of lntickets listeners 2021-09-29 20:44:00 +02:00
Stefan Stammberger f827d2ce18 fix: fetch tickets and forms JS and endpoints 2021-09-28 22:03:45 +02:00
Stefan Stammberger 85d9a3fcc3 fix: some errors in lnticket ext 2021-09-28 21:18:15 +02:00
Stefan Stammberger 2a4314ca84 fix: raise bad req error on call without X-API-key 2021-09-28 21:13:04 +02:00
Stefan Stammberger 8c5989d465 fix: crash when an ext doesn't have static files 2021-09-28 21:10:51 +02:00
Stefan Stammberger a5c0a2bb50 fix: offlineshop ext lnurl handling 2021-09-19 13:34:31 +02:00
Stefan Stammberger c5d96d21e9 fix: core pay via lnurl endpoint 2021-09-19 13:25:39 +02:00
Stefan Stammberger c906421088 fix: add Jinja2 as an dependency 2021-09-19 13:24:19 +02:00
Stefan Stammberger 32ca6289df fix: broken payment API implementation 2021-09-19 09:31:16 +02:00
Stefan Stammberger e3c7ca0726 feat: update offlineshop extension 2021-09-16 19:42:05 +02:00
Stefan Stammberger 24bb2e0dc9 docs: add a section how to define path parameters 2021-09-16 19:25:01 +02:00
Stefan Stammberger 3bae5c92c2 fix: /extensions endpoint 2021-09-11 20:44:22 +02:00
Stefan Stammberger 7b69852acc fix: make check_user_exists() work with FastAPI 2021-09-11 15:18:09 +02:00
Stefan Stammberger c2551bd765 docs: add another old way of raising exceptions 2021-09-11 12:28:29 +02:00
Stefan Stammberger 9e76668269 fix: send payments via Wallet UI 2021-09-11 11:47:05 +02:00
Stefan Stammberger 63d0242685 fix: more return types 2021-09-11 11:02:48 +02:00
Stefan Stammberger d8d8c6b454 docs: add a FastAPI transition documentation 2021-09-10 21:41:37 +02:00
Stefan Stammberger fa08177317 fix: FastAPify how data or exceptions are returned
FastAPI handles returning HTTPStatus codes differently than Quart did
2021-09-10 21:40:14 +02:00
Stefan Stammberger d9849d43d2 refactor: replace Trio with asyncio/uvloop 2021-08-30 19:55:02 +02:00
Stefan Stammberger fe79709698 fix: several more API calls restored 2021-08-29 19:38:42 +02:00
Stefan Stammberger 5ae124408e fix: wallet page
Javascript was incompatible because of the switch to FastAPI.
2021-08-28 13:55:31 +02:00
Stefan Stammberger ee775b66ef fix: settings import 2021-08-28 11:16:59 +02:00
Stefan Stammberger 3e5af8c1d1 refactor: purge Quart from the codebase
Most functionality is still broken
2021-08-27 20:54:42 +02:00
Stefan Stammberger f119053953 fix: main page and creating a user and a wallet
The wallet page will still not renders correctly, but the backend does
create the user his first wallet.
2021-08-24 21:23:18 +02:00
Stefan Stammberger de4d3b012c fix: invoke error page correctly 2021-08-24 19:14:04 +02:00
Stefan Stammberger 57fb6c4b11 Merge branch 'FastAPI' of github.com:arcbtc/lnbits into FastAPI 2021-08-23 21:17:50 +02:00
Stefan Stammberger 6f38fdc39b feat: move all non-api routes to their own router
This unclutters the docs page a bit by making html routes collapsible.
2021-08-23 21:17:46 +02:00
Stefan Stammberger 0806ccfbbd fix: missing static file serving folder 2021-08-23 18:51:17 +02:00
Stefan Stammberger bbdd41ef87 fix: remove tag as "Apps" to avoid clutter in docs 2021-08-22 20:22:18 +02:00
Stefan Stammberger 938fc54af3 feat: switch from Quart to FastAPI part I 2021-08-22 20:07:24 +02:00
Stefan Stammberger d20c3ce119 fix: syntax errors 2021-08-21 12:14:23 +02:00
Stefan Stammberger da20280fd3 Merge branch 'FastAPI' of github.com:arcbtc/lnbits into FastAPI 2021-08-20 21:02:40 +02:00
Stefan Stammberger 37a7950f0f fix: syntax errors 2021-08-20 20:54:59 +02:00