Commit Graph
29 Commits
Author SHA1 Message Date
calleandGitHub 4fc0a25d41 Mega-merge 4: Reenable LndWallet gRPC and use TrackPaymentV2 (#745)
* readd lndgrpc

* debug logging

* Use TrackPaymentV2

* /v2/router/track

* lnd_router_grpc

* flag for blocking check

* error handling

* fix name

* regtest lndgrpc

* new test pipeline

* fix env

* check for description hash

* remove unnecessary asserts for clarity

* assume that description_hash is a hash already

* no lock

* description hashing in backend

* restore bolt11.py

* /api/v1/payments with hex of description

* comment

* refactor wallets

* forgot eclair

* fix lnpay

* bytes directly

* make format

* mypy check

* make format

* remove old code

* WIP status check

* LND GRPC docs

* restore cln to main

* fix regtest

* import

* remove unused import

* format

* do not expect ok

* check ok

* delete comments
2022-08-09 11:49:39 +02:00
callebtc f8400512f7 black formating 2022-06-01 14:53:05 +02:00
benarc 3c5fac3874 Fixed paywall, unnecessary key check added 2022-02-17 09:23:33 +00:00
Tiago vasconcelos cfac70d394 general cleanup and unused imports removal 2021-11-25 18:52:16 +00:00
benarc 267dea4f75 black 2021-11-12 04:14:55 +00:00
Tiago vasconcelos 1021d3c81c paywall converted but create invoice creates BAD REQUEST 2021-10-27 12:02:27 +01:00
Tiago vasconcelos 336e3a833a paywall initial 2021-10-26 22:52:11 +01:00
Tiago vasconcelos 6edac8ae8d remove extensions 2021-10-01 10:49:11 +01:00
Tiago vasconcelos 3e0fd39175 some syntax refactoring 2021-08-22 12:16:31 +01:00
Ben Arc a9dc087f61 All extensions semi-switched 2021-08-21 00:34:48 +01:00
Stefan Stammberger 37a7950f0f fix: syntax errors 2021-08-20 20:54:59 +02:00
Ben Arc 9ea3c51b92 Changed routs to request types 2021-08-20 17:15:04 +01:00
Ben Arc 9c3442ea43 Attempt at replacing schema 2021-08-20 15:27:57 +01:00
Ben Arc fe123d6d31 Put extensions back so we can start converting 2021-08-20 12:44:03 +01:00
Ben Arc 9c313586bd removed all but one extension, so we can focus on core 2021-08-16 18:12:48 +01:00
fiatjaf 42bd5ea989 remove exception to black line-length and reformat. 2021-03-24 00:40:32 -03:00
fiatjaf d3fc52cd49 migrate to sqlalchemy-aio.
a big refactor that:

- fixes some issues that might have happened (or not) with asynchronous
    reactions to payments;
- paves the way to https://github.com/lnbits/lnbits/issues/121;
- uses more async/await notation which just looks nice; and
- makes it simple(r?) for one extension to modify stuff from other extensions.
2020-11-21 23:02:14 -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
fiatjaf dc3d96c6a8 fix many mypy complaints, specially on bolt11.py 2020-09-02 22:21:56 -03:00
fiatjaf 197af922d0 use {"tag": ext} for extension-related payments. 2020-09-02 12:44:54 -03:00
fiatjaf bf3c44b3c4 extra fields on apipayments + index payments by payment_hash 2020-09-02 11:10:48 -03:00
Eneko Illarramendi e73a508011 feat(paywall): improved extension
- make remember cookie optional
- improve database
- improve type casting
2020-05-08 21:05:32 +02:00
Eneko Illarramendi 083f7a0a8d chore: use standard library's HTTP status codes 2020-05-03 15:57:05 +02:00
Eneko Illarramendi 4b4a297c3f refactor(paywall): remove unnecessary hashing paranoia 2020-04-25 23:55:07 +02:00
Eneko Illarramendi eb938c11a8 chore(paywall): minor updates 2020-04-21 23:47:21 +02:00
Eneko Illarramendi 403385c205 feat: paywall extension 2020-04-21 23:42:41 +02:00
Eneko Illarramendi fd4dddda6e chore: rename api-key-macaroon 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 768f0427e7 feat(paywall): extension basics 2020-04-05 12:20:03 +02:00